@font-face {
    font-family: 'Nodesto';
    src: url('assets/NodestoCyrillic.woff2') format('woff2');
    font-display: swap;
}

:root {
    color: #050301;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-width: 320px;
}

.maintenance {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 100dvh;
    padding: clamp(1.5rem, 3vw, 3.5rem) clamp(1.5rem, 5vw, 6rem) 3rem;
}

.maintenance__logo {
    display: block;
    width: min(23rem, 84vw);
    margin-inline: auto;
}

.maintenance__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.maintenance__message {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: clamp(1rem, 2vh, 2rem) 0;
    text-align: center;
}

.maintenance__illustration {
    display: block;
    width: min(22rem, 62vw);
    max-height: min(50dvh, 28rem);
    height: auto;
    object-fit: contain;
}

h1 {
    width: 100%;
    margin: clamp(.65rem, 1.5vh, 1rem) auto 0;
    font-family: 'Nodesto', Impact, sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 2.4rem);
    font-weight: 400;
    line-height: .88;
    letter-spacing: .01em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 560px) {
    .maintenance {
        padding: 1.5rem 1.25rem 2rem;
    }

    .maintenance__message {
        align-content: center;
    }

    .maintenance__illustration {
        width: min(19rem, 70vw);
        max-height: 46dvh;
    }
}

@media (max-height: 620px) and (min-width: 561px) {
    .maintenance {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .maintenance__logo {
        width: 18rem;
    }

    .maintenance__illustration {
        max-height: 44dvh;
    }
}
