@import url('https: //fonts.googleapis.com/css?family=Poppins: 200,300,400, 500,600, 700, 800,900&display=swap');
*{
    margin: 0;
    /* padding: 5px; */
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-image: url('img/new_dark_bg_smaller.jpg');
    background-position: top;
    height: 100vh;
    background-color: #EEEFF1;
    background-repeat: no-repeat;
}

a#teacher{
    color: black;
}

footer{
    padding: 15px;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

a:hover{
    color: grey;
}


/* HEADER STYLES */


header{
    position: relative;
    padding: 0 2rem;
    background-color: #0e3959;
}

.navbar{
    width: 100%;
    height: 100px;
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_in_navbar{
    width: 100%;
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a{
    font-size: 2rem;
    font-weight: bold;
}

.navbar .links{
    display: flex;
    gap: 3rem;
}

.navbar .toggle_btn{
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}


/* DROPDOWN MENU */


.dropdown_menu{
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open{
    height: 160px;
}

.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu{
    width: 100%;
    display: grid;
    justify-content: center;
}


/* RESPONSIVE DESIGN */


@media (max-width: 991px){
    .navbar .links,
    .navbar .action_btn{
        display: none;
    }

    .navbar .toggle_btn{
        display: block;
    }

    .dropdown_menu{
        display: block;
    }
}


/* MAIN */


section#main{
    height: calc(100hv - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#main h1{
    font-size: 3.4rem;
    margin-bottom: 1.2rem;
}


@media (max-width: 576px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
}


/* CONTACT STYLES */

.contactUs{
     position: relative;
     width: 100%
     padding: 40px 100px;
}

.contactUs .title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.contactUs .title h2{
    color: #fff;
    font-weight: 500;
}

.form{
    grid-area: form;
}

.info{
    grid-area: info;
}

.map{
    grid-area: map;
}

.contact{
    padding: 40px;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0,0,0,0.15);
}

.box{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas:
    "form info"
    "form map";
    grid-gap: 20px;
    margin-top: 20px;
}

.contact h4{
    color: #0e3959;
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.formBox{
    position: relative;
    width: 100%;
}

.formBox .row50{
    display: flex;
    gap: 20px;
}

.inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 50%
}

.formBox .row100 .inputBox{
    width: 100%;
}

.inputBox span{
    <!-- color: #18b7ff; -->
    color: #0e3959;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input{
     padding: 10px;
     font-size: 1.1em;
     outline: none;
     border: 1px solid #333;
}

.inputBox textarea{
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}

.inputBox input[type="submit"]{
    background: #0e3959;
    color: #fff;
    border: none;
    font-size: 1.1em;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.inputBox ::placeholder{
    color: #999;
}

/* info */
.info{
    background: #0e3959;
}
.info h3{
    color: #fff;
}
.info .infoBox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info .infoBox div p{
    color: #fff;
    font-size: 1.1em;
}

.info .infoBox div a{
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.sci{
    margin-top: 40px;
    display: flex;
}

.sci li{
    list-style: none;
    margin-right: 15px;
}
.sci li a{
    color: #fff;
    font-size: 2em;
    color: #ccc;
}
.sci li a:hover{
    color: #fff;
}

.map{
    padding: 0;
}

.map iframe{
    width: 100%;
    height: 100%;
}

@media (max-width: 600px){

    body{
        background-image: url('img/new_mobile_smaller_dark.jpg');
        background-color: #E5E6E9;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-position: top;
        width: 100vw;
        height: 100vh;
        /* width: 100%;
        heigh: 100%; */
        background-repeat: no-repeat;

        overflow-y: scroll;
    }

    h1, h2, p, a, tr, td, a#teacher{
        color: white;
    }

    section#about{
        margin-top: 40px;
    }

    .contactUs
    {
        padding: 20px;
    }

    .box{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "info"
        "form"
        "map";
    }

    .formBox .row50{
        display: flex;
        gap: 0;
        flex-direction: column;
    }

    .inputBox{
        width: 100%;
    }

    .contact{
        padding: 30px;
    }

    .map{
        min-height: 300px;
        padding: 0;
    }
}