/* Fonts */
@font-face {
    font-family: 'QuanticoBold';
    src: url('../font/Quantico-Bold.ttf') format('truetype');
}

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

/* Reset + Background */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: grid;
    place-items: center; /* perfekte horizontale + vertikale Zentrierung */
    background: url('../images/Background.png') no-repeat center center fixed;
    background-size: cover;
    padding: 10px; /* Abstand zu Bildschirmrand */
    box-sizing: border-box;
}

/* Hauptcontainer */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 500px; /* max Breite */
    box-sizing: border-box;
}

/* Logo */
.logo {
    max-width: 100%;
    height: auto;
}

/* Unterer Bereich als Background-Image */
.menu-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 240px; /* hier Höhe explizit setzen */
    background: url('../images/Menu_Rahmen.png') no-repeat center center;
    background-size: contain; /* Bild füllt die Box maximal */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

/* Text über Bild */
.menu-text {
    text-align: center;
    color: white;
    width: 90%; /* Text bleibt innerhalb der Box */
}

.menu-text .main {
    font-family: 'QuanticoBold';
    font-size: 1.5em; /* relativ zur Box */
    line-height: 1.2;
}

.menu-text .sub {
    font-family: 'QuanticoRegular';
    font-size: 1em;
    margin-top: 5px;
}

/* Kleine Bildschirme */
@media (max-width: 360px) {
    .menu-text .main {
        font-size: 1.3em;
    }
    .menu-text .sub {
        font-size: 0.9em;
    }
}