* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.map-container  {
    width: 100%; /* Задаем ширину 100% для карты */
    margin-left: 10px;
}

.header-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid black;
    border-radius: 30px;
}

.header-container img {
    margin-left: 5px;
    margin-top: 5px;
    height: 60px;
    
}

.header-container-links {
    margin-left: auto; /* Отодвигаем контейнер вправо */
    margin-right: 50px; /* Добавляем отступ справа, если нужно */
    font-size: 16px;
    width: 40%; /* Ширина контейнера */
    display: grid; /* Включаем CSS Grid */
    grid-template-columns: repeat(4, 1fr); /* Создаем 4 колонки равной ширины */
    justify-items: end; /* Выравнивание содержимого по правому краю */
    align-items: center; /* Выравнивание по вертикали */
    font-family: "Inter", serif;
}

.mobile-container-links {
    display: none;
}

.header-container-links a {
    display: flex;
    justify-content: center; /* Центрируем содержимое по горизонтали */
    align-items: center; /* Центрируем содержимое по вертикали */
    color: black;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px; /* Внутренние отступы */
}

.header-container-links a:hover {
    background-color: #F6F6F6;
    border-radius: 15px;
}

.icon {
    display: none; 
}

.sidebar-container {
    font-family: "Inter", serif;
    position: absolute;
    display: flex;
    flex-direction: column;
    border: solid 1px black;
    width: 375px;
    align-items: center;
    border-radius: 30px;
    margin: 30px;
    margin-top: 110px;
    z-index: 1000;
    background-color: #ffffff;
}

.sidebar-container h2 {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}

.old-map-container {
    width: 100%; /* или укажите фиксированное значение, например, 600px */
        height: 1000px; /* установите одинаковую высоту для обоих контейнеров */
        overflow: hidden; /* это поможет скрыть любые переполнения */
        position: relative; /* для позиционирования внутреннего содержимого */
}

.old-map-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.old-map-image img {
    width: 100%; /* чтобы изображение занимало всю ширину контейнера */
       
}

.excursion-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.excursion-points a {
    text-decoration: none;
    color: black;
}

.excursion-points__point {
    font-family: "Inter", serif;
    height: 75px;
    width: 300px;
    display: flex;
    border: solid 1px black;
    border-radius: 22px;
    margin-bottom: 15px;
    transition: background-color 0.3s; 
    background-color: white;
}

.excursion-points__point:hover {
    background-color: #f0f0f0; 
}

.excursion-points__point__icon {
    height: 100%;
    width: 20%;
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.excursion-points__point__text {
    height: 100%;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.excursion-points__point__text-h {
    margin-top: 10px;
    height: 15%;
}

.excursion-points__point__text-h h3 {
    font-size: 18px;
}

.excursion-points__point__text-p {
    height: 15%;
    margin-top: 15px;
    
}


.footer-container {
    width: 100%;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
}

.footer-logo img {
    width: 400px;
}

.footer-links-container {
    margin-top: 25px;
}

.links-list {
    
}

.links-list a {
    font-size: 22px;
    color: black;
    text-decoration: none;
    margin: 25px
}

.links-list a:hover {
    transition: 0.3s;
    color: #0056b3;
}

.footer-social-links-container {
    margin-top: 25px;
}

.social-links-list {
    
}



.social-links-list a {
    font-size: 30px;
    margin-left: 25px;
    color: black;
}

.social-links-list a:hover {
    transition: 0.3s;
    color: #0056b3;
}

.excursions-info-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.excursions-info-container__menu {
    flex: 0 0 27%;
}  

.excursions-info-container__images {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.excursions-info-container__images-image-block {
    position: relative;
    margin: 20px;
}

.excursions-info-container__images p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000; 
    color: #fff; 
    padding-bottom: 10px; 
    text-align: center; 
    opacity: 0.5; 
    border-radius: 10px;
}

.excursions-info-container__images-list {
  display: none; 
}

.excursions-info-container__images-list:first-child {
  display: block;
}

.excursions-info-container__text-block {
    display: none;
    font-family: "Inter", serif;
}

.excursions-info-container__text-block:first-child {
    display: block;
}

.excursions-info-container__text-block h2 {
    text-align: center;
    letter-spacing: 1px;
    margin-top: 5px;
}

.excursions-info-container__text-block p {  
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 7px;
}

.excursions-info-container__images img {
    border-radius: 20px;
    width: 500px;
    height: 400px;
}

.excursions-info-container__text {
    flex: 0 0 27%;
}



.menu-container .excursion-points {
    align-items: baseline;
    margin-top: 15px;
    margin-left: 7px;
}

.menu-container h2 {
    margin-top: 15px;
    margin-left: 5px;
}


@media (max-width: 1113px) {
    .header-container-links {
        width: 100%;
    }
 }

@media (max-width: 736px) { /* Измените 768px на желаемую ширину */
    .header-container-links {
        display: none; /* Скрываем обычное меню на маленьких экранах */
    }

    .header-mobile {
        width: 100%;
        display: flex; /* Используем flexbox для выравнивания */
    }
    
    .icon {
        color: black;
        text-decoration: none;
        display: block;
        font-size: 18px; /* Размер иконки */
        cursor: pointer; /* Указатель при наведении */
        padding: 10px; /* Внутренние отступы */
        background-color: transparent; /* Фон по умолчанию */
        border: none; /* Убираем рамку */
        margin-left: auto; /* Прижимаем к правому краю родительского элемента */
    }

    .mobile-container-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        text-align: center; 
        line-height: 1.7;
        left: 0;
        right: 0;
    }

    .mobile-container-links a {
        letter-spacing: 2px;
        font-size: 20px;
        color: black;
        text-decoration: underline 1px black;
    }

    .mobile-container-links a:hover {
        background-color: #F6F6F6;
        border-radius: 15px;
    }
}
