/* HERO */

.hero {
    height: 100vh;
    height: 100dvh;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(60, 0, 0, 0.3)),
        url("../img/hero_univers.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(80px, 13vw, 220px);
}

.hero div h6 {
    font-family: var(--caveat-font);
    font-size: 30px;
}

/* HISTOIRE  */

/* .histoire{
    height: var(--height-100);
} */
.histoire-image {
    /* background-image: url("../img/illustration_pinceaux1.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    /* background-color: var(--alizarine); */

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 745px;
    overflow: hidden;
}



.histoire-trio-img {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    height: clamp(500px, 80%, 650px);
    width: 80%;
    position: relative;
    max-width: 500px;
    /* padding-left: 3vh; */
}

@media (max-width: 1350px) {
    .histoire-trio-img {
        max-width: 450px;
    }
}

@media (max-width: 1250px) {
    .histoire-trio-img {
        max-width: 400px;
    }
}

@media (max-width: 1150px) {
    .histoire-trio-img {
        max-width: 350px;
    }
}

.histoire-img1 {
    grid-column: 1 / span 10;
    grid-row: 1 / span 7;
    background-image: url('../img/univers_biographie1.webp');
    background-size: cover;
    background-position: center;
    transform: rotate(-10deg) translate(-20px, 0);
    /* min-height: 460px; */
}

.histoire-img2 {
    grid-column: 9 / span 12;
    grid-row: 1 / span 6;
    background-image: url('../img/univers_biographie2.webp');
    background-size: cover;
    background-position: center;
    transform: rotate(10deg) translate(30px, -35px);
    z-index: 2;
    /* min-height: 410px; */
}

.histoire-img3 {
    grid-column: 1 / span 20;
    grid-row: 6 / span 5;
    background-image: url('../img/univers_biographie3.webp');
    background-size: cover;
    background-position: center;
    transform: rotate(2deg);
    z-index: 1;
    /* min-height: 320px; */
}

.histoire-credit {
    align-content: end;
    margin-left: 2vh;
    padding-bottom: 2vh;
}

.histoire-texte h2 {
    width: max-content;
}

.histoire-texte {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5vh;
}


/* CAROUSEL / IMMERSION */

#immersion {
    scroll-margin-top: var(--header-height);
}


.carousel-indicators {
    .active {
        background-color: var(--alizarine) !important;
        opacity: 100% !important;
        animation: none;
    }

    li {
        background-clip: border-box !important;
        width: 30px !important;
        height: 1px !important;
        border-radius: 15px;
        background-color: var(--primary);
        /* background-color: var(--alizarine) !important; */
        /* transition: alizarine .6s !important; */
        transition: none !important;
        animation: alizarine .6s ease forwards;
    }

    padding-bottom: 2rem;
}

/* .carousel-item{
    } */
/* .carousel-item div:has(img){
    transition: opacity .9s ease, transform 8s ease !important;
} */
.carousel-item img {
    /* height: 100%; */
    object-fit: cover;
    width: 100%;
    height: var(--height-100);
    height: var(--height-100-dvh);
}

.carousel-caption {
    h5 {
        font-family: var(--caveat-font);
        font-size: 5vh;
        text-shadow: 0px 0px 3px var(--black);
    }

    p {
        text-shadow: 2px 4px 5px var(--black);
        text-transform: uppercase;
        letter-spacing: 0.2rem;
        opacity: 85%;
        color: var(--primary);
    }

    padding-bottom: 4rem;
}



.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 60px;
    height: 60px;
    /* flex-shrink: 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--black);
    color: var(--black);
    border-radius: 100%;
    font-size: 3vh;
    font-family: var(--serif-font);
    background: var(--secondary);
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    background-color: var(--alizarine);
    color: var(--blanc);
    border: 1px solid rgba(0, 0, 0, 0.6);
    transform: scale(1.05)
}


/* Démarche artistique */

.da-contenu {
    border-color: var(--secondary) !important;
}

.da-num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 78px;
    height: 90px;
    font-family: var(--serif-font);
    font-weight: 100;
    font-style: italic;
    font-size: 38px;
    transform: skewY(-6deg) rotate(-2deg);
}

.da-texte h3 {
    font-size: 3rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    /* HERO */
    .hero h6 {
        margin: 0 10px 0 10px;
    }

    /* HISTOIRE */
    .histoire-image {
        /* display: none; */
    }

    .carousel-item img {
        /* height: 100%; */
        /* object-fit: cover;
        width: 100%; */
        height: 50vh;
    }

    /* Démarche artistique */
    .da-num {
        width: 56px;
        height: 64px;
        font-size: 26px;
    }

    .da-texte h3 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .histoire-image {
        /* display: none; */
    }
}

@keyframes alizarine {
    0% {
        background-color: var(--alizarine) !important;
        opacity: 100%;
    }

    100% {
        background-color: var(--primary) !important;
        opacity: 50%;
    }
}

@media (min-width: 992px) {

    /* Breakpoint 'lg' de Bootstrap */
    .container-fluide-lg {
        max-width: 100% !important;
    }
}