﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: #01071F;
    color: #FFFFFF;
    background-image: url('images/background.png'); /* Шлях до вашого зображення */
    background-repeat: repeat; /* Повторення зображення по горизонталі та вертикалі */
    background-size: 600px 600px; /* Встановлюємо розмір тайлу */
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Запобігає горизонтальній прокрутці */
}

/* Стиль для всіх браузерів */

/* Для Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px; /* Ширина вертикального скролбару */
    height: 12px; /* Висота горизонтального скролбару */
    background: none; /* Вимикаємо фон для скролбару */
}

/* Фон треку (простір за повзунком) */
::-webkit-scrollbar-track {
    background: none; /* Прозорий фон */
    display: none;
}

/* Стиль для самого повзунка */
::-webkit-scrollbar-thumb {
    background-color: #070D27; /* Колір повзунка */
    border-radius: 8px; /* Скруглені кути */
    border: 2px solid #1C2C4E; /* Бордер для повзунка */
    margin-left: 4px; /* Відступ вліво */
}

    /* Коли повзунок на ховері */
    ::-webkit-scrollbar-thumb:hover {
        background-image: linear-gradient(to bottom, #35A78F, #F1B648); /* Градієнт від #35A78F до #F1B648 */
    }

/* Для Firefox */
scrollbar {
    width: 12px;
    background: none; /* Вимикаємо фон */
}

/* Стиль повзунка для Firefox */
scrollbar-thumb {
    background-color: #070D27; /* Колір повзунка */
    border-radius: 8px; /* Скруглені кути */
    margin-left: 4px; /* Відступ вліво */
}

/* Стиль для стрілок в Firefox */
scrollbar-button {
    display: none; /* Вимикаємо стрілки */
}

/* Вимкнення треку в Firefox */
scrollbar-track {
    display: none; /* Вимикаємо трек */
}

/* Лоадер на весь екран */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff; /* Білий фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Поверх усього контенту */
    transition: transform 1s ease, opacity 1s ease; /* Анімація зсуву та прозорості */
}
    /* Зменшуємо розмір зображення лоадера */
    .loader img {
        width: 150px; /* Фіксована ширина */
        height: 150px; /* Фіксована висота */
    }

/* Приховуємо контент до закінчення завантаження */
body.loading {
    overflow: hidden; /* Блокує прокрутку під час завантаження */
}

body.loaded .loader {
    transform: translateY(-100%); /* Зсув лоадера вверх */
    opacity: 1; /* Плавне зникнення */
}

/* Стиль для хедера */
.header {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
    z-index: 10;
    display: flex;
    justify-content: center; /* Центрує навігацію */
    align-items: center; /* Центрує елементи по вертикалі */
}
.header-background {
    position: absolute;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    background-image: url('images/Header_background.png');
    background-size: cover;
    background-position: center;
    z-index: 5;
}
/* Основний мобільний хедер */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 120px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: none; /* Прибираємо фон */
}

.mobile-logo {
    position: absolute;
    left: 50%; /* Встановлюємо позицію по центру */
    transform: translateX(-50%); /* Зсуваємо на половину ширини елемента */
}


    .mobile-logo img {
        height: 50px;
    }

.mobile-burger img {
    height: 25px;
    cursor: pointer;
}

/* Меню, що виїжджає */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -80%; /* Ховає меню за екраном */
    width: 70%;
    height: 100%;
    background-image: url("images/About_background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    border-right: 2px solid #1C2C4E;
    transition: left 0.5s ease; /* Плавна анімація зміщення ліворуч */
    z-index: 100;
}

    /* Активний стан меню - відкрите на 70% екрану */
    .mobile-menu.open {
        left: 0%; /* Повертає меню в межі екрану */
    }
/* Список меню */
.mobile-menu-list {
    list-style: none;
    padding: 20px;
    margin: 0px 0px 0px;
    text-align: left;
}

    .mobile-menu-list li {
        margin: 10px 0;
    }

    .mobile-menu-list a {
        font-family: "Lato", sans-serif;
        font-size: 18px;
        font-weight: normal;
        color: #ffffff; /* Колір тексту */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .mobile-menu-list a:hover {
            color: #F1B648; /* Зміна кольору при наведенні */
        }
.menu-header {
    display: flex;
    justify-content: flex-end;
}

.close-menu {
    font-size: 24px;
    color: #F1B648;
    cursor: pointer;
}
/* Хрестик */
.close-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.mobile-nav-item {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-decoration: none;
    cursor: pointer;
}

    .mobile-nav-item:hover {
        color: #F1B648;
    }

/* Анімація меню */
.menu-open {
    display: block;
    left: 0;
}

/* Десктопний хедер */
.header {
    display: flex;
}

/* Приховуємо десктопний хедер на мобільних */
@media (max-width: 768px) {
    .header {
        display: none;
    }
}

