.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.loader-wrapper {
    z-index: 2000;
    display: block;
}

.loader-wrapper canvas {
    width: 100%;
    height: 100%;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body.closed {
    opacity: 0;
}

/* site styles */

:root {
    --background: #2A2927;
    --main-font-color: #ffffff;
    --accent: #ff1313;
    --accent-hover: #d00000;
    --razorLetterColor: #ff1313;
    --container-width: min(1160px, calc(100vw - 80px));
}

html {
    scrollbar-color: var(--accent) #fff;
    scrollbar-width: thin;
}

html::-webkit-resizer {
    width: 8px;
    height: 8px;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-button {
    width: 8px;
    height: 0;
}

html::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: var(--accent);
}

html::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: var(--accent);
}

html::-webkit-scrollbar-track {
    background: var(--background);
}

body{
    background: #0A0A0A;
}

body.safari {
    cursor: default;
}

body.safari a,
body.safari button {
    cursor: pointer;
}

body.safari .cursor-wrp {
    display: none;
}

body.theme--light {
    --background: #FFFFFF;
    --main-font-color: #2A2927;
    --border-color: rgba(0, 0, 0, 0.06);
    background-color: var(--background)
}

body.theme--light .site-logo {
    filter: invert(.9);
}

body.theme--light .navbar-section {
    border-bottom: var(--border-color) 1px solid;
}

body.theme--light .navbar-menu__item:not(:hover),
body.theme--light .footer .h5 {
    color: var(--main-font-color);
}

body.theme--light .navbar-menu__dropdown,
body.theme--light .blur-wrapper {
    border-color: var(--border-color);
}

body.theme--light .navbar-section {
    background-color: var(--background);
}

body.theme--light .menu-burger__line {
    background-color: var(--main-font-color);
}

body.theme--light .accent-bg {
    opacity: 1 !important;
}

.cursor-border.link {
    width: 28px;
    height: 28px;
    border-color: #d00000;
}

.three-js-canvas {
    width: 100%;
    height: 100%;
}

.animation-step {
    pointer-events: none;
}

.single-point::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
}

