﻿body {
    font-family: Arial, sans-serif;
    background-color: #f0f3f8; /* Светло-серый */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Изменено на flex-start, чтобы содержимое начиналось с верха страницы */
    min-height: 100vh; /* Изменено с height на min-height, чтобы страница могла прокручиваться */
    padding: 20px 0; /* Добавлено для отступов сверху и снизу */
}

.container {
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.projects {
    font-size: 24px;
    color: #3d7ea6; /* Стальной синий */
    margin-bottom: 10px;
    font-weight: bold;
}

.project-links a {
    color: #5c9bb1; /* Серый синий */
    margin: 0 5px;
    text-decoration: none;
}

  

    .project-links a:hover {
        text-decoration: underline;
    }

.handouts {
    font-size: 24px;
    color: #3d7ea6; /* Темно-серый */
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

    .handouts a {
        color: #3d7ea6; /* Серый */
        text-decoration: none;
    }

        .handouts a:hover {
            text-decoration: underline;
        }

.name {
    font-size: 36px;
    color: #3d7ea6; /* Темно-темно-синий */
    margin-bottom: 20px;
    font-weight: bold;
}

h1 {
    color: #3d7ea6; /* Стальной синий */
    font-weight: bold;
}

h2 {
    color: #3d7ea6; /* Серый синий */
}

.image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .image-container img {
        border-radius: 0%; /* Убираем скругление, чтобы изображение было квадратным */
        width: 240px; /* Увеличено в 3 раза (80px * 3) */
        height: 240px; /* Увеличено в 3 раза (80px * 3) */
        object-fit: cover; /* Обеспечивает квадратное отображение изображения */
    }

pre {
    text-align: left;
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 100%;
    overflow-x: auto;
    margin: 20px auto;
    font-size: 14px;
    line-height: 1.4;
}
/* Добавленные стили для уменьшения размеров изображений */
img[src*="GALOIS.png"] {
    max-width: 200px; /* Примерное уменьшение размера до 200px по ширине */
    height: auto; /* Сохранить пропорции */
}

img[src*="ABBA.png"] {
    max-width: 200px; /* Примерное уменьшение размера до 200px по ширине */
    height: auto; /* Сохранить пропорции */
}

img[src*="5_10.png"] {
    max-width: 300px; /* Примерное уменьшение размера до 300px по ширине */
    height: auto; /* Сохранить пропорции */
}
