@import url('https://fonts.googleapis.com/css2?family=Titan+One&family=Fredoka:wght@400;600;700;900&display=swap');

body {
    font-family: 'Fredoka', sans-serif;
}

h1,
h2,
#current-number,
.option-btn,
#question-text {
    font-family: 'Titan One', cursive;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.animate-bounce-custom {
    animation: bounceHero 2s infinite ease-in-out;
}

@keyframes bounceHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.option-btn {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    background: #475569;
    border-bottom: 6px solid #1e293b;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.1s;
    user-select: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.option-btn:active {
    transform: translateY(4px);
    border-bottom-width: 0px;
}

/* Building Window Pattern for Option Buttons */
.option-btn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.skyline {
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    clip-path: polygon(0% 100%, 10% 100%, 10% 60%, 15% 60%, 15% 100%,
            20% 100%, 20% 40%, 30% 40%, 30% 100%,
            35% 100%, 35% 70%, 45% 70%, 45% 100%,
            50% 100%, 50% 30%, 65% 30%, 65% 100%,
            70% 100%, 70% 50%, 80% 50%, 80% 100%,
            85% 100%, 85% 65%, 95% 65%, 95% 100%, 100% 100%);
}

.jump-up {
    animation: jumpUp 0.5s ease-out forwards;
}

@keyframes jumpUp {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -150%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.jump-down {
    animation: jumpDown 0.5s ease-out forwards;
}

@keyframes jumpDown {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, 50%) scale(0.8);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}