@font-face {
    font-family: 'Shadow';
    src: url('../assets/fonts/Shadow_regular.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue-Light';
    src: url('../assets/fonts/HelveticaNeue-Light.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue-Roman';
    src: url('../assets/fonts/HelveticaNeue-Roman.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue-Medium';
    src: url('../assets/fonts/HelveticaNeue-Medium.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue-Bold';
    src: url('../assets/fonts/HelveticaNeue-Bold.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Colus';
    src: url('../assets/fonts/Colus.otf') format('opentype');
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


ul {
    list-style: none;
}

body {
    background: #fff4f5;
    font-family: "HelveticaNeue-Medium";
    font-size: 18px;
    line-height: 130%;
    text-align: left;
    transition: transform 0.8s ease-in-out;
    transform-origin: center;
}


.loading {
    pointer-events: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #720913;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 1s ease, visibility 1s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.no-scroll {
    overflow: hidden;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.loading_logo {
    background-image: url(../assets/main_logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 94px;
    height: 191px;
    animation: heartbeat 1.5s infinite ease-in-out;
}

.invalid-feedback {
    position: absolute;
    bottom: 70px;
    color: #BA0047;
    font-size: 18px;
    left: 45px;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    display: block;
    margin-bottom: 0;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(173 173 173 / 50%);
    z-index: 1000;
    border-radius: 24px;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none !important;
    z-index: 1000;
    gap: 0 !important;
    border-radius: 30px !important;
    background: #eccecf !important;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15) !important;
    padding: 16px !important;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    width: 620px;
    height: fit-content;
}

.popup_body {
    border-radius: 20px;
    padding: 40px;
    position: relative;
    background: #eccecf;
    width: 100%;
    height: 100%;
}

.popup_text {
    font-family: 'Shadow';
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.32px;
    padding-bottom: 8px;
    max-width: 410px;
}

.popup_more {
    padding-bottom: 67px;
    max-width: 290px;
    line-height: 24px;
    font-size: 18px;
}

.sova {
    position: absolute;
    right: -20px;
    bottom: 0;
    z-index: 6;
    pointer-events: none;
}

body.dark .popup_text span {
    color: #BD9C49;
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
}

.popup_text span {
    color: #720913;
}

.butstyle {
    margin: 0 !important;
    position: relative !important;
}


@media (max-width: 660px) {

    .sova {
        display: none;
    }

    .popup {
        width: 95% !important;
    }

    .popup_body {
        padding: 30px;
    }

    .popup_text {
        font-size: 24px;
        line-height: 25px;
    }

    .popup_more {
        padding-bottom: 32px;
    }

    .popup .btn {
        width: 250px !important;
        height: 52px !important;
        min-height: 52px !important;
    }
}


@media (max-width: 1600px) {
    body {
        font-size: 16px;
        line-height: 130%;
    }

}

@media (max-width: 1400px) {
    body {
        font-size: 14px;
        line-height: 130%;
    }

}


@media (max-width: 800px) {
    body {
        font-size: 16px;
        line-height: 130%;
    }
}