/* Мобільний хедер */
.mobile-header {
    display: none; /* Приховуємо мобільний хедер за замовчуванням */
}

/* Відображаємо мобільний хедер на мобільних */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
}

/* Відображення мобільного меню тільки при відкритті (додається через JS) */
.menu-open {
    display: block;
}

/* Стилі для фейдера */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0; /* Спочатку фейдер прозорий */
    transition: opacity 0.3s ease;
    pointer-events: none;
}

    #overlay.active {
        opacity: 1; /* Показуємо фейдер */
        pointer-events: auto;
        z-index:1990;
    }

/* Стилі для спливаючого вікна */
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1); /* Початковий масштаб 0 */
    width: 60%;
    aspect-ratio: 16 / 9; /* Встановлює фіксоване співвідношення сторін 16:9 */
    background-image: url('images/About_background.png');
    background-size: cover;
    border: 2px solid #101839;
    border-radius: 8px;
    padding: 2%;
    box-sizing: border-box;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 101;
    opacity: 0; /* Початкова прозорість 0 */
    visibility: hidden; /* Спочатку прихований */
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Анімація при показі та зникненні */
    z-index: 1991;
}

    /* Активний стан попапу */
    #popup.active {
        opacity: 1; /* Показуємо попап */
        visibility: visible; /* Дозволяємо видимість */
        transform: translate(-50%, -50%) scale(1); /* Масштаб 1 */
        pointer-events: auto;
        transition: transform 0.3s ease, opacity 0.3s ease; /* Плавний перехід для прозорості і масштабування */
    }

    /* Стиль для закриття попапу */
    #popup.hide {
        transform: translate(-50%, -50%) scale(0.7); /* Зменшення масштабу */
        pointer-events: none; /* Забороняє взаємодію */
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s; /* Відтерміноване приховання */
        visibility: hidden; /* Приховує попап після завершення анімації */
    }

/* Стиль для хрестика-закриття */
#close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

    #close-button img {
        width: 20px;
        height: 20px;
    }

/* Заголовок */
#popup h2 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 3vw;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 5%;
}

/* Контактна форма */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 50%; /* Зменшуємо висоту форми на 25% */
    justify-content: space-between;
    margin-top: 5%;
}

/* Рядок для полів Ім'я та E-mail */
.input-row {
    display: flex;
    justify-content: space-between;
    width: 75%;
    gap: 15%;
    z-index: 10; /* Забезпечуємо, щоб поля були на передньому плані */
}

    .input-row input {
        width: 48%;
        padding: 2%;
        font-size: 1.2vw;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

/* Поле повідомлення */
textarea {
    width: 75%;
    padding: 2%;
    font-size: 1.2vw;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 100%;
    resize: none;
    margin-top: 5%;
}

/* Кнопка відправлення */
.send-button {
    background-image: url(images/button-background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 40px;
    border: none;
    padding: 0px;
    cursor: pointer;
    text-align: center;
    outline: none;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    background-color: transparent;
    margin-bottom: -10%;
}
    .send-button:hover {
        transform: scale(1.05); /* Ефект при наведенні */
    }

/* Стилі для нових контактних елементів */
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10%;
    padding: 0 5%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .contact-item img {
        width: 25px; /* Задайте розмір іконок */
        height: 25px;
    }

    .contact-item a {
        font-family: 'Raleway', sans-serif;
        font-weight: 300;
        font-size: 1.2vw;
        color: #D2E7FF;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .contact-item a:hover {
            color: #6B9AFF;
        }

/* Стиль для підказки */
.copied-tooltip {
    display: none; /* Спочатку приховано */
    position: absolute;
    background-color: #4CAF50; /* Зелений фон для підказки */
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    top: -25px; /* Відстань від Gmail посилання */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

    /* Покажемо підказку, коли вона активована */
    .copied-tooltip.show {
        display: block;
    }
/* Стилі для тултіпу */
.tooltip {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    transition: opacity 500.3s ease;
    left: 50%;
    margin-left: -2%;
    top: 0;
    white-space: nowrap;
}

    .tooltip.show {
        display: block;
        opacity: 1;
    }
/* Стилі для відображення email і копіювання */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 50%; /* Зменшуємо висоту форми на 25% */
    justify-content: space-between;
    margin-top: 5%;
}


/* Заголовки на Contacts */
.separate-contacts {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0; /* Задає відступи для більшої висоти */
    margin-top: -5%; /* Піднімає блок вгору */
    margin-bottom: 0%; /* Піднімає блок вгору */
}

.title-contacts-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.title-contacts {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    font-size: 50px; /* Розмір шрифту */
    text-align: center;
    position: relative;
    z-index: 4; /* Щоб текст був поверх фону */
}

.title-contacts-container::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 600px; /* Ширина фону, налаштуйте за потреби */
    height: 300px; /* Висота фону */
    background-image: url('images/Ellipse 25.png'); /* Ваша картинка */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1; /* Фон позаду тексту */
    animation: brightnessPulse 5s ease-in-out infinite;
}

/* Заголовки на сторінці */
.separate {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0; /* Задає відступи для більшої висоти */
    margin-bottom: 0%; /* Нейтральний відступ знизу */
}

    /* Унікальні стилі для кожного заголовка */
    .separate.about-title {
        margin-top: -10%; /* Відступ для About Me */
        margin-bottom: -5%;
    }

    .separate.examples-title {
        margin-top: 0%; /* Відступ для Examples */
    }

.title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.title {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    font-size: 50px; /* Розмір шрифту */
    text-align: center;
    position: relative;
    z-index: 4; /* Щоб текст був поверх фону */
}

.title-container::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 600px; /* Ширина фону, налаштуйте за потреби */
    height: 300px; /* Висота фону */
    background-image: url('images/Ellipse 25.png'); /* Ваша картинка */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1; /* Фон позаду тексту */
    animation: brightnessPulse 5s ease-in-out infinite;
}

