* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'CSM'; /* Choose a name for your font */
  src: url('static/font.woff2') format('woff2'); /* Path to the font file */
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffbdbd;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

#image-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    min-height: 200%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: calc((200vw / 8) / (16 / 9));
    gap: 0;
    padding: 0;
    z-index: 0;
    animation: diagonalScroll 30s linear infinite;
}

#image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
}

@keyframes diagonalScroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

#content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#content p, #content h1, #content h2, #content h3, #content h4, #content h5, #content h6,
#content ul, #content ol, #content li, #content a, #content span, #content div {
    position: relative;
    z-index: 2;
    color: white;
    font-family: "Comic Sans MS", "CSM", Arial, Helvetica, sans-serif;
    text-shadow: 4px 4px 1px #000000;
}

#startBtn {
    padding: 20px 40px;
    font-size: 2rem;
    font-family: "Comic Sans MS", "CSM", Arial, Helvetica, sans-serif;
    font-weight: bold;
    background: #ffbdbd;
    border: 3px solid white;
    border-radius: 10px;
    cursor: pointer;
    color: black;
    transition: transform 0.2s;
}

#startBtn:hover {
    transform: scale(1.1);
}

#visualizer {
    font-size: 10vw;
    font-family: "Comic Sans MS", "CSM", Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    -webkit-text-stroke: 3px white;
    position: relative;
    z-index: 2;
    max-width: 90vw;
    padding: 0 5vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#visualizer span {
    display: inline-block;
}

audio {
    display: none;
}


