:root {
    --muted-blue: rgb(111, 154, 172);
    --shaded-blue: rgb(42, 107, 228);
}

* {
    box-sizing: border-box;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

.content-container {
    height: 100vh;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.banner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.banner img {
    max-width: 140px;
}

.home {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.buttons {
    display: flex;
}

.lang,
.home {
    height: 40px;
    background-color: dodgerblue;
    color: white;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.lang:hover,
.home:hover {
    background-color: var(--shaded-blue);
}

.selector-container {
    height: 90vh;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.selector {
    width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selector h1 {
    color: whitesmoke;
    text-align: center;
    font-size: 1.7rem;
    padding: 10px 10px;

}

.selector-m {
    height: 40vh;
}

.selector-s {
    height: 20vh;
}

.selector-xs {
    height: 10vh;
}

.selector-xs h1 {
    color: white;
}

.selector-xs p {
    font-size: larger;
    margin-bottom: 10px;
    color: white;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;

    flex-grow: 1;
    flex-basis: 100%;
    background-size: cover;
    margin: 10px;
    background-size: cover;
    background-position: center;
    background-color: whitesmoke;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;

}

.selector-s .card div {
    height: 80px;
}


.card div {
    height: 130px;
    width: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.5s ease-in-out;
}

.card:hover div {
    backdrop-filter: blur(10px);
    height: 140px;

}


.selector-s .card:hover div {
    height: 90px;
}

.csi {
    background-image: url('../img/image_03.jpg');
}

.fgi {
    background-image: url("../img/image_04.jpg");
}

.fti {
    background-image: url("../img/image_05.jpg");
}


.csfk {
    background-image: url("../img/image_01.jpg");
}

.vizio {
    background-image: url("../img/image_02.jpg");
}


.slogan {
    background-color: white;
    text-shadow: 2px 2px 3px lightgray;
}

.slogan h1 {
    color: dodgerblue;
    margin-right: 20%;
    font-size: 2rem;
}


.slogan p {
    font-style: none;
    color: var(--muted-blue);
    margin-left: 20%;
    font-size: 1.5rem;
}

.m-slogan {
    margin: 30px 0 60px 0;
    background-color: white;
    text-shadow: 2px 2px 3px lightgray;
    line-height: .5rem;
}

.m-slogan h2 {
    color: dodgerblue;
}

.m-slogan p {
    font-style: none;
    color: var(--muted-blue);
    font-size: 1.2rem;
    text-align: center !important;
}

.footer {
    color: dodgerblue;
    padding: 10px;
    text-align: center;
}

.mission-content {
    max-width: 700px;
}

.mission-content h1,
h2,
h3 {
    text-align: center;
}

.mission-content h1 {
    margin-bottom: 20px;
}

.mission-content p {
    margin: 20px auto;
    text-align: justify;
}

.mission-section {
    margin: 60px auto;
    max-width: 600px;
    border: solid 1px palegoldenrod;
    border-radius: 10px;
}

.mission-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    width: 100%;
    height: 100px;
    color: white;
    font-size: 1.8rem;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.mission-section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding: 30px 40px;

}

.mission-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: rgb(68, 63, 48);
}

.mission-card p::first-letter {
    font-size: 1.2rem;
    color: indianred;
}

.science {
    background-image: url("../img/mission_01.jpg");
}

.education {
    background-image: url("../img/mission_02.jpg");
}

.impact {
    background-image: url("../img/mission_03.jpg");
}

.hidden {
    display: none;
}

@media only screen and (max-width: 768px) {
    .banner {
        margin-bottom: 50px;
    }

    /* Your styles for handheld devices */
    .content-container {
        height: fit-content
    }

    .selector-container {
        height: fit-content;
    }

    .selector {
        margin: 0;
        width: 100%;
        flex-direction: column;
    }

    .selector-xs,
    .selector-s,
    .selector-m {
        height: auto;
    }

    .card {
        width: 100%;
        height: 500px;
    }

    .card div {
        margin: 20px 0;
        height: 100px;

    }

    .selector-xs {
        order: 1;
    }

    .selector-s {
        order: 2
    }

    .selector-m {
        order: 3
    }

    .slogan {
        margin-bottom: 40px;
    }

    .slogan h1,
    .slogan p {
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .mission-intro,
    .mission-outro {
        margin: 0 20px;
    }

    .mission-section {
        border: none;
    }

    .mission-section-title {
        border-radius: 0;
        height: 25vh;
        padding: 0 20px;
    }

    .footer {
        margin-top: 100px;
    }
}