@font-face {
    font-family: 'zabras';
    src: url('assets/fonts/zabars.ttf') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.d-none {
    display: none;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    min-height: 100vh;
    background-image: url('assets/img/el_pollo_retro.png');
    background-size: cover;
    background-position: center;
}

.legal-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    min-height: 100vh;
    background-image: url('assets/img/el_pollo_retro.png');
    background-size: cover;
    background-position: center;
}

.canvas-div{
    position: relative;
    display: none; /* Beibehalten, falls noch benötigt */
    z-index: 2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

h1 {
    text-align: center;
    color: #FF9601;
    font-size: 96px;
    font-family: 'zabras';
    letter-spacing: 8px;
    z-index: 2;
}

.intro-outro-screens {
    background-image: url('assets/img/9_intro_outro_screens/start/startscreen_1.png');
    border-radius: 4px;
    width: 100%;
    height: 100vh;
    max-width: 720px;
    max-height: 480px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: start;
}

.play-btn {
    width: 150px;
    padding: 16px 24px;
    border-radius: 24px;
    background-color: #FF9601;
    border-color: #FEDD03;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    z-index: 2;
    margin-top: 64px;
    cursor: pointer;
}

.play-btn:hover {
    border-color: #FF9601;
    background-color: #FEDD03;
}

.option-btns {
    position: absolute;
    top: 16px;
    right: 0;
    width: 64px;
    display: flex;
    justify-content: flex-start;
    z-index: 100;
}

.mobile-btns {
    position: absolute;
    bottom: 16px;
    display: none; /* Standardmäßig versteckt */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 720px;
    gap: 16px;
    padding: 16px;
}

.btns-leftside, .btns-rightside {
    display: flex;
    gap: 16px;
}

.mobile-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    font-size: 48px;
    border-style: solid;
    border-color: #FEDD03;
    background-color: #FF9601;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
}

.mobile-btn:hover{
    border-color: #FF9601;
    background-color: #FEDD03;
}

canvas {
    background: black;
    display: block;
    border-radius: 4px;
    z-index: 2;
}

.rotate-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    z-index: 100;
    display: none; /* Standardmäßig versteckt */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    flex-direction: column;
}

.rotate-message p {
    font-size: 24px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

.impressum {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
    color: #fff;
    font-family: sans-serif;
    z-index: 3;
}

.datenschutz {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: #fff;
    font-family: sans-serif;
    padding: 32px 64px;
    z-index: 3;
}

.manual {
    display: flex;
    gap: 32px;
    font-weight: bold;
    font-size: 20px;
    color: #FEDD03;
    z-index: 3;
}

.footer {
    display: flex;
    gap: 32px;
    z-index: 3;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

/* Medienabfrage für Touch-Geräte */
@media (pointer: coarse) and (hover: none) {
    .mobile-btns {
        display: flex;
    }

    canvas {
        width: 100%;
    }

    .manual, .footer {
        display: none;
    }
}

@media (pointer: coarse) and (hover: none) and (orientation: portrait) and (max-aspect-ratio: 0.75/1) {
    .rotate-message {
        display: flex;
    }

    .main-container {
        display: none;
    }
}

@media (pointer: coarse) and (hover: none) and (orientation: landscape), 
       (pointer: coarse) and (hover: none) and (aspect-ratio: 1/1) {
    .rotate-message {
        display: none;
    }

    .main-container {
        display: flex;
    }
}

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 64px;
    }

    .manual {
        font-size: 16px;
        gap: 16px;
    }
}

@media only screen and (max-height: 430px) {
    canvas {
        height: 100vh;
    }

    h1 {
        display: none;
    }
}