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

#intro {
    padding: 4rem 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 p {
    font-size: 16px;
    line-height: 1.5em;
    width: 60%;
    margin: 0 auto 1em auto;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

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

#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: center;
    align-items: flex-end;
    flex-wrap: nowrap;
    height: 500px;
}

#nos-vins .packshot .bottle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    cursor: pointer;
    padding-right: 6rem;
    padding-left: 6rem;
}

#nos-vins .packshot .bottle-container img {
    max-height: 450px;
    display: block;
}

#nos-vins .packshot .bottle-container span {
    margin-top: 1rem;
}

.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 {
    text-align: center;
    background: white;
    padding: 2rem;
    position: relative;
}

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

.article-text-img.article-left .text-container h3,
.article-text-img.article-right .text-container h3 {
    text-decoration: underline;
    text-underline-offset: .2em;
}

/* article texte image packshot */
.article-packshot-text-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80rem;
    margin: 0 auto;
    padding: 6rem 0;
    position: relative;
}

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

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

.article-packshot-text-img .img-container {
    opacity: 0;
    position: static;
    width: 40rem;
    height: 40rem;
    margin-left: -2rem;
    transition: opacity 0.5s ease-in-out;
}

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

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

.article-packshot-text-img .text-container {
    text-align: center;
    background: white;
    padding: 2rem;
    position: relative;
    width: 40rem;
    letter-spacing: .02em;
}

.article-packshot-text-img.article-left .text-container {
    margin-right: -3rem;
}

.article-packshot-text-img.article-right .text-container {
    margin-left: -3rem;
}

.article-packshot-text-img .text-container h3 {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.article-packshot-text-img .packshot-img {
    width: 10rem;
    height: auto;
    object-fit: contain;
    margin: 0 2rem;
}

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

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

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

    .article-packshot-text-img img.art-image {
        width: 40rem;
        height: 40rem;
    }

    .article-packshot-text-img .text-container {
        margin: 0 !important;
        order: 1;
    }

    .article-packshot-text-img .packshot-img {
        margin: 2rem auto;
    }
}

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

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

    .article-packshot-text-img {
        padding: 3rem 0;
        width: 100vw;
    }

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

    .article-packshot-text-img img.art-image {
        width: 100vw;
        height: 100vw;
    }

    .article-packshot-text-img .packshot-img {
        width: 9rem;
        height: auto;
    }

    .article-packshot-text-img .text-container {
        width: 100%;
        padding: 1rem;
    }
}


/* contact */
#contact {
    padding: 6rem 0 10rem 0;
}

.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 {
        width: 40rem;
        height: 40rem;
    }

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

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

@media screen and (max-width: 768px) {
    #intro {
        padding: 4rem 0 0 0;
    }

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

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

    #nos-vins .packshot .bottle-container {
        padding-right: inherit;
        padding-left: inherit;
    }

    #nos-vins .packshot .bottle-container img {
        margin: auto 1rem;
    }

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

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

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

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

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

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

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