nav {
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
    padding: 2.2rem 13rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav #nav-right {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
}


#nav-right h3 {
    font-size: 1.5rem;
    font-family: interMedium;
}

#nav-right a {
    text-decoration: none;
    font-family: interBold;
    color: #0068D6;
}

#nav-right button {
    cursor: pointer;
    border: none;
    padding: 1.2rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 1rem;
    transition: .6s cubic-bezier(0.19, 1, 0.22, 1);
}
#nav-right button a{
    text-decoration: none;
    color: white;
}
#nav-right button:hover {
    background-color: var(--primary-dark-color);
}

nav #nav-middle {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6rem;
}

#nav-middle h3{
    color: #1D2939  ;
}

nav #nav-middle .selective h3 {
    color: #1D2939;
    font-family: interSemiBold;
    transition: .4s cubic-bezier(0.19, 1, 0.22, 1);
}

#nav-middle a {
    text-decoration: none;
    color: var(--brown-color);

}

nav h3 {
    font-family: interMedium;
    font-weight: 100;
    font-size: 1.6rem;
}

nav #nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 25%;
}

#nav-left img {
    height: 6vh;
}
#nav-left #resp-toggle {
   display: none;
}

#resp-nav {
    display: none;
}

@media screen and (max-width: 968px) {

    html,
    body {
        font-size: 45%;
    }

}


@media screen and (max-width: 768px) {
/* 
    html,
    body {
        font-size: 40%;
    } */

    nav {
        padding: 2vh 4vw;
    }


    nav #nav-right>a{
        display: none;
    }
    #nav-right button {
        padding: 1.4rem 1.5rem;
    }

    nav #nav-middle {
        display: none;
    }



    #nav-left img {
        height: 4vh;
    }
    #nav-left #resp-toggle{
display: initial;
    }
    #resp-toggle i{
        font-size: 3.5rem;
        font-weight: medium;
        margin-right: 1rem;
    }


    .body-modal-open {
        overflow: hidden;
        height: 100vh;
    }
    .background-modal {
        height: 100%;
        width: 100%;
        display: none;
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.632);
    }
    #resp-nav {
        width: 100vw;
        height: 100vh;
        top: -120%;
        position: fixed;
        z-index: 999;
        left: 0;
        background-color: var(--white-color);
        transition: .4s cubic-bezier(0.19, 1, 0.22, 1);
        padding: 4vh 4vw;
        display: flex;
        flex-direction: column;
    }

    #resp-nav #r-toggle{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        
    }
    #r-toggle i{
        font-size: 4rem;
    }
    #resp-nav #resp-top {
        height: 60%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 10rem 2rem;
    }

    #resp-nav #resp-top a {
        width: 100%;
        border-top: 1px solid #B5AEF9;
        padding: 2vh 0;
    }
    #resp-top a:nth-child(3){
        padding-bottom: 4vh !important;
        border-bottom: 1px solid #B5AEF9;
    }


    #resp-nav #resp-bottom {
        height: 35%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4rem;
        padding: 0 2rem;

    }

    #resp-nav a {
        text-decoration: none;
        color: var(--brown-color);
    }

    #resp-nav .selective h3 {
        color: #1D2939;
        font-family: interSemiBold;
        transition: .4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    #resp-nav h3 {
        font-weight: 400;
        font-size: 2.4rem;
        font-family: interRegular;

    }

    #resp-bottom>a{
        text-align: start;
        font-size: 2.4rem;
        font-family: interBold;
    }
    #resp-bottom>a{
        text-decoration: none;
        font-weight: interBold;
        padding: 3vh 0;
        width: 100%;
        color: #0068D6 !important;
        border-top: 1px solid #B5AEF9;
        border-bottom: 1px solid #B5AEF9;
    }

    #resp-bottom button {
        border: none;
        width: 100%;
        padding: 2rem 0;
        background-color: var(--primary-color);
        border-radius: 1rem;    
        transition: .7s cubic-bezier(0.19, 1, 0.22, 1);
    }
    #resp-bottom button a{
        font-family: interRegular;
        color: var(--white-color);
        text-decoration: none;
    }


    #resp-bottom button:hover {
        background-color: var(--primary-dark-color);
    }

}