@font-face {
    font-family: GroteskM;
    src: url(Font/SharpGrotesk-Medium25.otf);
}

@font-face {
    font-family: GroteskT;
    src: url(Font/SharpGrotesk-Thin25.otf);
}

body {
    font-size: clamp(0.1rem, -0.6889rem + 7.1111vw, 2rem);
    text-align: center;
    background-color: black;
    margin-top: 15rem;
}

a {
    font-family: GroteskT;
    text-decoration: none;
    color: red;
    z-index: 0;

}

h1:hover {
    color: blue;
    font-family: GroteskM;
    transition: 1s;
}

h1 {
    font-family: Groteskt;


}

img {
    position: relative;
    transform: rotate(90deg);
    bottom: 300px;
    width: 50%;
    z-index: -1;
    animation-name: imgA;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    transition: ease-in-out;

}



h3 {
    color: red;
    z-index: 1;
    font-family: GroteskM;
}


@keyframes imgA {
    0% {
        transform: rotateZ(360deg) rotateY(90deg);
    }

    30% {
        width: 80%;
        transform: rotateY(360deg) rotateZ(90deg);
    }

    80% {
        width: 40%;
        transform: rotateY(120deg) rotateZ(120deg);
    }

    95% {
        width: 20%;
        transform: rotateY(120deg) rotateZ(280deg);
    }

    100% {
        transform: rotateY(50deg) rotateZ(50deg);
        width: 0%;
    }

}