html {
    padding: 0px;
    margin: 0px;
    font-family: Roboto;
    scroll-behavior: smooth;
}


img {
    object-fit: cover;
    width: 100%;
    height: 100%;

}

#mainnav {
    position: fixed;
    right: 9vw;
    top: 17vh;
}


#menutoggle {
    transform-origin: top right;
    height: 4vh;
    width: 4vh;
    background-color: white;
    position: absolute;
    right: 0;
    top: 0;
    translate: -1vw ;
    transition: all 0.5s;
    border-radius: 0;
    z-index: 30000;

    /* Aus irgendwelchen Gründen erscheint das Menü nicht über den Karten im 'Creative Coding' 
    Bereich. Ich habe wahrscheinlich etwsa übersehen*/

}

.active #menutoggle {
    border-radius: 4vh;
}

.jumpermenu {
    position: relative;
    transform-origin: top right;
    padding-top: 40px;
    scale: 0;
    height: auto;


    opacity: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.0);

    border-width: .5vw;
    border-color: white;
    border-style: dashed;
    
    translate: calc(-.5vw) calc(-.5vw);

    margin: 0;
    padding: 0;

    display: grid;
    grid-template-rows: repeat(5, 1fr);
    justify-content: center;
    align-items: center;



    backdrop-filter: blur(10px);
    transition: all 0.5s;
}



.active .jumpermenu {
    scale: 1;
    opacity: 100;
    padding-top: 4vh;
    padding-bottom: 4vh;
}

.menu-item {
    color: white;
    font-size: 2vh;
    font-family: Roboto;
    font-style: normal;
    text-decoration: none;
    position: relative;
    text-align: right;
    width: auto;
    height: auto;
    padding: 1vw;
}





.trenner {
    width: 100%;
    height: .4vh;
    background-color: white;



}

#zillius {
    width: 80vw;
    height: auto;

    padding: 2%;
    margin-bottom: 3vh;
    margin-top: 3vh;

}

.container-header {
    font-family: Roboto;
    font-weight: 500;
    font-size: 5vw;
    text-align: left;
    font-style: italic;
    padding-left: 3vw;
}

.container {
    background-color: rgb(0, 0, 0);
    margin: 10px auto;
    width: 80vw;
    border-radius: .2rem;
    display: flex;
    justify-content: center;

}


.bio {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-style: italic;
    margin-bottom: 0%;
    min-width: 100px;

}

.me {
    width: 50%;
    height: auto;
    border-radius: 1%;

}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 0px;
    justify-content: center;
    width: 100%;
    height: 100%;

}



.gallery-item {
    margin: 1%;
    max-width: 1fr;

    overflow: hidden
}

.music {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.albumselector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 7vh;
    gap: 1vh;
    margin: 1vh 0;
}

.album {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: rgb(0, 0, 0);
    text-align: center;
    border-radius: 1vh;
    transition: all 0.5s;
    border: 2px white;
    border-style: solid;
    font-size: 3vw;
    font-weight: 500;

}

.album:hover {
    background-color: rgb(255, 255, 255);
    color: black;

}

.album:active {
    background-color: rgb(255, 255, 255);
    color: black;
}

.coding {

    display: grid;
    grid-template-columns: 1fr 1fr;

}



.flipcard {
    z-index: 1;
    transform: none;

    position: relative;
    perspective: 4000px;
}

.card {
    z-index: 1;
    padding: .5vw;
    transform-style: preserve-3d;
    transition: all 0.5s;
}

.flipcard:hover .card {
    z-index: 1;
    cursor: pointer;
    transform: rotateZ(90deg) rotateX(-180deg);
}

.front,
.back {
    z-index: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;

}



.back {
    text-align: center;
    color: black;
    background-color: rgb(255, 255, 255);
    transform: rotateZ(90deg) rotateX(180deg);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    backface-visibility: hidden;
}

.websites {

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-decoration: none;
    justify-content: center;
    align-items: center;


    width: 80vw;
}


.websites>a {
    width: auto;
    height: auto;
    width: 100%;
    text-align: center;
    font-family: Roboto;
    font-weight: 500;
    font-size: 2vh;
}

.websites>div {

    color: white;
    margin: 2vw;
    width: auto;
    flex: 1;

}

.websites>div:hover {
    color: black;
    text-shadow: 0 0 5px white;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer>a {
    margin: 1vw;

    color: white;
    text-decoration: none;
}

.impressum {
    display: flex;
    justify-content: center;
    align-items: center;
}

.adress {

    margin-top: 4vh;
    text-align: center;
    padding: 2vh;
    border: .5vh;
    border-color: white;
    border-style: dashed;
    width: max-content;
}

.MySocials {
    justify-self: center;
    display: flex;
    width: 50vw;
    padding-top: 4vh;
    display: flex;
    justify-content: center;
    


}

.MySocials>a {
    width: 100%;
    text-align: center;
    color: rgb(187, 187, 187);
    text-decoration: none;
    flex: 1;
    transition: all 0.5s;
    padding: 4vw;
}

    .MySocials >a:hover{
        color: white;
        scale: 1.1;
    }
@media screen and (min-width: 800px) {
    .gallery {

        grid-template-columns: repeat(3, 25%);
    }

    .coding {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


/* roboto-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v47-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/roboto-v47-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v47-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/roboto-v47-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}