/* ПОДКЛЮЧЕНИЕ ШРИФТА */
@font-face {
    font-family: 'BlackOpsOneRus';
    src: url('../fonts/BlackOpsOne-Rus.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ОБНУЛЕНИЕ */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'BlackOpsOneRus', Arial, sans-serif;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

/* ЭКРАН ЗАГРУЗКИ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #00eeff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* СТРУКТУРА СЕКЦИЙ */
.main-title {
    font-size: 3em;
    margin-top: -50px;
    margin-bottom: 40px;
    text-align: center;
}

.section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: white;
}

.section.active {
    opacity: 1;
}

.section:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.section p {
    font-size: 16px;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .section p {
        text-align: center;
    }
}
#section1 {
    background-color: #000000;
}

#section2 {
    background-color: #010101;
}

#section3 {
    background-color: #020202;
}

#section4 {
    background-color: #030303;
}

#section5 {
    background-color: #040404;
}

#section6 {
    background-color: #050505;
}

#section7 {
    background-color: #060606;
}

#section8 {
    background-color: #070707;
}

#section9 {
    background-color: #080808;
}

#section10 {
    background-color: #090909;
}

#section11 {
    background-color: #101010;
}

/* остальная часть CSS без изменений */


.slide-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.title-box, .title-boxr {
    font-size: 3.2em;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    position: absolute;
}

.title-box  { top: 30px; left: 30px; }
.title-boxr { top: 30px; right: 30px; }

.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.image-box img,
.image-boxr img {
    max-width: 500px;
    max-height: 300px;
    width: auto;
    height: auto;
    position: absolute;
    top: 100px;
    background-color: #ffffff;
}

.image-box img { right: 30px; }
.image-boxr img { left: 30px; }

.text-box-small {
    padding: 10px;
    flex: 1 1 45%;
    color: white;
}

.text-box-large {
    padding: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    font-size: 1.2em;
    color: white;
}

#actionButton {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#actionButton.rotated {
    transform: rotate(180deg);
}

#actionButton:hover {
    transform: scale(1.1);
}

#actionButton.rotated:hover {
    transform: rotate(180deg) scale(1.1);
}

#actionButton:active {
    transform: scale(0.95);
}

#actionButton.rotated:active {
    transform: rotate(180deg) scale(0.95);
}

.notification {
    position: fixed;
    top: 20px;
    right: 0;
    background-color: white;
    color: black;
    padding: 20px 30px;
    border-radius: 25px 0 0 25px;
    display: none;
    animation: slideIn 0.4s ease forwards;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: 80px;
    align-items: center;
    z-index: 10;
}

.fade-out {
    animation: slideOut 0.4s forwards;
}

@media screen and (max-width: 768px) {
    #actionButton {
        color: white;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 60px;
        border-radius: 0;
        background-color: rgba(10, 10, 10, 0.6);
        font-size: 24px;
    }

    .notification {
        max-width: 90%;
        font-size: 14px;
        padding: 10px;
    }

    .section {
        padding: 10px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .section * {
        text-align: center;
    }

    .title-box,
    .title-boxr {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .content-row {
        flex-direction: column;
        align-items: center;
    }

    .image-box, .image-boxr {
        order: -1;
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }

    .image-box img,
    .image-boxr img {
        position: static;
        margin: 0 auto;
        display: block;
    }

    .text-box-small,
    .text-box-large {
        font-size: 1em;
        padding: 10px;
        flex: 1 1 100%;
        order: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: 2s;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 3s;
}

@keyframes rotateOnce {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}

@keyframes slideIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}
