body.no-scroll {
    overflow: hidden;
}

header {
    width: 100%;
    height: 60vh;
    background-image: url('./img/header.jpg');
    backdrop-filter: blur(5px);
    background-size: cover;
    background-position: center;
    padding: 30px 60px;
    position: relative;
}

.moderation {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 19;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.57);
    z-index: 18;
    opacity: 0;
    touch-action: none;
    transition: opacity 0.5s ease-in-out;
}


.moderation.visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease-in-out;
}

.moderation-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 20px;
}

.moderation p {
    text-align: center;
    line-height: 2rem;
}

.moderation img {
    width: 200px;
    height: auto;
}


.moderation p a {
    color: black
}


img.close-moderation {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    height: 50%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;

}

.logo {
    width: 160px;
}

.introduction {
    padding: 40px 40px;
    background-color: #ffffff;
    width: 50%;
    left: 25%;
    margin-top: -15%;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.introduction-separator {
    height: 30px;
    border-left: 1px solid #761023;
    border-right: 1px solid #761023;
    width: 4px;
    margin: auto;
}

.intro {
    text-align: center;
}

.description {
    font-size: 1.2rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
    margin-top: 1rem;
}

.cta {
    font-size: 1rem;
    font-family: 'Montserrat book', sans-serif;
    font-weight: 400;
}

/* Section our Brands */

.ourBrands {
    padding: 0px 25px;
}

.brandGroup {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
}

.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brandTitle {
    margin: 0;
}

.brandLabel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.socialNetworks {
    display: flex;
    gap: 10px;
}

.brandImg {
    width: 100%;
    height: 500px;
    background-color: #E7DCC766;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    position: relative;
    cursor: pointer;
}

/* we add each image and its hover */
.brandImg:hover+.brandTitle {
    text-decoration: underline;
}

.brandImg.one {
    background-image: url('./img/1.2.jpg');
}

.brandImg.two {
    background-image: url('./img/2.2.jpg');
}

.brandImg.three {
    background-image: url('./img/3.2.jpg');
}

.brandImg.four {
    background-image: url('./img/4.2.jpg');
}

.brandImg.five {
    background-image: url('./img/5.2.jpg');
}

.brandImg.six {
    background-image: url('./img/6.2.jpg');
}

.brandImg.seven {
    background-image: url('./img/7.2.jpg');
}

.brandImg.eight {
    background-image: url('./img/9.2.jpg');
}

.warning {
    width: 100%;
    text-align: center;
    font-family: 'Montserrat book', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin-top: 45px;
}

.scrollUp {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #761023;
    padding: 30px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
    z-index: 10;
}

.scrollUp.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.5s ease, visibility 0s;
    cursor: pointer;
}

footer {
    background-color: #E7DCC7;
    padding: 30px 60px 35px;
}

footer nav {
    display: flex;
    gap: 40px;
}

footer nav a {
    color: #372714;
    text-decoration: none;
    font-size: 0.8rem;
}

footer nav a:hover {
    text-decoration: underline;
}

