:root {
    --blue: #1F2937;
    --white: #F9FAF8;
    --gray: #E5E7EB;
    --lightblue: #3882F6;
}

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "RobotoRegular";
    src: url("../fonts/RobotoRegular.ttf");
}

@font-face {
    font-family: "RobotoBold";
    src: url("../fonts/RobotoBold.ttf");
}

@font-face {
    font-family: "RobotoItalic";
    src: url("../fonts/RobotoItalic.ttf");
}

@font-face {
    font-family: "RobotoExtraBold";
    src: url("../fonts/RobotoExtraBold.ttf");
}

.container {
    margin: 0 auto;
}

/* HEADER: ELVIRA */

header {
    background-color: var(--blue);
    padding: 0% 10%;
}

.header-content-navigation {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem;
    align-items: baseline;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    font-size: 24px;
    font-family: "RobotoExtraBold", sans-serif;
    color: var(--white);
}

.header-menu {
    display: flex;
    flex-direction: row;
    font-family: "RobotoRegular", sans-serif;
}


header .header-menu li {
    list-style-type: none;
    margin: 0px 10px;
}

header .header-menu li>a {
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.1s ease;
}

header .header-menu li>a:hover {
    color: var(--lightblue);
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: var(--blue);
    padding: 10% 10%;
}

.header-content img {
    width: 100%;
    border-radius: 15px;
}

.header-content-info {
    align-content: center;
}

.header-content-info h1 {
    font-size: 48px;
    font-family: "RobotoExtraBold", sans-serif;
    color: var(--white);
    padding: 5px 0;
}

.header-content-info p {
    width: 500px;
    font-family: "RobotoRegular", sans-serif;
    color: var(--gray);
    padding: 10px 0;
    margin: 5px 0px;
}

.header-content-info>.container a {
    background-color: var(--lightblue);
    color: var(--white);
    font-size: 18px;
    border: 0;
    margin-bottom: 5px;
}


/* MAIN: EUGENE */
.about-title {
    font-family: "RobotoExtraBold", sans-serif;
    text-align: center;
    margin: 30px 0;
}

.about-content-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.about-content-item {
    width: 120px;
    height: 150px;
    text-align: center;
    font-family: "RobotoBold", sans-serif;
    font-size: 10px;
    color: var(--blue);
}

.about-content-item img {
    width: 90px;
    height: 90px;
    border: 3px solid var(--lightblue);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5px;
}

.quote {
    background-color: var(--gray);
    padding: 70px 200px;
    font-family: "RobotoItalic", sans-serif;
    font-size: 36px;
    color: var(--blue);
    margin-bottom: 60px;
}

.quote cite {
    display: block;
    text-align: right;
    font-family: "RobotoBold", sans-serif;
}


/* FOOTER: NIELEN*/
.action {
    background-color: var(--lightblue);
    color: var(--white);
    border-radius: 10px;
    padding: 50px 100px;
    max-width: 65%;
    margin: 0 auto;
    margin-bottom: 60px;
}

.action>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-info h4 {
    font-family: "RobotoExtraBold", sans-serif;
    font-size: 18px;
}

.action-info p {
    font-family: "RobotoRegular", sans-serif;
}

.container>.sign-up-link {
    all: unset;
    background-color: inherit;
    color: inherit;
    border-radius: 5px;
    padding: 3.5px 20px;
    border: 2px solid var(--white);
    font-family: "RobotoBold", sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: scale 0.3s ease;
}

.container>.sign-up-link:hover {
    background-color: var(--white);
    color: var(--lightblue);
    scale: 105%;
}

