/* === 1. MOBILE STYLESHEET === */


/* === 1.1. GLOBAL RULES === */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Arvo', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #00171F;
    color: #e7e7e5;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 30px 20px;
}

.sectionTitle {
    color: #00A8E8;
    width: fit-content;
    font-size: 32px;
    text-align: center;
    border-bottom: 2px solid #e7e7e5;
    padding: 10px 0;
    margin: 30px auto;
    margin-top: 50px;
}

/* === 1.2. NAVIGATION BAR === */

.navigationBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background: transparent;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 15px;
    transition: 300ms ease-in-out;
}

.navigationLogo {
    color: #00A8E8;
    z-index: 10;
    font-size: 40px;
    font-weight: 700;
    text-shadow: 4px 4px 4px #131313;
}

.toggleMenuButton {
    width: 30px;
    height: 30px;
    z-index: 10;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.toggleMenuButton i {
    font-size: 30px;
    color: #00A8E8;
    text-shadow: 2px 2px 2px #131313;
    transition: 300ms ease-in-out;
}

.toggleMenuButton.menuOpen {
    transform: rotate(180deg);
}

.navigationMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    max-width: 400px;
    background-color: #00171F;
    transition: 500ms ease-in-out;
    overflow-y: scroll;
}

.navigationMenu a {
    color: #e7e7e5;
    font-size: 24px;
    margin: 25px 0;
    text-shadow: 4px 4px 4px #131313;
}

.navigationMenu a:hover {
    color: #00A8E8;
}

.navigationMenu.menuOpen {
    right: 0;
}

.sticky {
    background-color: #00171F;
}

/* === 1.3. LANDING SECTION === */

.landingSection {
    height: 100vh;
    min-height: 650px;
    background: url(../media/backgroundImage.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
}

.landingContent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    color: #00A8E8;
    text-align: center;
}

.landingContent h1 {
    font-size: 50px;
    font-weight: 600;
    text-shadow: 8px 8px 8px #131313;
    margin: 0 20px;
    margin-bottom: 40px;
}

.landingContent h2 {
    font-size: 30px;
    text-shadow: 6px 6px 6px #131313;
    margin-bottom: 40px;
    color: #e7e7e5;
}

.techStack a {
    font-size: 30px;
    text-shadow: 2px 2px 2px #131313;
    color: #e7e7e5;
    margin: 10px;
    margin-bottom: 40px;
    transition: 300ms ease-in-out;
}

.techStack a:hover {
    color: #007EA7;
}

.landingButton {
    border: 2px solid #007EA7;
    padding: 10px;
    margin: 20px auto;
    transition: 300ms ease-in-out;
    box-shadow: 4px 4px 4px #131313;
}

.landingButton:hover {
    background-color: #007EA7;
}

.landingButton a {
    font-size: 22px;
    text-shadow: 4px 4px 4px #131313;
    color: #e7e7e5;
}

/* === 1.4. ABOUT US SECTION === */

.aboutUsContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto 50px;
    width: 80%;
    height: 100%;
}

.teacherCard {
    max-width: 300px;
    max-height: 1000px;
    margin: 30px;
    margin-bottom: 90px;
    background-color: transparent;
}

.teacherCard img {
    height: 200px;
    width: 200px;
    box-shadow: 0 10px 6px -6px #131313;
    border-radius: 50%;
}

.teacherCard h2 {
    color: #007EA7;
    padding: 10px;
    text-shadow: 2px 2px 2px #131313;
    border-bottom: 2px solid #007EA7;
    margin-bottom: 10px;
}

.teacherCard p {
    font-size: 18px;
    padding: 10px;
    color: #e7e7e5;
    text-shadow: 2px 2px 2px #131313;
    margin-bottom: 10px;
}

.teacherCard .cardButton {
    border: 2px solid #007EA7;
    width: 100%;
    cursor: pointer;
    padding: 10px;
    box-shadow: 0 10px 6px -6px #131313;
    transition: 300ms ease-in-out;
}

.teacherCard .cardButton a {
    font-size: 20px;
    color: #e7e7e5;
}

.teacherCard .cardButton:hover {
    background-color: #007EA7;
}

/* === 1.5. COURSES SECTION === */

.serviceCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    text-align: center;
    border: 2px solid #007EA7;
    padding: 10px;
    margin: 30px auto;
    box-shadow: 0 10px 6px -6px #131313;
    transition: 300ms ease-in-out;
}

.serviceCard .icon {
    font-size: 26px;
    margin: 20px 0;
    text-shadow: 2px 2px 2px #131313;
}

.serviceCard h4 {
    width: 100%;
    margin: 10px 0;
    font-size: 22px;
    color: #007EA7;
    text-shadow: 2px 2px 2px #131313;
    padding-bottom: 10px;
    border-bottom: 2px solid #007EA7;
}

.serviceCard p {
    margin: 10px 0;
    font-size: 18px;
    text-shadow: 2px 2px 2px #131313;
}

.serviceCard .startDate {
    width: 100%;
    border-top: 2px solid #007EA7;
    padding: 10px;
    padding-top: 20px;
    margin-bottom: 0;
}

/* === 1.6. LOCATION SECTIONS === */

.locationContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.locationsMap {
    width: 100%;
    height: 500px;
    margin: 30px auto;
    margin-bottom: 30px;
    box-shadow: 0 10px 6px -6px #131313;
}

.mapLegend {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    width: 100%;
}

.mapLegend a {
    width: 90%;
    color: #e7e7e5;
    font-size: 16px;
    margin: 20px auto;
    text-shadow: 2px 2px 2px #131313;
    border: 2px solid #007EA7;
    padding: 15px;
    box-shadow: 0 10px 6px -6px #131313;
    transition: 300ms ease-in-out;
}

.mapLegend a:hover {
    background: #007EA7;
}

/* === 1.7. FOOTER === */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../media/backgroundImage.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    padding: 50px 0;
    color: #e7e7e5;
}

.copyright {
    margin-bottom: 20px;
    font-size: 20px;
    text-shadow: 6px 6px 6px #131313;
}

.copyright a {
    color: #00A8E8;
}

.socialMedia {
    margin-bottom: 20px;
}

.socialMedia a {
    font-size: 26px;
    color: #e7e7e5;
    text-shadow: 2px 2px 2px #131313;
    margin: 10px;
    transition: 300ms ease-in-out;
}

.socialMedia a:hover {
    color: #007EA7;
}


/* === 2. TABLET STYLESHEET === */


@media screen and (min-width: 600px) {


    /* === 2.1. GLOBAL RULES === */

    /* === 2.2. NAVIGATION BAR === */

    .navigationBar {
        padding: 20px;
    }

    /* === 2.3. LANDING SECTION === */

    .landingContent h1 {
        margin-bottom: 50px;
    }

    .landingContent h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .techStack a {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .landingButton {
        margin: 30px auto;
        padding: 12px;
    }

    .landingButton a {
        font-size: 24px;
    }

    /* === 2.4. ABOUT US SECTION === */

    .teacherCard {
        max-width: 500px;
        margin-bottom: 120px;
    }

    .teacherCard img {
        width: 250px;
        height: 250px;
    }

    .teacherCard p {
        font-size: 20px;
    }

    /* === 2.5. COURSES SECTION === */

    .coursesSection .sectionTitle {
        margin-bottom: 50px;
    }

    .serviceContainer {
        width: 100%;
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 100px;
    }

    .serviceCard {
        width: 80%;
        margin: 20px auto;
    }

    .serviceCard .icon {
        font-size: 30px;
    }

    .serviceCard h4 {
        font-size: 24px;
    }

    /* === 2.6. LOCATION SECTIONS === */

    .locationsMap {
        width: 80%;
    }

    .mapLegend {
        width: 80%;
    }

    .mapLegend a {
        font-size: 18px;
    }

    /* === 2.7. FOOTER === */

}


/* === 3. DESKTOP STYLESHEET === */


@media screen and (min-width: 980px) {


    /* === 3.1. GLOBAL RULES === */

    ::-webkit-scrollbar {
        display: none;
    }

    .sectionTitle {
        margin: 50px auto;
        margin-top: 80px;
    }

    /* === 3.2. NAVIGATION BAR === */

    .navigationBar {
        max-height: 10vh;
        padding: 20px 25px;
    }

    .toggleMenuButton {
        display: none;
    }

    .navigationMenu {
        justify-content: space-between;
        flex-direction: row;
        position: unset;
        height: unset;
        max-width: 50vw;
        background-color: transparent;
        overflow-y: hidden;
    }

    .navigationMenu a {
        font-size: 24px;
        margin: 0 10px;
        white-space: nowrap;
        text-shadow: 2px 2px 2px #131313;
        transition: 300ms linear;
    }

    /* === 3.3. LANDING SECTION === */

    .landingContent h1 {
        font-size: 70px;
        margin-bottom: 60px;
    }

    .landingContent h2 {
        font-size: 45px;
        margin-bottom: 60px;
    }

    .techStack a {
        font-size: 42px;
        margin: 20px;
        margin-bottom: 60px;
    }

    .landingButton {
        padding: 15px;
        margin: 40px auto;
    }

    .landingButton a {
        font-size: 26px;
    }

    /* === 3.4. ABOUT US SECTION === */

    .aboutUsSection {
        padding: 30px;
        min-height: 1100px;
    }

    .aboutUsContent {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }

    .teacherCard img {
        margin-bottom: 50px;
    }

    .teacherCard h2 {
        font-size: 30px;
    }

    .teacherCard p {
        margin-bottom: 20px;
        font-size: 22px;
    }

    /* === 3.5. COURSES SECTION === */

    .serviceContainer {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .serviceCard {
        margin: 40px auto;
    }

    .serviceCard .icon {
        font-size: 32px;
    }

    .serviceCard h4 {
        font-size: 26px;
    }

    .serviceCard p {
        font-size: 20px;
    }

    /* === 3.6. LOCATION SECTIONS === */

    .locationsMap {
        width: 70%;
        height: 700px;
    }

    .mapLegend {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 70%;
    }

    .mapLegend a {
        font-size: 20px;
    }

    /* === 3.7. FOOTER === */
    
    .copyright {
        font-size: 22px;
    }

}