/* Google fonts import */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


/* Asterisk wildcard selector to override default styles added by the browser */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Generic project styles */
    background: #f4f5f7;
    font-family: 'Nunito', sans-serif;
}


/* Header */
header {
    background-color: #dedfe4;
    padding: 0 0.5rem;
    position: fixed;
    z-index: 99;
    width: 100%;
    box-shadow: 0 4px 4px #a7acad;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

header a {
    text-decoration: none;
    color: inherit;
}

h1 {
    letter-spacing: 1px;
    color: #444852;
}

#logo {
    font-size: 145%;
    line-height: 3.5rem;
    margin: 0 0.5rem;
}

#menu {
    font-size: 110%;
    list-style-type: none;
    letter-spacing: 2px;
    color: #101825;
}

#menu>li {
    margin-bottom: 1em;
    margin-top: 1em;
}

.active {
    border-bottom: 1px solid #101825;
}

/* Navbar styles with dropdown toggle */
nav {
    position: absolute;
    background-color: #dedfe4;
    width: 100%;
    left: 0;
    padding: 0 1rem;
    box-shadow: 0 2px 2px #676869;
    display: none;
    top: 100%;
}

/* Nav toggle */
#nav-toggle:checked~nav {
    display: block;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    font-size: 1.8rem;
}


/* Main content */
main {
    /* Make main element take up any surplus space to push footer down */
    flex: 1 0 auto;
    margin-top: 56px;
    display: flex;
    flex-direction: column;
}

/* Hero */
#hero {
    height: 600px;
    width: 100%;
    background: url("../images/heroImage.jpg") no-repeat center center/cover;
    position: relative;
}

#cover-text {
    font-size: 105%;
    position: absolute;
    top: 20px;
    width: 100%;
    min-height: 30px;
    padding-left: 15px;
}

#cover-text h2,
#cover-text h3 {
    color: #454e53;
}

/* Reason section */
#reasons {
    width: 90%;
    margin: 20px auto;
}

#why h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 170%;
    color: #3c3e44;
}

#why h4 {
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-align: center;
    font-size: 100%;
    color: #3d3f47;
}

#why a {
    color: #3c3e44;
}

#mental>div,
#physical>div {
    line-height: 45px;
    margin-bottom: 35px;
}

#benefits h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: center;
    font-size: 140%;
    color: #3c3e44;
}

#benefits p {
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-align: center;
    color: #3d3f47;
    font-weight: 600;
}

#circle-cover-bg {
    background: url("../images/manRunningAcrossBridge.jpg") no-repeat top center / cover;
    height: 90vw;
    width: 90vw;
    margin-bottom: 20px;
    border-radius: 50%;
    max-width: 280px;
    max-height: 280px;
}

#circle-cover-bg2 {
    background: url("../images/bodyBalance.jpeg") no-repeat top center / cover;
    height: 90vw;
    width: 90vw;
    margin-bottom: 20px;
    border-radius: 50%;
    max-width: 280px;
    max-height: 280px;
}

#benefits-image,
#benefits-image2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Start here */


.container {
    margin: 25px;
}

.container .card {
    height: 500px;
    background: #e4e4e4d0;
    box-shadow: 0.5px 8px #dddcdc;
    margin-top: 9%;
    padding: 30px;
    align-items: center;
    justify-content: center;
}

.container .card .photo {
    width: 100%;
    height: auto;
}

.container .card .photo img {
    max-width: 100%;
    box-shadow: 0 5px 15px rgba(120, 120, 120, 0.9);
}

.photo:hover img {
    transform: scale(1.1);
}

.container .card .photo h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #3c3e44;
}

.container .card .photo li {
    text-align: center;
    list-style-type: none;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #3d3f47;
}

.more {
    margin: 15px;
    padding: 10px;
    justify-content: center;
    text-align: center;
    font-size: 19px;
}

.more a {
    color: #3c3e44;
}


/* Form */

#contact {
    background-image: url("../images/treeOfLife.jpg");
    justify-content: center;
    align-items: center;
    height: 1000px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#contact-form {
    color: rgba(247, 240, 240, 0.993);
    background-color: #7c7c74ab;
    padding: 15px;
    margin: 18px;
}

#contact-form h2 {
    margin-bottom: 30px;
    color: #f7f0f0;
    font-size: 22px;
}

.text-input {
    background: transparent;
    color: #f7f0f0;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px 0;
    border-radius: 2px;
    padding: 0 5px;
}

.interests {
    text-align: center;
}

.contact-me-button {
    margin-top: 15px;
    border-radius: 2px;
    padding: 10px 20px;
    font-size: 100%;
    background: #84857fc5;
    color: #f7f0f0;
}


/* Footer */
footer {
    background-color: #a2a3a5;
}

#social-media {
    text-align: center;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
}