/* Опис анімації для яскравості */
@keyframes brightnessPulse {
    0%, 100% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(150%); /* Зміна яскравості до 120% */
    }
}


/* Стиль для навігації */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.nav-item {
    text-decoration: none;
    color: #D2E7FF;
    font-size: 16px;
    transition: color 0.3s ease; /* Плавний перехід кольору */

}
/* .nav-item:last-child {
        color: #70CFBD; /* Застосовуємо колір за замовчуванням до Download CV */
    /*  } */

.nav-item:hover {
    color: #70CFBD; /* Колір при наведенні */
}
.nav-separator {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: url('images/separator.png') no-repeat center center;
    background-size: contain;
}

.nav-icon {
    max-width: 80px;
    height: auto;
}

/* Перший блок: Відео */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    mask-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 70%);
    mask-size: 100% 140%;
    -webkit-mask-size: 150% 100%;
    mask-position: center;
    -webkit-mask-position: center;
    top: -200px;
}

.video-content {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.centered-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid white;
    margin-bottom: 8px;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
}

.artist-name {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 24px;
    color: #F1B648;
    font-weight: bold;
    text-align: center;
    z-index: 6;
    margin-top: 40px;
}
.text-overlay {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(170vw * 0.07);
    max-font-size: 260px;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 20;
    white-space: nowrap;
    padding: 0 5%;
    box-sizing: border-box;
}
.subtitle {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(40vw * 0.03);
    max-font-size: 5px;
    font-weight: bold;
    color: #F1B648;
    text-transform: uppercase;
    text-align: center;
    z-index: 15;
    white-space: nowrap;
}

/* Другий блок: About Me */
.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    position: relative;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* Внутрішній прямокутник */
.about-pattern {
    width: 100%;
    height: 500px;
    background: url(images/pattern.png) repeat;
    background-size: 200px 200px;
    border: 2px solid #111E40;
    margin-bottom: -30%;
    margin-top: 15%;
}

/* Обгортка для трьох карток */
.about-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    z-index: 1000;
}

/* Картка */
.about-card {
    width: 100%;
    max-width: 430px;
    background: url("images/About_background.png") no-repeat center center;
    background-size: cover;
    border: 2px solid #111E40;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card-company {
    max-width: 1400px;
    min-height: 650px;
    padding: 70px;
}

