/*------- FONTS -------*/

@font-face {
    font-family: 'Gascogne-Xlight';
    src: url('./fonts/Gascogne-Xlight.woff2') format('woff2'),
        url('./fonts/Gascogne-Xlight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Messapia';
    src: url('./fonts/Messapia-Bold.woff2') format('woff2'),
        url('./fonts/Messapia-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ScotchModernDisplay';
    src: url('./fonts/ScotchModernDisplay.woff2') format('woff2'),
        url('./fonts/ScotchModernDisplay.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ScotchMicro';
    src: url('./fonts/ScotchMicro-Italic.woff2') format('woff2'),
        url('./fonts/ScotchMicro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/*------- GENERAL -------*/

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    font-family: 'Gascogne-Xlight';
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 950px) {
    html {
        font-size: 56.5%;
        font-family: 'Gascogne-Xlight';
    }
}

body {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


a {
    color: initial;
    text-decoration: none;
}

h1 {
    font-family: 'ScotchModernDisplay';
    font-size: 16rem;
    font-weight: normal;
}

@media (max-width: 1060px) {
    h1 {
        font-size: 12rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 6rem;
    }
}

h2 {
    font-family: 'ScotchModernDisplay';
    font-size: 6rem;
    text-transform: uppercase;
    font-weight: normal;
}

/*------- MIXINS -------*/

.bold {
    font-family: 'Messapia';
    font-size: 2rem;
}

.underline {
    text-decoration: underline;
}

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

.margin-top-12-rem {
    margin-top: 12rem;
}

.margin-top-20-rem {
    margin-top: 20rem;
}

@media (max-width: 950px) {
    .margin-top-20-rem {
        margin-top: 12rem;
    }
}

.margin-bottom-6-rem {
    margin-bottom: 6rem;
}

.margin-bottom-20-rem {
    margin-bottom: 20rem;
}

@media (max-width: 950px) {
    .margin-bottom-20-rem {
        margin-bottom: 12rem;
    }
}

.align-center {
    align-items: center;
}

.template-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}

@media (max-width: 600px) {
    .template-2-col {
        grid-template-columns: 1fr;
    }
}

/*------- HEADER -------*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Gascogne-Xlight';
    font-size: 3rem;
    padding: 2rem 5rem;
}

.header-light ul li a, .header-light .contact a {
    color: #FFF;
}

.logo img {
    width: 14rem;
    height: auto;
}

.nav-bar {
    display: flex;
    list-style: none;
}

.nav-bar li:not(:last-child) {
    padding-right: 3.5rem;
}

.nav-bar a, .contact a {
    transition: all 1s ease-out;
}

.nav-bar a:hover, .contact a:hover {
    text-decoration: underline;
}

.header-mobile {
    display: none;
}

@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: flex;
        justify-content: flex-end;
        padding: 0 3rem;
    }
}

#menu-mobile.active {
    opacity: 1;
    visibility: visible;
}

#menu-mobile {
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
    /* background-color: #000000; */
    background-image: url(./img/menu-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    z-index: 10;
    transition: all .3s ease-in-out;
}

.menu-icon {
    flex: 1;
    display: flex;
    align-items: center;
}

#menu-mobile img {
    width: 18rem;
}

#menu-mobile ul {
    list-style: none;
    flex: 1;
}

#menu-mobile ul li {
    font-family: 'Gascogne-Xlight';
    font-size: 4rem;
}

#menu-mobile ul li:not(:last-child) {
    padding-bottom: 2rem;
}

#menu-mobile a {
    color: #fff;
}

#menu-mobile a:hover {
    text-decoration: underline;
}

#menu-mobile p {
    font-family: 'Messapia';
    font-size: .8rem;
    line-height: 1.2rem;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.logo-mobile {
    text-align: center;
    margin: auto;
    margin-top: 2.7rem;
}

.logo-mobile img {
    width: 60%;
}

/*------- burger menu -------*/

#burger {
    position: fixed;
    height: 33px;
    width: 45px;
    z-index: 1000;
    cursor: pointer;
}

.burger-menu {
    position: fixed;
    background-color: #2c2c2c;
    width: 45px;
    height: 3px;
    margin-top: 15px;
    border-radius: 10rem;
}

.animate.burger-menu {
    animation-name: menu-menu;
    animation-duration: 0.3s;
}

.burger-menu:after {
    content: "";
    position: fixed;
    background-color: #2c2c2c;
    width: 45px;
    height: 3px;
    margin-top: -15px;
    border-radius: 10rem;
}

.animate.burger-menu:after {
    animation-name: menu-after;
    animation-duration: 0.3s;
}