#social-media i {
    font-size: 180%;
    padding: 20%;
    color: #040911;
}

/* Media query: tablets and larger (768px and up) */
@media screen and (min-width: 768px) {

    /* Header */
    nav {
        display: block;
        position: relative;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
    }

    #menu {
        display: flex;
    }

    #menu>li {
        padding-left: 1rem;
    }

    .nav-toggle-label {
        display: none;
    }

    /* logo */
    #logo {
        font-size: 190%;
        line-height: 4rem;
        margin: 0 1rem;
    }

    /* Main content */
    main {
        /* Push main content down to accommodate larger header */
        margin-top: 68px;
    }

    /* Hero */
    #cover-text {
        width: 360px;
        left: 10px;
        top: 1rem;
    }

    /* Reasons */
    #reasons h4 {
        margin-bottom: 10px;
        letter-spacing: 3px;
        text-align: center;
        font-size: 140%;
    }

    #reasons h3 {
        margin-bottom: 22px;
        text-align: center;
        font-size: 200%;
    }

    #mental>div,
    #physical>div {
        line-height: 45px;
        margin-bottom: 35px;
    }

    #benefits h2 {
        margin-bottom: 30px;
        letter-spacing: 3px;
        font-size: 190%;
    }

    #benefits p {
        margin-bottom: 25px;
        letter-spacing: 3px;
        font-size: 130%;
    }

    /* Start here */


    .container {
        display: flex;
        margin-top: 90px;

    }

    .container .card {
        height: auto;
        margin: 10px;
        justify-content: center;
        align-items: center;

    }

    .container .card .photo>h2 {
        margin-top: 25px;
        margin-bottom: 45px;
        font-size: 30px;
    }

    .container .card .photo li {
        font-size: 21px;
        margin-bottom: 18px;
    }

    .more {
        margin: 25px;
        padding: 20px;
        justify-content: center;
        text-align: center;
        font-size: 28px;
    }


    /* Form */

    #contact-form {
        position: absolute;
        top: 150px;
        left: 5%;
        max-width: 300px;
        height: 600px;
    }

    #contact-form h2 {
        font-size: 32px;
    }

    #contact-form label {
        font-size: 23px;
    }

    .interests {
        font-size: 23px;
    }



}

/* Media query: large device (lapotops and desktops, 992px and up) */
@media screen and (min-width: 992px) {
    #menu a:hover {
        border-bottom: 1px solid #101825;
    }

    /* Hero */
    #cover-text {
        width: 300px;
        left: 15px;
        top: 1.5rem;
    }

    /* Reasons section */
    #reasons {
        width: 100%;
    }

    #benefits {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    #mental {
        order: 0;
    }

    #benefits-image {
        order: 1;
    }

    #benefits-image2 {
        order: 2;
    }

    #physical {
        order: 3;
    }

    #benefits-image {
        padding-right: 13px;
    }

    #benefits-image2 {
        padding-left: 13px;
    }


    /* Form */

    .text-input:hover {
        border-color: rgb(86, 107, 28);
    }

    .contact-me-button:hover {
        background-color: #707274;
    }

}

/* Media query for large screens (1280px and up) */
@media screen and (min-width: 1280px) {

    /* Hero */
    #cover-text>h2,
    #cover-text>h3 {
        color: #2a2d30;
    }

    /* Reasons section */
    #benefits>div {
        flex: 1;
    }

    #benefits-image {
        padding-right: 70px;
    }

    #benefits-image2 {
        padding-left: 70px;
    }

    #physical,
    #mental {
        font-size: 13px;
    }

    /* Start here */

    .container {
        margin: 90px 40px 40px;
        padding: 40px;
    }


    /* Form */

    #contact-form {
        position: absolute;
        top: 100px;
        left: 5%;
        max-width: 290px;
        height: 600px;
    }


}

/* Media query for desktop screens (1600px and up) */
@media screen and (min-width: 1600px) {


    /* Hero */
    #cover-text>h2,
    #cover-text>h3 {
        color: #0d0f11;
    }


    /* Start here */

    .container {
        margin: 60px;
        padding: 50px;
    }

    .container .card {
        margin: 50px;
        padding: 50px;
    }

    .more {
        margin: 25px;
        padding: 30px;
        font-size: 30px;
    }



    /* Form */

    #contact-form {
        position: absolute;
        top: 150px;
        left: 5%;
        max-width: 350px;
        height: 650px;
    }

    #contact-form h2 {
        font-size: 39px;
    }

    #contact-form label {
        font-size: 26px;
    }


}

/* Media query for desktop screens (1920px and up) */
@media screen and (min-width: 1920px) {

    /* Form */

    #contact {
        background-position: 100%;
        padding: 10px 5% 0 5%;
        flex-grow: 1;
        height: 100vh;
    }

}