*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(271deg, #E9E8E0 0.58%, #FFF 97.2%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
}

/* .content занимает всю оставшуюся высоту страницы под хедером */
.content {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

img, svg {
    display: block;
    max-width: 100%;
}

:root {
    --content-max-width: 2354px;
}

.content {

}

@media (orientation: portrait) and (min-width: 0px) {
    :root {
        --content-p-x: clamp(8px, 6.5vw, 24px);
    }

    .content {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (orientation: portrait) and (min-width: 834px) {
    :root {
        --content-p-x: clamp(8px, 6.5vw, 24px);
    }

    .content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    :root {
        --content-p-x: clamp(28px, 4.3vw, 110px);
    }

    .content {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
