@charset "UTF-8";

@font-face {
    font-family: 'Signs-Heavy';
    src: url('./../fonts/Signs-Heavy.otf');
}

@font-face {
    font-family: 'Arial-Narrow';
    src: url('./../fonts/Arial-Narrow.ttf');
}

body,
html {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
}

#audio-play-button {
    font-family: Arial-Narrow;
    position: fixed;
    z-index: 100;
    background: rgba(0, 0, 0, 255);
    color: #ffffff;
    border: none;
    font-size: 1.2rem;
    left: 50%;
    bottom: 2%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transform: translateX(-50%);
}

#audio-play-button:after {
    content: "";
    background: #000000;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -25px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s;
}

#audio-play-button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s;
}

.hide {
    display: none;
}

.container {
    position: relative;
    height: 100vh;
}

.rangée {
    display: flex;
    justify-content: center;
    width: 100vw;
    position: absolute;
    top: 0;
}

.balle {
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.750);
    border-radius: 50%;
    margin: 5px;
    box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.600);
    animation: balayer 2s ease-in-out infinite;
    -webkit-filter: brightness(1) contrast(100);
    filter: brightness(1) contrast(100);
}

@keyframes balayer {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25%,
    75% {
        transform: translateY(50vh) translateX(50%);
    }

    50% {
        transform: translateY(100vh) translateX(-50%);
    }
}

.rangée:nth-child(1) .balle {
    animation-delay: 0s;
}

.rangée:nth-child(2) .balle {
    animation-delay: 1.25s;
}

.rangée:nth-child(3) .balle {
    animation-delay: 2.75s;
}

.full-screen-text {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
    background: #ffffff00;
    color: #ffffff;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.250);
    font-size: calc(10vw + 10vh);
    /* Ajustement initial de la taille de la police */
    font-family: Signs-Heavy;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    -webkit-filter: blur(10px);
    filter: blur(10px);
    padding: 5vw;
    box-sizing: border-box;
}

.full-screen-text span {
    display: block;
    max-width: 100%;
    word-wrap: break-word;
}

h3 {
    font-family: Arial-Narrow;
    position: absolute;
    bottom: 5vh;
    color: yellow;
    z-index: 20;
    font-size: 5vw;
    /* Valeur par défaut pour les petits écrans (smartphones) */
    text-align: center;
    width: 100vw;
    text-shadow: 2px 2px 4px #000000;
    bottom: 5vh;
    /* Valeur par défaut pour les petits écrans (smartphones) */
}

/* Media query pour les tablettes */
@media (min-width: 600px) and (max-width: 1023px) {
    .full-screen-text {
        font-size: calc(8vw + 8vh);
        /* Ajustement pour les tablettes */
    }

    h3 {
        font-size: 3vw;
        /* Ajustement pour les tablettes */
        bottom: 3vh;
        /* Ajustement pour les tablettes */
    }
}

/* Media query pour les écrans plus larges (ordinateurs) */
@media (min-width: 1024px) {
    .full-screen-text {
        font-size: calc(11vw + 11vh);
        /* Ajustement pour les grands écrans */
    }

    h3 {
        font-size: 2vw;
        /* Ajustement pour les grands écrans */
        bottom: 2vh;
        /* Ajustement pour les grands écrans */
    }
}

/* Media query pour les très grands écrans */
@media screen and (max-width: 1200px) {
    .full-screen-text {
        font-size: calc(12vw + 12vh);
        /* Réduire la taille pour les écrans plus petits */
    }
}

@media screen and (max-width: 992px) {
    .full-screen-text {
        font-size: calc(8vw + 8vh);
        /* Réduire davantage pour les tablettes */
    }
}

@media screen and (max-width: 768px) {
    .full-screen-text {
        font-size: calc(6vw + 6vh);
        /* Réduire encore plus pour les petits écrans */
    }
}

@media screen and (max-width: 576px) {
    .full-screen-text {
        font-size: calc(5vw + 5vh);
        /* Réduire pour les téléphones */
    }
}

@media screen and (max-width: 400px) {
    .full-screen-text {
        font-size: calc(5vw + 5vh);
        /* Dernière réduction pour les très petits écrans */
    }
}