/* ===================== SCREEN STRUCTURE ===================== */
.screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.screen.hidden {
    display: none !important;
}

#start-screen {
    background: url('../assets/images/Background/start game bg.webp') no-repeat center center / cover;
}

#game-screen {
    background: url('../assets/images/Background/gamescreen.webp') no-repeat center center / cover;
}

#congrats-screen {
    background: url('../assets/images/Background/congratulation bg.webp') no-repeat center center / cover;
}

/* Responsive scaling container */
.start-content,
.game-wrapper,
.congrats-content {
    container-type: size;
    container-name: game-container;
    width: 95vw;
    height: 95vh;
    max-width: 168.89vh;
    max-height: 59.38vw;
    margin: auto;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-wrapper {
    justify-content: flex-start;
    align-items: flex-start;
}

/* ===================== GAME LAYOUT ===================== */
.game-main {
    position: absolute;
    top: 12cqh;
    bottom: 5cqh;
    left: 50%;
    transform: translateX(-50%);
    width: 72cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    z-index: 2;
}
