/* Grundlegender Reset und allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    font-family: Tahoma, sans-serif;
    background-color: #2C2C2C;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    padding: 20px 15%;
    text-align: justify;
    font-size: 18px;
    margin-top: 80px;
    margin-bottom: 60px;
    overflow-y: auto;
}

.slide {
    animation: slideIn 1s forwards;
    width: 100%;
    position: absolute;
    top: 0;
    left: 100%;
}

@keyframes slideIn {
    from { left: 100%; }
    to { left: 0; }
}

a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

footer {
    background-color: #404040;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    font-size: 2rem;
}

header {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: #444444;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: right;
    position: fixed;
    z-index: 1000;
}

header img {
    height: 50px;
    width: 50px;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
    text-align: left;
}

h2 {
    margin: 0;
    font-size: 1.0rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
}

h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
}


.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.image-container img, .image-container video {
    max-width: 800px;
    width: 100%;
}

.caption {
    text-align: center;
}

.overlay-container {
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #2C2C2C;
}

.overlay-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 630px;
    height: auto;
}

.overlay-container video {
    width: 500px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay-container img.transparent {
    width: 480px;
    height: auto;
}

@media (max-width: 1024px) {
    .overlay-container {
        height: 500px;
    }
    .overlay-container img {
        width: 550px;
    }
    .overlay-container video {
        width: 95%;
        max-width: 550px;
    }
    .overlay-container img.transparent {
        width: 400px;
    }
    footer {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .overlay-container {
        height: 300px;
    }
    .overlay-container img {
        width: 350px;
    }
    .overlay-container img.transparent {
        width: 200px;
        height: 150px;
    }
    footer {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .overlay-container img {
        width: 290px;
    }
    .overlay-container img.transparent {
        width: 200px;
        height: 150px;
    }
    footer {
        font-size: 1.5rem;
    }
}

.language-container {
    text-align: center;
    margin: 20px 0;
}

.language-label {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.language-select {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.iframe-container {
    position: relative;
    max-width: 90vw;
    height: calc(90vw * 9 / 16);
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.big-radio {
    width: 25px;
    height: 25px;
    margin-left: 5px;
    vertical-align: middle;
}

.big-button {
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.big-button:hover {
    background-color: #0056b3;
}

.content-container {
    max-width: 90vw;
    margin: 0;
    text-align: left;
    padding-left: 5vw;
}
img.flagge {
  display: block;
  margin-top: 10px;
  height: 50px;
  width: auto;
}
