@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1{
    font-size: 2.5rem;
    font-weight: 700;
}
/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background-color: rgb(56, 205, 224);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 8vw;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

nav img{
    width: 130px;
    cursor: pointer;
}

nav .navigation{
    display: flex;
}

#menu-btn{
    width: 30px;
    height: 30px;
    display: none;
}
#menu-close{
    display: none;
}

.navigation ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

nav .navigation ul li{
    padding: 20px;
    position: relative;
}

nav .navigation ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}
nav .navigation ul li a:hover{
    color: #e4591b;
}
nav .navigation ul li a i{
    padding: 5px;
}
nav .navigation ul li p#hover{
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
}
nav .navigation ul li p#hover:hover{
    color: #e4591b;
}
.sub-menu{
    display: none;
}
nav .navigation ul li:hover .sub-menu{
    display: flex;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: rgba( 17, 20, 104, 0.45);
}
nav .navigation ul li:hover .sub-menu ul{
    display: block;
    margin: 0;
}

nav .navigation ul li:hover .sub-menu ul li{
    width: 110px;
    padding: 10px;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.sub-menu ul li a{
    font-size: 1px;
    text-align: left;
}
/* .fa-angle-right{
    float: right;
} */
.sub-menu-2{
    display: none;
}
.hover-me:hover .sub-menu-2{
    position: absolute;
    display: block;
    margin-top: -40px;
    margin-left: 133px;
    background: rgba( 17, 20, 104, 0.45);
}


/* Teachers */

#features{
    padding: 12vw 8vw 20vw 8vw;
}

.teacher4 img{
    float: left;
    margin-top: 10px;
    margin-right: 30px;
    margin-bottom: 5px;
    border: solid black 5px;
    padding: 1px;
}

.background{
    letter-spacing: 2px;
}
.bg{
    padding-top: 20px;
    padding-right: 70px;
    letter-spacing: 1px; 
}

/* Footer */

footer{
    padding: 100px 100px 20px 100px;
    background-color: #101C32;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-col{
    padding-bottom: 10px;
}

footer h3{
    color: rgb(241, 240, 245);
    font-weight: 600;
    padding-bottom: 20px;
}
footer li{
    list-style: none;
    color: #7b838a;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}
footer .footer-col li a{
    text-decoration: none;
    color: #7b838a;
}
footer .footer-col li a:hover{
    color: rgb(241, 240, 245);
}
footer form{
    color: #7b838a;
}
footer .submit{
    margin-top: 20px;
}
footer input{
    width: 220px;
    padding: 15px 12px;
    background: #334f6c;
    border: none;
    outline: none;
    color: #fff;
}
footer .submit textarea{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 10px;
    background-color: #fff;
    font-weight: 600;
    border-radius: 5px;
    display: flex;
    margin-top: 5%;

}

footer .submit button{
    color: #fff;
    background: #FDC93B;
    align-items: center;
}
footer .submit button:hover {
    color:#fff;
    background: rgb(21, 21, 100); 
    transition: 0.3s ease;
}
footer p{
    color: #7b838a;
}
footer .footer-col-link li a{
    text-decoration: none;
    color: #7b838a;
    font-size: 30px;
}
footer .footer-col-link li a:hover{
    color: rgb(241, 240, 245);
}

/* Phone & Tablet */

@media (max-width: 769px)  {
    nav {
        padding: 5px 20px;
    }
    #menu-btn{
        display: initial;
    }
    #menu-close{
        display: initial;
        font-size: 1.6rem;
        color: #fff;
        padding: 30px 0 20px 20px;
    }
    nav .navigation ul{
        position: absolute;
        top: 0;
        right: -220px;
        width: 120px; 
        height: 100vh;
        background: rgba( 17, 20, 104, 0.45);
        backdrop-filter: blur(4.5px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        list-style: none;
        transition: 0.3s ease;
    }
    nav .navigation ul.active{
        right: 0;

    }
    nav .navigation ul li{
        padding: 20px 0 20px 40px;
        margin-left: 0;
    }
    nav .navigation ul li a{
        color: #fff;

    }
    #features {
        padding: 30vw 2vw 8vw 2vw;
    }
    .teacher4 img{
        width: 200px;
    }
    .bg{
        padding-right: 20px;
    }
}

@media (max-width: 475px) {
    #features {
        padding: 30vw 8vw 0 8vw;
        text-align: center;
    }
    .ml1 span{
        font-size: 2rem;
    }
}