﻿/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: bold;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 1rem;
    color: #555;
}

strong {
    color: #333;
}

a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

    a:hover {
        text-decoration: underline;
    }

/* Стили для изображений */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.image {
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover; /* Обрезка изображений для сохранения пропорций */
    width: 200px; /* Фиксированная ширина */
    height: 200px; /* Фиксированная высота */
}

    .image:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }



/* Адаптивность */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .image {
        width: 150px;
        height: 150px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .image {
        width: 100px;
        height: 100px;
    }

    .container {
        padding: 10px;
    }
}
