@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Merriweather:wght@300;400;700;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    list-style: none;
    text-decoration: none;
}

body{
    font-family: 'Lato', sans-serif;
}

html{
    scroll-behavior: smooth;
    user-select: none;
}

.container-ovr{
    width: 90%;
    margin: 0 auto;
}

a{
    color: white;
    text-decoration: none;
}

a:hover{
    color: white;
}

ul{
    padding: 0;
}


h1,h2,h3,h4,h5{
    color: white;
    font-family: 'Merriweather', serif;
}

img{
    width: 100%;
    display: block;
}

.nav-menu{
    gap: 1rem;
}

.nav-menu li a{
    color: white;
    background: transparent;
    border: 2px solid transparent;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
}

.nav-menu>li>a:hover{
    color: #138a07 !important;
}

.nav-menu li a:hover{
    background: white;
    color: #138a07;
    border-color: white;
}

.nav-menu li a:is(:focus){
    color: white;
}

.nav-menu button{
    border: 2px solid white;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    color: white;
}

.nav-menu button:hover,
.nav-menu button:hover{
    background: #138a07;
    color: white;
    border-color: #138a07;
} 

.dropdown-menu li a{
    color: #505050;;
}

.dropdown-menu li a:hover{
    background-color: #138a07;
    color: white;
}


main{
    position: relative;
}

.header{
    background-image: linear-gradient(270deg,#4f9c45,#1c5b26);
    height: 100%;
    display: block;
    position: relative;
}

.header-text{
    text-align: center;
    padding-top: 2rem;
}

.header-text h1{
    font-size: 4.75rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0 ,0 ,0  ,0.42);
}

.header-text p{
    color: white;
    font-size: 1.5rem;
}

.header-image{
    max-width: 75%;
    margin: 0 auto;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
    box-shadow: 0 0 50px rgba(0 ,0 ,0 ,0.67); 
}

.register-container{
    height: 50%;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.9));
    text-align: center;
    padding: 1.5rem;
}

.register-container h3{
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: sans-serif;
}

