@font-face {
    font-family: 'Inter Tight';
    src: url('../fonts/InterTight-Medium.ttf');
}

@font-face {
    font-family: 'Circe';
    src: url('../fonts/Circe25.otf');
}

h2 {
    font-family: 'Circe' !important;
    font-weight: bold;
    font-size: 36px;
    line-height: 34px;
    text-align: center;
    margin-bottom: 11px;
}

/* body {
    font-family: 'Inter Tight';
} */

body {
    overflow-x: hidden;
}

a {
    transition: color 0.6s;
}

a,
a:hover {
    color: #FE4F70;
}

/* Для заголовка  */

.main_span {
    display: inline-block;
    color: #fff;
    padding: 0px 16px 0px;
    margin-left: 8px;
    background: url(/static/img/title-bg.png) no-repeat 0 0 / cover;
}

.fond_name {
    font-size: 70px;
    font-weight: 600;
    background-image: url(/static/img/f.jpg);
    background-size: 250px;
    background-repeat: repeat;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 72px;
    text-shadow: 2px 2px 4px rgba(179, 147, 211, 0.1),
        3px 4px 4px rgba(179, 147, 211, 0.15),
        4px 6px 4px rgba(179, 147, 211, 0.2),
        5px 8px 4px rgba(179, 147, 211, 0.25);
}

/* Первый блок контента*/

.border__img {
    box-shadow: 2px 2px 2px #ff69b4;
}

/* .glav_cont {
    background-image: url(/static/img/glav_img.png);
    background-repeat: repeat; */
/* `contain` или `cover`, если нужно масштабировать. `auto` - авто */
/* background-size: cover;
    background-position: center; */
/* Сдвиг на 2px влево, центрирование по вертикали (50%) */
/* background-position: -20px 50%;
} */

/* Изображения*/
.hover__img {
    object-fit: cover;
    box-shadow: 2px 2px 2px #ff69b4;
    cursor: pointer;
}

.hover__img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.item-img {
    overflow: hidden;
    box-shadow: 2px 2px 2px #ff69b4;
}

/* Кнопки */
.btn-link {
    border: 0;
    border-radius: 25px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
    .btn-link {
        padding: 0.75rem 1.5rem;
    }
}

.btn-default-link {
    color: #FFF;
    text-decoration: none;
    padding: 1.25rem 2rem;
    background: -webkit-linear-gradient(left, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
    background: linear-gradient(to right, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
    transition: all 0.3s ease-in-out;
    background-size: auto;
    background-size: 200% auto;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
}

.btn-default-link:hover {
    color: #FFF;
    background-position: right center;
}

.active>.page-link {
    border: 0px;
    color: white;
    background-color: linear-gradient(to right, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
    background: -webkit-linear-gradient(left, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
    background: linear-gradient(to right, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
}

.active>.page-link:hover {
    color: #FFF;
    background-position: right center;
}

/* .arrow-button {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    position: relative;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    
    padding: 10px 15px;
    margin: 0 10px;
} */

.arrow-button.disabled {
    opacity: 0.5;
}

.arrow-button.disabled,
button[disabled] {
    cursor: not-allowed;
}

.arrow-btn-default.disabled,
button[disabled] {
    transition: none;
    background-size: auto;
}

.mbr-section-btn .btn:not(.btn-form) {
    border-radius: 100px;
}

/* Формы */
@media (max-width: 1400px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 1400px) and (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 1400px) and (min-width: 768px) {
    .container-fluid {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 767px) {
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Проекты */

/* .carousel-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.projects-container {
    max-width: 85%;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.projects-wrapper {
    width: fit-content;
}

.project-item {
    flex: 0 0 auto;
    padding: 10px;
} */

/* Для адаптивности на мобильных устройствах */
@media (max-width: 992px) {
    .border__img {
        margin-top: 1.5rem;
        /* max-height: 300px; */
    }
}

/* Для тени изображения (по желанию) */
.border__img {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Выравнивание высоты формы и изображения */
.card {
    min-height: 100%;
}