/* css/layout.css */

/* Screen Styles */
.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.5s;
    overflow-y: auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.screen::before {
    content: '';
    flex: 1;
}

.screen::after {
    content: '';
    flex: 1;
}

/* Hide elements by default */
.hidden {
    display: none;
}

/* Content Container */
.content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    animation: fadeIn 0.5s;
    /* Flex shrink 0 prevents content from being squished */
    flex-shrink: 0;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .content {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    button {
        padding: 10px;
        font-size: 0.9em;
    }
}
