body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    user-select: none;
}

.levitate-image {
    animation: levitate 5s ease-in-out infinite alternate;
    height: 500px;
    width: 500px;
    transition: filter 0.5s ease-in-out;
    cursor: pointer;
}

/* Fixed selector to directly target the image without the parent ID */
.levitate-image:hover {
    filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.8)) brightness(1.2);
    transition: filter 0.8s ease-in-out;
}

@keyframes levitate {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

#name-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    width: 100vw;
    padding: 2rem;
}

#name-screen h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    font-family: 'MedievalSharp', serif; /* Optional font */
}

#name-screen input {
    font-size: 1.5rem;
    padding: 0.75rem 1.25rem;
    width: min(90%, 400px);
    border-radius: 6px;
    border: 1px solid #555;
    background-color: #111;
    color: white;
    text-align: center;
}

.name-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    gap: 5vh;
}

.name-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

#name-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.25rem;
    text-align: center;
    border: 2px solid #666;
    border-radius: 8px;
    background-color: #111;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .name-content {
        gap: 2rem;
    }

    #name-input {
        font-size: 1rem;
        padding: 0.75rem;
    }
}

#question-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.question-image {
    width: 100%;
    /* Scales down the Are You Afraid image */
    max-width: 1000px;
}

.button-container {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 20px;
}

.response-button {
    height: 250px;
    /* Increase button size */
    width: 400px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.response-button:hover {
    transform: scale(1.1);
    /* Slightly bigger hover effect */
}

#seraweird-screen {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: none;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}