/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.lobster-regular {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
    font-family: "Lobster", sans-serif;
    background-color: #f9f9fb;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Навигация (верхние плашки) */
header {
    background-color: #FDF6E3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #A0522D;
}

/* Главная секция (фото и описание по центру) */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background-color: #FFFFFF;
    background-image: url(stars-sparkling.gif);
    background-repeat: repeat;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3e2723;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.description {
    max-width: 600px;
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Подвал (ссылки на соцсети снизу) */
footer {
    background-color: #EEDCC4;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: #ffffff;
    background-color: #333;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s;
}

/* Индивидуальные цвета кнопок */
.social-links .tg:hover { background-color: #0088cc; }
.social-links .vk:hover { background-color: #4a76a8; }
.social-links .gh:hover { background-color: #000000; }

.social-links a:hover {
    transform: translateY(-3px);
}

/* Добавьте это в ваш style.css */

.projects {
    position: absolute; /* Накладываем поверх всего */
    top: 50%;           /* Центрируем по вертикали */
    left: 50%;          /* Центрируем по горизонтали */
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    pointer-events: none; /* Чтобы картинки не перекрывали ссылки, если вы кликаете сквозь них */
    z-index: 10;         /* Чтобы были выше основного контента */
}

.jump-image {
    width: 50px; /* Установите нужный размер */
    animation: jump 0.6s ease-in-out infinite alternate;
}

/* Разные задержки для хаотичного движения */
.img-1 { animation-delay: 0.1s; }
.img-2 { animation-delay: 0.4s; }
.img-3 { animation-delay: 0.2s; }
.img-4 { animation-delay: 0.5s; }
.img-5 { animation-delay: 0.3s; }
/* Добавьте остальные по аналогии */

@keyframes jump {
    0% {
        transform: translateY(0); /* Начальная позиция на месте */
    }
    100% {
        transform: translateY(-30px); /* Максимальная высота прыжка (вверх) */
    }
}


/* Адаптивность для телефонов */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    .social-links {
        flex-direction: column;
    }
}