:root {
    --blue-color: #276bdc;
    --light-blue-color: #d3e1f8;
    --green-color: #3432c1;
    --light-green-color: #d1ffbd;
    --orange-color: #EC7A80;
    --light-orange-color: #ffe6cc;
    --yellow-color: #EC7A80;
    --light-yellow-color: #fff7cc;
    --red-color: #ba0000;
    --light-red-color: #ffcccc;
}

*:focus {
    outline: none;
}

html,
body,
main {
    height: 100%;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", Helvetica;
    overflow-x: hidden;
}

nav {
    width: 100%;
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}

.link-arrow {
    font-size: 15px;
    position: relative;
    left: 6px;
    top: 0px;
    transform: rotate(90deg);
    text-decoration: none;
}

.error-page-wrapper {
    background-color: var(--light-orange-color);
    width: 100%;
    height: auto;
    margin-bottom: -40px;
    padding-bottom: 20px;
    padding-top: 1px;
    text-align: center;
    font-size: 20px;

}

.error-page-wrapper a {
    transition: color 0.3s;
    color: var(--blue-color);
    text-decoration: none;
}

.error-page-wrapper a:hover,
.error-page-wrapper a:focus {
    opacity: 0.8;
    color: black;
}

strong {
    font-weight: 900;
}

.wide {
    letter-spacing: 4px;
}

*,
*:before {
    box-sizing: inherit;
}

.logo:hover img,
.logo:focus img {
    transform: scale(1.2);
}

.logo img {
    display: inline-block;
    transition: 0.3s;
    width: 60px;
    height: 58px;
    padding: 5px;
    padding-right: 18px;
    padding-bottom: 6px;
}

.heading-wrapper {
    text-align: center;
}

main {
    text-align: center;
}

.main-wrapper {
    display: inline-block;
    width: 80%;
    margin-top: 30px;
    text-align: left;
}

.main-wrapper.home {
    margin-top: 0;
}

.officer b {
    font-size: 18px;
}

.officer-link-wrapper a {
    display: block !important;
    color: var(--blue-color);
    text-decoration: none;
    transition: color 0.3s;
}

.officer-link-wrapper a:hover,
.officer-wrapper a:focus {
    color: black;
}

.officer-link-wrapper {
    display: inline-block;
    font-size: 18px;
}

.left-wrapper {
    text-align: left;
}

h2 {
    color: var(--blue-color);
    margin: 0;
}

.left-wrapper h2 {
    margin: 30px 0 0 0;
}

h4 {
    font-size: 24px;
    margin-bottom: 0;
}

.orange-text h2 {
    color: var(--orange-color);
}

