@keyframes animation-1 {
    0% {
        visibility: hidden;
    }
    1%,
    24% {
        visibility: visible;
    }
    25%,
    100% {
        visibility: hidden;
    }
}
@keyframes animation-2 {
    0%,
    24% {
        visibility: hidden;
    }
    25%,
    49% {
        visibility: visible;
    }
    50%,
    100% {
        visibility: hidden;
    }
}
@keyframes animation-3 {
    0%,
    49% {
        visibility: hidden;
    }
    50%,
    74% {
        visibility: visible;
    }
    75%,
    100% {
        visibility: hidden;
    }
}
@keyframes animation-4 {
    0%,
    74% {
        visibility: hidden;
    }
    75%,
    99% {
        visibility: visible;
    }
    99%,
    100% {
        visibility: hidden;
    }
}
* {
    /* Sorgt dafür, dass width und height machen, was man erwartet */
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Archivo Variable", sans-serif;
    font-weight: 900;
    color: black;
    margin: 0;
    cursor:
        url("/assets/cursor/pfeil.png") 0 0,
        auto;
}
a:hover {
    color: #ef4923;
}
a {
    text-decoration: none;
    color: inherit;
}
nav a:hover {
    cursor:
        url("/assets/cursor/pfeil.png") 0 0,
        auto;
}
#projects {
    padding-top: 4rem;
    a {
        cursor:
            url("/assets/cursor/pfeil.png") 0 0,
            auto;
    }
    img {
        cursor:
            url("/assets/cursor/pfeil.png") 0 0,
            auto;
    }
    p {
        text-transform: uppercase;
        margin-top: 0.5;
        margin-bottom: 1rem;
        font-size: clamp(1.125rem, 0.9rem + 1vw, 2.5rem);
    }
}
.blackground {
    background-color: black;
    color: white;
    margin: 0;
}
.stickyheader {
    position: fixed;
    top: 0;
    text-transform: uppercase;
    font-size: clamp(1rem, 0.55rem + 2vw, 3.75rem);
    width: 100%;
    background: transparent;
    z-index: 1000; /*z index überlagert alles*/
}
nav a.farbe {
    color: #ef4923;
}
.mainmenu {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    align-items: flex-start;
    ul {
        display: flex;
        list-style: none; /*punkte entfernt*/
        margin: 0;
        padding: 0;
        gap: 1.5rem;
    }
    a {
        text-decoration: none;
        color: inherit;
        align-items: flex-start;
    }
    a:hover {
        color: #ef4923;
    }
}

.white {
    margin-top: 0;
    color: black;
}

.name {
    display: grid;
    place-content: center;
    min-height: 100vh;
    margin-left: 1rem;
    margin-right: 1rem;

    img {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
        grid-column-start: 1;
        grid-row-start: 1;
        visibility: hidden;
        animation-duration: 2000ms;
        animation-iteration-count: infinite;

        &:first-child {
            animation-name: animation-1;
        }
        &:nth-child(2) {
            animation-name: animation-2;
        }
        &:nth-child(3) {
            animation-name: animation-3;
        }
        &:nth-child(4) {
            animation-name: animation-4;
        }
    }
}

img {
    width: 100vw;
    object-fit: cover;
}
p {
    font-size: clamp(1rem, 0.9386rem + 0.2727vw, 1.375rem);
    margin-inline: 0.5rem;
    margin-top: 0;
    text-transform: uppercase;
}
ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.about {
    margin-top: 7rem;
    display: flex;
    text-transform: uppercase;
    align-items: flex-start;
    img {
        width: 50%;
        height: auto;
    }
    p {
        font-size: clamp(1rem, 0.9386rem + 0.2727vw, 1.375rem);
    }
    .text {
        flex-direction: column;
    }
    .hi {
        color: #ef4923;
        font-size: clamp(1rem, 0.55rem + 2vw, 3.75rem);
        font-weight: 900;
        font-style: normal;
        text-transform: uppercase;
        margin-left: 0.5rem;
        margin-bottom: 0;
    }
}

em {
    text-transform: uppercase;
    font-style: normal;
}
.mobile {
    display: none;
}
.visual-images {
    img {
        margin: 0;
        padding: 0;
    }
}

.ott {
    margin-top: 7rem;
    p {
        width: 100%;
        font-size: 16px;
    }
}

.flaschen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
    margin-top: 3rem;
    margin-left: 2rem;
    img {
        object-fit: contain;
        height: 700px;
        width: 50%;
        gap: 1rem;
    }
}
.bottle {
    display: flex;
    align-items: end;
    gap: 2rem;
}
.plakate {
    margin-top: 5rem;
    img {
        width: 50%;
        gap: 1rem;
    }
}
.elf {
    display: flex;
    align-items: flex-start;
}
.raum {
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    gap: 1.2rem;
    p {
        margin: 0;
    }
}
.vs {
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    p {
        margin-top: 1rem;
    }
}
.vs {
    div {
        gap: 1.2rem;
        display: flex;
        flex-direction: column;
    }
}
.schrift {
    margin-top: 5rem;
}
.opener {
    margin-bottom: 1rem;
}
.gap {
    margin-bottom: 1rem;
}
footer {
    cursor:
        url("/assets/cursor/pfeil.png") 0 0,
        auto;
}
footer ul {
    margin-bottom: 0;
    text-transform: uppercase;
    a {
        text-decoration: none;
        color: inherit;
        cursor:
            url("/assets/cursor/pfeil.png") 0 0,
            auto;
    }
    a:hover {
        color: #ef4923;
    }
}
.impress {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    main {
        margin-top: auto;
    }
    footer {
        margin-top: auto;
    }
    p {
        text-transform: uppercase;
        font-size: 16px;
    }
}
h1 {
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-size: 20px;
}
.data {
    margin-top: 5rem;
    h2 {
        margin-left: 0.5rem;
        text-transform: uppercase;
        font-size: 20px;
    }
}
@media (max-width: 1024px) {
    .mobile {
        display: inline;
    }
}
@media (max-width: 1000px) {
    .mainmenu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    #projects {
        padding-top: 15%;
    }
}
@media (max-width: 480px) {
    .about {
        margin-top: 7rem;
        display: flex;
        flex-direction: column-reverse;
        img {
            width: 100%;
            height: auto;
        }
    }
    .ott,
    .raum,
    .vs {
        margin-top: 5rem;
    }
    .flaschen {
        grid-template-columns: 1fr;
    }
    .elf {
        img {
            width: 60%;
        }
    }
    #projects {
        padding-top: 18%;
    }
}
