@font-face {
    font-family: 'FieldGuide';
    src: url('./assets/FieldGuide.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
            background: #181818;
            color: #00ff00;
            font-family: 'FieldGuide', monospace, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
        }

h1 {
    font-family: 'FieldGuide', sans-serif;
    font-size: 12vw;
    text-align: center;
    
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.1;
    white-space: pre-line;
    
}
.menu {
            background: #222;
            border: 4px solid #00ff00;
            border-radius: 16px;
            padding: 3vw 6vw;
            box-shadow: 0 0 32px #00ff0055;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .menu-title {
            font-size: 7vw;
            margin-bottom: 2vw;
            letter-spacing: 0.1em;
            text-shadow: 0 0 8px #00ff00, 0 0 32px #00ff00;
            animation: glow 2s ease-in-out infinite alternate;
        }
        @keyframes glow {
            from {
                text-shadow: 0 0 8px #00ff00, 0 0 32px #00ff00;
            }
            to {
                text-shadow: 0 0 16px #00ff00, 0 0 48px #00ff00;
            }
        }
        .menu-btn {
            font-size: 3vw;
            margin: 1vw 0;
            padding: 0.7vw 3vw;
            background: #181818;
            color: #00ff00;
            border: 2px solid #00ff00;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'FieldGuide', monospace, sans-serif;
            transition: all 0.2s ease;
            width: 100%;
            text-align: center;
        }
        .menu-btn:hover, .menu-btn:focus {
            background: #00ff00;
            color: #181818;
            outline: none;
            transform: scale(1.05);
            box-shadow: 0 0 16px #00ff0055;
        }
        .menu-btn-faded {
            font-size: 3vw;
            margin: 1vw 0;
            padding: 0.7vw 3vw;
            background: #181818;
            color: #008800;
            border: 2px solid #008800;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'FieldGuide', monospace, sans-serif;
            transition: all 0.2s ease;
            width: 100%;
            text-align: center;
        }
        
        .menu-footer {
            margin-top: 2vw;
            font-size: 1.5vw;
            opacity: 0.7;
        }

        /* HUD back/restart button: match menu button sizing but don't stretch full width */
        #back-btn.menu-btn {
    width: auto;
    display: inline-flex;       /* flex místo inline-block */
    justify-content: center;    /* horizontálně */
    align-items: center;        /* vertikálně */
    font-size: 3vw;
    padding: 0.7vw 3vw;
    margin: 0;
    min-width: 88px;
    box-sizing: border-box;
}
        