.hero-image {
    background-image: url("images/BG1.jpg");
    height: 20%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.cover {
    background-image: url("images/FirstPage.jpg");
    height: 100%;
    background-size: contain;
    background-color: #1a150d;
    background-position: center;
}

.hero-text {
    text-align: center;
    color: white;
    margin: auto;
    width: 80%;
}

.hero-text h1 {
    font-size: 40px;
}

.cover .hero-text {
    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: auto;
}

.hero-text .motto {
    overflow: hidden;
    border-right: 2px solid var(--orange-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
}

.cover .hero-text {
    top: 50%;
}

@media screen and (max-width: 550px) {
    .hero-text h1 {
        font-size: 30px;
    }
}

.officer-wrapper {
    text-align: left;
    margin-bottom: 20px;
    display: inline-block;
}

.paragraph-wrapper h2 {
    color: var(--orange-color);
}

.paragraph-wrapper p {
    margin-top: 10px;
}

.arrow-wrapper {
    margin-left: auto;
    margin-right: auto;
    transform: rotate(90deg);
    position: relative;
    width: 20px;
    top: -90px;
    margin-bottom: -90px;
}

.arrow {
    font-size: 60px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.arrow:hover,
.arrow:focus {
    color: darkgray;
}

#arrow {
    scroll-margin-top: -29px;
}

.stats-wrapper {
    margin-top: 33px;
    text-align: center;
    overflow: auto;
    margin-bottom: 50px;
}

.stats-wrapper th {
    border: 5px solid var(--light-green-color);
    font-size: 40px;
    width: 25%;
    padding-bottom: 0px;
    background-color: var(--light-green-color);
}

.stats-wrapper td {
    border: 5px solid var(--light-green-color);
    font-size: 18px;
    padding-top: 0;
    padding-bottom: 20px;
    background-color: var(--light-green-color);
}

.stats-wrapper table {
    width: 100%;
}

.stats-wrapper-small {
    display: none;
}

.index-heading-green {
    display: none;
}

.stats-wrapper-small b {
    font-size: 40px;
}

.stats-wrapper-small-desc {
    font-size: 18px;
    padding-bottom: 20px;
}

@media screen and (max-width: 485px) {
    .stats-wrapper {
        display: none;
    }

    .index-heading-green {
        display: block;
    }

    .stats-wrapper-small {
        display: block;
    }
}

.about-wrapper {
    text-align: center;
    overflow: auto;
}

.about-wrapper th {
    border: 5px solid var(--light-yellow-color);
    font-size: 20px;
    width: 33%;
    padding-bottom: 0px;
    background-color: var(--light-yellow-color);
}

.about-wrapper td {
    border: 5px solid var(--light-yellow-color);
    padding-top: 0;
    background-color: var(--light-yellow-color);
    vertical-align: top;
}

.about-wrapper table {
    width: 100%;
}

.about-wrapper-small {
    display: none;
}

.about-wrapper-small b {
    font-size: 20px;
}

.about-wrapper-small p {
    padding-bottom: 20px;
}

@media screen and (max-width: 630px) {
    .about-wrapper {
        display: none;
    }

    .about-wrapper-small {
        display: block;
    }
}

.about-wrapper table {
    width: 100%;
}

footer {
    background-color: var(--orange-color);
    padding: 10px 0;
}

.home-footer {
    margin-top: 0;
}

footer a {
    text-decoration: none;
    color: black;
}

.copyright-footer {
    width: 100%;
    padding: 1px 0;
    text-align: center;
    background-color: gainsboro;
    border: none;
}

.main-wrapper hr {
    height: 1.5px;
    background-color: #ccc;
    border: none;
    margin-bottom: 30px;
}

.clearfix {
    clear: both;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.projects {
    background-color: var(--light-blue-color);
    width: 100%;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 50px;
    position: relative;
}

.project-wrapper {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.project {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: #F8F8F8;
    border: 1px solid gray;
    border-radius: 5px;
    z-index: 1;
    padding: 0 15px;
}

.project div {
    padding-left: 20px;
    padding-right: 20px;
}

.projects h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.project h4 {
    color: var(--orange-color);
    margin: 15px 0 0 0;
}

.project h5 {
    margin: 10px 0;
    font-size: 16px;
    color: var(--blue-color);
}

.project p {
    margin: 0 0 15px 0;
}

#prev,
#next {
    position: relative;
    font-size: 40px;
    color: gray;
    cursor: pointer;
    transition: color 0.3s;
}

#prev:hover,
#next:hover,
#prev:focus,
#next:focus {
    color: darkgray;
}

#prev {
    left: -50px;
}

#next {
    right: -50px;
}

table {
    border-collapse: collapse;
}

#science-table th {
    background-color: var(--green-color);
}

#engineering-table th {
    background-color: var(--yellow-color);
}

#math-table th {
    background-color: var(--red-color);
}

table th {
    height: 90px;
    font-size: 20px;
}

table td,
table th {
    border: 1px solid #ddd;
    padding: 15px;
}

table td a {
    color: black;
    text-decoration: none;
    transition: color 0.1s;
}

table td a:hover {
    color: var(--orange-color);
}

#science-table:hover,
#math-table:hover,
#engineering-table:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media screen and (max-width: 670px) {
    table {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 670px) {
    table {
        float: left;
        width: 100%;
    }
}

@media screen and (max-width: 415px) {

    #prev,
    #next {
        display: none;
    }
}

@media screen and (max-width: 919px) {
    .project-wrapper {
        width: 80%
    }

    .project {
        width: 100%;
        position: relative;
        grid-row: 1;
        grid-column: 1;
        visibility: hidden;
        display: flex;
        flex-direction: column;
    }

    .shown-project {
        visibility: visible;
    }

    .projects-wrapper {
        display: grid;
    }

    @media screen and (max-width: 671px) {
        .words-inner-wrapper {
            text-align: center;
            display: flex;
            margin: auto;
            flex-direction: column;
        }

        .author {
            order: 2;
        }
    }
}

@media screen and (min-width: 920px) {
    .project-wrapper {
        width: 750px;
        height: 260px;
    }

    .project {
        width: 750px;
        height: 260px;
        align-items: center;
        position: absolute;
        left: 0;
        display: none;
    }

    .shown-project {
        display: flex;
        flex-direction: column;
    }

    .projects-wrapper {
        width: 750px;
        height: 235px;
    }
}