/* Shared layout for Privacy Policy and Our Games */
.static-page { min-height: 100vh; background: #070D27; color: #fff; display: flex; flex-direction: column; }
.static-page-content { position: relative; z-index: 6; flex: 1; min-height: calc(100vh - 95px); display: flex; justify-content: center; align-items: flex-start; padding: 110px 20px 80px; box-sizing: border-box; overflow: hidden; }
.static-page-pattern { position: absolute; inset: 70px 0 0; height: 500px; background: url("images/pattern.png") repeat; background-size: 200px 200px; border-top: 2px solid #111E40; }
.static-card { width: min(100%, 980px); position: relative; z-index: 1; padding: 48px 56px; box-sizing: border-box; border: 2px solid #111E40; border-radius: 10px; background: url("images/About_background.png") no-repeat center center; background-size: cover; box-shadow: 0 6px 20px rgba(0,0,0,.18); font: 300 16px/1.6 "Raleway", sans-serif; }
.static-card h1, .static-card h2 { font-family: "Lato", sans-serif; font-weight: 400; }.static-card h1 { margin: 0 0 8px; color: #F1B648; font-size: 38px; }.static-card h2 { margin: 28px 0 8px; color: #F1B648; font-size: 22px; }.static-card p { margin: 0 0 14px; }.static-card a { color: #6B9AFF; }.static-page-kicker { color: #35A78F; letter-spacing: .18em; font-size: 12px; font-weight: 500; }.policy-date { color: rgba(255,255,255,.66); font-size: 14px; }
.games-page-content { align-items: center; }.games-card { max-width: 760px; min-height: 450px; text-align: center; }.work-in-progress { color: #35A78F; text-transform: uppercase; letter-spacing: .17em; font-size: 14px; }.cube-stage { height: 230px; width: 180px; margin: 24px auto 0; position: relative; }.cube { position: absolute; left: 66px; bottom: 10px; width: 48px; height: 48px; border: 2px solid #F1B648; border-radius: 5px; background: linear-gradient(135deg, #35A78F, #111E40); box-shadow: inset 8px 8px 0 rgba(255,255,255,.08), 0 5px 12px rgba(0,0,0,.25); transform-origin: bottom center; }.cube-one { animation: tower-base 7s infinite ease-in-out; }.cube-two { animation: tower-second 7s infinite ease-in-out; }.cube-three { animation: tower-third 7s infinite ease-in-out; }.cube-four { animation: tower-fourth 7s infinite ease-in-out; }
@keyframes tower-base { 0%,70%,100% { transform: translate(0,0) rotate(0); } 78%,88% { transform: translate(-43px,0) rotate(-38deg); } } @keyframes tower-second { 0%,10% { transform: translate(0,-140px); opacity:0; } 20%,70% { transform: translate(0,-50px); opacity:1; } 78%,88% { transform: translate(26px,-5px) rotate(46deg); opacity:1; } 100% { transform: translate(0,-140px); opacity:0; } } @keyframes tower-third { 0%,22% { transform: translate(0,-180px); opacity:0; } 32%,70% { transform: translate(0,-100px); opacity:1; } 78%,88% { transform: translate(62px,-5px) rotate(94deg); opacity:1; } 100% { transform: translate(0,-180px); opacity:0; } } @keyframes tower-fourth { 0%,34% { transform: translate(0,-230px); opacity:0; } 44%,70% { transform: translate(0,-150px); opacity:1; } 78%,88% { transform: translate(99px,-5px) rotate(145deg); opacity:1; } 100% { transform: translate(0,-230px); opacity:0; } }
@media (max-width: 768px) { .static-page-content { padding: 60px 14px; }.static-card { padding: 32px 24px; }.static-card h1 { font-size: 30px; } }
@media (max-width: 768px) { .static-page .header { display: flex !important; padding: 14px 10px; }.static-page .nav { gap: 10px; flex-wrap: wrap; }.static-page .nav-item { font-size: 13px; }.static-page .nav-icon { max-width: 52px; }.static-page .nav-separator { display: none; } }
.static-footer { position: relative; z-index: 6; flex-shrink: 0; }
@media (max-width: 768px) { .about-card-company { min-height: 420px; padding: 35px 25px; }.static-footer { min-height: 260px; }.static-footer .footer-right { flex-wrap: wrap; padding: 25px; }.static-footer .footer-center { width: 100px; height: 100px; } }

    .about-card:hover {
        transform: translateY(-5px);
    }

/* Контент картки */
.about-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 20px;
}

/* Текст у картці */
.about-card-text {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
}

    .about-card-text h3 {
        font-family: "Lato", sans-serif;
        font-weight: 400;
        font-size: 22px;
        margin-bottom: 10px;
        color: #F1B648;
    }

    .about-card-text p {
        margin-bottom: 10px;
    }

/* Фото */
.about-card-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

    .about-card-photo img {
        width: 100%;
        max-width: 250px;
        height: auto;
        border-radius: 8px;
    }

/* Адаптивність */
@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-card-text,
    .about-card-photo {
        width: 100%;
    }
}




/* Кнопка під карткою */
.download-cv-button {
    width: 250px; /* Ширина кнопки */
    height: 60px; /* Висота кнопки */
    background: url("images/button-background.png") no-repeat center center; /* Фон кнопки */
    background-size: cover; /* Масштабування фону */
    color: #fff; /* Колір тексту */
    text-align: center;
    line-height: 60px; /* Вирівнювання тексту по вертикалі */
    text-decoration: none; /* Відсутність підкреслення */
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 200;
    transition: transform 0.3s ease; /* Анімація збільшення */
    border: none; /* Відсутність обвідки */
    border-radius: 0px; /* Округлені краї */
    cursor: pointer; /* Курсор руки */
    position: absolute; /* Абсолютне позиціювання */
    bottom: 5%; /* Відступ від нижнього краю картки */
    left: 25%; /* Центруємо по горизонталі */
    transform: translateX(0%); /* Центрування кнопки по осі X */
}

    /* Ефект при наведенні */
    .download-cv-button:hover {
        transform: scale(1.1); /* Збільшення кнопки */
    }



/* Основний стиль для блоку Examples */
.examples-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Висота блоку на один екран */
    overflow: hidden;
    margin-top: -10%;
}


/* Стрілки */
.arrow {
    position: absolute;
    top: 50%;
    width: 10%; /* Ширина стрілки */
    height: 50%; /* Висота стрілки */
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/arrow background.png') center center / contain no-repeat;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.3s ease, filter 0.3s ease; /* Плавний перехід для збільшення і яскравості */
}

    /* Трикутник по центру стрілки */
    .arrow::before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        position: absolute;
        transition: border-color 0.3s ease; /* Плавний перехід кольору трикутника */
    }

/* Ліва стрілка */
.arrow-left {
    left: 12%;
    transform: translateY(-50%) scale(-1, 1); /* Поєднуємо масштабування для горизонтального відображення */
}

    .arrow-left:hover {
        transform: translateY(-50%) scale(-1.1, 1.1); /* Збільшення із збереженням відображення */
    }

    .arrow-left::before {
        border-width: 10px 0 10px 12px; /* Трикутник спрямований вліво */
        border-color: transparent transparent transparent #40566F;
        left: calc(50% - 10px); /* Вирівнювання трикутника по центру стрілки */
    }

/* Права стрілка */
.arrow-right {
    right: 12%;
}

    .arrow-right:hover {
        transform: translateY(-50%) scale(1.1); /* Звичайне збільшення */
    }

    .arrow-right::before {
        border-width: 10px 12px 10px 0; /* Трикутник спрямований вправо */
        border-color: transparent #40566F transparent transparent;
        transform: scaleX(-1); /* Відображення по горизонталі */
        right: calc(50% - 10px); /* Вирівнювання трикутника по центру стрілки */
    }

/* Ефекти для трикутника при наведенні */
.arrow:hover::before {
    border-color: transparent #6080A0 transparent transparent; /* Зміна кольору для правої стрілки */
}

.arrow-left:hover::before {
    border-color: transparent transparent transparent #6080A0; /* Для лівої стрілки */
}



.examples-card {
    width: 85%; /* Збільшена ширина картки */
    max-width: 50%;
    height: 60%;
    background-color: #070D27; /* Колір фону */
    background-image: url('images/card-background.svg'); /* Шлях до зображення фону */
    background-size: cover; /* Покриває всю область картки */
    background-repeat: no-repeat; /* Уникнення повторення зображення */
    background-position: center; /* Центрує зображення */
    border-width: 2px; /* Ширина кордону */
    border-color: #101839; /* Колір кордону */
    border-style: solid; /* Стиль кордону */
    display: flex;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.3);
    margin-left: 0%;
    transition: transform 0.5s ease;
    position: relative; /* Додано для правильного позиціонування стрілок */
}


