@font-face {
    font-family: eka;
    src: url(fontit/UnifrakturMaguntia/UnifrakturMaguntia-Regular.ttf);
}
@font-face {
    font-family: toka;
    src: url(fontit/Bungee/Bungee-Regular.ttf);
}
@font-face {
    font-family: kolmas;
    src: url(fontit/Margarine/Margarine-Regular.ttf);
}
@font-face {
    font-family: neljas;
    src: url(fontit/Molle/Molle-Italic.ttf);
}
@font-face {
    font-family: viides;
    src: url(fontit/Helvetica/Helvetica.ttf);
}
body {
    text-align: center;
    place-items: center;
    background-color: var(--bg);
    display: grid;
    overflow: hidden;
    justify-content: center;
    font-family: toka;
}
@import 
url("https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap");
:root {
    --bg: #000;
    --clr-1: #e20303;
    --clr-2: #b90101;
    --clr-3: #ff2626;
    --clr-4: #720000;

    --blur: 1rem;
    --fs: clamp(3rem, 8vw, 7rem);
    --ls: clamp(-1.75px, -0.25vw, -3.5px);
}
*,
*::before,
*::after {
    font-family: inherit;
    box-sizing: border-box;
}
p {
    position: relative;
}

.eka {
    font-family: eka;
    color: #fff;
    font-size: 80px;
    margin-top: 80px;
}
.toka {
    font-family: toka;
    color: #e20303;
    font-size: 100px;
    margin-top: -115px;
}
.content {
    text-align: center;
}
/* .title {
    font-size: var(--fs);
    font-weight: 800;
    letter-spacing: var(--ls);
    position: relative;
    overflow: hidden;
    background: var(--bg);
    color: #e20303;
    font-size: 100px;
    margin: 0;
}
.subtitle {

}
.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: darken;
    pointer-events: none;
}
.aurora__item {
    overflow: hidden;
    position: absolute;
    width: 60vw;
    height: 60vw;
    background-color: var(--clr-1);
    border-radius: 37% 29% 27% 27% / 28% 
    25% 41% 37%;
    filter: blur(var(--blur));
    mix-blend-mode: overlay;
}
.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border 6s ease-in-out infinite,
  aurora-1 12s ease-in-out infinite alternate;
}
.aurora__item:nth-of-type(2) {
    background-color: var(--clr-3);
    right: 0;
    top: 0;
    animation: aurora-border 6s ease-in-out infinite,
    aurora-2 12s ease-in-out infinite alternate;
}
.aurora__item:nth-of-type(3) {
    background-color: var(--clr-2);
    left: 0;
    bottom: 0;
    animation: aurora-border 6s ease-in-out infinite,
    aurora-3 8s ease-in-out infinite alternate;
}
.aurora__item:nth-of-type(4) {
    background-color: var(--clr-4);
    right: 0;
    bottom: -50%;
    animation: aurora-border 6s ease-in-out infinite,
    aurora-4 24s ease-in-out infinite alternate;
}
@keyframes aurora-1 {
    0% {
        top: 0;
        right: 0;
    }
    50% {
        top: 100%;
        right: 75%;
    }
    75% {
        top: 100%;
        right: 25%;
    }
    100% {
        top: 0;
        right: 0;
    }
}
@keyframes aurora-2 {
    0% {
        top: -50%;
        left: 0;
    }
    60% {
        top: 100%;
        left: 75%;
    }
    85% {
        top: 100%;
        left: 25%;
    }
    100% {
        top: -50%;
        left: 0%;
    }
}
@keyframes aurora-3 {
    0% {
        bottom: 0;
        left: 0;
    }
    40% {
        bottom: 100%;
        left: 75%;
    }
    65% {
        bottom: 40%;
        left: 50%;
    }
    100% {
        bottom: 0;
        left: 0;
    }
}
@keyframes aurora-4 {
    0% {
        bottom: -50%;
        right: 0;
    }
    50% {
        bottom: 0%;
        right: 40%;
    }
    90% {
        bottom: 50%;
        right: 25%;
    }
    100% {
        bottom: -50%;
        right: 0;
    }
}
@keyframes aurora-border {
    0% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }
    25% {
        border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
    }
    50% {
        border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
    }
    75% {
        border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
    }
    100% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }
} */
.kolmas {
    font-family: kolmas;
    color: #fff;
    font-size: 80px;
    margin-top: -165px;
    text-shadow: 0 0 5px #d60000, 0 0 10px #b90101, 0 0 20px #b60404, 0 0 40px #800101, 0 0 80px #6b0101;
    animation: glow 1.5s infinite alternate;
}
@keyframes glow {
    0% {
        text-shadow: 0 0 5px #d60000, 0 0 10px #b90101, 0 0 20px #b60404, 0 0 40px #800101, 0 0 80px #6b0101;
    }
    100% {
        text-shadow: 0 0 5px #d60000, 0 0 10px #b90101, 0 0 20px #b60404, 0 0 40px #800101, 0 0 80px #6b0101;
    }
}
.neljas {
    font-family: neljas;
    color: #fff;
    font-size: 50px;
    margin-top: -120px;
    text-shadow: 
    1px 1px 0px #e20303,
    2px 2px 0px #b60404,
    3px 3px 0px #9e0202,
    4px 4px 0px #7e0202,
    5px 5px 0px #6b0101;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    animation: spin-3d 4s infinite linear;
}
@keyframes spin-3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.viides-container {
    position: relative;
    overflow: hidden;
}
.viides {
    font-family: viides;
    font-weight: bold;
    font-size: 90px;
    color: #fff;
    margin-top: -65px;
    position: relative;
    animation: melt 3s infinite ease-in-out;
    background: linear-gradient(90deg, #ff0202, #d60000, #b90101);
    -webkit-background-clip: text;
    color: #e20303;
}
.viides::before,
.viides::after {
    content: 'MASTERPIECE';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #aa0101, #b60404, #800101);
    -webkit-background-clip: text;
    color: transparent;
    z-index: -1;
    transform: scaleY(1);
    opacity: 0.5;
    animation: drip 3s infinite ease-in-out;
}
.viides::after {
    filter: blur(10px);
    opacity: 0.3;
}
@keyframes melt {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}
@keyframes drip {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 0.7;
    }
}
