:root {
    --main-headings-font: "Inria Serif", serif;
    --sub-heading-font: "Inria Sans", sans-serif;
    --body-font: "Inter", sans-serif;

    --black: #000;
    --white: #fff;
    --light-grey: rgba(0, 0, 0, 0.4);
    --dark-grey: #413F3F;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.5;
}


/* *** Utility Classes *** */
.flex-container {
    display: flex;
}

.sticky-nav {
    position: sticky;
    top: 0; /* Stick the navigation bar to the top of the viewport */
    z-index: 5000; /* Ensure the navigation bar stays on top of other content */
    padding: 2rem;
    background-color: var(--black);
}

.sticky-nav li a {
    color: var(--white);
    font-size: 2rem;
}

.sticky-nav.flex-container {
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

header section {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    padding: 2rem;
}

.prime-nav li {
    line-height: 2.5rem;
    text-align: center;
    font-size: 3.2rem;
}

.sticky-nav ul li a {
    color: var(--black);
    text-transform: uppercase;
    padding: 1rem;
    display: block;
}


header nav {
    position: absolute;
    top: 176px;
    left: 0;
    width: 100vw;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
}

button {
    background-color: transparent;
    border: none;
}


/* Typographic Styles */
h1 {
    font-family: var(--main-headings-font);
    font-size: 12rem;
    text-align: left;
    font-weight: 700;
    color: var(--black)
}

h1 a:visited {
    color: var(--black);
}

.wrapping.flex-container {
    flex-direction: column-reverse;
}

.btn-return-home {
    position: fixed;
    top: 90%;
    z-index: 999; /* Set a higher z-index value to ensure it appears on top of other elements */
    background-color: #033955;
    color: white;
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
    border: 2px solid var(--white);
    border-radius: 10px;
}

.btn-return-home:hover {
    color: #033955;
    background-color: var(--white);
    border: 2px solid #033955;
    transition: .3s ease-in-out;
}


.privacy-policy-content {
    font-family: var(--body-font);
    margin-bottom:  8rem;
    color: var(--white);
    font-weight: 300;
}


.privacy-policy-cover {
    padding: 2rem 4rem;
    background-image: url(../img/privacy-moon-1920.webp);
    background-size: cover; /* Ensure the background covers the entire element */
    background-attachment: fixed; /* Create the parallax effect by fixing the background */
    background-position-x: 40%;
}

h3 {
    font-family: var(--header-font-type);
    line-height: 1.5;
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 3rem;
}
.new-ocean {
    font-weight: 700;
}

.orange-state {
    font-style: italic;
}



/********************************* Hero Banner ****************************/
.hero-banner {
    margin-bottom: 2rem;
}

.image-container div {
    color: var(--white);
    background-color: var(--light-grey);
    text-align: center;
}

.image-container h2 {
    font-family: var(--header-font-type);
    font-size: 18rem;
}

.image-container p {
    font-family: var(--header-font-type);
    font-size: 4rem;
}



/********************* HORIZONTAL SCROLLBAR ***********************/

.scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
    overflow-x: scroll;
    
    scrollbar-color: #444 #eee;
    scrollbar-width: thin;
}

.card {
    flex: 0 0 20rem;
    margin: 2rem 1.5rem;
    border: none;
}

.card section {
    text-align: left;
}

.scroll-wrapper::-webkit-scrollbar {
    background-color: #eee;
    width: 0.5rem;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    border-radius: 2rem;
    background-color: #444;
}


.horizontal-items {
    padding: 0 1.5rem;
}

/* *************** ART DIRECTION ********************* */
div.card-deck-art-direction {
    width: 97.5%;
}

.card-deck-art-direction img {
    transform: scale(1.05);
}

/* **********************SHOP DIVISION**************** */
.wrapper {
    padding: 0 2rem;
}

.wrapper > h3 {
    margin-top: 2rem;
}

h4 {
    font-family: var(--header-font-type);
    line-height: 1.5;
    font-size: 4.8rem;
    text-align: left;
    width: 50%;
    margin-bottom: 2rem;
}

h5 {
    font-family: var(--body-font-type);
    font-weight: 900;
    font-size: 2.4rem;
    text-align: center;
    margin-top: 5rem;
}


footer li {
    font-family: var(--body-font-type);
    font-size: 2.4rem;
    text-align: center;
    line-height: 1.2;
}

footer li a:visited {
    text-decoration: none;
    color: black;
}

.wrapper {
    margin: 0 auto;
}

.card-container-shop-division {
    width: 440px;
    margin: 0 auto;

}

.image-deck-container img {
    height: 530px;
    object-fit: cover;
}


.promotions > div {
    font-weight: 800;
    width: 310px;
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 1.3rem 1.5rem;
    margin: 0 auto 3.5rem;
}

/* ********************************FOOTER************************************** */

.sub-footer {
    font-size: 1.6rem;
    text-align: center;
    background-color: var(--black);
    color: var(--white);
    padding: 2rem;
    margin-top: 4rem;
}

.sub-footer p {
    font-size: 1.1rem;
}

/* ********************************Modal Window**************************************** */

.fade-in {
    animation: fadeIn 1s ease; /* Use CSS animation for the fade-in effect */
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Start with 0 opacity */
    }
    to {
        opacity: 1; /* End with full opacity */
    }
}


.pop-up {
    background-color: #ffffff;
    width: 320px;
    padding: 2rem;
    position: fixed; 
    left: 50%;
    top: 55%;
    transform: translate(-50%,-50%);
    border-radius: 8px;
    display: none;
    text-align: center;
    line-height: 1.2;
    border: 1px solid lightgray;
}

