/* ======================================================================================================
 * Vintage - section
 * ====================================================================================================== */
#home-vintage {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 1570px;
    background-color: var(--background-color-ponsot);
    padding-bottom: 100px;
}

/* ==================== Background ==================== */
.home-vintage__background {
    width: 100%;
    height: 1260px !important;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

/* ==================== Container ==================== */
.home-vintage__container {
    position: relative;
    margin-top: -660px;
    min-height: 800px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* ========== Content ========== */
.home-vintage__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: calc(290px + 11%);
    padding: 0 0 0 11%;
    z-index: 2;
}

.home-vintage__content h2 {
    margin-bottom: 0 !important;
}

.home-vintage__content .section__sub-title {
    margin-bottom: 30px !important;
}

.home-vintage__content .section__button {
    margin-top: 10px !important;
}

.home-vintage__container .section__button-container{
    margin-top: 40px;
}

/* ========== Images ========== */
.home-vintage__wine {
    height: auto !important;
    width: 660px;
    left: calc(50% + 40px); /* Car il y a l'ombre sur le coté droit, ça permet de recentrer les bouteilles */
    transform: translate(-50%, 0);
    position: absolute;
}

.home-vintage__ground {
    width: 980px;
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translate(-50%, 0);
}

/* =========================
 * Responsive
 * ========================= */

@media (min-width: 1024px) and (max-width: 1400px) {
    .home-vintage__wine {
        left: calc(50% + 30px);
        transform: translate(-50%, 0) scale(0.7);
    }

    .home-vintage__ground {
        bottom: -15px;
        transform: translate(-50%, 0) scale(0.7);
    }
}

@media (max-width: 1024px) {
    #home-vintage {
        min-height: 0px;
        padding-bottom: 50px;
    }

    .home-vintage__background {
        height: 580px !important;
    }

    .home-vintage__container {
        margin-top: -120px;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
        min-height: 0px;
    }

    .home-vintage__content {
        max-width: 100%;
        align-items: center;
        text-align: center;
        padding: 40px 20px 0 20px;
    }

    .home-vintage__content .section__button {
        margin-top: 0px !important;
    }

    .home-vintage__wine {
        position: relative;
        left: 3%;
        transform: unset;
        padding: 0 10px;
        width: 100%;
        max-height: 600px !important;
        object-fit: contain;
        object-position: center;
    }

    .home-vintage__ground {
        position: absolute;
        left: unset;
        bottom: 0;
        max-width: 800px !important;
        transform: translate(0px, calc(-100% + 100px));
    }
}

@media (max-width: 500px) {
    .home-vintage__ground {
        bottom: 90px;
        max-width: 650px !important;
        transform: translate(0px, calc(-100% + 100px));
    }
}

/* ======================================================================================================
 * END  Vintage - section
 * ====================================================================================================== */