.blur-bg {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.blur-wrapper {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: inset rgba(255, 255, 255, 0.01) 0 0 5px 0;
}

.navbar-menu__item.navbar-menu__item--drop:after,
.navbar-menu__item.navbar-menu__item--drop::before {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

.navbar-menu__item.navbar-menu__item--drop::after {
    position: absolute;
    content: "+";
    right: 0;
    opacity: 1;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.navbar-menu__item.navbar-menu__item--drop::before {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
}

.navbar-menu__item.navbar-menu__item--drop:hover::before {
    content: "_";
    -webkit-animation: slashBlink 1s linear 0.4s infinite;
    animation: slashBlink 1s linear 0.4s infinite;
}

.navbar-menu__item.navbar-menu__item--drop:hover::after {
    opacity: 0;
}

@keyframes slashBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.cursor-wrp {
    pointer-events: none;

}

@media(min-width: 1025px) {
    .cursor-wrp {
        display: flex;
    }
}

.learn-more-btn {
    width: min-content;
}

.learn-more-btn>.learn-more-btn__arrow svg path {
    transition: 0.4s;
}

.learn-more-btn:hover>.learn-more-btn__arrow svg path {
    fill: var(--accent);
}

@keyframes linesUp {
    0% {
        bottom: -30px;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        bottom: 100%;
    }
}

.under-threelines-section .red-line {
    animation-name: linesUp;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.under-threelines-section .red-line.red-line_1--first {
    animation-duration: 5s;
    animation-delay: 2s;
}

.under-threelines-section .red-line.red-line_1--second {
    animation-duration: 10s;
    animation-delay: 4s;
}

.under-threelines-section .red-line.red-line_2--first {
    animation-duration: 8s;
    animation-delay: 1s;
}

.under-threelines-section .red-line.red-line_2--second {
    animation-duration: 9s;
    animation-delay: 3s;
}

.under-threelines-section .red-line.red-line_3--first {
    animation-duration: 6s;
    animation-delay: 1.4s;
}

.under-threelines-section .red-line.red-line_3--second {
    animation-duration: 11s;
    animation-delay: 2s;
}

.btn:not(.btn--circle)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 200%;
    height: 200%;
    background-color: var(--accent-hover);
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center bottom;
    border-radius: 50%;
    transition-property: transform;
    transition-duration: 0.4s;
    transition-timing-function: ease;
    transition-delay: 0s;
    z-index: -1;
}

.btn:not(.btn--circle):hover::before {
    transform: translate(-50%, -50%) scale(1);
}


.article__rich>*:first-child {
    margin-top: 0 !important;
}

.article__rich blockquote::before,
.article__rich blockquote::after {
    content: "</>";
    color: var(--accent);
}


.labs__link {
    all: inherit;
    display: inline;
}

.tabs__item:after {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    background-color: var(--accent);
    left: 17px;
    top: 50%;
    opacity: 0;
    transition: all 0.2s;
    border-radius: 50%;
    transform: translateY(-50%);
}

.tabs__item.w--current:after {
    width: 3px;
    height: 3px;
    opacity: 1;
    left: 7px;
}

.tabs__item.tabs__item--incolumn {
    transition: all 0.4s;
}

.tabs__item.w--current.tabs__item--incolumn {
    padding-left: 10px;
    padding-right: 7px;
}

.tabs__item.w--current.tabs__item--incolumn:after {
    left: 0px;
}

.tabs-wrp--incolumn {
    height: min-content;
}

.draw {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {
    .particle-slider-wrp {
        left: calc(var(--container-width) * 1.2 / (2.2 * 2));
    }
}


@media (min-width: 992px) {
    .navbar-menu-item-wrp .navbar-menu__dropdown {
        transition-delay: 0.3s;
    }

    .navbar-menu-item-wrp:hover .navbar-menu__dropdown {
        z-index: 20;
        opacity: 1;
        transform: scale(1) translate(0%);
    }

    .navbar-menu__dropdown {
        width: fit-content;
    }

    .problems-content__cards:after {
        position: absolute;
        content: "";
        width: 40px;
        height: 40px;
        background: transparent;
        right: 0;
        top: 0;
    }
}

@media (max-width: 991px) {
    .header.navbar-section::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 1px;
        left: 0;
        background-color: inherit;
        z-index: 2;
        display: block;
    }

    .navbar-menu-item-wrp {
        width: min-content;
    }

    .navbar-menu-item-wrp .navbar-menu__dropdown {
        transition: max-height 1s;
        max-height: 0px;
        -webkit-backdrop-filter: unset;
        backdrop-filter: unset;
        background: none;
    }

    .navbar-menu-item-wrp:hover .navbar-menu__dropdown {
        max-height: 400px;
    }

    .problems-content__card--last::after {
        position: absolute;
        content: "";
        top: 0;
        right: -15px;
        background: transparent;
        width: 15px;
        height: 100%;
    }

    .navbar-menu-item-wrp:hover .navbar-menu__item {
        color: var(--accent);
    }

    .navbar-menu-item-wrp:hover .navbar-menu__item:after {
        opacity: 0;
    }

    .navbar-menu-item-wrp:hover .navbar-menu__item:before {
        content: "_";
        -webkit-animation: slashBlink 1s linear 0.4s infinite;
        animation: slashBlink 1s linear 0.4s infinite;
    }
}


@media (max-width: 767px) {
    .particle-slider-wrp {
        pointer-events: none;
    }

    .tabs__item.w--current.tabs__item--incolumn {
        padding-left: 17px;
        padding-right: 17px;
    }

    .tabs__item.w--current.tabs__item--incolumn:after {
        left: 7px;
    }

    .sticky__cards::after {
        content: '';
        height: 1px;
        width: 1px;
        margin-left: -11px;
    }
}

@media (max-width: 479px) {

    .h1,
    .h2,
    .h3,
    .h4,
    .h5 {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
    }

    .sticky__cards::after {
        margin-left: -25px;
    }
}

.razor-letters svg path {
    transition: all 0.4s ease;
    stroke: var(--razorLetterColor) !important;
}


@media (min-width:992px) {
    html.w-mod-js:not(.w-mod-ix) [data-w-id="d4e19646-878e-179d-5b2c-54bc37574bf0"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="58011005-4480-a436-fdba-5ea72b3d6991"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="dc06b4e1-0b40-682a-bd04-bd654e23509e"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="052eaaa0-e385-08aa-abbd-bce31b444635"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="2e9bdc8b-7cfe-5759-b463-9519718e5317"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="61619ef0-8360-ee14-a259-aa5688c9ef24"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="23113ec6-af8d-4845-ea25-3a8f24dc3364"] {
        opacity: 0;
    }
}

@media (max-width:991px) and (min-width:768px) {
    html.w-mod-js:not(.w-mod-ix) [data-w-id="d4e19646-878e-179d-5b2c-54bc37574bf0"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="58011005-4480-a436-fdba-5ea72b3d6991"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="dc06b4e1-0b40-682a-bd04-bd654e23509e"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="052eaaa0-e385-08aa-abbd-bce31b444635"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="2e9bdc8b-7cfe-5759-b463-9519718e5317"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="61619ef0-8360-ee14-a259-aa5688c9ef24"] {
        opacity: 0;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="23113ec6-af8d-4845-ea25-3a8f24dc3364"] {
        opacity: 0;
    }
}

