body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    font-family: monospace, "consolas";
}

#startButton {
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

#videoContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

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

.page {
    position: absolute;
    background: #00000080;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    text-align: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

#overlayText {
    color: white;
    font-weight: bold;
    z-index: 6; /* Increase z-index to be above the rain */
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    max-height: 100vh;
}

#overlayText p {
    padding: 0;
    margin: 0;
}

#rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5; /* Behind the overlay text but above the video */
}

.raindrop {
    position: absolute;
    width: 10px;
    height: 20px;
    background: url('juif.png') no-repeat center center;
    background-size: contain;
    opacity: 0.8;
}

@media only screen and (min-width: 1024px) {
    #overlayText {
        font-size: 40px;
    }
}
