/* =========================================================
   HANDS OF TIME — MENU
   ========================================================= */

.ht-menu-screen {
    position: absolute;
    inset: 0;
    
    width: 100%;
    height: 100%;
    
    overflow: hidden;
    
    background-color: #002200;
    
    display: flex;
    align-items: flex-end;
    justify-content: center;
    
    z-index: 10;
}


/* =========================================================
   MENU CONTENT
   ========================================================= */

.ht-menu-content {
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: flex-end;
    
    box-sizing: border-box;
}


/* =========================================================
   BUTTON CONTAINER
   ========================================================= */

.ht-menu-buttons {
    width: 100%;
    
    display: grid;
    
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    
    gap: 30px;
    
    margin-bottom: 10px;
    
    z-index: 2;
    
    box-sizing: border-box;
}


/* =========================================================
   MENU BUTTONS
   ========================================================= */

.ht-menu-btn {
    width: 100%;
    height: 10vh;
    
    min-height: 50px;
    
    padding: 8px;
    
    border: 2px solid white;
    border-radius: 12px;
    
    background: rgba(0, 0, 0, 0.55);
    
    color: white;
    
    font-family: sans-serif;
    font-size: clamp(12px, 2vw, 24px);
    font-weight: bold;
    
    cursor: pointer;
    
    box-shadow:
        10px 10px 10px rgba(0, 0, 0, 0.8);
    
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    
    box-sizing: border-box;
}


.ht-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    
    transform:
        translateY(-4px);
    
    box-shadow:
        10px 14px 18px rgba(0, 0, 0, 0.8);
}


.ht-menu-btn:active {
    transform:
        translateY(1px) scale(0.98);
}


/* =========================================================
   SMALLER LANDSCAPE SCREENS
   ========================================================= */

@media (max-height: 600px) {
    
    .ht-menu-screen {
        background-size: auto 85%;
    }
    
    .ht-menu-buttons {
        gap: 20px;
        margin-bottom: 8px;
    }
    
    .ht-menu-btn {
        height: 9vh;
        min-height: 40px;
    }
}


/* =========================================================
   LANDSCAPE
   ========================================================= */

@media (orientation: landscape) {
    
    .ht-menu-screen {
        background-image:
            url("../assets/images/menu_bg_landscape.jpg");
        
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}


/* =========================================================
   PORTRAIT
   ========================================================= */

@media (orientation: portrait) {
    
    .ht-menu-screen {
        background-image:
            url("../assets/images/menu_bg_portrait.jpg");
        
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    .ht-menu-buttons {
        width: 75%;
        
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        
        gap: 14px;
        
        margin-bottom: 20px;
    }
    
    .ht-menu-btn {
        height: 8vh;
        min-height: 45px;
    }
}