/* Подключение пользовательского шрифта */
@font-face {
    font-family: 'ВашШрифт';
    src: url('fonts/Doreking.woff2.html') format('woff2'),
         url('fonts/Doreking.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Сброс стилей и применение шрифта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ВашШрифт', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Загрузочный экран */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/elaine.gif') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#startButton {
    padding: 20px 40px;
    font-size: 1.5em;
    background-color: transparent;
    /* Убрали рамку */
    /* border: 2px solid #000; */
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    color: #fff;
    /* Добавили свечение */
    box-shadow: 0 0 30px #ff00ff;
}
/* Иконка Twitter */
.twitter-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.twitter-icon img {
    width: 50px;
    height: 50px;
    
    transition: box-shadow 0.3s, transform 0.3s;
}

/* Анимация при наведении */
.twitter-icon img:hover {
    box-shadow: 0 0 20px #ff69b4; /* Розовое свечение */
    transform: scale(1.1); /* Увеличение при наведении */
}

#startButton:hover {
    background-color: transparent;
    color: #fff;
    /* Свечение розовым при наведении */
    box-shadow: 0 0 50px #ff69b4;
}

/* Главный экран */
.main-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/0418cb63b18512fcdf335c8819059240.gif') no-repeat center center fixed;
    background-size: cover;
}

.main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(1.2); /* Исказили текст по горизонтали */
    font-size: calc(20vh - 20px);
    line-height: 0.9;
    text-align: center;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff;
    white-space: nowrap;
    
}

/* Для обеспечения читаемости на малых экранах */
@media (max-width: 768px) {
    .main-title {
        font-size: 20vw;
        transform: translate(-50%, -50%) scaleX(1);
        letter-spacing: -2px;
    }
}

/* Контейнер для блоков */
.blocks-container {
    width: 100%;
}

/* Индивидуальный блок */
.block {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #000;
}

.block-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.block-image, .block-text {
    border: none; /* Убрали рамку */
    /* Увеличили яркость свечения */
    box-shadow: 0 0 50px #ff00ff;
}

.block-image {
    width: 30%;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.block-text {
    width: 70%;
    background-color: #111;
    color: #fff;
    padding: 5%;
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 10px 10px;
    /* Увеличили яркость свечения */
    box-shadow: 0 0 50px #ff00ff;
}

.block-text h2 {
    font-size: 3em;
    margin-bottom: 20px;
    /* Увеличили яркость свечения текста */
    text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff;
}

.block-text p {
    font-size: 1.2em;
    line-height: 1.6em;
    font-family: 'Courier New', monospace;
    color: rgb(11, 62, 204);
    /* Увеличили яркость свечения текста */
    text-shadow: 0 0 10px rgb(11, 62, 204), 0 0 20px rgb(11, 62, 204);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .block-content {
        flex-direction: column;
    }
    .block-image, .block-text {
        width: 100%;
        height: 50%;
    }
    .block-text {
        padding: 10%;
    }
    .main-title {
        font-size: 20vw;
        transform: translate(-50%, -50%) scaleX(1);
        letter-spacing: -2px;
    }
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #ff00ff;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff33ff;
}
