body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 43vh;
    background-color: transparent;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to right, #000, #7a1616);
    border-radius: 50px;
    padding: 20px;
    color: white;
    font-family: 'Arial', sans-serif;
    min-width: 500px;
    text-align: center;
    border: 1px solid white;
}

.buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 15px;
}

.button {
    background: #71253c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid white;
    font-style: italic;
    font-weight: bold;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotate-hourglass {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.button i {
    margin-right: 5px;
    display: inline-block;
    animation: rotate-hourglass 10s ease-in-out infinite;
}

.progress-bar {
    background: black;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-style: italic;
}

.carousel {
    position: relative;
    width: 200px;
    /* Ajuste la largeur selon ton design */
    height: 20px;
    /* Ajuste à la taille du texte */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.falling-seconds {
    position: absolute;
    font-size: 1.5em;
    animation: fall 2s ease-out forwards;
}

@keyframes fall {
    0% {
        opacity: 1;
        transform: translateY(-50px);
    }

    100% {
        opacity: 0;
        transform: translateY(50px);
    }
}