/* Ліва частина для медіа */
.card-media {
    width: 100%; /* Заповнює всю ширину картки */
    position: relative; /* Встановлюємо відносне позиціювання для дочірніх елементів */
    padding-top: 45%; /* Висота для співвідношення 16:9 (9/16 = 0.5625) */
    overflow: visible; /* Сховати все, що виходить за межі */

}

    .card-media.large {
        width: 200%; /* Збільшуємо ширину на 20% більше за ширину картки */
        margin-left: -10%; /* Зсуваємо контейнер вліво, щоб він виходив за межі */
        height: 200%; /* Зберігаємо висоту у пропорціях */
        transform: scale(1); /* Масштабуємо контейнер */
        position: relative;
        z-index: 2; /* Піднімаємо поверх інших елементів */
    }

/* Плейсхолдер для медіа */
.card-media-placeholder {
    position: absolute; /* Абсолютне позиціювання для плейсхолдера */
    top: 0; /* Вирівнювання по верху */
    left: 0; /* Вирівнювання зліва */
    width: 100%; /* Заповнює весь контейнер */
    height: 100%; /* Заповнює весь контейнер */
    background-color: #555C77;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D2E7FF;
    font-size: 18px;
     margin-left: -10%;
}
    /* Рамка для медіа-контенту */
    .card-media-placeholder::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - -3px);
        height: calc(100% - -1px);
        border: 10px solid rgba(16, 24, 57, 0.6); /* 0.6 - рівень прозорості */
        pointer-events: none;
        z-index: 5;
        box-sizing: border-box;
    }
/* Контейнер для 3D моделі */
.card-media-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    overflow: visible; /* Дозволяємо вихід за межі */
}

    .card-media-3d::before {
        content: "";
        position: absolute;
        bottom: 7%;
        left: 0%;
        transform: translateX(0%);
        width: 100%;
        height: 15%;
        background: url(images/3d_plate.png) no-repeat center bottom;
        background-size: contain;
        pointer-events: none;
        z-index: -1;
    }