@media screen and (max-width: 385px) {
    .prev {
        margin-left: -10px;
    }

    .next {
        margin-right: -10px;
    }
}

@media screen and (min-width: 600px) {
    footer {
        text-align: center;
    }

    .left-footer-wrapper {
        float: left;
        margin-left: 40px;
    }

    .right-footer-wrapper {
        float: right;
        margin-right: 40px;
    }
}

@media screen and (max-width: 500px) {
    .officer {
        text-align: left;
    }

    .officer-wrapper {
        width: 100%;
    }

    .paragraph-wrapper.top {
        margin-bottom: 40px;
    }

    .officer-wrapper img {
        width: 100%;
        position: relative;
    }
}

@media screen and (max-width: 1190px) and (min-width: 500px) {
    .officer {
        text-align: left;
    }

    .officer-wrapper {
        width: 300px;
    }

    .officer-wrapper img {
        height: 300px;
        width: 300px;
        display: block;
    }

    .paragraph-wrapper.top {
        margin-bottom: 40px;
    }
}

@media screen and (min-width: 1190px) {
    .officer-wrapper {
        text-align: center;
        width: 300px;
        float: left;
        margin-bottom: 20px;
    }

    .officer {
        text-align: left;
        clear: both;
    }

    .paragraph-wrapper {
        padding-left: 40px;
        /* height: 300px; */
        display: flex;
        align-items: left;
        margin-bottom: 30px;
    }

    .officer-wrapper img {
        height: 300px;
        width: 300px;
        display: block;
        vertical-align: middle;
    }
}

