@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* .playfair-display-<uniquifier> {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

body {
    font-family: 'Raleway', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Playfair Display", serif;
}

.video-header {
    position: relative;
    height: 98vh;
    overflow: hidden;
}

.header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-logo {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

    width: 350px;
    height: auto;
}

#intro {
    padding: 7rem 0 7rem 0;
}

#intro h1 {
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.75em;
    letter-spacing: 2px;
    margin: 0 auto 0 auto;
    width: 60%;
}

#intro h2 {
    font-weight: normal;
    font-size: 1.3em;
    line-height: 1.75em;
    letter-spacing: 2px;
    margin: 0 auto 0 auto;
    width: 60%;
}

#intro h2:before {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    margin: 1em 0;
    background-color: rgb(166, 166, 166);
}

#intro p {
    font-size: 16px;
    line-height: 1.5em;
    width: 60%;
    margin: 0 auto 1em auto;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.visual-frame {
    position: relative;
    width: 100%;
    padding: 48px 0 56px;
    overflow: hidden;
}

.visual-frame__contain {
    position: relative;
    width: min(78vw, 1304px);
    margin: 0 auto;
    z-index: 1;
}

.visual-frame__contain::before {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -32px;
    width: 96%;
    height: 94%;
    background: #f4edcf;
    z-index: -1;
}

.visual-frame__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

#nos-vins {
    padding: 4em 0;
}

#nos-vins h1 {
    margin-left: 20vw;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.75em;
    letter-spacing: 2px;
    width: 60%;
}

#nos-vins h1::after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    margin: 1em 0;
    background-color: rgb(166, 166, 166);
}

#nos-vins .packshot {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    flex-wrap: nowrap;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 500px;
}

#nos-vins .packshot-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 350px;
}

#nos-vins .packshot-item>img:not(.medaille),
#nos-vins .packshot img {
    max-height: 420px;
    display: block;
}

#nos-vins .packshot .medaille {
    position: absolute;
    top: 45px;
    right: -48px;
    width: 95px;
    max-height: none;
    z-index: 2;
}

#nos-vins .packshot-note {
    width: 60%;
    text-align: center;
    margin: 3em auto 0;
    font-size: 1.2em;
}

.article-text-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80rem;
    margin: 0 auto;
    padding: 6rem 0;
}

.article-text-img.article-right,
.article-text-img.article-left {
    flex-direction: row;
}

.article-text-img.article-left {
    flex-direction: row-reverse;
}

.article-text-img .img-container {
    opacity: 0;
    position: static;
    width: 40rem;
    height: 40rem;
    margin-left: -2rem;

    transition: opacity 0.5s ease-in-out;
}

.article-text-img .img-container.img-visible {
    opacity: 1;
}

.article-text-img img {
    object-fit: cover;
    width: 40rem;
    height: 40rem;
}

.article-text-img.article-left .text-container {
    background: white;
    padding: 2rem;
    position: relative;
}

.article-text-img.article-right .text-container {
    background: white;
    margin-left: -3rem;
    padding: 4rem;
    position: relative;
}

.article-text-img .text-container h3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #000;
}

.article-text-img .text-container h4 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.article-text-img .text-container p {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.wine-details {
    margin-top: 1.5rem;
}

.wine-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wine-detail p {
    margin: 0;
}

.wine-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 2rem;
    min-width: 2rem;
    font-size: 1.4rem;
    line-height: 1;
}

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

.recipe-steps li {
    margin-bottom: 1rem;
}

.recipe-btn {
    display: block;
    width: fit-content;
    min-width: 16rem;
    margin: 2rem auto 0;
    padding: 0.25rem 2rem;
    background-color: #f4ecd7;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.2;
    transition: background-color 0.3s ease;
}

.recipe-btn:hover {
    background-color: #eadfbe;
}

/* storelocator */
#storelocator {
    text-align: center;
    margin-top: 7rem;
}

/* contact */
#contact {
    padding: 6rem 0 10rem 0;
    text-align: center;
}

.contact-title {
    text-align: center;
}

#contact .contact {
    width: 50rem;
    margin-left: auto;
    margin-right: auto;
}


/* footer */
footer {
    padding: 2em 0;
    text-align: center;
}

footer .mentions {
    margin-bottom: .5em;
}

footer .mentions a {
    text-decoration: none;
    margin: 0 .5em;
    color: grey;
}

footer .mentions a:hover {
    color: #6c0017cd;
}

footer .legal {
    margin-top: 2rem;
}

@media screen and (max-width: 1150px) {
    #intro {
        padding: 5rem 0 2rem 0;
    }

    .article-text-img.article-right,
    .article-text-img.article-left {
        flex-direction: column;
        width: 45rem;
    }

    .article-text-img .img-container {
        width: 40rem;
        height: 40rem;
        margin-left: 0;
    }

     .article-text-img img:not(.wine-icon img) {
        width: 40rem;
        height: 40rem;
    }

    .article-text-img.article-right .text-container {
        background: white;
        margin-left: inherit;
        padding: 2rem;
    }

    #contact .contact {
        width: 40rem;
    }
}

/* Mobile / tablette */
@media (max-width: 859px) {
    .visual-frame {
        padding: 0;
    }

    .visual-frame__contain {
        width: 100%;
        margin: 0;
    }

    .visual-frame__contain::before {
        display: none;
    }

    .visual-frame__image {
        width: 100%;
    }

    #nos-vins .packshot-item {
        height: 400px;
    }

    #nos-vins .packshot .medaille {
        top: 77px;
        right: -11px;
        width: 60px;
    }
}

@media screen and (max-width: 768px) {

    .header-logo {
        width: 250px;
    }

    #intro {
        padding: 4rem 0 4rem 0;
    }

    #intro h1,
    #intro h2,
    #intro p {
        width: 85%;
    }

    #intro h2 {
        margin-bottom: 2rem;
    }

    #nos-vins .packshot {
        overflow: auto;
        padding-bottom: 1em;
        width: 100%;
    }

    #nos-vins .packshot-note {
        width: 90%;
    }

    #nos-vins h1 {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .article-text-img {
        padding: 3rem 0;
    }

    .article-text-img .img-container {
        width: 100%;
        height: 100vw;
    }

    .article-text-img img:not(.wine-icon img) {
        width: 100%;
        height: 100vw;
    }

    .article-text-img.article-right,
    .article-text-img.article-left {
        width: 100%;
    }

    footer .mentions a {
        font-size: .8em;
    }

    footer .legal {
        font-size: .7em;
        margin-top: 2rem;
    }

    #contact {
        width: 100%;
    }

    #contact .contact {
        width: 80%;
    }
}