/* Стилі для відео та зображень, щоб зберегти співвідношення 16:9 */
.card-media video,
.card-media img {
    position: absolute; /* Абсолютне позиціювання для контролю розміру */
    top: 50%; /* Центрування по вертикалі */
    left: 50%; /* Центрування по горизонталі */
    width: 100%; /* Заповнює весь контейнер */
    height: auto; /* Автоматичне налаштування висоти */
    transform: translate(-50%, -50%); /* Центрування */
    max-height: 100%; /* Забезпечити, що висота не перевищує висоту контейнера */
    object-fit: cover; /* Заповнює весь контейнер без спотворень */
}

/* Обмежуємо відео та зображення, щоб вони не заходили на текст */
.card-media video,
.card-media img {
    max-width: calc(100% - 0px); /* Залишаємо відступи справа */
    max-height: calc(100% - 0px); /* Залишаємо відступи знизу */
}

/* Права частина для тексту */
.card-text {
    position: relative;
    width: 50%;
    padding: 20px;
    height: 100%;
    text-align: center;
}

    .card-text h3 {
        font-family: "Lato", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .card-text .card-description {
        max-height: 40%;
        overflow-y: auto;
        position: relative;
        padding: 0;
        scrollbar-width: none;
        padding-top: 2em; /* Відступ зверху для зсуву тексту вниз */
        mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); /* Маска для плавного зникання */
        margin-top: 15%;
    }
        .card-text .card-description::after {
            content: ''; /* Порожній вміст */
            display: block; /* Робимо його блоковим */
            height: 2em; /* Висота додаткового простору */
        }

    .card-text p {
        font-family: "Raleway", sans-serif;
        font-weight: 200;
        font-style: normal;
        font-size: 14px;
        line-height: 1.5;
    }

.project-logo {
    display: flex; /* Включає Flexbox */
    align-items: center; /* Вертикальне центрування */
    justify-content: center; /* Горизонтальне центрування */
    width: 50px; /* Фіксована ширина */
    height: 50px; /* Фіксована висота */
    margin-top: 20%; /* Відступ зверху */
    margin-bottom: 20%; /* Відступ знизу */
    margin-left: 40%;
}

    .project-logo img {
        width: 100%; /* Ширина зображення 100% від контейнера */
        height: 100%; /* Висота зображення 100% від контейнера */
        object-fit: contain; /* Забезпечує збереження пропорцій */
    }

