/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #FFD700; /* Жёлтый фон */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: black; /* Чёрный текст */
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Главное изображение */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-section img {
    width: 50%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.hero-section img:hover {
    transform: scale(1.05);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 00%;
    height: 00%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
    border-radius: 6px;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Список тем */
.topics ul {
    list-style-type: none;
    padding: 0;
}

.topics li {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.topics li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Футер */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #FFD700; /* Жёлтый фон */
    color: black; /* Чёрный текст */
    margin-top: 20px;
}

footer p {
    font-size: 0.9rem;
}

/* Стиль для текста под аватаркой */
.hero-description {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    padding: 0 20px;
}

.hero-description blockquote {
    font-style: italic;
    color: #222;
    margin: 10px 0;
    padding-left: 20px;
    border-left: 4px solid #FFD700; /* Жёлтый цвет для акцента */
}