/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* fonts */
body {
    font-family: "Karla", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

img {
    max-width: 100%;
}

p,
a,
li {
    font-size: 1.2rem;
}

h1,
h2,
h3,.main-nav a.company-name {
    font-family: "Vollkorn", serif;
}

h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto;
}

/* colors */
:root {
    --primary-color: #111111;
    --secondary-color: #f6f6f6;
    --terciary-color: #ffffff;
    --accent-color: #60a5a5;
}

/* nav */

nav.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--terciary-color);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

nav.main-nav a.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

nav.main-nav a.company-name:hover {
    color: var(--primary-color);
}

nav.main-nav ul.desktop-links {
    display: none;
}

/* all sections */
.hero p.hero-description,
section.about p.about-description,
section.contact p.contact-description {
    padding: .25rem 0;
}

.hero,
section.about,
section.contact,
footer.footer {
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero p,
section.about p,
section.contact p,
footer.footer p {
    max-width: 800px;
    margin: 0 auto;
}

/* header */

header {
    margin-top: 3rem;
    text-align: center;
    min-height: 200px;
}

/* hero */

.hero {
    background-color: var(--terciary-color);
    color: var(--primary-color);
}

.hero .hero-hours a {
    text-decoration: underline;
    color: var(--accent-color);
}


.hero a.cta,
section.contact a.cta {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 1rem 0;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--accent-color);
    color: var(--terciary-color);
    -webkit-transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    -o-transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    border: 1px solid var(--accent-color);
    font-weight: bold;
}

.hero a.cta:hover,
section.contact a.cta:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

/* about section */
section.about {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

section.about p.about-description{
    text-align: left;
    line-height: 1.3;
}

section.about p.about-description strong{
    color: black;
    font-weight: bold;
}

section.about p.about-description a{
    color: var(--accent-color);
    text-decoration: underline;
}


/* contact section */
section.contact {
    background-color: var(--terciary-color);
    color: var(--primary-color);
}

section.contact div.contact-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 1rem;
}

section.contact div.contact-options div.contact-option {
    margin: 1rem 0;
}

section.contact div.contact-options div.contact-option h3 {
    padding: .15rem 0;
}

div.contact-options div.contact-option--business-hours {
    min-width: 200px;
}

div.contact-options div.contact-option--business-hours ul.hours-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1rem;
}

div.contact-options div.contact-option--business-hours ul.hours-list li.hours-item {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: var(--primary-color);
    font-weight: 400;
}

div.contact-options div.contact-option--business-hours ul.hours-list li.hours-item.active {
    color: var(--accent-color);
    font-weight: bold;
    background-color: var(--secondary-color);
}

/* bottom nav */
nav.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--terciary-color);
    -webkit-box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.7);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.7);
}

nav.bottom-nav ul.mobile-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

nav.bottom-nav ul.mobile-links li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.material-icons {
    font-size: 2rem;
    color: var(--accent-color);
}

nav.bottom-nav ul.mobile-links li a {
    text-decoration: none;
    color: var(--accent-color);
}

/* footer */
footer.footer {
    color: #535353;
    margin-bottom: 5rem;
}

footer.footer span.separator {
    display: block;
    margin: 1rem 0;
    width: 100%;
    height: 1px;
    background-color: #cdcdcd;
}

footer.footer p.powered-by {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* margin: 0; */
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .4rem;
    font-size: 1rem;
}

footer.footer p.powered-by img {
    display: block;
}

@media screen and (min-width: 500px) {

    .hero,
    section.about,
    section.contact {
        padding: 5rem 2rem;
    }

    h2 {
        margin-bottom: 2rem;
    }

    header.site-header {
        display: none;
    }

    .hero a.cta:first-of-type{
        margin-right: 1rem;
    }

    section.hero {
        background-image: url(../images/hero-800.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    section.hero .container-info-hero {
        background: rgba(0, 0, 0, 0.8);
        color: white;
        max-width: 610px;
        margin: 0 auto;
        padding: 2rem;
        border-radius: 1rem;
    }

    nav.bottom-nav ul.mobile-links {
        justify-content: space-evenly;
    }
}

@media screen and (min-width: 800px) {

    .hero,
    section.about,
    section.contact {
        padding: 8rem 2rem;
    }

    section.hero {
        background-image: url(../images/hero.jpg);
    }

    h2 {
        margin-bottom: 3rem;
    }

    nav.bottom-nav {
        display: none;
    }

    nav.main-nav ul.desktop-links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: 2rem;
    }

    nav.main-nav ul.desktop-links li {
        list-style: none;
    }

    nav.main-nav ul.desktop-links li a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-decoration: none;
        color: var(--accent-color);
        gap: .5rem;
        -webkit-transition: color 0.2s ease;
        -o-transition: color 0.2s ease;
        transition: color 0.2s ease;
    }

    nav.main-nav ul.desktop-links li a span,
    nav.main-nav ul.desktop-links li a p {
        color: inherit;
    }

    nav.main-nav ul.desktop-links li a:hover {
        color: var(--primary-color);
    }

    section.contact div.contact-options {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin-top: 1rem;
    }

    section.contact div.contact-options div.contact-option {
        text-align: left;
    }

    footer.footer {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1000px) {
    nav.main-nav ul.desktop-links {
        gap: 4rem;
    }
}