@font-face {
    font-family: 'Arial';
    src        : url('/fonts/ArialMT.woff2') format('woff2');
    font-weight: 400;
    font-style : normal;
}

@font-face {
    font-family: 'Arial';
    src        : url('/fonts/ArialNarrow.woff2') format('woff2');
    font-weight: 500;
    font-style : normal;
}

@font-face {
    font-family: 'Arial';
    src        : url('/fonts/Arial-BoldMT.woff2') format('woff2');
    font-weight: 600;
    font-style : normal;
}

html,
body {
    width     : 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img,
svg {
    max-width: 100%;
    height   : auto;
}

body {
    min-height         : 100vh;
    display            : flex;
    flex-direction     : column;
    font-family        : "Arial", sans-serif;
    font-optical-sizing: auto;
    font-style         : normal;
    overflow-x         : hidden;
    background-color   : #f6f6f6;
}

/* main {flex: 1;} */
.container {
    max-width: 1730px;
    padding  : 0 40px;
}

footer {
    background-color: #24282a;
    color           : #929495;
    text-align      : center;
    font-size       : 19px;
    font-weight     : 600;
    padding         : 50px 0;
}

footer a {
    color     : #808080;
    transition: 0.3s ease;
}

footer a:hover {
    opacity: .5;
}

h2 {
    color              : #0256b0;
    font-size          : 78px;
    font-weight        : 600;
    text-transform     : uppercase;
    background-position: center center;
    border-color       : transparent;
    border-style       : solid;
}

/* bt */
.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150 {
    margin-top: 150px;
}

.mt-200 {
    margin-top: 200px;
}

.my-50 {
    margin: 50px 0;
}

.my-100 {
    margin: 100px 0;
}

.me-md-150 {
    margin-right: 150px;
}

.mh-200 {
    max-height     : 200px;
    justify-content: flex-start;
}

.c-pointer {
    cursor: pointer;
}

/* /bt */
/* btn */
.btn-fortune {
    position       : relative;
    display        : inline-block;
    justify-content: center;
    padding        : 20px 50px;
    background     : #fff;
    color          : #0c37a6;
    font-weight    : 700;
    border-radius  : 50px;
    cursor         : pointer;
    font-size      : 26px;
    letter-spacing : 1px;
    transition     : 0.3s ease;
    text-decoration: none;
    font-weight    : 600;
    border         : 3px solid #0c37a6;
}

.btn-fortune:hover {
    background: #0256b0;
    color     : #fff;
}

/* /btn */
/* catalog */
.fortune-container {
    display      : flex;
    align-items  : center;
    gap          : 3;
    border-radius: 15px;
    border       : 2px solid #0256b0;
    z-index      : 2;
    position     : relative;
    overflow     : hidden;
}

.fortune-container::before {
    position           : absolute;
    overflow           : hidden;
    content            : '';
    background         : no-repeat url("/img/arrow-catalog.svg");
    background-position: center;
    background-size    : cover;
    top                : 0;
    left               : 0;
    width              : 100%;
    height             : 100%;
    transform          : rotate(0deg);
}

.fortune-container-text {
    display       : flex;
    flex-direction: column;
    width         : 100%;
    border        : 1px solid #000;
}

.fortune-shadow {
    /* filter: drop-shadow(3px 8px 8px #000); */
    /* box-shadow: 3px 8px 8px rgba(0, 0, 0, 0.6); */
}

.card-text {
    text-align: start;
}

/* /catalog */
/* ---------------------------------------- */
.content-fortune {
    position           : relative;
    overflow           : hidden;
    content            : '';
    background         : no-repeat url("/img/bg-fortune.png");
    background-position: center;
    background-size    : cover;
    width              : 100%;
    height             : 100vh;
    min-height         : 825px;
    max-height         : 1100px;
    color              : #fff !important;
}

.content-fortune-arrow {
    content : '';
    position: absolute;
    bottom  : -1px;
    left    : 0;
    width   : 500px;
}

.content-fortune-tire {
    content : '';
    position: absolute;
    bottom  : -1px;
    left    : 0;
    width   : 100%;
    z-index : 2;
}

.fortune-img {
    margin-top: 65px;
    width     : 360px;
}

.fortune-text {
    line-height   : 129px;
    font-size     : 142px;
    text-align    : end;
    color         : #fff;
    text-transform: uppercase;
    font-weight   : 600;
}

.fortune-subtext {
    font-size    : 24px;
    font-weight  : 400;
    color        : #fff;
    margin-bottom: 100px;
}

/* operation */
.operation,
.operation-left {
    position   : absolute;
    top        : 0;
    font-size  : 42px;
    font-weight: 600;
    padding    : 40px;
    color      : #fff;
    text-align : end;

}

.operation {
    right         : 0;
    text-align    : end;
    line-height   : 42px;
    text-transform: uppercase;
}

.operation-left {
    left      : 0;
    text-align: start;
}

.operation-left__title {
    font-size     : 84px;
    line-height   : 89px;
    text-transform: uppercase;
}

.operation-left__text {
    margin-top : 25px;
    font-size  : 24px;
    line-height: 27px;
    font-weight: 400;
}

/* /operation */
.content-forto4ki {
    background         : no-repeat url("/img/bg-forto4ki.png");
    background-position: center;
    background-size    : cover;
    width              : 100%;
    height             : 100%;
    color              : #fff;
    padding            : 100px 0;
}

.forto4ki-container {
    position: relative;
}

.forto4ki-register {
    position: absolute;
    bottom  : 35px;
}

.forto4ki-text {
    font-size  : 24px;
    font-weight: 600;
    line-height: 30px;
}

.forto4ki-subtext {
    position     : relative;
    font-size    : 64px;
    font-weight  : 600;
    margin-left  : 20px;
    line-height  : 1;
    margin-bottom: 20px;
}

.forto4ki-subtext::before {
    position        : absolute;
    content         : '';
    top             : 5%;
    left            : -20px;
    width           : 5px;
    height          : 90%;
    background-color: #f47117;

}

.forto4ki-container-img {
    display  : flex;
    width    : 100%;
    max-width: 450px;
}

.forto4ki-container-text {
    max-width: 530px;
}

/* ---------------------------------------- */
/* анимация */
.animation {
    opacity   : 0;
    transform : translateX(100px);
    visibility: hidden;
}

/* Анимация слалево-направа */
@keyframes slideInLeft {
    0% {
        opacity   : 0;
        transform : translateX(-100px);
        visibility: visible;
    }

    100% {
        opacity   : 1;
        transform : translateX(0);
        visibility: visible;
    }
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

/* Анимация справа-налево */
@keyframes slideInRight {
    0% {
        opacity   : 0;
        transform : translateX(100px);
        visibility: visible;
    }

    100% {
        opacity   : 1;
        transform : translateX(0);
        visibility: visible;
    }
}

.animate-slide-right {
    animation: slideInRight 0.5s ease-out forwards;
}

/* Анимация снизу-вверх */
@keyframes slideInUp {
    0% {
        opacity   : 0;
        transform : translateY(100px);
        visibility: visible;
    }

    100% {
        opacity   : 1;
        transform : translateY(0);
        visibility: visible;
    }
}

.animate-slide-up {
    animation: slideInUp 0.85s ease-out forwards;
}

/* Задержки */
.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

.animate-delay-5 {
    animation-delay: 1s;
}

/*/ анимация */
/* media */
@media (max-width: 1440px) {
    .fortune-text {
        font-size  : 100px;
        line-height: 84px;
    }

    .content-fortune-arrow {
        width: 400px;
    }

    .content-fortune-tire img {
        width: 400px;
    }

    .operation {
        font-size  : 32px;
        line-height: 30px;
        padding    : 20px 30px;
    }

    .operation-left {
        padding: 20px;
    }

    .operation-left__title {
        font-size  : 50px;
        line-height: 56px;
    }
}

@media (max-width: 1399.98px) {}

/* до 1200px (≈xl) */
@media (max-width: 1200.98px) {
    .container {
        padding: 0 20px;
    }

    .operation {
        font-size  : 22px;
        line-height: 22px;
        font-weight: 400;
        padding    : 20px 30px;
    }

    .operation-left__title {
        font-size  : 32px;
        line-height: 32px;
    }

    .operation-left__text {
        font-size  : 22px;
        line-height: 22px;
    }

    .forto4ki-text {
        font-size  : 18px;
        line-height: 23px;
    }

    footer {
        font-size: 18px;
    }
}

/* до 992px (≈lg) */
@media (max-width: 992.98px) {
    .btn-fortune {
        padding  : 15px 35px;
        font-size: 22px;
    }
}

/* до 768px (≈md) */
@media (max-width: 768.98px) {
    .content-forto4ki {
        background         : no-repeat url(/img/bg-forto4ki-min.png);
        background-size    : cover;
        background-position: center center;
        height             : 900px;
        padding            : 50px 0;
    }

    .operation {
        font-size  : 18px;
        line-height: 18px;
        font-weight: 600;
        padding    : 15px;
    }

    .operation-left {
        padding: 15px;
    }

    .operation-left__title {
        font-size  : 18px;
        line-height: 18px;
    }

    .operation-left__text {
        font-size  : 16px;
        line-height: 18px;
    }

    .forto4ki-text {
        font-size  : 16px;
        line-height: 18px;
    }

    .forto4ki-subtext {
        font-size    : 44px;
        margin-left  : 20px;
        line-height  : 1;
        margin-bottom: 10px;
    }
    .fortune-text {
        text-align : left;
    }
}

/* до 576px (≈sm) */
@media (max-width: 576.98px) {
    .content-fortune {
        background         : no-repeat url("/img/bg-fortune-min.png");
        background-position: center;
        background-size    : cover;
    }

    .fortune-text {
        text-align : left;
        font-size  : 60px;
        line-height: 50px;
    }

    .fortune-subtext {
        font-size    : 18px;
        line-height  : 18px;
        margin-bottom: 20px;
    }

    .fortune-img {
        width        : 200px;
        margin-top   : 30px;
        margin-bottom: 200px !important;
    }

    .btn-fortune {
        display: flex;
        width  : 100%;
    }

    .content-fortune-tire img {
        width: 300px;
    }

    .content-fortune-arrow {
        width: 300px;
    }

    h2 {
        font-size: 30px;
    }

    .operation {
        left       : 0;
        text-align : start;
        padding    : 30px 20px;
        font-size  : 24px;
        line-height: 24px;
    }

    .operation-left__title {
        font-size  : 34px;
        line-height: 33px;
    }
}

.projects__items {
    display        : flex;
    justify-content: space-between;
    margin-bottom  : 70px;
    width: 100%;
}

.projects__item {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
}

.projects__item-top {
    display: flex;
    align-items: flex-start;
}

.projects__item-top span {
    /* font-weight  : 500; */
    font-size    : 70px;
    line-height  : 80px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.projects__item-bottom {
    max-width  : 298px;
    font-weight: 400;
    font-size  : 22px;
}

.projects__text {
    display      : block;
    margin-bottom: 40px;
    font-size    : 22px;
    font-weight  : 400;
    line-height  : 30px;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #000 #0000;
  animation: l1 1s infinite;
}
@keyframes l1 {to{transform: rotate(.5turn)}}


.f-btns .btn,
.js-store .btn {
    background: #fff;
    color: #0c37a6;
    border: 2px solid #0c37a6;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: bold;
}
.f-btns .btn:hover,
.js-store .btn:hover {
    background-color: #0256b0;
    color: #fff;
}

.modal-desc {
    position: fixed;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    color: #000;
    background-color: #fff;
    z-index: 99;
}

.modal-desc div {
    height: 100%;
}

.modal-desc img {
    max-height: 100%;
}

.modal-desc pre {
    font-size: inherit;
    font-family: inherit;
    text-wrap: auto;
    hyphens: auto;
}

.modal-desc .btn-close {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 25px;
    height: 25px;
    background-size: contain;
}

/* cookies alert */

.cookies-alert {
	 position: fixed;
	 display: flex;
	 flex-direction: row;
	 gap: 30px;
	 bottom: 30px;
	 left: 50%;
	 transform: translateX(-50%);
	 background-color: #0256b0;
	 padding: 20px;
	 border-radius: 20px;
	 color: #fff;
	 align-items: center;
	 z-index: 999;
	 box-shadow: 0 15px 13px -20px #2d64ab;
}
 .cookies-alert div {
	 white-space: nowrap;
}
 .cookies-alert a {
	 font-weight: bold;
	 color: #fff;
	 text-decoration: underline;
}
 .cookies-alert button,
 .cookies-alert button:hover {
	 height: 45px;
	 padding-left: 30px;
	 padding-right: 30px;
     background-color: #000;
     color: #fff;
}
 

@media (max-width: 1200px) {
    .cookies-alert {
        width: 90%;
        gap: 10px;
        justify-content: space-between;
    }
    .cookies-alert div {
        white-space: normal;
        line-height: normal;
        font-size: 13px;
    }
}
@media (max-width: 800px) {
    .cookies-alert {
        flex-direction: column;
        width: 90%;
        gap: 10px;
        padding: 15px;
        width: 95%;
    }
    .cookies-alert div {
        font-size: 12px;
    }
    .cookies-alert button {
        width: 100%;
    }
}