.login-form{
    display: flex;
    margin: 0 auto;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-form .form{
    background: #5d6879;
    display: flex;
    align-items: center;
    padding: 0.2rem 1.3rem 0.2rem 0.2rem;
    border-radius: 10rem;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.login-form .form:hover{
    background-color: #4b5462;
}

.login-form .image {
    background-color: white;
    padding: 0.4rem;
    border-radius: 50%;
}

.login-form .form img{
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
}

.login-form-2{
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.6rem;
    margin-left: 8.5rem;
}

.login-form-2 input{
    height: 3rem;
    width: 16rem;
    border-radius: 10rem;
    border: 0 none;
}

.login-form-2 input::placeholder{
    font-size: 1.3rem;
    padding: 0.5rem;
    color: #5d6879; 
}

.checkbox{
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: white;
}



.quotes{
    background: #fafafa;
    border-bottom: 1px solid #cfcfcf;
}

.quote-container h3{
    color: #505050;
    text-align: center;
    font-weight: 400;
    padding: 3rem 0 2rem 0;
}

.quote{
    max-width: 80%;
    padding: 1rem 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.quote .image{
    padding-right: 1rem;
    border-right: 5px solid #cfcfcf;
}

.quote .image img{
    width: 100%;
    height: 6rem;
    width: 6rem;
    border-radius: 50%;

}

.quote-text{
    color: #5d6879;
    padding-left: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.quote-text p{
    padding-bottom: 1rem;
}

.quote-text p:first-child:before{
    color: #cfcfcf;
    content: open-quote;
    font-size: 3.2rem;
    line-height: .1rem;
    margin-right: 0.25rem;
    vertical-align: -1.2rem;
}

.quote-text p:last-child{
    font-size: 0.9rem;
    padding: 0;
}

.features{
    background-color: #fafafa;
   
    background-image: url(../images/image3.png);
    padding: 4rem;
    display: grid;
    align-items: center;
}

.features-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature{
    background-color: white;
    padding: 2rem 1rem;
    border-radius: 1rem;
    display: flex;
}

.feature.right{
    justify-content: space-between;
}

.feature i{
    color: #004a0e;
    font-size: 900;
    padding-right: 1rem;
}

.feature.right i{
    order:1;
}

.feature-text h1{
    color: #505050;
    font-weight : 500;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}


.feature-text p{
    color: #5d6879;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
}

.button{    
    color: white;
    border-color: white;
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: #138a07;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 700;
}

.button:hover{
    background-color:  #0e6305;
}

.button-black{
    background-color: #242b35;
}

.button-black:hover{
    background-color:  #242b35;
}

.partners{
    border: 1px solid #cfcfcf;
}

.partners-container{
    padding: 2rem;
}

.partners-container h1{
    color: #505050;
    font-weight: 500;
    font-size: 1.5rem;
    text-align: center;
}

.institutions{
    padding: 2rem 2rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: center;
    justify-content: center;
    max-width: 75%;
    gap: 4rem;
}

.partners-container p{
    color: #3e70bb;
    font-size: 1rem;
    text-align: center;
}

.partners-container p:hover{
    text-decoration: underline;
}

.cards{
    background: #f4f5f8;
}

.card-container{
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card{
    padding: 2rem;
    background: white;
}

.card h2{
    color: #505050;
    font-weight: 400;
    font-size: 1.7rem;
    padding-bottom: 1.5rem;
}

.card .content{
    display: grid;
    grid-template-columns: 70% 30%;
    border-top: 1px solid #cfcfcf;
    padding-top: 1.5rem;
}

.card .content .left{
    padding-right: 1rem;
}

.card .content .left p,
.card .bottom p{
    color: #505050;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.card .content .left p span.bold{
    font-weight: 700;
}


.card .content .left p span.link{
    color: #3e70bb;
}

.card .content .left p span.link:hover{
    text-decoration: underline;
}

.card .content .right{
    height: fit-content;
    background: #e4e8ee;
    border-radius: 0.5rem;
    padding: 1rem 1rem 2rem 1rem;
}

.card .content .right p{
    color: #5d6879;
    line-height: 1.5;
}

.card .content .right a{
    font-size: 1rem;
}

.card .content .right.box{
    background-color: #fff;
    border-left: 2.5rem solid #cfcfcf;
    border-radius: 3px;
    box-shadow: 0 3px 5px rgba(0, 0, 0,  0.30);
    padding: 0.75rem;
}

.card .content .right.right.box p{
    margin-bottom: 1.5rem;
}

.card .bottom{
    width: 100%;
}

.card .bottom h3{
    color: #505050;
    font-size: 1.3rem;
    margin-top: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-3 .content{
    grid-template-columns: 30% 70%;
}

.card-3 .content .left{
    padding: 0 0 0 1rem;
}


footer{
    background-color: #1e2530;
}

.footer-container{
    padding: 4rem 0;
}
.footer-top{
    display: flex;
}
.footer-container img{
    height: 2.2rem;
    width: auto;
    margin-right: 3rem;

}

.permalinks{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-template-rows: auto;
    gap: 1rem;
}

.permalink h3{
    margin-bottom: 1rem;
    font-weight: 500;
}

.permalink li a{
    line-height: 2;
}

.permalink a:hover{
    text-decoration: underline;
}

.footer-base{
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
}

.footer-base a{
    font-size: 0.8rem;
    font-weight: 400;
}

.footer-base a:hover{
    text-decoration: underline;
}

.footer-base a:first-child:hover{
    text-decoration: none;
}

.privacy,
.socials{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.socials a{
    font-size: 2rem;
}



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

    main{
        height: 110vh;
    }

    .container{
        width: 90%;
        margin: 0 auto;
    }

    .container-fluid{
        padding: 0 !important;
    }

    .nav-container img{
        padding-left: 1rem;
    }

    .nav-menu{
        margin-top: 1rem;
        gap: 0;
    }

    .nav-menu li a{
        color: white;
        display: grid;
        display: flex;
        border: 0 none;
        align-items: center;
        border-radius: 0;
    }

    .nav-menu button{
        border: 0 none !important;
        border-radius: 0;
        text-align: left;
    }

    .dropdown-menu li a{
        color: #505050;
    }

    .nav-open{
        display: block;
    } 
    
    .header-image {
        max-width: 90%;
    }

    .register-container{
        height: 60%;
        width: 100% !important;
    }

    .register-container .login-form{
        display: grid;
        grid-template-columns: 1fr;
        padding:0 2rem;
        gap: 1rem;
    }

    .register-container .login-form-2{
        display: grid;
        margin: 0;
        padding: 3rem 0 2rem 0;
    }

    .register-container .login-form-2 input{
        width: 90vw;
    }

    .checkbox{
        align-items: baseline;
        text-align: left;
    }

    .quote{
        max-width: 90%;
    }

    .features{
        padding: 3rem 0;
    }

    .features-container{
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features .button{
        margin-top: 2rem;
    }

    .institutions{
        grid-template-columns: repeat(2,1fr);
    }

    .card .content{
        grid-template-columns: 1fr;
    }

    .card .content .right{
        order: -1;
        margin: 1rem 0 2rem;
    }

    .footer-top{
        display: grid;
    }

    .footer-top img{
        margin: 0 0 2rem 0;
    }

    .footer-base{
        display: grid;
        place-content: center;
    }

    .socials{
        margin: 0 auto 2rem;
        order: -1;
    }

    .permalinks{
        grid-template-columns: repeat(2,1fr);
    }

    .right.box{
        margin: 1rem 0;
    }
}
