body{
    background-color: var(--background);
    position: relative;
    /*perspective: 1000px;*/
    overflow-y: hidden;
    top: 0;
    margin: 0;
    width: 100%;
  height: 350vh;
}
html, body {
    overflow-x: hidden;
    scrollbar-width: none;
}

:root {
    --background: hwb(0 100% 0%);
    --schrift: black;
}
/*
.container-headlline {
    top: 0;
    z-index: 1000;
    left: 2px;
}*/
.Ueberschrift{
    font-size: 1.3rem;
    font-family: "cmu";
    background-color: transparent; 
    text-transform: uppercase;
    letter-spacing: -1px;
}
/*
.Ueberschrift:hover ~ .note {
    opacity: 1;
    z-index: 1000;  
}
*/
.note {
    /*opacity: 0;*/
    position: relative;
    top: 1%;
    left: 1%;
    width: 40vw;
    text-align: left;
    color: var(--schrift);
    z-index: -10;
    font-family: "cmuroman";
    line-height: 1.1;
    word-spacing: -25%;
    font-size: 1rem;
}

.grid {
    position: absolute;
    width: 100%;
    height: 350vh;
    overflow: visible;
    transform-style: preserve-3d;
    perspective: 350vh;
}
.post {
    animation: fall 10s linear infinite;
    position: absolute; 
    width: 150px; 
    height: auto;
    transform: none;
    transform-style: preserve-3d;
    image-rendering: crisp-edges;
}

.masked-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; 
  }
  
.masked-image[style*="mask-image"] {
    background-color: transparent;
  }
    
 /*   
.post:hover {
    animation-play-state: paused;
}
    */

.post img {
    width: 20vw;
    height: 35vh;
    object-fit: cover;
    max-width: none;
    max-height: none;
    margin-bottom: 2px;
}
.post img:hover {
    filter: none;
}

.post p {
    font-size: 0.9rem;
    margin: 1em;
    color: var(--schrift);
    line-height: 1.1em;
}

.post a {
    text-decoration: none;
}
.details1 summary {
    list-style: none;
    text-transform: uppercase;
    font-size: 0.6rem;
    text-align: center;
    font-family: "cmu";
}
.details1 summary p {
    margin-top: -4em;
}
.details1 summary img {
    animation: rotate 40s linear infinite;
    transform-style: preserve-3d;
}
.details1 summary::-webkit-details-marker {
    display: none; 
}

.details1 .details1-content img {
    width: 100%;
    height: 60vh;
    max-height: 60vh;
    width: auto;
}
.details1-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100vw;
    text-align: center;
    font-family: "cmubold";
}
.title-details1 {
    font-family: "cmu";
    text-transform: uppercase;
    font-size: 1.1rem;
    word-spacing: -3px;
    letter-spacing: -1px;
}

.image-gallery {
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    gap: 0.3em;
    text-align: left;
    max-width: 80vw;
    height: auto;
    object-fit: contain;
}

.beschreibung {
    text-align: left;
    width: 30vw;
    max-width: 100vw;
    line-height: 1.1;
    font-family: "cmubold";
}

.details2 {
    position: fixed;
    right: 0.4vw;
    z-index: 9999;
    transition: transform 0.3s ease;
    font-family: "cmubold";
    list-style: none;
    height: 2vh;
    width: 13vw;
    color: var(--schrift);
    text-align: left;
}
.details2 summary {
    list-style: none;
    text-align: right;
    margin-right: 1vw;
}
.details2 summary::-webkit-details-marker {
    display: none; 
}
.details2[open] form {   
    transform: translateX(-8vw);
    transition: transform 0.4s ease;
}
form {
    color: var(--schrift);
}
input,
textarea,
send,
button {
    font-family: "cmuroman";
    line-height: 1;
}
button {
    color: var(--schrift);
}
.details2 > p {
    color: var(--schrift);
}
.Erklärung {
    opacity: 0;
    position: relative;
    line-height: 1.1;
    word-spacing: -20%;
    width: auto;
    font-family: "cmuroman";
    font-size: 1rem;
    text-align: left;
}
.upload-btn:hover ~ .Erklärung {
    opacity: 1;
    right: 0.5vw;
} 

.upload-btn {
    color: var(--schrift);
    font-family: "cmu";
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.btn-download {
    text-decoration: none;
    color: var(--schrift);
    position: relative;
    font-family: "cmubold";
    font-size: 0.8rem;
    margin-left: 0.9vw;
}
.download-links {
    font-family: "cmubold";
    font-size: 0.7rem;
}
.btn-download:hover {
    text-decoration: underline dotted var(--schrift) 3px;
    -webkit-text-decoration: underline dotted var(--schrift) 3px;
}

@keyframes fall {
    0% {
        transform: translateY(-200px);
    }
    100% {
        transform: translateY(100vh);
    }
}
/*
@keyframes rotate {
    0% {
        transform: translateZ(0px) rotateX(0deg) rotateZ(0deg) rotateY(0deg);
    }
    20% {
        transform: translateZ(20px) rotateX(150deg) rotateZ(0deg) rotateY(-90deg);
      }
    50% {
        transform: translateZ(40px) rotateX(300deg) rotateZ(0deg) rotateY(-180deg);
      }
    100% {
        transform: translateZ(80px) rotateX(360deg) rotateZ(0deg) rotateY(-360deg);
      }
}*/

@keyframes rotate1 {
    0% { transform: translateZ(0px) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateZ(30px) rotateX(200deg) rotateY(-160deg); }
    100% { transform: translateZ(60px) rotateX(360deg) rotateY(-360deg); }
}

@keyframes rotate2 {
    0% { transform: translateZ(0px) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateZ(40px) rotateX(250deg) rotateY(-140deg); }
    100% { transform: translateZ(70px) rotateX(360deg) rotateY(-360deg); }
}

@keyframes rotate3 {
    0% { transform: translateZ(0px) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateZ(35px) rotateX(140deg) rotateY(-180deg); }
    100% { transform: translateZ(120px) rotateX(360deg) rotateY(-360deg); }
}
@media (min-width: 1920px) {
    .note {
        font-size: 1.2rem;
        width: 35vw;
    }
    .Erklärung{
        font-size: 1.2rem;
    }
    form {
        height: 60vh;
    }
    textarea {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}
.Impressum {
    position: relative;
    font-family: "cmu";
    font-size: 1rem;
    position: fixed;
    bottom: 6em;
    left: 1em;
    text-transform: uppercase;
    z-index: 100;
}
.Imptext {
    position: absolute;
    font-family: "cmuroman";
    opacity: 0;
    bottom: 80%;
    width: 1000px;
}
.Impressum:hover .Imptext {
    opacity: 1;
}