@media screen and (max-width: 900px) {

    .carrot,
    .menu {
        display: inline-block;
    }

    .overlay {
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        overflow-x: hidden;
        transition: 0.5s;
        z-index: 2;
    }

    .overlay-content {
        position: relative;
        top: 100px;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .overlay .link,
    .overlay .closebtn {
        padding: 8px;
        text-decoration: none;
        color: #818181 !important;
        display: block;
        transition: 0.3s;
    }

    .carrot {
        position: relative;
        font-family: Helvetica;
        float: right;
        transform-origin: 50% 55%;
        transition: transform 0.3s;
    }

    .show a {
        display: block !important;
        margin-left: 65px;
        margin-bottom: 5px;
    }

    @media screen and (max-width: 480px) {

        .overlay .link,
        .overlay .closebtn {
            font-size: 20px;
        }

        .carrot {
            top: -10px;
            font-size: 30px;
            right: 40px;
        }

        .show a {
            font-size: 15px;
        }
    }

    @media screen and (min-width: 480px) {

        .overlay .link,
        .overlay .closebtn {
            font-size: 36px;
        }

        .carrot {
            top: -15px;
            font-size: 50px;
            right: 50px;
        }

        .show a {
            font-size: 20px;
        }
    }

    .overlay .link {
        margin-left: 50px;
    }

    .overlay .link:hover,
    .overlay .link:focus,
    .overlay .closebtn:hover,
    .overlay .closebtn:focus {
        color: #f1f1f1 !important;
    }

    .overlay .closebtn {
        position: absolute;
        right: 45px;
        font-size: 60px;
    }

    .menu {
        font-size: 25px;
        cursor: pointer;
        margin-right: 20px;
        margin-top: 10px;
        text-decoration: none;
        color: white;
        transition: color 0.3s;
    }

    .menu:hover,
    .menu:focus {
        color: silver !important;
    }

    .dropdown-content {
        display: none;
    }

    .dropdown-content a:hover,
    .dropdown-content a:focus {
        color: white;
    }

    .show {
        display: block !important;
        margin-bottom: 20px;
    }

    .shown {
        transform: rotate(90deg);
    }

    .dropdown {
        display: block !important;
        cursor: pointer;
    }

    .overlay-content hr {
        margin: 0 40px 0 40px;
    }

    .closebtn:hover {
        color: white;
        transition: 0.3s;
    }

    .dropdown-content a {
        color: #8a8a8a;
        text-decoration: none;
        transition: color 0.5s;
        margin-right: 20px;
        line-height: 1.8;
        cursor: pointer;
    }
}

@media screen and (min-width: 901px) {
    .right-side {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .closebtn,
    .carrot,
    .overlay-content hr,
    .menu {
        display: none !important;
    }

    .active-link a,
    a.active-link {
        color: var(--green-color) !important;
        border-bottom: 1px solid var(--green-color) !important;
        display: inline-block;
    }

    .active-link:hover a,
    .link:focus a,
    a.active-link:hover,
    a.active-link:focus {
        color: var(--yellow-color) !important;
        border-bottom: 1px solid var(--yellow-color) !important;
    }

    .nav-link-wrapper a:not(.dropdown-link) {
        display: inline-block;
        color: white;
        text-decoration: none;
        transition: color 0.5s;
        font-size: 15px;
        line-height: 1.8;
        cursor: pointer;
        border-bottom: 1px solid transparent;
    }

    .link {
        margin-right: 20px;
    }

    .nav-link-wrapper .overlay .link {
        cursor: pointer;
    }

    .nav-link-wrapper a:not(.dropdown-link):hover,
    .nav-link-wrapper a:not(.dropdown-link):focus {
        color: var(--yellow-color) !important;
        border-bottom: 1px solid var(--yellow-color);
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        left: -999em;
        position: absolute;
        background-color: #f1f1f1;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 2;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover,
    .dropdown-content a:focus {
        background-color: var(--light-blue-color);
    }

    .dropdown:hover .dropdown-content,
    .link:focus+.dropdown-content {
        left: 0 !important;
    }

    .dropdown:hover .link a {
        color: var(--yellow-color) !important;
        border-bottom: 1px solid var(--yellow-color) !important;
    }

    .focused {
        color: black !important;
        border-bottom: 1px solid black !important;
    }
}

.scrolled-down {
    color: #8a8a8a !important;
}

@media screen and (max-width: 832px) {
    iframe {
        width: 100%;
    }
}

@media screen and (min-width: 832px) {
    iframe {
        width: 640px;
    }
}

.gallery {
    border: 1px solid #ccc;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.gallery:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
}

.gallery img {
    width: 100%;
    height: auto;
}

.desc-wrapper {
    padding: 5px 15px 15px 15px;
    text-align: center;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

* {
    box-sizing: border-box;
}

.responsive-gallery {
    padding: 0 6px;
    float: left;
    width: 24.99%;
}

@media only screen and (max-width: 1000px) {
    .responsive-gallery {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 600px) {
    .responsive-gallery {
        width: 100%;
    }
}

.index-text-wrapper {
    display: inline-block;
    width: 90%;
}

.index-heading-blue {
    background-color: var(--light-blue-color);
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.index-heading-yellow {
    background-color: var(--light-yellow-color);
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.index-heading-red {
    background-color: var(--light-red-color);
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.index-heading-green {
    background-color: var(--light-green-color);
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.index-heading-blue h2 {
    color: black;
    margin: auto;
}

.index-heading-blue p {
    color: black;
    margin: auto;
}

.index-heading-yellow h2 {
    color: black;
    margin: auto;
}

.index-heading-yellow p {
    color: black;
    margin: auto;
}

.index-heading-red h2 {
    color: black;
    margin: auto;
}

.index-heading-red p {
    color: black;
    margin: auto;
}

th i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--yellow-color);
}

b i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--yellow-color);
}

.team-text-wrapper {
    display: inline-block;
    margin: 5px;
}

.team-wrapper {
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    display: inline-block;
    margin-right: 30px;
}

@media screen and (max-width: 703px) {
    .team {
        text-align: center;
    }

    .team-wrapper {
        width: 70%;
    }

    .team-wrapper img {
        width: 100%;
        position: relative;
    }
}

@media screen and (min-width: 704px) and (max-width: 1199px) {
    .team br {
        display: none;
    }

    .team-text-wrapper br {
        display: block;
         !important
    }

    .team-wrapper {
        text-align: center;
        width: 250px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
        float: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .team {
        clear: both;
    }

    .team-wrapper img {
        height: 250px;
        width: 250px;
        display: block;
        vertical-align: middle;
    }
}

@media screen and (min-width: 1200px) {
    .team-wrapper {
        text-align: center;
        width: 20%;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
        float: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .team {
        clear: both;
    }

    .team-wrapper img {
        height: 100%;
        width: 100%;
        display: block;
        vertical-align: middle;
    }
}

.covid-19-project img {
    float: center;
    width: 45%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin: 5px
}

.covid-19-project h2 {
    font-size: 30px;
    color: var(--blue-color);
    margin-top: 40px;
}

.covid-19-project h3 {
    font-size: 20px;
    color: black;
    margin-top: 0px;
    margin-bottom: 5px;
}

.covid-19-project a {
    transition: color 0.3s;
    color: var(--blue-color);
    text-decoration: none;
}

.covid-19-project a:hover,
.error-page-wrapper a:focus {
    opacity: 0.8;
    color: black;
}