html {
    scroll-behavior: smooth;
    scroll-padding: 32px;

    @media only screen and (max-width: 991px) {
        scroll-padding: 128px;
    }
}

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

section {
    // overflow-x: hidden;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0;
    position: relative;


}



html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
video {
    margin: 0;
    padding: 0;
    border: 0;
    // font-size: 100%;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: none;
    font-size: 1em;
    font-weight: inherit;
}

footer,
header,
nav,
section,
main {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input {
    -webkit-appearance: none;
    border-radius: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}

menu,
ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    font-family: inherit;
    scroll-behavior: smooth;
    margin: 0;

    &.error404 {

        .section-404 {
            padding: 56px 0;


            .container {
                width: min(95%, 1142px);
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 30px;
                align-items: center;
            }

            .left {
                width: 440px;
                max-width: 100%;

                .heading-3 {
                    margin-top: 12px;
                    margin-bottom: 20px;
                }

                a.button.secondary {
                    margin-top: 40px;
                }
            }

            .right {
                width: 587px;
                max-width: 100%;
                height: auto;

                @media only screen and (max-width: 1120px) {
                    width: 400px;
                }

                @media only screen and (max-width: 902px) {
                    width: 100%;

                    img {
                        width: 100%;
                    }
                }
            }
        }

        main>.container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            align-items: center;
            gap: 16px;

            .display-1 {
                margin: 0;
                margin-top: 64px;
            }
        }
    }
}

* {
    box-sizing: border-box;
}

body.page-template-prestyle {

    main {
        .container {
            width: min(90%, 906px);

            .main-title {
                padding-top: 72px;
                margin-bottom: 40px;
                font-size: 40px;
                font-style: normal;
                font-weight: 600;
                line-height: 120%;
                /* 48px */
                letter-spacing: -0.4px;
            }

            h1,
            h2,
            h3,
            h4,
            h5,
            h6 {
                margin: 0;
                font-size: 20px;
                font-style: normal;
                font-weight: 600;
                line-height: 140%;
                color: var(--black-500);
            }

            ul {
                padding-left: 15px;
                list-style-type: circle;
            }

            table {
                font-size: 18px;
                font-style: normal;
                font-weight: 500;
                line-height: 150%;

                td {
                    padding: 10px;
                    border-color: var(--grey-300);
                }

                strong {
                    font-weight: 600;
                }
            }

            a {
                text-decoration: underline;
                text-decoration-thickness: .5px;
            }

            p {
                font-size: 18px;
                font-style: normal;
                font-weight: 500;
                line-height: 150%;
            }
        }
    }
}

#wpadminbar {
    opacity: 0;
    transition: .5s;

    &:hover {
        opacity: 1;
    }
}

[class^="heading-"],
[class^="heading-"]>* {

    b,
    strong {
        font-weight: 700;
    }
}