/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    background: linear-gradient(-45deg, #fff8dc, #ffeb8a, #ffe066, #f6d365);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Для небольших отступов на маленьких экранах */
}

/* Анимация золотистого градиента */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Ограничение максимальной ширины */
}

.profile-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 500px; /* Максимальная ширина карточки */
    margin: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

h2 {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.description {
    color: #888;
    margin-bottom: 15px;
}

.work p {
    font-size: 0.8em;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.work h3 {
    font-size: 1.2em;
    color: #333;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 0.9em;
    }

    .profile-image img {
        width: 100px;
        height: 100px;
    }

    .profile-card {
        padding: 15px;
    }
}