footer .footer-top {
    border-bottom: 1px solid #D1BBA9;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

footer .footer-bottom {
    font-size: 0.8rem;
    color: #372714;
}

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


/* DROPDOWN LANG */
.dropdown-lang-current {
    padding-right: 15px;
}

.dropdown-lang-current {
    position: relative;
    text-transform: uppercase;
}

.dropdown-lang-list {
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.3s;
}

.dropdown-lang-item a {
    text-transform: uppercase;
    color: black;
    text-decoration: none;
}

.dropdown-lang-current:before,
.dropdown-lang-current:after {
    content: '';
    height: 10px;
    width: 2px;
    background-color: #887D6C;
    display: block;
    position: absolute;
    right: 0;
    top: 5px;
    transform-origin: center center;
    transition: all ease 0.2s;
}

.dropdown-lang-current:before {
    transform: translateX(3px) rotate(45deg);
}

.dropdown-lang-current:after {
    transform: translateX(-3px) rotate(-45deg);
}

.dropdown-lang:hover .dropdown-lang-current:after {
    transform: translateX(-3px) rotate(45deg);
}

.dropdown-lang:hover .dropdown-lang-current:before {
    transform: translateX(3px) rotate(-45deg);
}

.dropdown-lang:hover .dropdown-lang-list {
    opacity: 1;
    visibility: visible;
}



/* AGE GATE */
.ageGate {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    background-image: url(./img/header.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 40px;
    padding-bottom: 120px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: all ease 0.5s;
    z-index: 20;
}

.ageGate.visible {
    visibility: visible;
    opacity: 1;
    overflow-y: auto;
}

.ageGateErrorWrapper {
    margin-top: 10px;
}

.ageGateError {
    color: rgb(203, 6, 6);
    text-align: center;
    font-size: 0.7rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    display: none;
}

.ageGateError.visible {
    display: block;
}

.ageGateCard {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 30px;
    text-align: center;
}

.ageGateLogo {
    width: 195px;
}

.ageGateLegals {
    text-align: center;
    font-size: 0.8rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
    margin-top: 1rem;
}

.ageGateLegals a {
    color: inherit;
}

.ageGateSelectWrapper {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ageGateSelectWrapper label {
    font-size: 0.8rem;
}

.ageGateDatepicker {
    text-align: center;
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
    color: rgb(64, 59, 58);
    padding: 15px 5px 15px 22px;
    border: 1px solid rgba(88, 86, 83, 0.19);
    border-radius: 0;
}

.ageGateMention {
    margin: 0;
    color: #372714;
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
}

.ageGateMention span {
    font-size: 0.8rem;
}

.ageGateCard select {
    position: relative;
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    border: 1px solid rgba(88, 86, 83, 0.19);
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    font-weight: 300;
    color: rgb(64, 59, 58);
}

.ageGateCard label {
    display: flex;
    gap: 5px;
    line-height: 110%;
}

.ageGateEnterBtn {
    text-transform: uppercase;
    color: white;
    background-color: #761023;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Montserrat book', sans-serif;
    cursor: pointer;
    padding: 15px 20px;
    margin-top: 20px;
}

.ageGateAbuse {
    text-align: center;
    text-transform: uppercase;
}

/* EDITO PAGES (legals, cookies ...)*/
.editoTemplate {
    background-image: url(./img/bg-edito.svg);
    background-size: 100%;
    background-repeat: no-repeat;

}


.edito-wrapper {
    padding: 40px 40px;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.edito-wrapper h1 {
    font-size: 3rem;
    font-family: 'Montserrat light', sans-serif;
    color: #372714;
    line-height: 100%;
}

.edito-wrapper h2 {
    font-size: 1.3rem;
    font-family: 'Montserrat light', sans-serif;
    color: #761023;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 50px;
}

.edito-wrapper h3 {
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    margin-top: 35px;
}

.edito-wrapper h4 {
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    margin-top: 25px;
    color: #705D20;
}

.edito-wrapper>div {
    font-size: 1rem;
    font-family: 'Montserrat light', sans-serif;
    color: #372714;
}

.edito-wrapper ul {
    padding-left: 12px;
}

.edito-wrapper a {
    color: #372714;
}

/* SPECIFIC BEHAVIOR DEPENDING ON LANG */
body.country-France .socialNetworks {
    display: none;
}

body.country-France .brandImg {
    pointer-events: none;
}

/* Exceptions pour les châteaux français */
body.country-France .brandImg.three,
body.country-France .brandImg.four,
body.country-France .brandImg.seven {
    pointer-events: auto;
}

body.country-United_States .optional-USA-entry {
    display: block;
}

.optional-USA-entry {
    display: none;
}

@media (max-width: 576px) {
    .brandGroup {
        grid-template-columns: repeat(1, 1fr);
    }

    .description {
        font-size: 1.2rem;
    }

    header {
        height: 40vh;
    }

    footer {
        padding: 30px 30px 30px;
    }

    .edito-wrapper h1 {
        font-size: 2rem;
    }

    .edito-wrapper h2 {
        font-size: 1.1rem;
    }

    .warning {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .ageGate {
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .ageGateMention {
        font-size: 0.8rem;
    }

    .ageGateMention span {
        font-size: 0.8rem;
    }

    .ageGateLogo {
        display: none;
    }

    .introduction {
        width: 85%;
        left: 7.5%;
        padding: 30px 20px;
        margin-top: -20%;
    }

    .logo-container {
        height: 70%;
    }

    .logo {
        width: 160px;
    }

    .ageGateCard {
        width: 350px;
        padding-bottom: 80px;
    }

    .ageGateAbuse {
        font-size: 75%;
    }

    .moderation-content {
        max-width: 350px;
    }
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) {
    .brandGroup {
        grid-template-columns: repeat(2, 1fr);
    }

    .brandImg {
        height: 550px;
    }

    .ourBrands {
        padding: 0 25px;
    }

    .description {
        font-size: 1.2rem;

    }

    .cta {
        font-size: 0.8rem;
    }

    .moderation-content {
        max-width: 500px;
    }
}

/* Medium devices (laptops, 768px and up) */
@media (min-width: 768px) {
    .brandGroup {
        grid-template-columns: repeat(3, 1fr);
    }

    .brandImg {
        height: 400px;
    }

    .ourBrands {
        padding: 0 40px;
    }

    .description {
        font-size: 1.2rem;
    }

    .cta {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2rem;
    }

    .scrollUp {
        width: 56px;
        height: 56px;
        right: 10px;
        bottom: 75px;
    }

    .moderation-content {
        max-width: 700px;
    }


}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .brandGroup {
        grid-template-columns: repeat(4, 1fr);
    }

    .brandImg {
        height: 400px;
    }

    .ourBrands {
        padding: 0 60px;
    }

    .description {
        font-size: 1.2rem;
    }

    .cta {
        font-size: 1rem;
    }

    .brandTitle {
        font-size: 1.2rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .brandImg {
        height: 400px;
    }

    .ourBrands {
        padding: 0 120px;
    }

    .description {
        font-size: 1.2rem;
    }

    .cta {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .brandTitle {
        font-size: 1.2rem;
    }

    .warning {
        font-size: 1rem;
        margin-top: 100px;
    }
}

/* Very large screens (16-inch laptops and larger, 1400px and up) */
@media (min-width: 1400px) {
    .introduction {
        margin-top: -12%;
    }
}

/* Ultra-wide screens (1600px and up) */
@media (min-width: 1600px) {
    .introduction {
        margin-top: -10%;
    }
}