@font-face {
    font-family: "durik";
    src: url("res/durik.otf") format("opentype");
    font-display: swap;
}

html, body {
    height: 100%;
    margin: 0;
    --shadow-color: rgba(0, 0, 0, 128);
}

body {
    background: #000;
}


.mainscreen {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintext {
    font-family: "durik", sans-serif;
    font-size: clamp(48px, 8vw, 140px);
    letter-spacing: 0.03em;
    color: #FFF9DB;
    text-align: center;
    z-index: 2;
    user-select: none;
    filter: drop-shadow(6px 6px 0px var(--shadow-color));
    font-kerning: normal;
}

.background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0;
    transition: opacity 1200ms ease;
}

.background.is-active {
    opacity: 1;
}
