@font-face {
    font-family: 'Splatoon2';
    src: url('./fonts/Splatoon2.otf') format('opentype');
}

body {
    font-family: 'Splatoon2', sans-serif;
    background-color: transparent;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    position: relative;
}

#countdown {
    font-size: 10vw;
    font-weight: bold;
    white-space: nowrap;
    display: none;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    color: #ffffff;
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
}

#input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

input, button {
    font-family: 'Splatoon2', sans-serif;
    font-size: 1.5rem;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

button {
    cursor: pointer;
    background-color: #000;
    color: #fff;
}

.confetti {
    position: absolute;
    top: -50px;
    width: 50px;
    opacity: 1;
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}
