@font-face{
    font-family: "Aller";
    src: url("material/fonts/Aller/Aller.woff2") format(woff2);
}

@font-face{
    font-family:"AllerDisplay";
    src: url("material/fonts/Aller/AllerDisplay.woff2") format(woff2);
}

html{
    font-family: "Aller";
}

header {
    text-align: center;
    /* font-family: "Aller_Display"; */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: teal;
    font-family:"Aller";
    background-color: black;
    font-size: 18px;
}

.languageChanger {
    position: fixed;
    top: 20px;
    right: 20px;

    display: flex;
    gap: 10px;

    z-index: 1000;
}

.languageChanger button {
    width: 45px;
    height: 35px;

    font-weight: bold;
    font-size: 14px;

    border-radius: 6px;
    border: 1px solid #666;

    background: #1f1f1f;
    color: white;
}

.languageChanger button:hover {
    background: #3a3a3a;
}



.kategorie p,
.kategorie li {
    font-size: 1.1rem;
}

/* h1 {
    margin-top: 30px;
    font-size: 72px;
} */

.schriftOben {
    position: static;
    left: 8%;
    bottom:12%;
    color: white;
    font-family:"AllerDisplay";
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    /* background-color:blueviolet; */
}


.schriftOben h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    margin: 0;
}

.schriftOben h6 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-top: 5px;
}


/* .blickImage{
    max-width: 1200px;
} */

.blickImage {
    width: 95%;
    max-width: 1400px;
    height: 500px;
    margin:0 auto;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
}

.blickImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 700px) {
    .blickImage {
        width: 100%;
        height: 30vh;
        border-radius: 0;
    }

    .blickImage img {
        object-position: center;
    }

    .schriftOben {
        left: 5%;
        bottom: 8%;
    }
}


/*.blickImage img{
    width: 95%;
    max-height: 600px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}*/


.karussel{
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2px solid gray;
    border-radius: 10px;
    margin: 20px 0;
}

.karusselElement {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.karusselElement img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.karusselElement.active{
    display:block;
}

.bildunterschrift {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
}

.karussel button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,0.5);
    color: white;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    transition: background-color 0.2s, transform 0.2s;
}

.karussel button:hover {
    background: rgba(0,0,0,0.75);
    transform: translateY(-50%) scale(1.1);
}

.bLinks{
    left: 10px;
}

.bRechts{
    right: 10px;
}

.punkte {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.punkt {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background-color 0.2s;
}

.punkt.active {
    background-color: white;
}

.bildunterschrift{
    padding-top: 20px;
    padding-bottom: 20px;
}

.beschreibung {
    flex: 1;
    color: #d8d8d8;
    line-height: 1.6;
}

.beschreibung li{
    font-size: 25px;
}

main{
    flex: 1;
}


details {
    /* display: inline-block; //Border ist nur um mehr Erfahren*/ 
    border: 2px solid gray;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    width: 90%;
}

summary {
    cursor: pointer;
}

footer{
    text-align: center;
    padding: 20px;
    background-color:#181818;
    color: white;
}

footer p{
    font-size: 20px;
}

footer img{
    padding: 20px;
}

/* .blickfänger {
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;

    background-color: blue;
    background-size: cover;
    background-position: center;
} */

.kategorie {
    padding: 70px 8%;
    background-color: #0b0b0b;

    border-bottom: 2px solid gray;
}

.kategorie.alt {
    background-color: #151515;
}

.kategorie:nth-of-type(even) {
    background-color: #181818;
}

.kategorie h2 {
    font-family: "Aller";
    font-size: 2.4rem;
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
}

.kategorie p {
    font-size: 25px;
    max-width: 1950px;
    line-height: 1.6;
    color: #d8d8d8;
}

.kategorieInhalt {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.kategorieInhalt .karussel {
    flex: 2;
}

.kategorieInhalt .beschreibung {
    flex: 1;
    max-width: 420px;
}

@media (max-width: 900px) {
    .kategorieInhalt {
        flex-direction: column;
    }

    .kategorieInhalt .beschreibung {
        max-width: 100%;
    }
}

.bildunterschrift p{
    font-size:20px;
}