:root {
    --orange: #E5662F;
    --white: #fff;
    --black: #000;
    --lightblue: #10C5D0;
    --lightgreen: #2FE583;
    --grey: #CECECE;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    &.loading {
        overflow: hidden;

    }
}

.hide {
    display: none !important;

    @media screen and (max-width: 768px) {
        display: none !important;
    }
}

.error {
    border: 1px solid red;
}

div.loader {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-180deg, var(--orange), var(--white));
    background-size: 200% 200%;
    animation: gradient 12s ease infinite;

    &.fade-out {
        animation: vanish 0.55s;
        animation-fill-mode: forwards;
    }
}

@keyframes gradient {
    0% {
        background-position: 0 0%;
    }
    50% {
        background-position: 0 100%;
    }
    100% {
        background-position: 0 150%;
    }
}

@keyframes vanish {
    from {
        display: flex;
        transform: translateY(0);
        box-shadow: 2px 2px 2px #000;
    }

    to {
        display: none;
        transform: translateY(-100vh);
        box-shadow: none;
    }
}

.loader-anim {
    width: 55px;
    aspect-ratio: 1;
    --g1: conic-gradient(from 90deg at top 3px left 3px, transparent 90deg, var(--white) 0);
    --g2: conic-gradient(from -90deg at bottom 3px right 3px, transparent 90deg, var(--white) 0);
    background: var(--g1), var(--g1), var(--g1), var(--g1),
    var(--g2), var(--g2), var(--g2), var(--g2);
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    animation: l11 1.5s infinite;
}

@keyframes l11 {
    0% {
        background-size: 35px 15px, 15px 15px, 15px 35px, 35px 35px
    }
    25% {
        background-size: 35px 35px, 15px 35px, 15px 15px, 35px 15px
    }
    50% {
        background-size: 15px 35px, 35px 35px, 35px 15px, 15px 15px
    }
    75% {
        background-size: 15px 15px, 35px 15px, 35px 35px, 15px 35px
    }
    100% {
        background-size: 35px 15px, 15px 15px, 15px 35px, 35px 35px
    }
}

.hidden-mobile {
    @media screen and (max-width: 1024px) {
        display: none;
    }

    @media screen and (min-width: 1025px) {
        display: block;
    }
}

.hidden-desktop {
    @media screen and (max-width: 1024px) {
        display: flex;
        justify-content: space-between;
    }

    @media screen and (min-width: 1025px) {
        display: none;
    }
}

::-webkit-scrollbar {
    border-radius: 10px;
    height: 10px;
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 0;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: var(--white);
}

h1, h2,
.assistant-bold {
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

p,
.assistant-regular {
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: clamp(1rem, 4vw, 2rem);
    text-transform: uppercase;

    small {
        display: block;
    }
}

h2 {
    font-size: clamp(1rem, 4vw, 1.55rem);
    text-transform: uppercase;

    small {
        display: block;
    }
}

ul, li, a,
p {
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(1.05rem, 4vw, 1.25rem);
}

div.no-code {
    text-align: center;

    h2 {
        margin: 1rem 0;
    }

    button[type=submit] {
        background: var(--black);
        color: var(--white);
        text-transform: uppercase;
        text-align: center;
        padding: 10px 20px;
        font-family: "Assistant", sans-serif;
        font-weight: 700;
        margin-top: 1.5rem;
    }

    input {
        text-align: center;
    }
}

div.intro-container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 0;;

    h1 {
        margin-bottom: 35px;
    }

    @media screen and (max-width: 768px) {
        padding: 40px 15px;
    }
}

header {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 3rem;

    svg {

    }
}

div.prices-container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    border-top: 1px dashed var(--lightblue);
    border-bottom: 1px dashed var(--lightblue);
    padding: 70px 0;

    @media screen and (max-width: 768px) {
        padding: 40px 15px;
    }

    ul {
        margin-top: 2rem;
        padding-left: 0;

        li {
            display: grid;
            grid-template-columns: 200px 1fr;

            @media screen and (max-width: 768px) {
                grid-template-columns: 1fr;
                margin-bottom: 1rem;
            }

            p.price {
                font-family: "Assistant", sans-serif;
                font-weight: 700;
            }

            p.description {

            }
        }
    }
}

