.ex1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #282c34;
    color: white;
    font-size: 4rem;
    font-family: 'Arial', sans-serif;
}

.confetti {
    position: fixed;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: fall linear 3s forwards;
    z-index: 1000;
}

// Animation pour la chute des confettis, vu sur https://developer.mozilla.org/fr/docs/Web/CSS/CSS_animations/Using_CSS_animations
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0.5;
    }
}