.burger-menu:before {
    content: "";
    position: fixed;
    background-color: #2c2c2c;
    width: 45px;
    height: 3px;
    margin-top: 15px;
    border-radius: 10rem;
}

.animate.burger-menu:before {
    animation-name: menu-before;
    animation-duration: 0.3s;
}

.header-light .burger-menu, .header-light .burger-menu:after, .header-light .burger-menu:before {
    background-color: #fff;
}

@keyframes menu-menu {
    0% {
        width: 0px;
        height: 0px;
    }

    50% {
        width: 0px;
        height: 0px;
    }

    51% {
        position: fixed;
        background-color: #2c2c2c;
        width: 45px;
        height: 3px;
    }
}

@keyframes menu-after {
    0% {
        transform: rotate(-45deg);
        margin-top: 0px;
    }

    50% {
        transform: rotate(0deg);
        margin-top: 0px;
    }

    100% {
        transform: rotate(0deg);
        margin-top: -15px;
    }
}

@keyframes menu-before {
    0% {
        transform: rotate(45deg);
        margin-top: 0px;
    }

    50% {
        transform: rotate(0deg);
        margin-top: 0px;
    }

    100% {
        transform: rotate(0deg);
        margin-top: 15px;
    }
}

/* menu end */

/* close start */
.close {
    position: fixed;
    margin-top: 15px;
    margin-left: 0;
}

.close.animate {
    animation-name: close-close;
    animation-duration: 0.3s;
}

@keyframes close-close {
    0% {
        position: fixed;
        background-color: #fff;
        width: 45px;
        height: 3px;
        margin-top: 15px;
        border-radius: 10rem;
    }

    50% {
        display: none;
        width: 45px;
        height: 3px;
    }

    100% {
        width: 0px;
        height: 0px;
    }
}

.close:after {
    content: "";
    position: fixed;
    background-color: #fff;
    width: 45px;
    height: 3px;
    transform: rotate(45deg);
    border-radius: 10rem;
}

.animate.close:after {
    animation-name: close-after;
    animation-duration: 0.3s;
}

@keyframes close-after {
    0% {
        transform: rotate(0deg);
        margin-top: 15px;
    }

    50% {
        transform: rotate(0deg);
        margin-top: 0px;
    }

    100% {
        transform: rotate(45deg);
    }
}

.close:before {
    content: "";
    position: fixed;
    background-color: #fff;
    width: 45px;
    height: 3px;
    transform: rotate(-45deg);
    border-radius: 10rem;
}

.animate.close:before {
    animation-name: close-before;
    animation-duration: 0.3s;
}

@keyframes close-before {
    0% {
        transform: rotate(0deg);
        margin-top: -15px;
    }

    50% {
        transform: rotate(0deg);
        margin-top: 0px;
    }

    100% {
        transform: rotate(-45deg);
    }
}


/*------- MAIN -------*/

main {
    flex-grow: 1;
}

/*------- FOOTER -------*/

footer {
    font-family: 'Messapia';
    color: #1D1D1B;
    font-size: .8rem;
    line-height: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.footer-light, .footer-light a {
    color: #FFF;
}

.mobile-footer {
    display: none;
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 0;
    }

    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
        margin-top: -4rem;
        padding-bottom: 2rem;
    }
}

.top-button {
    /* position: relative; */
    margin-top: -6rem;
    text-align: right;
    width: 100%;
}

@media (max-width: 1550px) {
    .top-button {
        margin-top: 0;
    }
}

@media (max-width: 1220px) {
    .top-button {
        margin-top: 50px;
    }
}

.top-button img {
    /* position: absolute;
    right: 0;
    margin-top: 5rem; */
    width: initial;
}

@media (max-width: 950px) {
    .top-button {
        margin-top: 6rem;
        text-align: center;
    }
}

#scrollToTopBtn {
    cursor: pointer;
}

/*------- HOME PAGE -------*/

.home-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: url(./img/home-background.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .home-page {
        background-image: url(./img/home-background-mobile.jpg);
    }
}

.home-page .main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 25%;
    margin: auto;
}

@media (max-width: 768px) {
    .home-page .main-wrapper {
        width: 70%;
        height: calc(100% - 83px);
    }
}

/* .home-page .column-left {
    width: 40.5rem;
}

.home-page .column-left img {
    padding-top: 15rem;
    width: 100%;
    height: auto;
}

.home-page .column-right img {
    height: 100vh;
    position: absolute;
    z-index: -1;
    right: 13rem;
    bottom: 0;
}

@media (max-width: 1495px) {
    .home-page .column-right img {
        right: 0;
    }
}

@media (max-width: 768px) {
    .home-page .column-right img {
        position: initial;
        margin-top: 6rem;
        width: 100%;
        height: auto;
    }
} */