.year {
    position: absolute; /* Абсолютне позиціювання для року */
    top: 20px; /* Відстань від верхнього краю */
    right: 20px; /* Відстань від правого краю */
    color: #D2E7FF; /* Колір тексту року */
    font-size: 14px; /* Розмір шрифту року */
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.triangle-example {
    width: 0;
    height: 0;
    border-left: 5px solid transparent; /* Ліва границя */
    border-right: 5px solid transparent; /* Права границя */
    border-top: 10px solid white; /* Замість border-bottom тепер border-top */
    margin-top: 20px; /* Відступ знизу */
    margin-bottom: -15px; /* Відступ знизу */
    z-index: 20; /* Високий z-index, щоб тримати трикутник на передньому плані */
    position: relative; /* Додаємо позиціювання для центрованого розташування */
    left: 50%; /* Розміщуємо його по центру */
    transform: translateX(-50%); /* Центруємо трикутник */
}

/* Анімації для плавного переміщення картки */
.slide-out-left,
.slide-out-right {
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-in-left,
.slide-in-right {
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-in-center {
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-out-left {
    transform: translateX(-100%);
}

.slide-out-right {
    transform: translateX(100%);
}

.slide-in-left {
    transform: translateX(-100%);
}

.slide-in-right {
    transform: translateX(100%);
}

.slide-in-center {
    transform: translateX(0);
}
/* Футер */
body, html {
    margin: 0; /* Видалити відступи у тілі та html */
}

/* Основний стиль для футера */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    height: 250px;
    background: linear-gradient(to top, #011539, #01071F);
    box-sizing: border-box;
    position: relative;
}

/* Лівий і правий блоки футера */
.footer-left,
.footer-right {
    list-style-type: none; /* Вимикає маркери */
    border: 2px solid #1C2C4E;
    padding: 10px;
    flex: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 100%;
}

.footer-left {
    justify-content: flex-start;
}

.icon-container {
    display: flex;
    gap: 10px;
    justify-content: center; /* Центруємо іконки по горизонталі */
    width: 100%; /* Займає всю ширину футера */
}

/* Стиль для круглих іконок з аутлайном */
.circle-icon {
    display: flex; /* Додаємо flex для центрування іконки */
    justify-content: center;
    align-items: center;
    width: 50px; /* Ширина сфери */
    height: 50px; /* Висота сфери */
    border-radius: 50%; /* Кругла форма */
    border: 2px solid #1C2C4E; /* Аутлайн для сфери */
    background-color: #01071F; /* Заливка сфери */
    overflow: hidden; /* Приховуємо частини іконки, що виходять за межі */
    text-decoration: none; /* Вимкнення підкреслення для посилання */
}

/* Іконка з фіксованим співвідношенням сторін */
.icon {
    width: 60%;
    aspect-ratio: 1 / 1; /* Фіксує співвідношення 1:1 */
    object-fit: contain; /* Масштабує іконку без обрізання */
}
.footer-right {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Центральний блок з іконкою */
.footer-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 2px solid #1C2C4E;
    background-color: #01071F;
    background-image: url("images/logo.png");
    background-size: 80%; /* Зменшення іконки до 80% */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

/* .footer-center::after {
        content: "";
        position: absolute;
        bottom: -5%; 
        left: 50%; 
        transform: translateX(-50%); 
        width: 50%; 
        height: 10px; 
        background-color: #FFA500; 
        border-radius: 10px; 
        box-sizing: border-box;
    }
*/

.footer-link {
    color: #D2E7FF; /* Основний колір тексту */
    text-decoration: none;
    margin: 0 0px;
    font-size: 16px;
    transition: color 0.3s ease; /* Плавний перехід */
}

    .footer-link:hover {
        color: #6B9AFF; /* Колір при наведенні, такий самий як у хедері */
    }

.footer-separator {
    color: #D2E7FF; /* Колір роздільника */
}

@media screen and (max-width: 768px) {

    /* Лоадер на весь екран */
    .loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff; /* Білий фон */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Поверх усього контенту */
        transition: transform 1s ease, opacity 1s ease; /* Анімація зсуву та прозорості */
        box-sizing: border-box;
    }

    /* Тимчасово заблокована прокрутка, поки лоадер активний */
    body.loading {
        overflow: hidden; /* Блокує прокрутку під час завантаження */
    }

    /* Коли сторінка завантажена — лоадер приховується */
    body.loaded .loader {
        transform: translateY(-100%); /* Зсув лоадера вверх */
        opacity: 0; /* Плавне зникнення */
        pointer-events: none; /* Забороняє взаємодію з прихованим лоадером */
    }

    /* Відновлюємо прокрутку */
    body.loaded {
        overflow: auto; /* Дозволяємо прокрутку після завантаження */
    }

    .centered-info {
        margin-top: 0px;
    }

    .triangle {
        margin-bottom: -20px;
    }

    .subtitle {
        font-size: calc(40vw* 0.07);
    }

    .video-background {
        height: 110vh;
    }

    .separate.about-title {
        margin-top: -60%;
        margin-bottom: -10%;
    }

    .separate.examples-title {
        margin-top: -5%;
        margin-bottom: -25%;
    }
    .title {
        font-size: 30px;
    }
    .title-container::before {
        transform: translate(-50%, -26%);
        width: 100%;
    }
    /* Для мобільних телефонів */
    .about-card {
        flex-direction: column; /* Фото зверху, текст знизу */
        width: 95%; /* Менша ширина для мобільних */
        height: auto; /* Адаптивна висота */
        padding: 20px; /* Відступи для читабельності */
        z-index: 90;
    }

    .about-card-photo {
        display: none; /* Приховуємо фото */
        width: 100%; /* Фото на всю ширину */
        margin-bottom: 20px; /* Відступ між фото і текстом */
    }

        .about-card-photo img {
            width: 100%; /* Масштабуємо фото до ширини контейнера */
            height: auto; /* Пропорційна висота */
        }

    /* Текст картки на мобільному вигляді */
    .about-card-text {
        width: 100%; /* Текст на всю ширину */
        font-size: 16px; /* Менший розмір шрифту для мобільних */
        padding: 0 15px; /* Додаємо відступи для читабельності */
    }

        /* Відображення заголовку */
        .about-card-text h3 {
            font-family: "Lato", sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 20px; /* Менший розмір заголовка для мобільних */
            margin-bottom: 10px;
            color: #F1B648;
        }

    /* Картка з текстом та фото */
    .about-card-content {
        display: flex;
        justify-content: space-between;
        height: 100%;
        padding: 0px;
        overflow: visible; /* Дозволяємо вмісту виходити за межі картки */
    }




    /* Вимикаємо інші елементи */
    .about-pattern {
        display: none;
    }

    .about-section {
        min-height: auto;
        padding-bottom: 10px;
    }
    /* Відображення кнопки для мобільного вигляду */
    .download-cv-button {
        width: 250px; /* Зменшуємо ширину кнопки */
        height: 62px; /* Зменшуємо висоту кнопки */
        background: url("images/button-background.png") no-repeat center center; /* Фон кнопки */
        background-size: cover; /* Масштабування фону */
        color: #fff; /* Колір тексту */
        text-align: center;
        line-height: 50px; /* Вирівнювання тексту по вертикалі */
        text-decoration: none; /* Відсутність підкреслення */
        font-family: "Raleway", sans-serif;
        font-size: 14px; /* Менший шрифт для мобільного вигляду */
        font-weight: 200;
        transition: transform 0.3s ease; /* Анімація збільшення */
        border: none; /* Відсутність обвідки */
        border-radius: 5px; /* Округлені краї */
        cursor: pointer; /* Курсор руки */
        position: absolute; /* Абсолютне позиціювання */
        bottom: -15%; /* Відступ від нижнього краю картки */
        left: 18%; /* Центруємо кнопку */
        transform: translateX(0%); /* Центрування кнопки по осі X */
    }

    .examples-section {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 110vh;
        overflow: hidden; /* Забороняємо вихід елементів за межі видимої області */
        margin-top: 10%;
        width: 100%; /* Забезпечуємо, що елемент займає всю ширину */
        box-sizing: border-box; /* Враховує padding і border у ширині */
    }



    .examples-card {
        width: 80%;
        max-width: 400px;
        height: auto;
        background-color: #070D27;
        background-image: url('images/card-background.svg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border: 2px solid #101839;
        border-radius: 0px;
        display: flex;
        flex-direction: column; /* Зміна на вертикальне розташування */
        margin: 20px auto;
        box-shadow: 0 4px 50px rgba(0, 0, 0, 0.3);
        position: relative;
        transition: transform 0.5s ease;
    }

    .card-media {
        width: 100%;
        padding-top: 56.25%; /* Пропорція 16:9 */
        position: relative;
    }

        .card-media.large {
            width: 100%; /* Оновлюємо ширину до 100% для мобільних пристроїв */
            margin-left: 0; /* Прибираємо зміщення */
            padding-top: 56.25%; /* Співвідношення 16:9 для відео/моделей */
        }

    .card-media-3d {
        width: 150%;
        height: 230%;
        max-width: 220vw;
        max-height: 100vh;
    }

    .card-media-placeholder {
        position: absolute;
        top: 0%;
        left: 0%;
        width: 120%;
        height: 120%;
        background-color: #555C77;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #D2E7FF;
        font-size: 18px;
    }

    .card-text {
        padding: 0px;
        text-align: center;
        background-color: #ffffff00;
        width: 100%;
    }

        .card-text h3 {
            font-family: "Lato", sans-serif;
            font-weight: 400;
            font-size: 20px;
            margin: 10px 0;
        }

    .card-description {
        max-height: 100px;
        overflow-y: auto;
        padding: 10px 0;
        mask-image: linear-gradient(to bottom, transparent, black 0%, black 100%, transparent);
        margin-top: 0%;
    }

        .card-description p {
            font-family: "Raleway", sans-serif;
            font-weight: 200;
            font-size: 14px;
            line-height: 1.5;
        }
    .arrow-left {
        left: 0%;
        transform: translateY(-50%) scaleX(-1);
    }
    .arrow-right {
        right: 0%;
    }
    .project-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        margin-top: 27%;
        margin-bottom: 0%;
        margin-left: 40%;
    }
    .year {
        position: absolute;
        top: 20%;
        right: 0%;
        color: #D2E7FF;
        font-size: 14px;
        font-family: "Lato", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

    .footer {
        height: 160px;
    }

    #popup {
        width: 90%; /* Ширина попапу на мобільних пристроях */
        max-width: 100%; /* Повна ширина для екрану */
        height: auto;
        padding: 10%;
    }

        #popup h2 {
            font-size: 5vw; /* Зменшуємо розмір шрифта заголовка */
        }

    .input-row {
        width: 100%;
        flex-direction: column; /* Поля підряд на мобільних */
        gap: 10%;
    }

        .input-row input, textarea {
            width: 100%; /* Повна ширина для полів вводу */
            font-size: 4vw; /* Зменшення розміру шрифтів */
        }

    .send-button {
        width: 80%;
        height: 100px;
        font-size: 4vw;
    }

    .contact-item a {
        font-size: 4vw;
    }
    /* Зменшуємо висоту футера */
    .footer {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    /* Лівий і правий блоки футера займають 100% ширини */
    .footer-left,
    .footer-right {
        flex: none;
        width: 100%;
        margin-bottom: 0px; /* Додаємо відступ між блоками */
        padding: 25px;
    }

    /* Іконки в футері - зменшити розмір для мобільних */
    .circle-icon {
        width: 40px;
        height: 40px;
    }

    .icon-container {
        gap: 30px; /* Зменшуємо відстань між іконками */
    }

    /* Центральний блок з іконкою */
    .footer-center {
        width: 40px;
        height: 40px;
        margin-top: 2%;
    }

    /* Стилі для тексту футера */
    .footer-link {
        font-size: 14px; /* Зменшуємо розмір шрифта */
    }

    /* Якщо потрібно, щоб роздільник зменшувався на мобільних */
    .footer-separator {
        font-size: 14px;
    }
}
