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

body {
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    position: relative; /* Notwendig für absolute Positionierung des Musik-Credits */
}

.header {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

button {
    font-size: 35px;
    padding-left: 9px;
    font-family: 'Urbanist', sans-serif;
    cursor: pointer;
    background: rgb(102, 75, 75); 
    color: #fff;
    z-index: 3;
    border: none;
}

#overlay {
    text-align: left;
    padding-left: 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(135, 135, 135, 0.272);
    z-index: 2;
    display: none;
    justify-content: left;
    align-items: left;
}

.text-container {
    width: 60%;
}

p {
    font-size: 20px;
    padding-top: 1px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 40px;
    padding-top: 40px;
    padding-bottom: 20px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

h2 {
    font-size: 20px;
    padding-top: 6vw;
    padding-bottom: 0px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

#video-container {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

#myVideo {
    width: 100%;
    height: auto;
    z-index: 1;
}

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

a:hover {
    text-decoration: underline;
}

#music-credit {
    position: absolute;
    bottom: 4px;
    right: 28px;
    font-size: 20px; /* Etwas größere Schriftgröße */
    color: #fff;
    font-family: Arial, Helvetica, sans-serif; /* Gleicher Font wie bei den anderen p-Tags */
    z-index: 1000;
    display: none; /* Nur sichtbar, wenn das Overlay geöffnet ist */
}

/* Media Queries für responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 18px;
    }

    .text-container {
        width: 80%;
    }

    button {
        font-size: 28px;
    }

    #video-container {
        width: 100%;
    }

    #myVideo {
        width: 90%;
    }

    #music-credit {
        font-size: 18px; /* Anpassung der Schriftgröße */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }

    .text-container {
        width: 90%;
    }

    button {
        font-size: 24px;
    }

    #myVideo {
        width: 80%;
    }

    #music-credit {
        font-size: 16px; /* Anpassung der Schriftgröße */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 14px;
    }

    p {
        font-size: 14px;
    }

    .text-container {
        width: 95%;
    }

    button {
        font-size: 20px;
    }

    #myVideo {
        width: 100%;
    }

    #music-credit {
        font-size: 14px; /* Anpassung der Schriftgröße */
    }
}
