* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* RESIZE */

@media only screen and (max-width: 1200px) {
    body #wrapper{
        width: 100%;
    }

    #instructors{
        flex-wrap: wrap;
    }

    #headerimg #headerlogo{
        width: 100%;  
    }

    #headerimg #headerlogo img{
        width: 280px;
    }

    body #address{
        margin-top: 50px;
        font-size: 20px;
        line-height: 42px;
    }

    body #address h1{
        font-size: 36px;
    }

    body #about{
        width: 80%;
    }


    body .bottomSection iframe{
        width: 440px !important;
    }

}

@media only screen and (max-width: 600px){
    #instructors .instructorCard{
        width: 45%;
    }

    #tablesection table td, #tablesection table th{
        font-size: 15px;
    }

    #section360{
        max-height: 250px;
    }

    body #address{
        margin-top: 30px;
        font-size: 10px;
        line-height: 38px;
    }

        body #address h1{
        font-size: 30px;
        line-height: 30px;
    }

    body #about{
        width: 100%;
        font-size: 14px;
    }


    body #contactUs a{
        width: 100%;
        font-size: 20px;
    }

    #footer {
        background-size: 1520px;
    }

    body #tableCaption{
        font-size: 14px;
    }

    body .bottomSection iframe{
        width: 380px !important;
    }

}

@media only screen and (max-width: 340px){
    #footer{
        display: flex;
        flex-direction: column;
    }
}

body{
    background-color: black;
}

#wrapper{
    width: 1200px;
    margin-left: auto; margin-right: auto;
}

#page{
    width: inherit;
}

#address{
    line-height: 58px;
}

#address h1{
    font-size: 46px;
    line-height: 48px;
}

#about{
    width: 60%;
    margin-right: auto; margin-left: auto;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

#headerimg{
    width: 100%;
    overflow:hidden;
    height: 580px;
    background-image: url("HeaderImage.jpg");
    background-position: right;
}


#headerlogo{
    position: absolute;
    top: 300px;
    width: 1200px;
    display: flex;
    justify-content: center;
}

#headerlogo img{
    width: 350px;
}

#address{
    margin-top: 120px;
    color: white;
    text-align: center;
    font-size: 25px;
}

#tablesection{
    background-color: #1d2844;
    color: white;
    margin-top: 25px;
    margin-bottom: 25px;
}

#tablesection h3{
    padding: 10px;
    font-size: 20px;
    text-align: center;
}

#tablesection table{
    font-size: 20px;
    width: 100%;
    border-collapse: collapse;
    height: 100%;
}

#tablesection td{
    text-align: center;
    line-height: 30px;
}

#tablesection table th{
    padding-top: 10px;
}

#tablesection td:nth-child(even), #tablesection th:nth-child(even){
    background-color: #2a3e75;
}

#tablesection td:nth-child(odd), #tablesection th:nth-child(odd){
    background-color: #243359;
}

#tableCaption{
    color: white;
    text-align: center;
    font-size: 20px;
}

#section360{
    border: 0;
    margin-top: 25px;
    height: 500px;
}

#instructors{
    margin-top: 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.instructorCard img{
    width: 100%;
}

.instructorCard{
    width: 230px;
}


#contactUs{
    margin-top: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#contactUs a{
    background-color: #2a3e75;
    padding: 10px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 25px;
    width: 430px;
    padding: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 1px -1px 0px #4e69b4;
}

#contactUs a span{
    font-size: 28px;
}

#contactUs a:hover{
    background-color: rgb(218, 50, 50);
    box-shadow: 1px -1px 0px rgb(187, 77, 77);
}

#footer{
    background-color:  #2c2c2c;
    background-image: url("footerimage.png");
    background-position: center, center;
    background-repeat: no-repeat;
    color: rgb(190, 190, 190);
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 15px 20px;
    margin-top: 25px;
}

#footer p{
    font-size: 14px;
    line-height: 30px;
}

#footer .footerImg{
    width: 70px;
}

#footer .footerImg img{
    width: 100%;
}

#footer a{
    color: rgb(190, 190, 190);
}

.footerImages{
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 70%;
}

#footer2{
    background-color: rgb(30, 30, 30);
    color: rgb(143, 143, 143);
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

.subheading h3{
    font-size: 36px;
    color: white;
    margin-top: 18px;
    text-align: center;
}

.bottomSection{
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}