@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Colors */
    --white-color: rgb(255, 255, 255);
    --grey-color: rgb(204, 204, 204);
    --black-color: rgb(0, 0, 0);
    --yellow-color: rgb(247, 250, 91);
    --error-color: rgb(220, 50, 50);

    /* Typography */
    --font-family-funnel: "Funnel Display", sans-serif;
    --font-family-roboto: "Roboto", sans-serif;
    --font-family-roboto-condensed: "Roboto Condensed", sans-serif;

    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

p {
    font-size: var(--wp--preset--font-size--medium);
    line-height: 25px;
}
a {
    text-decoration: none;
}
strong {
    font-weight: var(--font-weight-extrabold);
}

.wp-block-image .aligncenter,
.wp-block-image .alignleft,
.wp-block-image .alignright,
.wp-block-image.aligncenter,
.wp-block-image.alignleft,
.wp-block-image.alignright {
    display: block; /* ios bug fix */
}

/* temporaly hide admin bar on frontend */
#wpadminbar {
    display: none;
}
html {
    margin-top: 0 !important; /* till the end of development */
}

.overflow-hidden {
    overflow: hidden;
}
.overflow-visible {
    overflow: visible;
}
.d-none {
    display: none;
}
.hover-opacity-35:hover {
    opacity: 0.35;
}
.w-100 {
    width: 100%;
}
.gap-0 {
    gap: 0;
}
.hover-bg-yellow:hover {
    background-color: var(--yellow-color);
}
.single .wp-block-post-featured-image,
.parallax.image .image-wrapper,
figure.wp-block-image {
    position: relative;
}
.single .wp-block-post-featured-image::after,
.parallax.image .image-wrapper::after,
figure.wp-block-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--black-color);
    z-index: 1;
    transform: scaleX(1);
    transform-origin: 100% 50%;
    transition: transform 0.65s ease;
}
.single .wp-block-post-featured-image.in-viewport::after,
.parallax.image .in-viewport::after,
figure.wp-block-image.in-viewport::after {
    transform: scaleX(0);
}
header figure.wp-block-image:after,
footer figure.wp-block-image:after,
figure.wp-block-image.no-background:after {
    content: unset;
}

/*
*   Helper classes
*/
.semibold {
    font-weight: var(--font-weight-semibold);
}
.fw-medium {
    font-weight: var(--font-weight-medium);
}

@media screen and (min-width: 768px) {
    body {
        --wp--style--root--padding-right: 30px;
        --wp--style--root--padding-left: 30px;

        /* responsive variables */
        --wp--preset--spacing--15-30: 30px;
        --wp--preset--spacing--15-45: 45px;
        --wp--preset--spacing--30-45: 45px;
        --wp--preset--spacing--45-90: 90px;
        --wp--preset--spacing--90-120: 120px;
        --wp--preset--spacing--90-150: 150px;
    }

    h1 {
        font-size: 135px;
        line-height: 1;
    }
    h2 {
        font-size: 82px;
        line-height: 1.2;
    }
    h3 {
        font-size: 50px;
        font-weight: var(--font-weight-bold);
        line-height: 1.2;
    }
    h4 {
        font-size: 30px;
        font-weight: var(--font-weight-bold);
        line-height: 1.2;
    }
    .hidden-dt {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 75px;
        line-height: 1;
    }
    h2 {
        font-size: 50px;
        line-height: 1.2;
    }
    h3 {
        font-size: 30px;
        font-weight: var(--font-weight-extrabold);
        line-height: 1.2;
    }
    h4 {
        font-size: 18px;
        font-weight: var(--font-weight-bold);
        line-height: 1.2;
    }
    .hidden-mb {
        display: none;
    }
}