@charset "utf-8";
/* Responsive CSS */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    background-color: #fee296;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    padding-inline: 10px;
}

header {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin-top: 20px;
}

header img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: flex;
    list-style: none;
    padding: 0;
    font-size: 1.5em;
}

nav img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
}

aside {
    display: flex;
    flex-wrap: nowrap; /* wichtig: bleibt immer nebeneinander */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 850px;
	max-height: auto;
    z-index: 1;
    text-align: center;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #666;
    color: #ccc;
    margin-top: -20px;
    margin-bottom: -50px;
}

/* linke Spalte */
aside .oif1 {
    flex: 0 1 300px;
    min-width: 0;
	margin-left: 40px;
    text-align: center;
}

/* rechte Spalte */
aside .oif2 {
    flex: 1 1 600px;
    min-width: 0;
	margin-right: 40px;
	margin-left: -100px;
    text-align: center;
}

aside .oif2 h1 {
    font-size: clamp(1.2rem, 3vw, 2.25em);
    line-height: 1.2;
}

aside .oif2 h2 {
    font-size: clamp(1rem, 2vw, 1.5em);
    line-height: 1.2;
}

main {
    width: 100%;
    max-width: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

uif {
    width: 100%;
    max-width: 850px;
    padding: 1em;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 1em;
    text-align: center;
}

.container.if {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}

iframe {
    display: block;
    width: 100%;
    max-width: 840px;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

@media (max-width: 700px) {
    body {
        padding-inline: 3px;
    }

    aside {
        align-items: center;
        margin-top: -15px;
        margin-bottom: -25px;
    }

    aside .oif1 {
        flex: 1 1 32%;
		margin-left: 20px;
    }

    aside .oif2 {
        flex: 1 1 68%;
		margin-left: -5px;
    }

    nav img {
        max-width: 100%;
    }

    uif {
        padding: 0.5em;
    }
}

@media (max-width: 380px) {
    aside .oif1 {
        flex-basis: 40%;
    }

    aside .oif2 {
        flex-basis: 0 1 60%;
    }

    aside .oif2 h1 {
		transform:scale(1.4);
        font-size: clamp(0.75rem, 1.5vw, 0.5rem);
    }
	
	aside .oif2 h2 {
		transform:scale(1);
        font-size: clamp(0.75rem, 1.5vw, 0.5rem);
    }
}