.home-page .logo-mobile a {
    visibility: hidden;
}

.logo-home {
    width: 100%;
    height: auto;
    -webkit-animation: fade-in-bottom 1.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) 0.5s both;
    animation: fade-in-bottom 1.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) 0.5s both;
}

/**
 * ----------------------------------------
 * animation fade-in-bottom
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}


/*------- ORIGINES PAGE -------*/

.origines-page main {
    padding: 0 10rem;
    font-size: 2.2rem;
}

@media (max-width: 1545px) {
    .origines-page main {
        padding: 0 5rem;
    }
}

@media (max-width: 950px) {
    .origines-page main {
        padding: 0 3rem;
    }
}

.origines-page .main-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20rem;
}

@media (max-width: 950px) {
    .origines-page .main-wrapper {
        grid-template-columns: 1fr;
        justify-content: center;
    }
}

.origines-page .column-left, .origines-page .column-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5rem;
}

.origines-page .column-left {
    row-gap: 3rem;
}

.amandine-img {
    margin-top: 10rem;
    width: 100%;
    height: auto;
}

@media (max-width: 950px) {
    .amandine-img {
        margin-top: 0;
        margin-bottom: 20px;
    }
}

.origines-img, .mixologie-img {
    width: 75%;
    height: auto;
}

.text p {
    padding-bottom: 2rem;
}

.citation {
    font-family: 'ScotchMicro';
    font-size: 4rem;
    line-height: 4.8rem;
}

.name {
    font-family: 'Messapia';
    font-size: 2.2rem;
    text-transform: uppercase;
}

@media (max-width: 1060px) {
    .name {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .name {
        font-size: 1.2rem;
    }
}

@media (max-width: 1545px) {

    .origines-page .main-wrapper {
        column-gap: 15rem;
    }

    .citation-wrapper {
        margin-top: 8rem
    }
}

@media (max-width: 1230px) {
    .origines-page .main-wrapper {
        column-gap: 10rem;
    }
}

@media (max-width: 950px) {

    .mixologie h2 {
        order: 2;
        margin-top: 5rem;
        padding: 0 11rem;
    }

    .mixologie .text {
        order: 3
    }

    .mixologie-img {
        order: 1;
        width: 100%;
        margin-top: 8rem;
    }

    .origines-img {
        width: 100%;
    }

    .citation {
        margin-top: 8rem;
    }
}

@media (max-width: 682px) {
    .mixologie h2 {
        padding: 0;
    }
}

/*------- GAMME PAGE -------*/

.gamme-page {
    color: #FFF;
    background-color: #000000;
}

.gamme-page main {
    padding: 0 10rem;
    font-size: 2.2rem;
}

@media (max-width: 1545px) {
    .gamme-page main {
        padding: 0 5rem;
    }
}

@media (max-width: 950px) {
    .gamme-page main {
        padding: 0 3rem;
    }
}

.gamme-page .main-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10rem;
}

@media (max-width: 1545px) {
    .gamme-page .main-wrapper {
        column-gap: 2rem;
    }

    .second-wrapper {
        margin-top: 6rem;
    }
}

@media (max-width: 950px) {
    .gamme-page .main-wrapper {
        grid-template-columns: 1fr;
    }

    .second-wrapper .column-right {
        margin-top: 6rem;
    }
}

.intro {
    text-align: center;
}

.gamme-page .column-left {
    text-align: right;
}

.gamme-page .column-right {
    text-align: left;
}

/* .gamme-wrapper {
    display: inline-block;
    padding-top: 114%;
    width: 78%;
    -webkit-clip-path: polygon(8% 0, 92% 0, 100% 6%, 100% 95%, 92% 100%, 8% 100%, 0 95%, 0 6%);
    clip-path: polygon(8% 0, 92% 0, 100% 6%, 100% 95%, 92% 100%, 8% 100%, 0 95%, 0 6%);
    background-size: cover;
    background-position: center;
    transition: all .3s ease-in-out;
} */

/* 
.exquise-img {
    background-image: url('./img/gamme-exquise.png');
}

.exquise-img:hover {
    background-image: url('./img/gamme-exquise-hover.png');
    transition: all .3s ease-in-out;
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .exquise-img {
        background-image: url('./img/gamme-exquise-x2.png');
    }

    .exquise-img:hover {
        background-image: url('./img/gamme-exquise-hoverx2.png');
        transition: all .3s ease-in-out;
    }
}

.suave-img {
    background-image: url('./img/gamme-suave.png');
}

.suave-img:hover {
    background-image: url('./img/gamme-suave-hover.png');
    transition: all .3s ease-in-out;
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .suave-img {
        background-image: url('./img/gamme-suave-x2.png');
    }

    .suave-img:hover {
        background-image: url('./img/gamme-suave-hoverx2.png');
        transition: all .3s ease-in-out;
    }
} */

