body {
    background-color: black;
    color: white;
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

header {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 8em;
    background-color: black;
    box-shadow: 0px 1px 5px rgb(62, 62, 62); /* x y blur spread color*/
    z-index: 50;
    top: 0;
}

main {
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    justify-content: start;
    align-items: center;
    margin-top: 8em;
}

footer {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
    text-align: center;
    justify-items: center;
    gap: 1em;
    margin-top: 10em;
    font-family: "Montserrat", sans-serif;
}

/* === Top Navigations === */
.top-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    width: 100vw;
    height: 7.5em;
    text-align: center;
    justify-items: center;
    margin: 0;
}

.bottom-nav {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 3em;
    grid-area: 1 / 1 / 2 / 2; /* row column row column*/
}

.logo-img {
    max-height: 8em;
    width: auto;
    grid-area: 1 / 2 / 2 / 3;
    overflow: hidden;
    object-fit: cover;
    display: block;

}

.hidden-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    gap: 1em;
    width: 250px;
    height: 100vh;
    left: -250px; /* Hides outisde the screen */
    background-color: #7e3700;
    padding: 1.5em 2em;
    box-sizing: border-box;
    transition: left 0.4s ease;
    z-index: 10;
}

.hidden-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0;
    display: block;
    padding: 0.5em 0em;
    margin: 0;
}

.hidden-nav.open {
    left: 0;
}

.hidden-nav.close {
    left: -250px;
}

#nav-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    margin-left: auto;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.569);
    visibility: hidden;
    z-index: 10;
}

.nav-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* === Footer === */
footer h2 {
    margin: 0;
    padding-bottom: 0.5em;
}
.footer-home {
    width: 20em;
    height: 5em;
    overflow: hidden;
    display: inline-block;
}

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

.footer-pages {
    display: flex;
    flex-direction: column;
}

.footer-pages a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    padding: 0.5em 0;
    margin: 0;
}

.instagram-img {
    width: 3em;
    height: auto;
}

.page-title {
    margin-top: 2em;
    text-align: center;
    text-transform: uppercase;
}

/* ======================= 
        Home 
========================== */
/* -- Hero Section -- */
.hero-section {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.hero-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.19);
    color: white;
    text-shadow: 0 0 10px black;
    font-size: 2em;
    z-index: 2;
    position: absolute;
    font-family: "Walter Turncoat", cursive;
}

.hero-overlay p {
    padding-bottom: 12em;
    text-align: center;
}

.hero-scroll {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll img {
    max-width: 2em;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 0px 10px black);
}

/* -- About Section -- */
.about-section {
    margin: 2em;
    padding-top: 3em;
}

.about-section h3 {
    text-transform: uppercase;
}

.about-section p {
    letter-spacing: 1px;
}

.learn-more-btn {
    color: white;
    /* align-self: center; */
    padding: 0.5em 2em;
    font-size: 1em;
    font-weight: 600;
    background: transparent;
    border: 2px solid white;
    border-radius: 0.3em;
    letter-spacing: 1px;
    text-decoration: none;
}

/* -- Product Preview -- */
.product-preview-section {
    margin: 2em;
    padding-top: 3em;
}

.product-preview-section h3 {
    text-transform: uppercase;
}

/* ======================= 
        Products 
========================== */
/* -- Product Grid -- */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 2em;
    gap: 1em;
}

.grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    border-radius: 0.2em;
    background-color: rgba(255, 255, 255, 0.053);
}

.grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 0.2em;
}

.grid h3 {
    text-align: center;
}

.grid p {
    letter-spacing: 1px;
}

.grid .product-price {
    margin: 0;
}

#product-total-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

#sort-dropdown {
    font-family: "Montserrat", sans-serif;
    padding: 0.5em 1em;
    border: solid white;
    background-color: black;
    color: white;
    border-radius: 0.2em;
}


/* ======================= 
        Contact 
========================== */
/* -- Form -- */
.page-desc {
    margin: 2em;
    text-align: center;
    letter-spacing: 1px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    margin: 2em;
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.053);
    border-radius: 0.2em;
    letter-spacing: 1px;
    width: 80%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: center;
    width: 100%;
    height: auto;
}

