* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    background: #0d0d0c;
    color: #fffdf2;
    font-family: "Golos Text", sans-serif;
    font-size: 24px;
    line-height: 1;
    text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    color: #fffdf2;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.1s;
}

ol,
ul {
    list-style: none;
}

.page {
    position: relative;
    z-index: 1000;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 auto;
    background-image: url("img/radial.svg");
    background-position: bottom 0 left 0;
    background-size: 300%;
}

.edge {
    width: 100%;
}

.type {
    margin-bottom: 0.5em;
    font-size: 3em;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.links {
    margin-bottom: 1em;
}

.button {
    display: inline-block;
    margin: 0 0.375em 0.5em 0;
    padding: 0.70em 1.25em 0.80em;
    border: 0;
    border-radius: 2em;
    background-color: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-size: inherit;
    line-height: 1.2;
    text-transform: inherit;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition-duration: 0.1s;
}

.button:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.9);
    color: #0d0d0c;
}

.button:focus-visible {
    outline: 3px solid #0077ff;
    outline-offset: 4px;
}

.legal {
    font-size: 0.5em;
    line-height: 1.5;
    letter-spacing: 0.025em;
    opacity: 0.25;
}

.slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.slide,
.slide__image {
    position: absolute;
    inset: 0;
}

.slide__image {
    z-index: 0;
    color: transparent;
    background-image: var(--slide-bg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    opacity: 0;
    backface-visibility: hidden;
}

.slide:first-child .slide__image {
    --slide-bg: url("img/01.jpg");
    animation: imageAnimation 60s linear infinite;
}

.slideshow.is-enhanced .slide:not(:first-child) .slide__image {
    animation: imageAnimation 60s linear infinite var(--slide-delay, 0s);
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    10% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }

    15% {
        opacity: 1;
        transform: scale(1.1);
    }

    20% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
    }
}

@media (min-width: 1px) {
    html,
    body {
        font-size: 14px !important;
    }

    .page {
        padding: 1em;
    }

    .type {
        font-size: 2.2em;
        line-height: 1.1;
    }
}

@media (min-width: 321px) {
    html,
    body {
        font-size: 16px !important;
    }

    .page {
        padding: 1em;
    }

    .type {
        font-size: 2.2em;
        line-height: 1.1;
    }
}

@media (min-width: 361px) {
    html,
    body {
        font-size: 16px !important;
    }

    .page {
        padding: 1em;
    }

    .type {
        font-size: 2.4em;
        line-height: 1.1;
    }
}

@media (min-width: 960px) {
    html,
    body {
        font-size: 18px !important;
    }

    .page {
        padding: 2em 30% 2em 2em;
    }

    .type {
        font-size: 3.2em;
        line-height: 1.1;
    }
}

@media (min-width: 1280px) {
    html,
    body {
        font-size: 20px !important;
    }
}

@media (min-width: 1540px) {
    html,
    body {
        font-size: 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .slide__image {
        animation: none !important;
        transform: none !important;
    }

    .slide:first-child .slide__image {
        opacity: 1;
    }
}
