@keyframes colorChange {
    0%, 100% { color: skyblue; }
    20% { color: blueviolet; }
    40% { color: aqua; }
    60% { color: yellow; }
    80% { color: aquamarine; }
}

body {
    animation: colorChange 10s infinite;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #111; /* Добавил темный фон, чтобы цвета анимации лучше читались */
}

.info-block {
    max-width: 800px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Сетка проектов */
.projects-grid {
    display: flex;
    flex-wrap: wrap; /* Магия адаптивности: блоки переносятся сами */
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.project-item {
    flex: 1 1 250px; /* Размер блока проекта */
    max-width: 300px;
}

.scale {
    width: 100%;
    border-radius: 10px;
    transition: 0.5s;
}

.scale:hover {
    transform: scale(1.05); /* Легкое увеличение вместо сильного уменьшения */
}

a {
    color: inherit;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

a:hover { text-decoration: underline; }
