body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
}

.link {
    color: #336699;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    padding: 10px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* hero container */
.hero {
    height: 75vh;
    width: 100%;
    background-image: url('images/hero-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Centering the content inside */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0 20px;

}

.header-content {
    width: 900px;
    margin: 50px auto;
}

/* Typography & Content */
.hero-content {
    max-width: 900px;
    overflow: auto;
    margin: 0 auto;
}

.hero-h1 {
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px #222
}

.header-research-areas {
    font-weight: 800;
    font-size: 3rem;
}

.hero-tag {
    text-transform: uppercase;
    width: 100%;
    font-size: .95rem;
    padding: 4px 20px;
}

.hero-logo {
    max-width: 200px;
    height: auto;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-height: 400px;
}

.flex-books {
    display: flex;
    margin: 0 auto;
    justify-content: space-evenly;
}

.flex-books>div {
    width: 33%;
    margin: 0;
    padding: 2%;
}

.salon-img {
    width: 100%;
    height: auto;
    display: block;
}

.flex-websites {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.flex-websites>div {
    width: 31%;
    margin: 1%;
}

.botanical-1 {
    background-color: #D9D3D0;
    width: 100%;
    overflow: auto;
}

.botanical-2 {
    background-color: #95966A;
    width: 100%;
    overflow: auto;
}

.botanical-3 {
    background-color: #6C7250;
    width: 100%;
    overflow: auto;
}

.bg-right-bottom {
    background-image: url(images/paisley-circle-large-right-bottom.webp);
    background-position: right bottom;
    background-repeat: no-repeat;
}

.bg-left-bottom {
    background-image: url(images/paisley-circle-large-left-bottom.webp);
    background-position: left bottom;
    background-repeat: no-repeat;
}


/* section content */


.montserrat-section-header {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.img-research-areas {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.img-research-areas-50 {
    width: 50%;
    height: auto;
    display: block;
}

.img-research-areas-30 {
    width: 30%;
    height: auto;
    display: block;
}

.img-research-float-right {
    margin: 25px 0 50px 50px;
}

.container-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.section-headers-h1 {
    font-weight: 800;
}

.stylist-link {
    cursor: pointer;
}

.stylist-modal-info {
    padding: 0 50px;
}

.footer-content {
    font-size: .8rem;
    line-height: 1.8;
}

.side-art-right {
    background-image: url(images/side_art.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
}


/* this helps prevent the page jump when the scrollbar disappears */
body.modal-open {
    overflow: hidden !important;
}

.close-button {
    font-size: 1.5rem;
}

.web-info {
    font-size: 1rem;
}

/* mobile responsiveness */
@media (max-width: 768px) {

    /* element orders */

    .web-info {
        font-size: 1.25rem;
    }

    .hero {
        height: 100vh;
        /* Shorter height on phones */
    }

    .hero-h1 {
        font-size: 2rem;
    }

    .hero-tag {
        font-size: .85rem;
    }

    .main-content {
        padding: 0 5%;
        font-size: 1.25rem;
    }

    .content-txt {
        padding: 0 5%;
    }

    .section-headers-h1 {
        text-align: center !important;
    }


    .flex-books {
        flex-direction: column;
    }

    .flex-books>div {
        width: 90%;
        margin: 0 auto;
        padding: 5%;
    }

    .flex-books div button {
        font-size: 1.5rem;
    }

    .flex-websites {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
    }

    .flex-websites>div {
        width: 98%;
        margin: 1%;
    }

    .footer-content {
        text-align: center;
        font-size: 1rem;
    }

    .footer-content div {
        margin: 5% auto;
    }

    .close-button {
        font-size: 2rem;
    }

}