.nav2>ul>li2>a2 {
    height: 100%;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    letter-spacing: 0.5px;
}
body{
    overflow-x: hidden;
}
nav2{
    height: 5rem;
    width: 100vw;
    background-color: #fff;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    position: fixed;

    z-index: 10;
}

/*Styling logo*/
.logo{
    padding:1vh 1vw;
    text-align: center;
}
.logo img {
    width: 15rem;
}

/*Styling Links*/
.nav2-links{
    display: flex;
    list-style: none; 
    width: 88vw;
    justify-content: center;
    align-items: center;
    text-transform: capitalize;
    color: #888888;
    text-decoration: none;
    font-size: 15px;
    font-family: "Montserrat Medium";
}

.nav2-links li a2{
    text-decoration: none;
    margin: 0 0.7vw;
    color:#888888;
}
.nav2-links li2 a2:hover {
    color: #963D2B;
}
.nav2-links li {
    position: relative;
}
.nav2-links li a2::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: #fff;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}
.nav2-links li a2:hover::before{
    width: 80%;
}

/*Styling Buttons*/
.login-button{
    background-color: #963D2B;
    color: #fff;
    border: 1.5px solid #963D2B;
    border-radius: 2em;
    padding: 0.6rem 2.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;

}
.login-button:hover {
    color: #fff;
    background-color: #963D2B;
    border:1.5px solid #963D2B;
    transition: all ease-in-out 350ms;
}
.join-button{
    color: #FFF;
    background-color: #C6877C;
    border: 1.5px solid #C6877C;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    padding: 10px 50px;
    border-radius: 30px;
    letter-spacing: 1px;
    font-family: "Montserrat light";
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


/*Styling Hamburger Icon*/
.hamburger div{
    width: 30px;
    height:3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger{
    display: none;
}

/*Stying for small screens*/
@media screen and (max-width: 800px){
    nav2{
        position: fixed;
        z-index: 9;
    }
    .hamburger{
        display:block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav2-links{
        position: fixed;
        background: #131418;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        justify-content: space-around;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }
    .nav2-links.open{
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
        padding: 0;
    }
    
    .nav2-links li:nth-child(1){
        transition: all 0.5s ease 0.2s;
    }
    .nav2-links li:nth-child(2){
        transition: all 0.5s ease 0.4s;
    }
    .nav2-links li:nth-child(3){
        transition: all 0.5s ease 0.6s;
    }
    .nav2-links li:nth-child(4){
        transition: all 0.5s ease 0.7s;
    }
    .nav2-links li:nth-child(5){
        transition: all 0.5s ease 0.8s;
    }
    .nav2-links li:nth-child(6){
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }
    .nav2-links li:nth-child(7){
        transition: all 0.5s ease 1s;
        margin: 0;
    }
    .fade{
        opacity: 1;
    }
    .flag-container{
        display: flex;
        flex-direction: row;
    }
    .sm-container{
        display: flex;
        flex-direction: row;
    }
}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.7s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}

@media screen and (min-width: 768px){
    li2{
        padding-right: 20px;
    }
    .flag-container{
        display: none;
    }
    .sm-container{
        display: none;
    }
}

.submenu {
    display: none;
    margin: 23px 0 0 0;
    position: absolute;
    list-style: none;
    border: 1px #000 solid;
    padding: 0;
    border: 1px #00000017 solid;
        border-top-color: rgba(0, 0, 0, 0.09);
        border-top-style: solid;
        border-top-width: 1px;
    border-top: transparent;
}
.submenu li {
    background: #fff;
    border-bottom: 1px #0000001a solid;
    text-align: left;
    padding: 0;
    display: flex;
    padding: 6px 0 17px 0;
}
.submenu li a{
    background-color: transparent;
}
li.nav-item.dropdown > a {
    color: #777;
}
li.nav-item.dropdown{
    margin-right: 10px;
}

.dropdown-toggle::after {
    right: 5px;
}

li.nav-item.dropdown {
    opacity: 1 !important;
}
.fade:not(.show) {
    opacity: 1 !important;
}

a.btn-login {
    background: #963d2b;
    border-radius: 50px;
    padding: 10px 8px;
    color: #fff !important;
    width: 119px !important;
    display: block;
    text-align: center;
    font-size: 12px;
}
@media(max-width:767px){
    .dropdown .dropdown-menu {
        width: 100%;
        right: .75rem;
    }

    li.nav-item.dropdown {
        opacity: 1 !important;
        display: block;
        width: 100%;
        text-align: center;
    }
    li.fade {
        text-align: center;
    }
    ul.nav2-links.open {
        padding: 36px 0px 90px 0px;
    }
}