/* global */
*,
::before,
::after {
    box-sizing: border-box;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-link-normal);
}

[hidden] {
    display: none !important;
}

:root {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    font-size: 16px;
}

@keyframes moveRadialGradient {
    0% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 0,
            20% 30%;
    }
    10% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 50%,
            80% 10%;
    }
    20% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 100%,
            15% 85%;
    }
    30% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 150%,
            90% 70%;
    }
    40% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 200%,
            5% 45%;
    }
    50% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 250%,
            75% 95%;
    }
    60% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 300%,
            40% 5%;
    }
    70% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 350%,
            95% 40%;
    }
    80% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 400%,
            10% 75%;
    }
    90% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 450%,
            65% 20%;
    }
    100% {
        background-size:
            10rem 10rem,
            200% 200%;

        background-position:
            0 500%,
            20% 30%;
    }
}

/* content */
body {
    margin: 0;
    padding: 0;
    background:
        url("assets/logo-bg.svg"),
        radial-gradient(
            circle at 50% 50%,
            #aa0000 0%,
            #110000 1%,
            #000000 4%,
            #000000 100%
        );
    background-size:
        10rem 10rem,
        200% 200%;
    background-repeat: repeat, no-repeat;
    animation: moveRadialGradient 120s linear infinite;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    perspective: 600px;
    overflow: hidden;
}

@keyframes spin3d {
    0% {
        transform: rotateY(0deg) rotateX(15deg);
        filter: brightness(1.3) drop-shadow(8px 0 15px rgba(211, 211, 211, 0.4));
    }
    25% {
        transform: rotateY(90deg) rotateX(20deg);
        filter: brightness(0.6) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
    }
    50% {
        transform: rotateY(180deg) rotateX(15deg);
        filter: brightness(0.4) drop-shadow(-8px 0 15px rgba(0, 0, 0, 0.7));
    }
    75% {
        transform: rotateY(270deg) rotateX(10deg);
        filter: brightness(0.8)
            drop-shadow(0 -8px 20px rgba(211, 211, 211, 0.3));
    }
    100% {
        transform: rotateY(360deg) rotateX(15deg);
        filter: brightness(1.3) drop-shadow(8px 0 15px rgba(211, 211, 211, 0.4));
    }
}

.header__logowrap {
    max-width: 50rem;
    margin: 3rem;
    transform-style: preserve-3d;
    animation: spin3d 8s linear infinite;
}

.header__logo {
    width: 100%;
    height: auto;
    fill: #d3d3d3;
}