@media (max-width: 950px) {
    .gamme-page .column-left, .gamme-page .column-right {
        text-align: center;
    }
}

/* .gamme-page .main-wrapper img {
    width: 77%;
    height: auto;
}

@media (max-width: 950px) {
    .gamme-page .main-wrapper img {
        width: 100%;
    }
} */

.gamme-page footer, .gamme-page footer a {
    color: #fff;
}

@media (max-width: 950px) {
    .gamme-page .main-wrapper {
        margin-top: 6rem;
    }

    .exquise-img {
        margin-bottom: 2rem;
    }
}

.gamme-button {
    height: 57px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -75%);
    z-index: 1;
    text-align: center;
    transition: all .3s ease-out;
}

.exquise-button {
    width: 310px;
    background-image: url(./img/exquise-button.png);
}

.exquise-button:hover {
    background-image: url(./img/exquise-button-black.png);
}

.suave-button {
    width: 290px;
    background-image: url(./img/suave-button.png);
}

.suave-button:hover {
    background-image: url(./img/suave-button-black.png);
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .exquise-button {
        background-image: url(./img/exquise-button-x2.png);
    }

    .exquise-button:hover {
        background-image: url(./img/exquise-button-black-x2.png);
    }

    .suave-button {
        background-image: url(./img/suave-button-x2.png);
    }

    .suave-button:hover {
        background-image: url(./img/suave-button-black-x2.png);
    }
}

/*------- GAMME DETAIL PAGE -------*/

.title {
    text-align: center;
}

.gamme-detail-page .citation {
    font-size: 3rem;
    line-height: 3.8rem;
}

@media (max-width: 1130px) {
    .gamme-detail-page .citation {
        font-size: 2.5rem;
        line-height: 3.3rem;
    }
}

.bouteille-img-1 {
    width: 100% !important;
}

.gamme-detail-page .column-left, .gamme-detail-page .column-right {
    text-align: center;
}

.gamme-detail-page .column-details .details-right {
    padding-left: 2rem;
}

.column-details {
    padding: 0 9rem;
}

@media (max-width: 1650px) {
    .column-details {
        padding: 0 5rem;
    }
}

@media (max-width: 950px) {
    .column-details {
        margin-top: 6rem;
        padding: 0;
    }
}

.details {
    height: 36rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* column-gap: 12rem; */
    text-align: left;
}

.details p {
    margin-bottom: 2rem;
}

.details ul {
    list-style: none;
}

.details img {
    width: initial !important;
}

.details-left, .details-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.degrees {
    font-size: 6rem;
}

@media (max-width: 1755px) {
    .degrees {
        font-size: 4rem;
    }
}

@media (max-width: 1650px) {
    .degrees {
        font-size: 3rem;
    }
}

@media (max-width: 950px) {
    .degrees {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .degrees {
        font-size: 3rem;
    }
}

.swiper {
    /* width: 600px;
    height: 100%; */
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 125%;
}

@media (max-width: 950px) {
    .swiper {
        padding-top: 153%;
    }
}

.swiper img {
    width: 80%;
    height: auto;
}

@media (max-width: 950px) {
    .swiper img {
        width: 100%;
        height: auto;
    }
}

.swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: transparent !important;
    border: 1px solid #fff;
    box-sizing: border-box;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 90px;
}

@media (max-width: 950px) {
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: 40px;
    }
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
}

/*------- CONTACT PAGE -------*/

.contact-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: url('./img/contact-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .contact-page {
        background: url('img/contact-background-x2.jpg');
        background-size: cover;
    }
}

@media (max-width: 600px) {
    .contact-page .template-2-col {
        align-items: center;
    }
}

.contact-page .main-wrapper {
    height: 80vh;
    align-items: end;
    font-size: 4rem;
    color: #FFF;
    text-align: center;
}

.contact-page a {
    color: #fff;
}

.socials {
    display: flex;
    justify-content: center;
}

.socials-insta {
    width: 30px;
    padding-right: 1rem;
}

.socials-facebook {
    width: 15px;
    padding-right: 1rem;
}

/*-------- VIDEO --------*/

.video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 125%;
}

@media (max-width: 950px) {
    .video-wrapper {
        padding-top: 153%;
    }

    .gamme-page .video-wrapper {
        padding-top: 110%;
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}