#contact-form label {
    margin-bottom: 0.5em;
    width: 100%;
    font-size: 1.2em;
    font-weight: 600;
}

#contact-form textarea {
    height: 8em;
}

.submit-btn {
    align-self: center;
    padding: 0.5em 2em;
    font-size: 1em;
    font-weight: 600;
    background: transparent;
    color: #fff;
    border: 2px solid white;
    border-radius: 0.3em;
    letter-spacing: 1px;
    justify-self: center;
}

#contact-form label, 
.submit-btn{
    display: block;
    font-family: "Montserrat", sans-serif;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    padding: 0.5em 1em;
}

#validation-message {
    margin: 1em 0;;
}

/* -- Thank You Section */
.thankyou-section {
    display: none;
    flex-direction: column;
    margin: 2em;
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.053);
    border-radius: 0.2em;
}

.thankyou-section p {
    font-weight: 600;
    align-self: flex-end;
    margin: 0;
    padding-top: 3em;
    
}

.thankyou-section img {
    width: 200px;
    height: 75px;
    object-fit: cover;
    align-self: flex-end;
}

/* ======================= 
        About 
========================== */
.about {
    display: flex;
    flex-direction: column;
    margin: 2em;
    letter-spacing: 1px;
}

.about-img {
    width: 20em;
    padding-top: 5em;
}


/* ======================= 
        Breakpoints 
========================== */

@media (min-width: 600px) {
    /* --- Home --- */
    .learn-more-btn:hover {
        cursor: pointer;
        background-color: #f16e0b;
        color: black;
        border: black;
    }

    /* --- Products --- */
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Contact --- */
    .contact-section {
        width: 30em;
    }
}

@media (min-width: 850px) {
    /* --- Navigation --- */
    header{
        display: flex;
        flex-direction: column;
        height: 9em;
    }

    .top-nav {
        align-items: start;
        justify-content: flex-start;
    }

    .bottom-nav {
        visibility: visible;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.25em;
        font-weight: 500;
        text-transform: uppercase;
        box-sizing: border-box;
        margin-bottom: 1em;
        height: 1.5em;
    }

    .bottom-nav a {
        color: white;
        text-decoration: none;
        padding: 0 1.5em;
    }

    .bottom-nav a:hover {
        cursor: pointer;
        color: #f16e0b;
        text-decoration: underline;
        text-underline-offset: 0.25em;
    }

    .hamburger-btn {
        visibility: hidden;
    }

    /* --- Footer --- */
    footer {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        margin: 10em 2em 0em 2em;
        align-items: start;
    }
    
    footer .footer-home {
        justify-self: center;
    }

    footer .copyright-message {
        grid-column: 1 / 4;
        margin-top: 5em ;
    }

    footer .nav-link:hover {
        color: #f16e0b;
        text-decoration: underline;
        text-underline-offset: 0.25em;
    }

    footer .instagram:hover {
        transform: scale(1.1);
        opacity: 0.5;
    }


    /* --- Home --- */
    .hero-overlay p {
        font-size: 2em;
        padding-bottom: 5em;
    }

    .hero-scroll img {
        max-width: 2em;
    }

    .hero-scroll:hover {
        cursor: pointer;
    }

    /* --- Contact --- */
    .contact-section {
        width: 45em;
    }

    .submit-btn:hover {
        cursor: pointer;
        background-color: #f16e0b;
        color: black;
        border: black;
    }

    /* --- Products --- */
    #product-grid div:hover {
        cursor: pointer;
        transform: translateY(-7px) scale(1.05);
    }

    #sort-dropdown {
        cursor: pointer;
    }

}

@media (min-width: 1100px) {
    /* --- Products --- */
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* --- Home --- */
    .hero-overlay p {
        font-size: 2em;
        padding-bottom: 4.5em;
    }

    .hero-scroll img {
        max-width: 2.5em;
    }
}