div.info-artist {
    background: var(--black);
    color: var(--white);
    /*clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);*/
    margin-bottom: 0;

    @media screen and (max-width: 768px) {
        /*clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));*/
    }

    div.wrap {
        padding: 70px 0;
        max-width: 1140px;
        width: 100%;
        margin: 0 auto;

        @media screen and (max-width: 768px) {
            padding: 40px 15px;
        }
    }

    p {
        margin-bottom: 1rem;
        width: 80%;

        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }

    a {
        color: white;
        text-underline-offset: 6px;
    }
}

div.tnb-rules {
    background: var(--grey);
    color: #000;
    margin-top: 0;
    /*clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);*/

    @media screen and (max-width: 768px) {
        /* clip-path: polygon(0 0, 100% 4vw, 100% calc(100% - 4vw), 0 100%);
         -webkit-clip-path: polygon(0 0, 100% 4vw, 100% calc(100% - 4vw), 0 100%);*/
    }

    p {
        margin-bottom: 1rem;
    }

    div.wrap {
        padding: 70px 0;
        max-width: 1140px;
        width: 100%;
        margin: 0 auto;

        @media screen and (max-width: 768px) {
            padding: 40px 15px;
        }
    }
}

footer {
    background: #000;
    color: #fff;
    padding: 71px 50px 45px;
    /*clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0 100%);*/

    @media screen and (max-width: 768px) {
        /* clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0 100%);
         -webkit-clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0 100%);*/
    }

    a, p {
        font-family: "Assistant", sans-serif;
        font-optical-sizing: auto;
        font-weight: 600;
        font-style: normal;
    }

    @media screen and (max-width: 768px) {
        padding: 30px 15px;
    }

    div.wrap {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        max-width: 1140px;
        width: 100%;
        margin: 0 auto;

        @media screen and (max-width: 768px) {
            padding: 40px 15px;
            flex-direction: column;
            align-items: flex-start;
        }

        div.footer-navi {
            nav {
                display: flex;
                gap: 1rem;

                a {
                    color: white;

                    &:last-child {
                        text-decoration: none;
                    }
                }
            }

            @media screen and (max-width: 768px) {
                order: 2;
                margin-top: 1rem;
            }
        }

        div.right {
            display: flex;
            align-items: flex-end;
            gap: 2rem;

            @media screen and (max-width: 768px) {
                order: 1;
                flex-direction: column;
                align-items: flex-start;
            }

            a {
                color: white;
            }

            @media screen and (max-width: 768px) {
                div.logo {
                    order: 1;
                    width: 100%;
                }
            }

            div.contact {
                text-align: right;
                @media screen and (max-width: 768px) {
                    order: 2;
                    text-align: left;
                }
            }

            div.contact-2 {
                @media screen and (max-width: 768px) {
                    order: 3;
                }

                a {
                    text-decoration: none;
                }
            }
        }

        div.logo {
            align-self: center;
        }
    }
}

#map {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

div.map-intro {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 0;

    @media screen and (max-width: 768px) {
        padding: 40px 15px;
    }
}

div.map-container {
    position: relative;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto 70px auto;
    aspect-ratio: 4 / 2.8;
    outline: 10px solid #000;

    @media screen and (max-width: 768px) {
        padding: 40px 15px;
        aspect-ratio: 9 / 10;
        margin-bottom: 1rem;
    }

    div.ctas {
        position: absolute;
        top: 0;
        right: -130px;
        z-index: 999999;

        > div {
            transition: all 0.35s ease-in-out;
            cursor: pointer;

            &:hover {
                transform: scale(1.2) rotate(-15deg);
            }
        }

        .cta-2 {
            margin-top: -4rem;
        }
    }
}

@media screen and (max-width: 1024px) {
    div.ctas {
        position: relative;
        top: initial;
        right: initial;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .cta-1 {
        background: var(--lightblue);
        padding: 5px 12px;
        color: white;
    }

    .cta-2 {
        background: var(--lightgreen);
        padding: 5px 12px;
        color: white;
    }
}

.active-tile {
    opacity: 0;
    transition: all 0.35s ease;
    transform: scale(0) rotate(15deg);
}

.active-tile.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}


