:root {
    --font-space-grotesk: 'Space Grotesk', sans-serif;
}

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

* {
    margin: 0;
}

html {
    font-size: 16px;
    min-height: 100vh;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    min-height: 100vh;
    padding: 0;
    color: #F0F0F5;
    background: #9a3554;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

.wrapper {
    align-items: center;
    align-self: stretch;
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    min-height: 100vh;
    background: #9a3554 url('/error-pages/assets/bg.jpg') no-repeat center/cover;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 0.5rem .5rem 3rem .5rem;
}

.phone {
    width: 70%;
    max-width: 15rem;
    height: auto;
    object-fit: contain;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
    font-family: var(--font-space-grotesk);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}


@media screen and (min-width: 1920px) {
    .phone {
        max-width: 25rem;
    }

    .content {
        font-size: 2.5rem;
    }

}
