@font-face {
    font-family: 'Rye';
    src: url('fonts/Rye-Regular.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('img/background/bg-menu.png');
    background-position: center;
    background-size: cover;
    font-family: 'Rye', sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.d-none {
    display: none !important;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/background/bg-menu.png') center/cover;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.menu-overlay.active {
    display: flex;
}

#portrait-warning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    user-select: none;
}

@media (max-width: 1200px) and (orientation: portrait) {
    .landscape-hint {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 15px 30px;
        border-radius: 10px;
        z-index: 99998;
        text-align: center;
        font-size: 14px;
        animation: bounce 2s infinite;
    }

    .landscape-hint.d-none {
        display: none !important;
    }
}