#close {
    display: block;
    margin:  0 0 20px auto;
    background-color: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    border: none;
    outline: none;
    cursor: pointer;
}

h6 {
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 3rem;
    text-align: left;
}

.pop-up-flex > section p {
    margin: 2rem 0;
    text-align: left;
    font-size: 2rem;
}

.pop-up > div .last-p {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    margin-top: 5rem;
}

.offer-subscriber {
    font-weight: 700;
    font-size: 1.8rem;
}

.pop-up > div div {
    text-align: left;
}

.form-control {
    font-family: var(--body-font);
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0%;
    background: transparent;
    resize: none;
    outline: none;
    padding: 5px 0;
    width: 100%;
}

input::placeholder {
    color: #a0a0a0; /* Change the placeholder color to gray (#999) */
}

form {
    margin-bottom: 4rem;
}

.pop-up > div a.form-button {
    font-weight: 700;
    color: var(--white);
    background-color: #6178A6;
    padding: 2rem 3.4rem;
    border-radius: 11px;
}

.modal-images {
    display: none;
}

.modal-images.flex-container {
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}




/* **************************HOVER STATES***************************** */
.prime-nav a:visited, .prime-nav:active {
    color: black;
}

span a:visited {
    color: var(--white);
}

.prime-nav li:hover, span a:hover, footer ul li:hover, .sticky-nav  li a:hover {
    text-decoration: underline;
}

.pop-up > div a.form-button:hover {
    border: 1px solid #6178A6;
    color: #6178A6;
    background-color: var(--white);
    transition: .1s ease-in-out;
}

#close:hover {
    color: red;
}

.modal-links > a:visited {
    color: var(--black);
}

.modal-links > a:hover {
    text-decoration: underline;
}

a:link {
    color: black;
}

.sub-footer span a:link {
    color: white;
}

/************************* Media Queries *****************************/
@media screen and (min-width: 800px) {
    header > div.flex-container {
        padding: 0 4rem;
    }
  
     .art-direction-cover > h3 {
        margin-left: 2rem;
    }
 
    h3 {
        text-align: left;
    }

    .flex-container {
        flex-direction: row;
        align-items: center;
    }

    body {
        margin: 0 auto;
    }

    .toggle-btn {
        display: none;
    }

    header nav {
        /* Reseting the header back to the defaults */
        position: static;
        width: auto;
        max-height: unset;
        overflow:visible;
    }

    .prime-nav li a {
        padding: 0 1.5rem;
    }

    .sticky-nav.flex-container {
        justify-content: unset;
        gap: 2rem;
    }

    /* HERO BANNER */
    .big-ad {
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -100%);
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: baseline;
    }

    div.hero-banner {
        position: relative;
    }


    .card-deck {
        max-width: 1150px;
        margin: 0 auto;
    }

    /* ART DIRECTION */

    .card-deck-art-direction {
        display: flex;
        flex-direction: row;
        max-width: 2000px;
    }

    div.card-deck-art-direction {
        width: 100%;
        margin: 0 auto;
    }

    .card-deck-art-direction img {
        transform: scale(1);
    }

    /* SHOP DIVISION */

    .card-deck-shop-by-division {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        max-width: 1200px;
        margin: 0 auto;
        gap: 4rem;
    }

    .card-container-shop-division {
        flex: 1 0 30%; /* Adjust the width as needed */
        margin: 0 10px; /* Add margin between the cards */
    }

    .card-container-shop-division:nth-child(1) {
        order: 2; 
    }

    .card-container-shop-division:nth-child(2) {
        order: 3; 
    }

    .card-container-shop-division:nth-child(3) {
        order: 1; 
    }

    .card-container-shop-division {
        width: calc(100% / 3 - 4rem);
    }

    .image-deck-container img {
        height: 100%;
        object-fit: cover;
    }

    .wrapper > h3 {
        text-align: left;
        margin-top: 2rem;
    }

    h4 {
        font-size: 3rem;
        width: 150px;
    }

    .promotions {
        display: flex;
        flex-direction: row;
        height: 100%;
        margin: 0 auto;
        gap: 3rem;
        justify-content: center;
    }

    .promotions > div {
        height: auto;
        width: 310px;
        margin: unset;
    }

    .primary-footer {
        display: flex;
        flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: space-between;
    }

    .customer-support, .customer-support li {
        text-align: left;
    }

    .van-good-rewards, .van-good-rewards li {
        text-align: right;
    }

    .wrapping .privacy-policy-cover {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center; 
        gap: 8rem;
        position: relative;
        overflow-x: auto; 
        padding-bottom: 4rem; 
    }
    
    .wrapping .btn-return-home {
        position: fixed; 
        z-index: 1000;
         top: 93%;
        left: 78%; 
        transform: translateY(-50%); 
    }
    
    .wrapping .privacy-policy-cover div {
        flex-shrink: 0;
        width: calc(50% - 4rem); 
        margin-left: auto; 
    }
    
    .privacy-policy-content {
        width: 50%;
        margin: unset;
    }

    .privacy-policy-cover {
        background-position-x: unset;
        transition: 0.5s ease-in-out;
    }

    .pop-up {
        width: 800px;
        height: auto;
    }

    .pop-up-flex {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 5rem;
    }

    .pop-up-flex > section {
        width: 60%;
    }

    .pop-up-flex > div {
        width: 30%;
    }

    .modal-images{
        display: block;
    }

    .modal-images.flex-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
}

@media screen and (min-width: 1600px) {
    body {
        max-width: 1900px;
        margin: 0 auto;
    }

 .big-ad, header div.flex-container {
        padding: 0 8rem;
    }
}