@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.rounded-circle {
    background-color: black;
}

.card-stock-index {
    width: 370px;
    border-radius: 3vw
}

.scroll-margin-top-index {
    scroll-margin-top: 20vh;
}

.la-arrows-alt {
    font-size: 15vw;
}

.la-angle-double-down {
    font-size: 100px;
}

.video-presentation {
    max-height: 35vh;
}


.img-ic {
    max-height: 50vh;
}

.img-ic-hidden {
    max-height: 50vh;
    display: none;
}

.padding-index-section-bottom {
    padding-bottom: 4vh;
}

.card-pillar {
    background: transparent;
    border: none
}

.pillar-opacity {
    opacity: 0.8;
}

.padding-index-section-top {
    padding-top: 4vh;
}

.padding-index-section-full-light {
    padding-top: 2vh;
    padding-bottom: 2vh;
}

@media (max-width: 768px) {
    .carousel-index {
        width: 50vw; /* Set width to 40% of the viewport width on small screens */
    }
}

@media (min-width: 768px) {
    .carousel-index {
        width: 20vw; /* Set width to 30% of the viewport width on large screens */
    }
}

/* Search Bar */

a:link {
    text-decoration: none
}


@keyframes blink-white {
    0% {
        color: rgb(10, 93, 79); /* Start with transparent color */
    }
    50% {
        color: white; /* Blinking color */
    }
    100% {
        color: rgb(10, 93, 79); /* Back to transparent color */
    }
}

.blink-white {
    animation: blink 2s infinite; /* Set the animation */
}


.gradient-section-round {
    background: rgb(0, 0, 0);
    position: relative;
    z-index: 1;
    background: radial-gradient(circle, rgba(10, 93, 79, 0.7567401960784313) 0%, rgba(0, 0, 0, 1) 100%);
}

.gradient-section-round-reverse {
    background: rgb(0, 0, 0);
    background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(10, 93, 79, 0.7567401960784313) 100%);
}

.gradient-section-ic {
    background: rgb(10, 93, 79);
    background: linear-gradient(191deg, rgba(10, 93, 79, 1) 11%, rgba(0, 1, 1, 1) 100%);
}

.gradient-section-screener {
    background: rgb(10, 93, 79);
    background: linear-gradient(345deg, rgba(10, 93, 79, 1) 11%, rgba(0, 1, 1, 1) 100%)
}


/* Apply the animation to the wheel */
#wheel-slogan {
    animation: rollIn 2s ease-out forwards; /* 2 seconds animation */
    transform-origin: center; /* Zoom from center */
}


.image-container {
    display: inline-block;
    position: relative;
    padding-bottom: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background: transparent; /* aucun fond */
    box-shadow: 0 0 80px rgba(255, 255, 255, 0.4); /* halo blanc autour */
    overflow: visible; /* pour que le halo dépasse si nécessaire */
    transition: box-shadow 1.2s ease-out;
    margin-top: 10vh;
    width: 60%;
    margin-right: 20%;
    margin-left: 20%;
}

.image-container img {
    width: 100%;
    display: block;
    background: transparent; /* utile si image dans un <div> */
}

.scroll-spread {
    box-shadow: 0 0 150px rgba(255, 255, 255, 0.7);

}

#title-main {
    font-weight: bold;
    text-align: center;
    font-size: 65px; /* Default for large screens */
    padding-top: 5vh;
    width: 60%;
    margin-right: 20%;
    margin-left: 20%;
}

.title-second {
    font-weight: lighter;
    text-align: center;
    font-size: 25px;
    width: 50%;
    margin-right: 25%;
    margin-left: 25%;
}

#buttons-cont {
    width: 50%;
}

@media (max-width: 992px) {
    #title-main {
        font-size: 45px; /* Medium screens */
    }

    .title-second {
        font-size: 25px;
    }

    #buttons-cont {
        width: 75%;
    }
}

@media (max-width: 768px) {
    #title-main {
        font-size: 35px; /* Small screens */
    }

    .title-second {
        font-size: 20px;
    }

    #buttons-cont {
        width: 80%;
    }

    .image-container {
        background-color: transparent;
        border-top-right-radius: 0px;
        margin-top: 5vh;
        width: 80%;
        margin-right: 0;
        margin-left: 30%;
    }
}

@media (max-width: 480px) {
    #title-main {
        font-size: 25px; /* Mobile screens */
    }

    .title-second {
        font-size: 20px;
    }

    #buttons-cont {
        width: 100%;
        padding: 0 0;
    }

    .image-container {
        border-top-right-radius: 0px;
        margin-top: 3vh;
        width: 90%;
        margin-right: 0;
        margin-left: 20%;
    }
}

.search.search-index .search-input.search-input-index::placeholder {
    color: #666;
    font-weight: 500;
    opacity: 1; /* ensures visibility */
}

