:root {
    --primary: #C19E4A;
    --darkbg: #3A3A3A;
    --dark: #252525;
    --shadow: 2px 5px 20px 4px #00000044;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
}

html {
    scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s;
    overflow-x: hidden;
    font-weight: 400;
    background-color: var(--darkbg);
    color: white;
    line-height: 1.3;
}

svg {
    overflow: visible;
    pointer-events: none;
}

.body-wrapper {
    overflow-x: hidden;
    width: 100vw;
    max-width: 2560px;
    margin: 0 auto;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.container {
    padding: 0;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: 4.5rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.125rem;
    text-transform: uppercase;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

h5 {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

h6 {
    font-weight: 500;
}

p,
li {
    line-height: 1.5;
    margin-bottom: 0.75em;
}

p:last-child {
    margin-bottom: 0;
}

li {
    margin-left: 1rem;
    margin-bottom: 0;
}

ul,
ol {
    margin-bottom: 1.25rem;
}

ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.article {

    h2 {
        font-size: 3.25rem;
        margin-bottom: 2rem;
        padding-left: 0;
    }

    h3 {
        font-size: 2rem;
        font-weight: 700;
    }

    h4 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-top: 1.25rem;
        margin-bottom: 0.875rem;
    }

    h5 {
        font-size: 1.125rem;
        font-weight: 700;
        margin: 1.25rem 0 0.875rem;
    }

    h6 {
        font-size: 1rem;
        font-weight: 700;
        margin: 1.25rem 0 0.875rem;
    }

    img:not(.bgshape) {
        width: 100%;
        max-height: 600px;
        object-fit: cover;
        margin: 1.25rem 0;
        border-radius: 6px;
    }

}

section {
    padding: 100px clamp(20px, 4vw, 80px) 0;
    position: relative;
    max-width: 2560px;
}

.primary-link {
    padding: 0.875rem 1.75rem 0.9375rem;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1;
    border-radius: 0.625rem;
    display: block;
    width: fit-content;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    position: relative;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: white;
    height: 3rem;
    overflow: hidden;

    span {
        display: block;
        margin-bottom: 1.25rem;
        transition: transform 0.7s cubic-bezier(0, 0.2, 0, 1);
    }

    &:hover {
        span {
            transform: translateY(-2.375rem);
        }
    }

    &.center {
        margin: 60px auto 0;
    }
}


::selection {
    background: #484848;
    color: white;
}

::-moz-selection {
    background: #484848;
    color: white;
}

.rccookie-container {
    background-color: #222222BB;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
}

.rccookie-container .primary-link,
.rccookie-modal .primary-link {
    background-color: var(--primary);
    color: white;
}

.rccookie-container .secondary-link {
    color: white;
}

.rccookie-modal .modal-content {
    border-radius: 15px;
    background-color: #222222DD;
}

.rccookie-modal .modal-content .modal-header .close {
    color: white;
    padding-top: 0.2em;
}

.custom-control-input:disabled ~ .custom-control-label, .custom-control-input[disabled] ~ .custom-control-label {
  color: white;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before,
.custom-control-input:not(:disabled):focus~.custom-control-label::before {
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

.custom-control-label::before {
    border: 1px solid var(--dark);
}

.slider {
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.slider:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
    color: white;
}

.sliderMask {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

.sliderContainer_success .slider {
    top: -1px;
    border: 1px solid var(--primary);
    background-color: var(--primary) !important;
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    display: none;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.4s;
    z-index: 996;
}

.overlay.active {
    opacity: 1;
}

a {
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
    color: white;
}

a:hover,
a:focus-visible {
    text-decoration: none;
    color: white;
}

button {
    transition: background-color 0.3s, color 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
}

button:focus {
    outline: none !important;
}

.vbox-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vbox-close {
    padding: 20px !important;
    top: 10px !important;
    right: 20px !important;
}

.vbox-next {
    right: 40px !important;
}

.vbox-prev {
    left: 40px !important;
}

.vbox-title {
    display: none !important;
}

/* SIDEBAR OPEN */

.open-sidebar {
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    display: none;

    .hb {
        border-bottom: 2px solid white;
        border-radius: 99px;
        transition: all 0.45s;
    }

    .hb1,
    .hb2 {
        width: 26px;
    }

    .hb3 {
        width: 13px;
        margin-left: 12px;
    }

    &.closed .hb1 {
        transform: rotate(-45deg) translate(-6.5px, 6.5px);
        width: 30px;
    }

    &.closed .hb2 {
        margin-right: -100%;
        opacity: 0;
    }

    &.closed .hb3 {
        transform: rotate(45deg) translate(-6.5px, -6.5px);
        width: 30px;
        margin-left: 0;
    }

}

.desktop-navbar.scrolled .open-sidebar .hb {
    border-color: white;
}


/* SIDEBAR */

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px !important;
}

@media (min-width: 1281px) {
    .sidebar {
        display: none;
    }
}

.sidebar,
.navbar-dropdown {
    width: 100%;
    position: fixed;
    right: -100vw;
    top: 66px;
    height: calc(100dvh - 66px);
    z-index: 998;
    transition: right 0.45s ease-out;
    overflow: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding: 0 20px;
}

.sidebar {
    background: #252525DD;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sidebar.active,
.navbar-dropdown.active {
    right: 0;
}

.sidebar .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: -10px;
    height: 100%;
}

.sidebar .links {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sidebar .links .nav-item {
    width: 100vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.125rem;
    text-transform: uppercase;
    color: white;
}

.sidebar .links a svg {
    position: absolute;
    right: 25px;
    top: 47%;
    transform: translateY(-50%) rotate(-90deg);
    width: 1.375rem;
}

.sidebar .links a svg path {
    stroke: var(--primary);
    stroke-width: 1;
}

/* CUSTOM MODAL */

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    overflow-y: auto;
    padding: 20px;

    &.active {
        opacity: 1;
    }

    .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .modal-content {
        width: 100%;
        max-width: 750px;
        background-color: #DCE7EA;
        border-radius: 30px;
        overflow: hidden;
        padding: 40px;
        text-align: center;

        .cancel {
            position: absolute;
            top: 25px;
            right: 25px;
            cursor: pointer;
            width: 22px;
        }

        h3 {
            font-size: 2rem;
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 2rem;
            line-height: 1.25;
        }
    }
}


/* DESKTOP NAVBAR */

.desktop-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 0 clamp(20px, 4vw, 80px);
    transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s, top 0.6s;

    &.scrolled {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        background-color: #252525DD;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* &.active {
        top: -6rem;
    } */

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 0;
        max-width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;

        img {
            height: 3rem;
        }
    }

    .links {
        display: flex;
        align-items: center;
        gap: 3rem;
        padding-left: 3rem;

        .link {
            position: relative;
        }

        .nav-item {
            font-size: 1.1875rem;
            display: flex;
            align-items: center;
            position: relative;
            white-space: nowrap;
            color: white;
            text-transform: uppercase;

            &::after {
                content: '';
                position: absolute;
                bottom: 1px;
                left: 0;
                width: 0;
                height: 2px;
                background-color: white;
                transition: width 0.4s cubic-bezier(0.01, 0.69, 0.4, 1);
            }

            &:hover::after {
                width: 100%;
            }

            svg {
                width: 0.875rem;
                margin-left: 0.5rem;
                transition: transform 0.3s;
            }

            &.active svg {
                transform: rotate(180deg);
            }

            svg path {
                transition: stroke 0.3s;
                stroke: white;
            }
        }
    }

    &.scrolled .links .nav-item {
        color: white;

        &:hover {
            color: white;
        }

        &::after {
            background-color: white;
        }

        svg path {
            stroke: white;
        }
    }

    .buttons {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        position: relative;

    }
}

.lang {
    display: flex;
    align-items: center;
    gap: 0.375rem;

    a {
        font-size: 1.1875rem;

        &.active {
            font-weight: 600;
            color: var(--primary);
        }

        &::after {
            content: '|';
            color: white;
            padding-left: 0.375rem;
        }

        &:last-child::after {
            display: none;
        }
    }
}

/* NAVBAR DROPDOWN */

.navbar-dropdown {
    position: absolute;
    top: 3.25rem;
    left: 0;
    padding: 0;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    border-bottom-right-radius: 1rem;
    z-index: 998;
    max-height: 0;
    transition: max-height 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dropdown.active {
    z-index: 999;
}

.navbar-dropdown .container {
    display: block;
    padding: 0.5rem 0;
    background-color: #FFFFFFEF;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.navbar-dropdown .arrow {
    display: none;
}

.navbar-dropdown .container a {
    display: block;
    font-size: 1rem;
    padding: 0.625rem 1.25rem 0.75rem;
    white-space: nowrap;
    font-weight: 700;
}

.navbar-dropdown .cancel {
    position: absolute;
    top: 7px;
    right: 5px;
    padding: 10px;
    cursor: pointer;
    width: 38px;
}

/* KIS LENYÍLÓK */

.desktop-modal {
    position: absolute;
    top: 100%;
    right: -20px;
    width: calc(100vw - 40px);
    max-width: 340px;
    background-color: #FFFFFFE8;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    display: none;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    padding: 20px;

    &.active {
        transform: translateY(40px);
        opacity: 1;
    }

    &::before {
        content: '';
        position: absolute;
        top: -17.75px;
        width: 40px;
        height: 21px;
        background-image: url('../images/triangle.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.9;
    }

    .cancel {
        position: absolute;
        top: 7px;
        right: 5px;
        padding: 10px;
        cursor: pointer;
        width: 38px;
    }

    h3 {
        margin: 0 0 20px;
        text-transform: none;
        font-size: 1.125rem;
        text-align: center;
    }

    form {
        padding: 0;
        width: 100%;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    form input {
        width: 100%;
        border-bottom: 1px solid var(--dark);
        margin-bottom: 10px;
        line-height: 1;
    }

    input+.primary-link {
        margin-top: 10px;
    }

    .buttons {
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .primary-link {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    &.basket-modal {
        &::before {
            right: 65px;
        }

        .item {
            display: flex;
            gap: 10px;
            padding-bottom: 10px;
            margin-bottom: 10px;
            border-bottom: 1px solid var(--primary);


            img {
                min-width: 80px;
                min-height: 80px;
                max-width: 80px;
                max-height: 80px;
                object-fit: contain;
            }

            .content {
                width: 100%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            h4 {
                font-size: 0.875rem;
                text-transform: uppercase;
                margin-bottom: 0;
                font-style: normal;
            }

            .size {
                font-size: 0.75rem;
                margin-bottom: 0;
            }

            .quantity {
                font-size: 0.75rem;
                font-weight: 700;
                color: var(--primary);
            }
        }

        .price {
            text-align: right;
            font-size: 0.875rem;
            font-weight: 700;
        }

        .summary {
            display: flex;
            justify-content: space-between;
        }

        .summary .price {
            font-size: 1rem;
        }
    }

    &.login-modal {

        &::before {
            right: 12px;
        }

        .lostpassword {
            text-align: center;
            margin-top: 0.5rem;
            font-size: 0.8125rem;
        }

        &.login-modal .logged-in a {
            display: block;
            text-align: center;
            margin-bottom: 0.625rem;
        }

        &.login-modal hr {
            width: 100%;
            margin: 1rem 0;
            border-top: 1px solid var(--dark);
        }

    }
}

.flex-content {
    display: flex;
    gap: 100px;
}

.flex-content.center {
    align-items: center;
}

.flex-content.reverse {
    flex-direction: row-reverse;
}

.flex-content .side {
    width: 50%;
}

.flex-content .side>img,
.flex-content .side .image img {
    width: 100%;
}

.card {
    display: block;
    border: none;
    border-radius: 20px;
    padding: 50px;
    background-color: #252525AA;
}

.flex-content .primary-link {
    margin-top: 2rem;
}

.items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
}

.items .item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.items.two .item {
    width: calc(50% - 20px);
}

.items.three .item {
    width: calc(33.3333% - 28px);
}

.items.four .item {
    width: calc(25% - 30px);
}

.items .item h3,
.items .item h3 a {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.relative {
    position: relative;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.swiper {
    width: 100%;
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 30px;
    font-weight: 700;
    color: var(--gray);
}

.swiper-button-prev::after {
    margin-right: 3px;
}

.swiper-button-next::after {
    margin-left: 1px;
}

.swiper-button-prev {
    left: -54px;
}

.swiper-button-next {
    right: -54px;
}

.swiper-slide {
    height: 250px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-wrapper {
    align-items: center;
}

/* LOADER */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader.end {
    opacity: 0;
}

.loader svg {
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 450px;
}

/* HERO */

.hero {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 240px clamp(20px, 4vw, 80px);
    overflow: hidden;

    .layer {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(180deg, #0D0D0D 0%, #90909000 100%);
        pointer-events: none;
    }

    .bottom-layer {
        pointer-events: none;
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%;
        background: linear-gradient(0deg, #3A3A3AFF 0%, #3A3A3A00 100%);
    }

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 2;

        h1 {
            font-size: 6.5rem;
            max-width: 52rem;
            font-weight: 500;
            display: inline;
            white-space: normal;
            word-break: break-word;

            span {
                display: inline-block;
                white-space: pre;

                .space {
                    display: inline-block;
                    width: 0.5em;
                    white-space: normal;
                }
            }
        }
    }
}

.container>h4,
.side>h4,
.title>h4,
.card>h4 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.after-hero {
    padding-top: 0;
    z-index: 2;

    .card {
        text-align: center;
        max-width: 800px;
        margin: -140px auto 0;
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);

        h3 {
            margin-bottom: 0.25em;
            font-size: 1.5rem;
            text-transform: none;

            br {
                display: none;
            }
        }

        hr {
            width: 100%;
            max-width: 23rem;
            margin: 2rem auto;
            border-top: 1px solid white;
        }
    }
}

.about {
    .flex-content {

        .left.side {
            position: relative;
            min-height: 720px;

            img {
                position: absolute;
                top: 0;
                right: 0;
                width: calc(50vw - 40px);
                height: 100%;
                object-fit: cover;
            }

            &::before,
            &::after {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                width: 25vw;
                height: 100%;
                background: linear-gradient(270deg, #3A3A3AFF 0%, #3A3A3A00 100%);
                z-index: 2;
            }

            &::after {
                right: calc(50vw - 40px);
                transform: translateX(100%);
                background: linear-gradient(90deg, #3A3A3AFF 0%, #3A3A3A00 100%);
            }
        }

        .right.side {
            h4 {
                font-size: 1.25rem;
                margin-bottom: 1.5rem;
            }

            h2 {
                margin-bottom: 1.75rem;
            }
        }
    }
}

.rules {
    .card {
        padding: 75px;
        margin-bottom: -150px;
        position: relative;
        z-index: 2;
        background: var(--dark);
        box-shadow: var(--shadow);
    }

    h3 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
        max-width: 32rem;
        font-weight: 300;
    }
}

.prices {
    padding: 260px clamp(20px, 4vw, 80px) 160px;

    &::before,
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(180deg, #3A3A3AFF 0%, #3A3A3A00 100%);
        z-index: 1;
    }

    &::after {
        top: auto;
        bottom: 0;
        background: linear-gradient(0deg, #3A3A3AFF 0%, #3A3A3A00 100%);
    }

    .container {
        z-index: 3;
    }

    h4 {
        margin-bottom: 1.5rem;
        font-size: 1.25rem;
    }

    h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;

        &+p {
            font-weight: 300;
            max-width: 32rem;
        }
    }

    .items {
        max-width: 1024px;
        margin: 60px auto 0;
        gap: 100px;

        .item {
            width: calc(33.3333% - 67px);
            justify-content: space-between;
            border: 1px solid var(--primary);
            background-color: #252525AA;
            box-shadow: var(--shadow);
            backdrop-filter: blur(7px);
            -webkit-backdrop-filter: blur(7px);
            border-radius: 20px;
            text-align: center;

            .upper {
                padding: 30px 20px;
            }

            .lower {
                padding: 20px;
                border-top: 1px solid var(--primary);
            }

            h3 {
                font-size: 1.5rem;
                margin-bottom: 0.25rem;
                font-weight: 700;

                &:last-child {
                    margin-bottom: 0;
                }
            }

            h4 {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: 0.125rem;
            }
        }
    }
}

.registration {
    position: static;
    margin-top: -100px;
    padding-bottom: 20px;

    h4 {
        font-size: 1.25rem;
        margin-bottom: 1.75rem;
    }

    h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        max-width: 30rem;

        &+p {
            font-weight: 300;
            max-width: 32rem;
        }
    }

    form {
        margin-top: 60px;
        font-weight: 300;

        .radio-group {
            display: flex;
            gap: 20px;
            margin-bottom: 24px;

            .form-check {
                width: auto;
            }
        }

        p {
            font-size: 14px;
            max-width: 400px;
            margin: 10px 0 24px;
        }

        hr {
            border-top: 1px solid white;
            margin: 24px 0;
        }

        .right.side>.form-check {
            margin-bottom: 20px;
        }

        .primary-link {
            margin-left: auto;
        }

        .form-checks {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 10px 0 34px;

            .form-checked-label {
                position: relative;

                input {
                    display: none;
                }

                label {
                    padding: 0.875rem 1.5rem;
                    background-color: var(--dark);
                    border-radius: 10px;
                    transition: all 0.3s;
                    cursor: pointer;
                    position: relative;

                    &::after {
                        content: '';
                        position: absolute;
                        top: 50%;
                        right: 1.375rem;
                        width: 18px;
                        height: 14px;
                        transform: translateY(-50%);
                        background: url('../images/check.svg') no-repeat center / contain;
                        opacity: 0;
                        transition: opacity 0.2s;
                    }
                }

                input:checked+label {
                    background-color: var(--primary);
                    color: white;
                    padding-right: 3.25rem;

                    &::after {
                        opacity: 1;
                    }
                }
            }
        }
    }
}

.rules.second {
    padding-top: 160px;
    padding-bottom: 300px;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 65%;
        background: linear-gradient(180deg, #3A3A3AFF 0%, #3A3A3A00 100%);
        z-index: 1;
    }

    .card {
        margin-bottom: 0;
    }

    p:first-of-type {
        margin-bottom: 0.25rem;
    }
}

.partners {
    padding-top: 0;
    margin-top: -160px;

    h3 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3.5rem;
    }

    img {
        height: 170px;
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
    }
}


input,
textarea,
select {
    padding: 0.875rem 1.25rem;
    background-color: var(--dark);
    border-radius: 8px;
    color: white !important;
    font-size: 1rem;
    width: 100%;
    resize: none;
    outline: none;
    border: 1px solid transparent;
    transition: all 0.4s;
    caret-color: white;
    margin-bottom: 24px;
    font-weight: 300;

    &.half {
        width: calc(50% - 0.625rem);
    }

    &::placeholder {
        color: white;
    }

    &:hover {
        border-color: white;
    }

    &:focus {
        border-color: white;
        caret-color: white;
    }
}

select {
    appearance: none;
    background-image: url("../images/angle-down-white.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-check {
    padding-left: 0 !important;
    width: 100%;
}

.form-group {
    margin-bottom: 0;
}

.form-check-input {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.form-check-input+label {
    position: relative;
    line-height: 1.5;
    margin-bottom: 0;
    padding-left: 38px;
}

.form-check-input+label::before {
    content: " ";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    vertical-align: middle;
    width: 26px;
    height: 26px;
    background-color: var(--dark);
    border-radius: 99px;
    transition: 0.3s ease;
}

// .form-check-input:checked+label::before {
//     background-color: var(--darkgray);
// }

.form-check-input+label::after {
    content: " ";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 5px;
    top: 50%;
    text-align: center;
    background-color: var(--primary);
    border-radius: 99px;
    font-size: 10px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s;
}

.form-check-input:checked+label::after {
    transform: translateY(-50%) scale(1);
}

.contact .primary-link {
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
}

/* FOOTER */

.article + footer::before {
    display: none;
}

.article {
    padding-bottom: 60px;
}

footer {
    position: relative;
    font-weight: 300;

    &::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 999px;
        background: var(--dark);
        z-index: -2;
    }

    .content {
        padding: 100px 40px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }

    .item {
        display: flex;
        flex-direction: column;
        min-width: 17%;
        max-width: 23%;
        padding-right: 10px;
        position: relative;

        .socials {
            display: flex;
            align-items: center;
            gap: 10px;
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .logo {
            display: block;
            width: 220px;
            padding-top: 5px;

            &.mobile {
                display: none;
            }
        }

        &:first-child p {
            margin-top: 20px;
            max-width: 270px;
        }

        h3 {
            font-size: 1.125rem;
            margin-bottom: 1.25rem;
            text-transform: none;
            font-weight: 700;
        }

        li,
        p {
            margin-bottom: 1rem;
            list-style: none;
            margin-left: 0;
            text-transform: uppercase;
            font-weight: 300;

            &:last-child {
                margin-bottom: 0;
            }

            img {
                width: 1.125rem;
                height: auto;
                display: inline-block;
                vertical-align: middle;
                margin-right: 0.25rem;
                margin-top: -0.25rem;
            }

            p,
            a {
                width: fit-content;
                margin-bottom: 0;

                img {
                    width: 1.75rem;
                    margin-top: 0.25rem;
                }
            }
        }

        span {
            display: block;
            white-space: nowrap;
            margin-bottom: 0.25em;
        }

        &:last-child a {
            display: block;
            margin-bottom: 0.25em;
        }

    }

    .copyright {
        padding: 1rem clamp(20px, 4vw, 80px);
        background-color: #080808;
        text-align: center;
        text-transform: uppercase;
        font-weight: 300;
        font-size: 1.25rem;

        br {
            display: none;
        }

        strong {
            font-weight: 400;
        }
    }
}


@media (max-width: 1279px) {

    .desktop-navbar {
        height: 66px;
        padding: 0;
    }

    .desktop-navbar .container {
        max-width: 100%;
        padding: 12px clamp(20px, 4vw, 80px);
        position: relative;
    }

    .desktop-navbar .logo {
        height: 36px;
    }

    .desktop-navbar .logo img {
        height: 36px;
    }

    .desktop-navbar .links {
        display: none;
    }

    .desktop-navbar .open-sidebar {
        display: flex;
    }

    .desktop-navbar .buttons {
        gap: 15px;
        position: static;
    }

    /* .desktop-navbar .buttons a {
        display: none;
    } */

    .desktop-navbar .basketLayerContainer svg {
        height: 24px;
    }

    .desktop-navbar .login-btn svg {
        height: 24px;
        width: 24px;
    }

    .desktop-navbar .buttons .item {
        position: static;
    }

    .desktop-navbar .buttons .lang {
        display: none;
    }

    .desktop-modal {
        left: auto;
        right: 20px;
        transform: none;
        max-width: 380px;

        &.active {
            transform: translateY(24px);
        }

        &.basket-modal::before {
            right: 75px;
        }

        &.login-modal::before {
            right: 35px;
        }
    }

    .sidebar .navbar-dropdown {
        top: 0;
        background-color: #FFFFFFEF;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar .navbar-dropdown .container {
        box-shadow: none;
        background-color: transparent;
    }

    .sidebar .navbar-dropdown .arrow {
        width: 14px;
        height: 24px;
        object-fit: contain;
        cursor: pointer;
        margin: 20px 0 0;
        display: block;
    }

    .sidebar .navbar-dropdown .container {
        padding: 0 0 40px;
        gap: 20px;
        flex-direction: row;
        align-items: auto;
        justify-content: center;
        max-height: none;
        align-items: initial;
    }

    .sidebar .navbar-dropdown .container .item {
        width: 100%;
    }

    .sidebar .navbar-dropdown .container a {
        font-size: 1.125rem;
        font-weight: 400;
        padding: 0.75rem 0;
        text-align: center;
    }

}

@media (max-width: 767px) {

    p,
    li,
    a {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.625rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2.25rem;
    }

    h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    h5,
    h6 {
        font-size: 1rem;
    }

    section {
        padding: 60px 20px 0;
    }

    ul,
    ol {
        margin-bottom: 1rem;
    }

    .article h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .article h3 {
        font-size: 1.5rem;
    }

    .article h4 {
        font-size: 1.25rem;
    }

    .article h5 {
        font-size: 1rem;
    }

    .article h6 {
        font-size: 0.875rem;
    }

    .article img {
        margin: 1rem 0;
        max-height: 450px;
    }

    .primary-link {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem 0.6875rem;
        height: 2.5rem;

        &:hover span {
            transform: translateY(-2.125rem);
        }
    }

    .primary-link.center {
        margin: 2rem auto 0;
    }

    .vbox-close {
        padding: 20px !important;
        top: 5px !important;
        right: 5px !important;
    }

    .vbox-next {
        right: 25px !important;
    }

    .vbox-prev {
        left: 25px !important;
    }

    .flex-content,
    .flex-content.reverse {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .flex-content .side {
        width: 100%;
    }

    .flex-content .primary-link {
        margin-top: 1.25rem;
    }

    .items {
        gap: 20px;
    }

    .items.two .item,
    .items.three .item,
    .items.four .item {
        width: 100%;
    }

    .items .item h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 20px;
    }

    .swiper-button-prev {
        left: -44px;
    }

    .swiper-button-next {
        right: -44px;
    }

    .items.three {
        gap: 40px;
    }

    .items.three .item {
        width: 100%;
    }

    .items .item::after {
        display: none;
    }

    .items .item .image {
        width: 100%;
        height: 250px;
    }

    .card {
        padding: 20px;
    }

    /*************************************/

    .hero {
        padding: 140px 20px;

        .container {
            h1 {
                font-size: 2.5625rem;
            }
        }
    }

    .after-hero {
        .card {
            margin: -40px auto 0;
            padding: 30px;

            h3 {
                font-size: 1.375rem;
                margin-bottom: 0;

                br {
                    display: block;
                }
            }

            hr {
                margin: 1.75rem auto;
            }
        }
    }

    .about {
        .flex-content {
            flex-direction: column;
            gap: 30px;

            .left.side {
                min-height: auto;

                img {
                    position: static;
                    width: 100%;
                }

                &:before,
                &:after {
                    width: 50%;
                }

                &::after {
                    right: 100%;
                }
            }

            .right.side {
                h4 {
                    font-size: 1rem;
                }

                h2 {
                    margin-bottom: 1.5rem;
                }
            }
        }
    }

    .rules {
        padding-top: 50px;

        .card {
            padding: 25px 20px;
            margin-bottom: -40px;
        }

        h3 {
            font-size: 1.75rem;
        }

        p {
            font-size: 1rem;
        }
    }

    .prices {
        padding: 90px clamp(20px, 4vw, 80px) 0;

        .bg {
            height: 700px;
        }

        &::after {
            bottom: auto;
            top: 701px;
            transform: translateY(-100%);
        }

        h4 {
            margin-bottom: 1.25rem;
            font-size: 1.125rem;
        }

        h3 {
            font-size: 2rem;
            margin-bottom: 1.25rem;
        }

        .items {
            margin: 40px auto 0;
            gap: 20px;

            .item {
                width: 100%;

                .upper {
                    padding: 25px 20px;
                }

                h3 {
                    font-size: 1.375rem;
                }
            }
        }
    }

    .registration {
        margin-top: 0;

        h4 {
            font-size: 1.125rem;
            margin-bottom: 1.25rem;
        }

        h3 {
            font-size: 2rem;
            margin-bottom: 1.25rem;
        }

        form {
            flex-direction: column;
            margin-top: 32px;
            gap: 0;

            .radio-group {
                margin-bottom: 16px;
            }

            p {
                margin: 10px 0 16px;
            }

            label {
                font-size: 0.875rem;
            }

            .form-checks {
                gap: 8px;
                margin: 10px 0 24px;

                .form-checked-label {
                    label {
                        padding: 0.625rem 1.125rem;
                    }
                }
            }

            .primary-link {
                margin: 30px auto 0;
                font-size: 1rem;
                height: 2.625rem;
            }
        }
    }

    .rules.second {
        padding-top: 110px;
        padding-bottom: 210px;

        &::before {
            height: 40%;
        }

        p:first-of-type {
            margin-bottom: 0;
        }
    }

    .partners {
        margin-top: -120px;

        h3 {
            font-size: 1.75rem;
            margin-bottom: 3rem;
        }

        img {
            height: auto;
            width: 27%;
        }
    }


    input,
    textarea,
    select,
    option {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 16px;
    }

    input.half {
        width: 100%;
    }

    form select {
        background-size: 14px;
    }

    .form-check-input+label {
        font-size: 0.875rem;
    }

    .contact form .primary-link {
        margin: 1rem auto 0;
    }

    footer {
        .content {
            padding: 60px 20px 40px;
        }

        .container {
            flex-direction: column;
            gap: 30px;
            align-items: center;
        }

        .item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 100%;
            text-align: center;
            padding-right: 0;

            .logo {
                width: 160px;
                margin-bottom: 0;

                &.mobile {
                    display: block;
                }

                &.desktop {
                    display: none;
                }
            }

            .socials {
                position: static;
                margin-top: 30px;
            }

            h3 {
                font-size: 18px;
                margin-bottom: 12px;
            }

            a,
            p {
                margin-bottom: 0;
                font-size: 14px;
                text-align: center;
                margin: 0 auto;
            }

            li {
                margin-bottom: 0.25rem;
            }

            &:last-of-type p {
                margin-bottom: 16px;
            }

            &:last-of-type span {
                font-size: 14px;
            }
        }

        .copyright {
            br {
                display: block;
            }

            span {
                display: none;
            }
        }
    }
}

@media (min-width: 767px) and (max-width: 1023px) {

    section {
        padding: 80px clamp(20px, 4vw, 80px) 0;
    }

    h2 {
        font-size: 2.75rem;
        margin-bottom: 3.5rem;
    }

    .flex-content {
        gap: 40px;
    }

    .items {
        gap: 40px;
    }

    /*********************************/

    .desktop-navbar {
        height: 74px;
        padding: 0;
    }

    .desktop-navbar .container {
        padding: 16px clamp(20px, 4vw, 80px);
    }

    .sidebar,
    .navbar-dropdown {
        top: 74px;
    }

    .hero {
        padding: 160px clamp(20px, 4vw, 80px) 220px;

        .container {
            h1 {
                font-size: 5.5rem;
            }
        }
    }

    .rules {
        .card {
            padding: 50px;
        }
    }

    .prices {
        padding: 240px clamp(20px, 4vw, 80px) 100px;

        .items {
            gap: 30px;

            .item {
                width: calc(33.3333% - 20px);
            }
        }
    }

    .registration {
        margin-top: -70px;
    }

    .rules.second {
        padding-bottom: 260px;
    }

    footer {
        .container {
            flex-wrap: wrap;
            gap: 40px;
        }

        .item {
            width: calc(50% - 20px);
            max-width: none;

            .socials {
                position: static;
                margin-top: 20px;
            }
        }
        
        .copyright {
            br {
                display: block;
            }

            span {
                display: none;
            }
        }
    }

}

@media (min-width: 1024px) and (max-width: 1279px) {
    .prices .items {
        gap: 40px;

        .item {
            width: calc(100% / 3 - 27px);
        }
    }
}

@media (min-width: 1140px) and (max-width: 1440px) {}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1023px) {
    .container {
        max-width: 1023px;
    }
}

@media (min-width: 1140px) {
    .container {
        max-width: 1140px;
    }
}