::backdrop {
    background-image: linear-gradient(
            45deg,
            var(--black),
            var(--black),
            var(--black),
            var(--black)
    );
    opacity: 0.75;
}

dialog[open] {
    opacity: 1;
}

/*   Closed state of the dialog   */
dialog {
    opacity: 0;
    transition: all 0.7s allow-discrete;
}

@starting-style {
    dialog[open] {
        opacity: 0;
    }
}

/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop {
    background-color: rgb(0 0 0 / 0%);
    transition: all 0.7s allow-discrete;
}

dialog[open]::backdrop {
    background-color: rgb(0 0 0 / 75%);
}

/* This starting-style rule cannot be nested inside the above selector
because the nesting selector cannot represent pseudo-elements. */
@starting-style {
    dialog[open]::backdrop {
        background-color: rgb(0 0 0 / 0%);
    }
}

#reminderServiceDialog,
#registerDialog {
    margin: 2rem auto 0;
    padding: 2rem;
    text-align: center;
    overflow-x: hidden;

    @media screen and (max-width: 1024px) {
        padding: 1rem;
    }

    h2 {
        margin: 2rem auto 0;
        line-height: 1;
    }

    p {
        margin: 1rem auto 0;
        line-height: 1;
    }

    &[open] {
        transform: scaleY(1);
        @media screen and (max-width: 1024px) {
            width: 90%;
        }
    }

    form {
        width: 80%;
        margin: 2rem auto;

        &.hidden {
            display: none;
        }
    }

    button.close {
        appearance: none;
        position: absolute;
        right: 0;
        top: 0;
        background: none;
        font-weight: 700;
        font-family: "Assistant", sans-serif;
        font-size: 1.5rem;
        border: 0;
    }

    h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
    }

    p {
        font-size: 21px;
        display: flex;
        flex-direction: column;

        &.checkbox {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 1rem;
            flex-direction: row;
            gap: 1rem;
        }
    }

    .confirmation {
        opacity: 1;
        display: block;

        &.hidden {
            display: none;
            opacity: 0;
        }

        h2 {
            margin: 1rem auto 1.5rem;
        }

        p {
            line-height: 1;
        }
    }

    button[type=submit] {
        background: var(--black);
        color: var(--white);
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        padding: 10px 20px;
        font-family: "Assistant", sans-serif;
        font-weight: 700;
        margin-top: 1.5rem;
    }

    label:not(.form-control) {
        display: none;
    }

    label.form-control {
        font-size: 1.1rem;
        font-weight: normal;
        line-height: 1.1;
        display: grid;
        grid-template-columns: 1em auto;
        gap: 0.5em;
        text-align: left;
    }

    textarea,
    select,
    input[type="text"],
    input[type="email"] {
        font-family: "Assistant", sans-serif;
        background: #F1EEEE;
        border: 1px solid var(--black);
        margin-bottom: 1rem;
        padding: 8px 12px;
        width: 100%;

        &.error {
            border: 1px solid red;
            background: #ea9696;
            color: white;
        }
    }
}

input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid #222;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;

    &::before {
        content: "";
        width: 12px;
        height: 12px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em #222;
    }

    &.error {
        border: 1px solid red;
        background: #ea9696;
        color: white;
    }

    &:checked::before {
        transform: scale(1);
    }
}

.form-control + .form-control {
    margin-top: 1em;
}

.leaflet-tile {
    transition: transform 1s ease;

    &.activated {
        z-index: 9999999;
        transform: scale(1.5);

        .active-tile {
            animation-name: activated-animation;
            animation-duration: 2.5s;
            transform: scale(1);
            outline: 2px solid rgb(229, 45, 40);
        }
    }
}

@keyframes activated-animation {
    0% {
        transform: scale(0);
    }
    25% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
        outline: 0;
    }
}

@keyframes activated-animation-loop {
    0% {
        outline: 0px solid yellow;
        opacity: 1;
    }
    55% {
        outline: 2px solid yellow;
        opacity: 0.5;
    }
    100% {
        outline: 0px solid yellow;
        opacity: 1;
    }
}


.scroll {
    opacity: 0;
    transition: all 1.35s ease-out;
    transform: translate3d(0, 200px, 0);
}

.scrolled-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
