* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
}

.main {
    width: 100%;
    height: 200vh;
    background-color: #ffffff;
}

.content {
    text-align: center;
    position: relative;
    top: 1%;
}

.main > .content img {
    width: 500px;
    height: 220px;
    z-index: -10;
    opacity: 100%;
    margin-right: 700px;
    margin-top: 700px;  /* Зсуває зображення вниз на 10px */
}
.main > .ff img{
    width: 500px;
    height: 220px;
    z-index: -10;
    opacity: 100%;
    margin-left: 900px;
    margin-top: 100px;
}

/* Вертикальні смуги */
body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    width: 200px;
    height: 100%;
    background-color: rgb(226, 218, 219);
    z-index: 999;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
}
.thin-stripe {
    position: absolute;
    top: 150px;
    left: 960px; /* або right: 0; для правої смуги */
    width: 3px;  /* Тонка смуга */
    height: 230px;
    background-color: rgb(109, 105, 106); /* Колір для тонкої смуги */
    z-index: 1000;
    border-radius: 10px; /* Додаємо округлені кути */
}
.thin-stripe2 {
    position: absolute;
    top: 150px;
    left: 600px; /* або right: 0; для правої смуги */
    width: 3px;  /* Тонка смуга */
    height:190px;
    background-color: rgb(109, 105, 106); /* Колір для тонкої смуги */
    z-index: 1000;
    border-radius: 10px; /* Додаємо округлені кути */
}

.Skills-block{
    position: absolute;
    top: 12.25%;
    left: 75%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: left; /* Вирівнювання тексту по лівому краю */
    color: #1f1f1f;
    font-family: sans-serif;
}


.Knowledge-block {
    position: absolute;
    top: 11%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: left; /* Вирівнювання тексту по лівому краю */
    color: #1f1f1f;
    font-family: sans-serif;
}

.highlighted-line {
    background-color: rgb(162, 167, 165);
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.info-list, .contacts {
    list-style-type: disc; /* Класичні маркери */
    padding-left: 20px; /* Відступ для маркерів */
    margin: 10px 0;
}

.contacts li {
    margin-bottom: 5px;
}

.contacts a {
    text-decoration: none;
    color: #1f1f1f;
}

/* Блок з інформацією */
.info-block {
    position: absolute;
    top: 17%; /* Відстань від верхнього краю */
    left: 15%; /* Відстань від лівого краю */
    transform: translateY(-50%); /* Вирівнює блок по вертикалі */
    background-color: rgb(162, 167, 165); /* Трохи прозорий фон */
    padding: 20px;
    border-radius: 10px;
    width: 250px; /* Ширина блоку */
    text-align: center; /* Вирівнювання тексту по центру */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Легка тінь для кращого вигляду */
    color: #1f1f1f;
}

.info-photo {
    width: 100px; /* Розмір фотографії */
    height: 150px;
    border-radius: 10%; /* Кругла форма */
    margin-bottom: 30px; /* Відстань між фото та текстом */
}

.info-block h2 {
    margin-bottom: 10px; /* Відстань між ім'ям і текстом */
    font-size: 1.5em; /* Розмір шрифта */
}

.contacts a {
    display: block; /* Кожне посилання на новому рядку */
    text-decoration: none; /* Без підкреслення */
    color: #6d696a; /* Колір посилань */
    margin: 5px 0; /* Відстань між посиланнями */
}

.contacts a:hover {
    color: #131313; /* Темніший колір при наведенні */
}
.my-gif {
    width: 500px;       /* або 100%, або інші розміри */
    height: auto;       /* щоб зберігати пропорції */
    position: absolute; /* або relative/fixed залежно від того, що потрібно */
    top: 700px;         /* відступ зверху */
    left: 700px;         /* відступ зліва */
    z-index: 10;        /* щоб не ховалась за іншими елементами */
}
.top-nav {
    background-color: #222;
    padding: 10px;
    text-align: center;
}
.top-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-family: sans-serif;
    font-size: 18px;
}
.top-nav a:hover {
    text-decoration: underline;
}


.mainGames {
    text-align: center;
}
.info-listGames {
    list-style-position: outside;
    padding-left: 1.5em; /* або % — для адаптивності */
    margin-left: 15%;   /* Зсуває вправо на 10% ширини екрану */
    margin-top: 1%;     /* Зсуває вниз на 5% висоти батьківського елемента */
    font-size: 1.2rem;
    text-align: left;
}

.gif-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* дозволяє переносити на наступний рядок при потребі */
    padding: 0 15%; /* відступи зліва та справа */
    box-sizing: border-box;
    gap: 2px; /* відстань між гіфками */
}

.gif-Menu,
.gif-Gameplay {
    width: 100%;
    max-width: 500px; /* максимальна ширина гіфки */
    height: auto;
    flex: 1 1 300px; /* адаптивне розширення */
}
.mainProgramming {
    text-align: center;
}
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1px; /* Відстань між зображеннями */
    justify-content: center; /* Або flex-start / space-between */
    align-items: flex-start;
}

.image-gallery img {
    width: auto;
    height: auto;
    max-width: 700px;  /* або свої розміри */
    border-radius: 10px;
    object-fit: cover;
}



