html {
    scroll-behavior: smooth;
}

nav {
    position: absolute;
    background-color: rgb(217, 217, 217) !important;
    z-index: 1000;
    font-family: 'Montserrat';
    padding-top: 1.5em !important;
    height: 5em;
    padding-left: 0 !important;
    padding-right: 0 !important;
    /*box-shadow: 0px 10px 10px -15px #111;*/
}

.navbar-light .navbar-toggler {
    border: none !important;
}

.red-char {
    color: red;
    font-size: inherit;
}

#collapsibleNavbar {
    background-color: rgb(217, 217, 217) !important;
    z-index: 500;
}

.navbar-brand {
    margin-left: 5em;
    transition-duration: 0.3s;
    font-size: 1.5em !important;
}

.navbar-brand:hover {
    transform: scale(1.05)
}

.navbar-nav {
    margin-right: 0;
}

.navbar-collapse {
    justify-content: center;
}

/*buttons*/

.nav-buttons {
    display: flex;
    gap: 10px;
}

.navbar-collapse {
    justify-content: space-around !important;
}

.registration-button,
.login-button {
    width: 100%;
    color: white;
    line-height: 1.5;
    text-align: center;
    border-radius: 5px;
    font-family: 'Montserrat-SemiBold', sans-serif;
    cursor: pointer;
    transition-duration: 0.15s;
    padding: 10px;
    max-width: 134px;
}

.registration-button {
    /*background-color: #ec1c1c;*/
    background-color: #e70f0f;
}

.login-button {
    background-color: #3579f6;
}

.registration-button:hover,
.login-button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    -moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
}

.registration-button:active,
.login-button:active {
    transform: scale(0.97);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.75) inset;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.75) inset;
    -moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.75) inset;
}

/*buttons end*/

@media screen and (max-width: 992px) {
    .navbar-nav {
        margin-left: 2em !important;
    }

    .navbar {
        box-shadow: 0px 13px 9px 0px rgba(17, 17, 17, 0.15);
    }

    .navbar-collapse.collapse.show {
        box-shadow: 0px 13px 9px 0px rgba(17, 17, 17, 0.15);
    }

    .navbar-collapse.collapsing {
        box-shadow: 0px 13px 9px 0px rgba(17, 17, 17, 0.15);
        transition: 0.4s;
    }
}

@media screen and (max-width: 480px) {
    .navbar-brand {
        margin-left: 0;
    }
}