@font-face {
    font-family: 'Old Soviet';
    src: url('fonts/Old-Soviet.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: black;
    width: 100%; /* Задаём ширину для корневого элемента. */
    height: 100%; /* Задаём высоту для корневого элемента. */
    box-sizing: border-box; /* Стандартное управление размерами. */
}

body {
    max-width: 100vw; 
    margin: 0 auto;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit; /* Наследуем box-sizing для всех элементов. */
}

h2,
a,
h3,
p {
    font-family: "Noto Serif", serif;;
}

.titles {
    font-family: 'Old Soviet', "Noto Serif";
}

.red_text {
    color: #E31B1B;
    line-height: 130px;
}

.main_title {
    padding-top: 316px;
    padding-left: 244px;
    padding-right: 208px;
    font-size: 64px;
    line-height: 74px;
    font-weight: 400;
    letter-spacing: 0rem;
    text-align: center;
    color: #E1DFDF;
    text-transform: uppercase;
    
}



.container {
   
    height: 1124px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    word-wrap: break-word;
    max-width: 100%;

}

.header_back {
    background-image: url(/resources/background_main.png);
}

header {
    max-width: 1920px;
    margin: 0 auto;
}

.btn {
    position: absolute;
    width: 660px;
    height: 94px;
    margin-top: 151px;
    margin-bottom: 202px;
    margin-left: 35%;
    margin-right: 389px;
    background-image: url(/resources/btn_background.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.pushpin {
    right: 35px;
    bottom: 75px;
    position: relative;
    width: 95px;
    height: 124px;
}

.btn__main {
    position: relative;
    bottom: 60px;
    right: 23px;
    text-decoration: none;
    text-align: center;
    color: #FFFF;
    font-size: 55px;
    line-height: 74px;
    letter-spacing: 0rem;
    font-weight: 400;
}

.btn:hover {
    background-image: url(/resources/btn_backgroun_hover.png);
    height: 97px;
    
}

.btn__main:hover {
    color: #E31B1B;
}

.welcome_absorbium {
    background-image: url(/resources/background_about_of_absorbium.png);
   
}


.welcome__absorbium-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 56px;
    color:#E1DFDF;
    text-align: center;
    margin-left: 244px;
    text-transform: uppercase;
    padding-top: 25px;
}

.line {
    display: block;
    width: 1447px;
    height: 10px;
    background-color: #E31B1B;
    filter: blur(25px);
    margin: -45px auto 0;
    pointer-events: none;
}

.welcome__absorbium-description {
    margin-top: 114px;
    margin-left: 125px;
    margin-right: 125px;
    font-size: 24px;
    line-height: 33px;
    font-weight: 400;
    color: #E1DFDF;
}

.key_futures {
    background-image: url(/resources/background_key_futeres.png);
    height: 100%;
    padding-top: 100px;
}

.key__futures-title {
    padding-left: 190px;
    font-size: 64px;
    font-weight: 400;
    line-height: 74px;
    color:#E1DFDF;
    text-transform: uppercase;
}

.characters__wrapper {
    margin: 0 auto;
    margin-left: 120px;
    margin-right: 120px;
}

.characters {
    background-image: url(/resources/background_heroes.png);
    height: 3900px;
    
}


.slide {
        transition: opacity 0.3s ease, transform 0.3s ease; /* Переход для плавного эффекта */

    
}


.slides {
    overflow: hidden; /* Скрываем всё, что выходит за рамки контейнера */
}

.characters-title {
    padding-top: 83px;
    padding-left: 399px;
    font-size: 48px;
    font-weight: 400;
    line-height: 56px;
    color:#000000;
    text-transform: uppercase;

}

.character {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: relative;
    margin: 90px;
 
}

.character .image {
    position: relative;

}

.arrow {
    margin: auto;
}

.arrows {
    width: 100%;
    height: 100%;
}

.character-name {
    font-family: 'Old Soviet', "Noto Serif";
    font-size: 36px;
    line-height: 42px;
    font-weight: 400;
    margin-left: 100px;
    text-align: center;
}

.kris {
    background-image: url(/resources/characters/kris_circle.png);
    background-repeat: no-repeat;
    height: 59px;
    width: 300px;

}

.info-right {
    margin-top: 100px;
    display: flex;
    margin-left: auto;


}


.info-left {
    margin-top: 100px;
    display: flex;
    margin-right: auto;
}



.info p {
    position: relative;
    font-size: 24px;
    line-height: 37px;
    text-align: left;
    font-weight: 400;
    z-index: +1;
    text-shadow: 0px 4px 15px rgba(6, 6, 6, 0.2);
    letter-spacing: 0.02em;
}

.smoke {
        
        background: rgba(171, 171, 171, 0.3); /* Полупрозрачный белый фон */
        padding: 15px;
        border-radius: 10px; /* Закругленные углы */
        filter: blur(10px);
        box-shadow: 0 4px 15px rgba(139, 137, 137, 0.1); /* Легкая тень для создания объема */

        width: 650px;
        height: 320px;
        

}

.left-smoke {
    position: absolute;
    right: -20px;
    top: 140px;
}

.right-smoke {
    position: absolute;
    left: -50px;
    top: 140px;
}

.center-smoke {
    position: absolute;
    top: -30px;
    height: 150px;
}



.character_center {
    display: block;
    margin-top: 250px;
    margin-left: 450px;
}

.image_center {
    position: relative;
    
}

.image_center::after {


    content: "Неизвестный"; /* Добавляем текст через псевдоэлемент. */
    position: absolute; /* Псевдоэлемент позиционируется относительно .image_center. */
    font-family: 'Old Soviet', "Noto Serif"; /* Сохраняем стиль шрифта, как в других элементах. */
    bottom: 30px; /* Сдвигаем текст вверх, чтобы он частично заходил на изображение. */
    margin-left: -630px;
    font-size: 34px; /* Размер шрифта оставлен из вашего кода. */
    line-height: 39px; /* Высота строки для соответствия размеру текста. */
    font-weight: 400; /* Сохраняем стиль текста для единообразия. */
    

    white-space: nowrap;
}

.info_center {
    position: relative;
    font-size: 24px;
    line-height: 33px;
    font-weight: 400;
    margin-left: 150px;
    margin-top: 70px;
}

.character__btn {
    margin-left: 580px;
}

.investigation {
    background-image: url(/resources/Begin_the_investigation/Investigation_background.png);
    height: 1024px;

}

.investigation-title {
   padding-top: 90px;
   padding-left: 500px;
   text-align: center;
    font-size: 64px;
    line-height: 74px;
    font-weight: 400;
    color: #FFFFFF;
    display: inline-block;
    position: relative; 
}

.investigation-title::after {
    content: '';
    background-image: url(/resources/Begin_the_investigation/Investigation_text_background.png);
    background-repeat: no-repeat;
    position: absolute; /* Абсолютное позиционирование */
    left: 35%;
    bottom: -130px;
    width: 120%; /* Ширина линии относительно текста */
    height: 150%; /* Высота линии */
}

.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.video-container iframe {
    width: 737px;
    height: 404px;
    box-shadow: 0 4px 10px rgba( 0, 0, 0, 0.3);
    border-radius: 10px;

}

.custom-slider {
    padding: 50px 0;
}

.slider-container {
    position: relative;
    display: flex;
    width: 801px;
    margin: 0 auto;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.button_prev,
.button_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba( 0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

.button_prev {
    left: 0;
}

.button_next {
    right: 0;
}

.slider-wrapper {
    display: flex;
    transition: transfrom 0.5s ease-in-out;
}

.slider-slide {
    position: relative;
    flex: 0 0 29.33%;
    text-align: center;
}

.slider-image {
    width: 65%;
    margin-right: -8px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba( 255, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.push-pin {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 20px;
    transform: translateX(-50%);
}

.slider-image:hover {
    transform: scale(1.05);
}

.slider-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba( 0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider_modal-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}



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

footer {
    background-color: #292929;
    height: 216px;
}

.footer_content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.footer_element-icon {
    margin-top: 40px;
    margin-right: 108px;
}

.copyrate-info {
    margin-top: 10px;
    text-align: center;
    margin-right: 100px;
    font-size: 20px;
    color: #a3a2a2;

}