footer {
    background-color: var(--blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer p {
    font-family: "RobotoRegular", sans-serif;
}


/* ABOUT PAGE: EUGENE */
.about-header {
    display: block;
    padding: 0;
}

.about-image-section>picture {
    padding: 1% 5%;
}

.aboutPage {
    margin-bottom: 50px;
    padding: 0 20px;
}


.aboutPage-slogan {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-family: "RobotoBold", sans-serif;
    position: absolute;

}

.aboutPage-slogan p {
    margin: 0 200px;
    width: 1000px;
    color: var(--white);
    font-size: 50px;
}

.main-img {
    height: 600px;
    position: relative;
    width: 100%;
    /* margin: 20px 0 30px 0; */
    opacity: 0.3;
    object-fit: cover;
}

.aboutPage-title {
    font-size: 30px;
    font-family: "RobotoBold", sans-serif;
    margin: 40px 0 30px 170px;
}

.about article {
    font-family: "RobotoRegular", sans-serif;
    font-size: 20px;
    margin: 0 170px;
}

.about article p:not(:last-child) {
    padding-bottom: 20px;
}

.about article p a {
    text-decoration: none;
}

/* CLASSES: ELVIRA */
.courses-header {
    font-family: "RobotoExtraBold", sans-serif;
    font-size: 48px;
    padding: 0 10%;
    color: var(--blue);
    margin-top: 20px;
    text-align: center;
}

.courses {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.courses article {
    display: flex;
    flex-direction: column;
    border-radius: 5%;
    max-width: 300px;
    overflow: hidden;
    background-color: var(--blue);
    color: var(--white);
    margin: 10px 10px;
    padding: 5%;
    font-family: "RobotoRegular", sans-serif;

}

.courses article h2 {
    font-family: "RobotoExtraBold", sans-serif;
    font-size: 36px;
    position: relative;
    top: 40%;
    padding: 2% 5%;
}

.courses article p {
    font-size: 18px;
    padding: 5% 5%;
    visibility: hidden;
}

.courses article.course1 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/high energy.jpg');
    background-position: center;
    background-size: cover;
}

.courses article.course2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/power.jpg");
    background-position: right;
    background-size: cover;
}

.courses article.course3 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/body & mind.jpg");
    background-position: center;
    background-size: cover;
}

.courses article.course4 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/aerobics.jpg");
    background-position: center;
    background-size: cover;
}

.courses article:hover h2 {
    top: 0;
    transition-duration: 1s;

}

.courses article:hover p {
    visibility: visible;
    transition: all 0.5s linear 1s;
}

/* CONTACT PAGE: NIELEN */
.contact-page {
    background-image: url("../images/contact-page-image.jpg");
    min-height: 100vh;
    align-content: center;
}

