* {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: white;
}


body {
    /* background-image: url("thedigitalartist-eiffel-tower-3349075_1920.jpg");
    background-size: cover;
    background-repeat: no-repeat; */
    z-index: -999;
    overflow: hidden;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
}

.chrono {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 6rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    /* background: rgba(0, 0, 0, 0.5); */
    width: fit-content;
    height: 200px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 0;
    gap: 20px;
}

.countValue {
    /* background-color: purple; */
    display: block;
    justify-content: center;
    align-items: center;

}

/* .fond {
    background: #000000;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 90;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;

} */

span {
    /* background-color: yellow; */
    display: block;
    justify-content: center;
    align-items: center;

}

p {
    /* background-color: aqua; */
    text-align: center;
    margin: 0;
    line-height: 1;
}

.text {
    font-size: 2rem;
    /* background-color: blue; */
}

/* .number{
    background-color: red;
} */

a {
    color: rgb(206, 204, 204);
    text-transform: capitalize;
    text-decoration: none;
    position: relative;
}

a:hover {
    color: white;
}

a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: all 0.5s;
}

a:hover::before {
    width: 100%;
}

/* Lignes de balayage (scanlines) */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(0, 255, 255, 0.15) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: -100;
}


:root {
    --hauteur-soundboard: 100px;
}

body.soundboard-ouvert .soundboard {
    display: grid;
}

body.soundboard-ouvert .btnSound {
    bottom: calc(50px + var(--hauteur-soundboard));
}

body.soundboard-ouvert .controls {
    bottom: calc(50px + var(--hauteur-soundboard));
}

.controls {
    position: absolute;
    bottom: 50px;
    left: 87%;
    display: block;
    transition: bottom 0.2s ease;
    /* background-color: purple; */
}

.btnSound{
    position: absolute;
    bottom: 50px;
    left: 7%;
    cursor: pointer;
    transition: bottom 0.2s ease;
    /* background-color: red; */
}


.soundboard {
    position: absolute;
    bottom: 0%;
    left: 0%;
    display: none;
    /* display: inline-grid; */
    justify-content: center;
    row-gap: 5px;
    column-gap: 32px;
    grid-template-rows: repeat(fit-content(100%), minmax(0, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding-right: auto;
    padding-left: auto;
    padding-bottom: 10px;
    padding-top: 5px;
    overflow-y: auto;
    height: var(--hauteur-soundboard);
    width: 100vw;
    scrollbar-width: thin;                      /* auto | thin | none */
    scrollbar-color: #ffffff transparent;
    z-index: 990;
}

.text-sound{
    display: flex;
    gap: 5px;
}

.stop-soundboard{
    display: none;
    color: white;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.stop-soundboard img{
    width: 15px;
}

.btn-muted,
.btn-paused,
.sound{
    color: white;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    /* background-color: rgba(0, 0, 0, 0.5);
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-top: 5px; */
}

img {
    width: 25px;
    color: white;
}

#img-pause {
    width: 20px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 15, 0.7);
    z-index: -100;
    /* sous .chrono qui est à z-index: 99 */
}



.author {
    font-size: 1rem;
    padding: 0;
    margin-right: 30px;
    width: 400px;
    text-align: right;
}

.date {
    font-size: 1rem;
    padding: 0;
    margin-left: 30px;
    width: 400px;
    text-align: left;
}

.logo {
    width: 30px;
    height: auto;
    align-self: center;
    /* background-color: red; */
}

.ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: white;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%;
    margin: 0;
}

.connect {
    position: absolute;
    z-index: 999;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(19, 33, 59, 0.434) 51%);
    background-size: 100% 4px;
    width: 100%;
    height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fond {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("fond-paris.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    z-index: 990;
}

.connect h1 {
    position: absolute;
    top: -1%;
    left: 50%;
    padding-top: 20px;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100vw;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* .scanback{
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(250, 0, 0, 0.069) 51%);
    background-size: 100% 4px;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

/* 
top: 50%;
left: 50%;
transform: translate(-50%, -50%); 
*/




/* From Uiverse.io by Web-Potato */
button {
    background: rgb(1, 12, 25);
    width: 300px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-size: 1.5rem;
}

button:hover {
    background: rgb(41, 40, 42);
    color: white;
}

@media screen and (width <=1330px) {
    .controls {
        left: 80%;
        font-size: 1rem;

    }

    .btnSound{
        font-size: 1rem;
    }
}

@media screen and (width <=500px) {
    .chrono {
        font-size: 3rem;
        gap: 10px;
    }

    .controls {
        bottom: 20%;
        left: 75%;
        font-size: 0.8rem;

    }

    .btnSound{
        font-size: 0.8rem;
    }
}

@media screen and (width <=650px) {
    .chrono {
        font-size: 3rem;
        gap: 10px;
    }

    .controls {
        bottom: 15%;
        left: 75%;
        font-size: 0.8rem;

    }

    .ligne h1 {
        font-size: 0.8rem;
    }

    .btnSound{
        font-size: 0.8rem;
    }
}