header {
    background-color: #f8f9fa;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

nav {
    display: flex;
    align-items: center; /* Выровнять логотип и меню по вертикали */
    max-width: 1200px; /* Максимальная ширина для контейнера */
    margin: 0 auto; /* Центрирование контейнера */
    padding: 0 20px; /* Дополнительные отступы по бокам */
    justify-content: space-between; /* Разделяет контейнер логотипа и меню */
}

.menu-container {
    flex: 1; /* Меню занимает центральное пространство */
    display: flex;
    justify-content: center; /* Центрирование элементов */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Центрирование элементов в списке */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.logo {
    height: 50px;
    width: 100px; /* Ширина будет больше, чтобы сделать изображение овальным */
    border-radius: 50%; /* Делаем края круглыми */
    object-fit: cover; /* Сохраняем соотношение сторон изображения */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #555;
}

.gallery-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.photo-gallery {
    display: flex;
    overflow-x: scroll;
    gap: 20px;
    padding-bottom: 20px; /* Место для скроллбара */
    scroll-snap-type: x mandatory;
}

.photo-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-gallery::-webkit-scrollbar {
    height: 8px;
}

.photo-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.photo-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.photo-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.layout {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.text-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.full-width {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .text-container {
        flex-basis: 100%;
    }
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.full-width-image {
    width: calc(100% - 20px); /* Уменьшаем ширину на 20px для отступов */
    height: 500px;
    display: block;
    margin: 10px; /* По 10px отступов с каждой стороны */
}

/* calendar */
.calendar-container {
    width: 100%;
    max-width: 400px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.nav-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.current-day {
    background-color: #4CAF50;
    color: white;
}

.marked-day {
    background-color: #FFA500;
    color: white;
}

/* curiend */
.curiend {
    display: flex;
    justify-content: flex-end;
}

.currency {
    margin-left: 10px; /* Расстояние между элементами */
}