@font-face {
    font-family: "WTMonarchNova";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/wt-monarch-nova.woff2") format("woff2");
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 100 300;
    font-display: swap;
    src: url("/assets/fonts/lato-300.woff2") format("woff2");
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/lato-400.woff2") format("woff2");
}

:root {
    font-family: "Lato", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

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

html {
    scrollbar-gutter: stable;
}

body {
    color: #333333;
    background: #ffffff;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.maintenance {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    color: #ffffff;
    background: #001048;
}

.maintenance__watermark {
    position: absolute;
    inset: 0;
    background-image: url("/assets/brand/sybp-symbol-white.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90% auto;
    opacity: 0.06;
    pointer-events: none;
}

.maintenance__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

.maintenance__title {
    margin: 0 0 40px;
    color: #ffffff;
    font-family: "WTMonarchNova", sans-serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 42px;
}

.maintenance__message {
    margin: 0 0 60px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 100;
    line-height: 24px;
}

.maintenance__message p {
    margin: 0;
}

.maintenance__message p + p {
    margin-top: 14.4px;
}

.maintenance__logo {
    display: block;
    width: 200px;
    max-inline-size: 100%;
    block-size: auto;
    margin: 0 auto 50px;
}

.maintenance__copyright,
.maintenance__credit {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}

.maintenance__credit span {
    color: #ffffff;
}

.maintenance__copyright {
    margin: 0 0 10px;
    color: #ffffff;
}

.maintenance__credit {
    align-self: center;
    color: #001048;
    text-decoration: none;
}

.maintenance__credit:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.reveal {
    animation-duration: 1.25s;
    animation-fill-mode: both;
}

.reveal--heading {
    animation-name: fade-in-down;
}

.reveal--message {
    animation-name: fade-in-up;
    animation-delay: 1s;
}

.reveal--logo {
    animation-name: zoom-in;
    animation-duration: 2s;
    animation-delay: 2s;
}

.reveal--copyright {
    animation-name: fade-in;
    animation-duration: 2s;
    animation-delay: 4s;
}

.reveal--credit {
    animation-name: fade-in;
    animation-duration: 2s;
    animation-delay: 5s;
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes zoom-in {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .maintenance__watermark {
        background-size: 648px auto;
    }

    .maintenance__inner {
        max-width: 350px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
    }
}