.contact-page-title {
    text-align: center;
    font-family: "RobotoBold", sans-serif;
    font-size: 36px;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.contact-page-title>span {
    color: var(--lightblue);
    font-style: italic;
}

.contact-page-info {
    margin: auto;
    font-style: italic;
    max-width: 50%;
    color: var(--lightblue);
    font-family: "RobotoRegular", sans-serif;
    font-size: 20px;
    padding-bottom: 2rem;
}

.form-checkbox-legend {
    font-style: italic;
    font-size: 14px;
    color: orange;
}

.contact-page-form {
    font-family: "RobotoRegular", sans-serif;
    display: flex;
    justify-content: center;
}

.contact-page-content {
    background-color: var(--white);
    max-width: 50%;
    margin: auto;
    border-radius: 8px;
}

.contact-form {
    min-width: 75%;
    padding-bottom: 3rem;
}

.form-section {
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    border-style: unset;
}

.form-separator {
    max-width: 65%;
    margin: auto;
    border-style: solid;
    color: var(--gray);
}

.form-fields {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    max-width: 60%;
    margin: 0 auto;
    width: 100%;
}

.form-field {
    margin-bottom: 1rem;
    padding: 5px;
    border-style: unset;
    border-radius: 5px;
}

.form-textarea {
    margin-bottom: 1rem;
    padding: 5px;
    border-style: unset;
    border-radius: 5px;
    resize: none;
}

.form-label {
    font-size: 17px;
    margin-bottom: 8px;
}

.form-actions {
    display: flex;
    justify-content: end;
    gap: 1rem;
    font-size: 15px;
    width: 60%;
    margin: auto;
}

.form-section-heading {
    max-width: 65%;
    margin: auto;
    color: var(--blue);
    font-size: 19px;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.form-reset-button {
    all: unset;
    cursor: pointer;
    border-style: solid;
    border-radius: 5px;
    padding: 2px 3px;
    border-color: red;
    background-color: red;
    color: var(--white);
    transition: scale 0.3s ease;
    transition: background-color 0.1s ease;
}

.form-reset-button:hover {
    scale: 105%;
    background-color: var(--white);
    color: red;
}

.form-submit-button {
    all: unset;
    cursor: pointer;
    border-style: solid;
    border-radius: 5px;
    padding: 2px 3px;
    border-color: var(--lightblue);
    background-color: var(--lightblue);
    color: var(--white);
    transition: scale 0.3s ease;
    transition: background-color 0.1s ease;
}

.form-submit-button:hover {
    scale: 105%;
    background-color: var(--white);
    color: var(--lightblue);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem 2rem;
    margin: 0.5rem;
}

.checkbox-input {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* SUBMISSION */
.submission {
    height: 74vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 2% 5%;
}

.submission h1 {
    color: var(--lightblue);
    font-family: "RobotoExtraBold";
    font-size: 48px;
    margin-bottom: 2%;
}

.submission p {
    font-family: "RobotoRegular";
    font-size: 18px;
    margin-bottom: 2%;
}

.submission a {
    font-family: "RobotoRegular";
    font-size: 18px;
}



/* Media Queries */
@media all and (max-width: 1440px) {

    /* HEADER */
    .header-content-info p {
        width: 350px;
    }

    .contact-page-content {
        max-width: 75%;
    }
}


@media all and (max-width: 1240px) {

    /* HEADER */
    .header-content-info p {
        width: 260px;
    }

    /* ABOUT */
    .aboutPage-slogan {
        font-size: 40px;
    }
}

@media all and (max-width: 768px) {

    /* ABOUT */
    .aboutPage-slogan {
        font-size: 40px;
    }
}


@media all and (max-width: 750px) {

    /* HOME */
    .header-content-navigation {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .about-content-items {
        flex-direction: column;
    }

    .quote {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 25px;
        padding: 20px 30px;
    }

    /* ABOUT */
    .aboutPage-slogan {
        font-size: 40px;
    }

    .aboutPage-title {
        margin-left: 10px;
    }

    .about article {
        margin: 0 10px;
    }

    /* FOOTER */
    .action {
        padding: 20px 50px;
        max-width: 80%;
        margin-left: 10px;
        margin-right: 10px;
    }

    .action>.container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }

    /* CONTACT */
    .form-section {
        padding: unset;
    }

    .form-actions {
        justify-content: space-between;
    }

    .checkbox-group {
        display: flex;
        flex-direction: column;
    }

    .contact-page-content {
        width: 100%;
    }

    .contact-page-info {
        max-width: 70%;
    }

    .contact-page {
        background-image: none;
        background-color: var(--white);
    }

    .contact-page-content {
        max-width: 100%;
    }

    .form-fields {
        max-width: 85%;
    }

    .form-section-heading {
        max-width: 90%;
    }

    .form-separator {
        max-width: 90%;
    }


    /* CLASSES */
    .courses article p {
        visibility: visible;
    }

    .courses article h2 {
        top: 0;
    }
}

@media all and (max-width: 425px) {

    /* ABOUT */
    .aboutPage-slogan p {
        font-size: 30px;
    }

    .aboutPage-title {
        margin-left: 10px;
    }

    .about article {
        margin: 0 10px;
    }
}


@media all and (max-width: 350px) {

    /* HOME */
    .header-menu>menu {
        flex-wrap: wrap;
        gap: 5px;
    }

    /* CONTACT */
    .contact-form {
        padding-bottom: 0.5rem;
    }

    .contact-page-title {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-page-info {
        display: flex;
        justify-items: center;
        flex-wrap: wrap;
        max-width: 80%;
    }
}