* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;

    background-size: cover;
    background-position: center;
}
.body_mp{
    background-image: url('/img/fon.jpg');
}

.container_mp {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.container_mp .search-form h3{
    text-align: left;
    margin-bottom: 10px;
}
.container_mp .search-form {
    background-color: rgba(255, 255, 255, 0.8); /* Полупрозрачный фон для формы */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.container_mp .search-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.container_mp .search-form button {
    width: 100%;
    padding: 10px;
    background-color: #25a9e0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #0056b3;
}

h1{
    font-size: 3em;
    color:#fff;
    padding: 20px;
    text-shadow: 2px 2px 2px #010100;
    background-color: #25a9e0;

    -webkit-box-shadow: -11px 4px 16px 0px rgba(34, 60, 80, 0.08) inset;
    -moz-box-shadow: -11px 4px 16px 0px rgba(34, 60, 80, 0.08) inset;
    box-shadow: -11px 4px 16px 0px rgba(34, 60, 80, 0.08) inset;

    font-weight: lighter;
}
.footer{
    background-color: #000000;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
/* Мобильные стили */
@media (max-width: 600px) {
    .search-form {
        padding: 15px;
    }

    .search-form input,
    .search-form button {
        padding: 8px;
    }
}



.search h2{
    color: #222;
    text-shadow:none;
    margin-bottom: 20px;
}

.search .main-block {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin:20px auto;
    background-color: rgba(255, 255, 255, 0.8);
}

.results {
    margin-top: 20px;
}
.search_str{
    font-size: 10px;
    margin-top: 10px;
}

.result-card {
    background: #f9f9f9;
    border: 1px solid #ddd;

    padding: 15px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}
.result-card .title{
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333333;
}



.result-card h3 {
    margin-top: 0;
}

.result-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 8px 12px;
    border-radius: 4px;
}

.result-link:hover {
    background-color: #0056b3;
}



.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
}

.nav {
    display: flex;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-left: 20px;
    float: left;
}

.nav-list a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

#mapPoint li{
    width:100%;
    padding: 10px 0px;
}

#mapPoint li form{
    float:left;
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Скрываем навигацию по умолчанию */
        position: absolute;
        top: 60px; /* Высота шапки */
        left: 0;
        right: 0;
        background-color: #333;
        flex-direction: column;
        z-index: 999; /* Чтобы меню было выше остальных элементов */
    }

    .nav.active {
        display: flex; /* Показываем навигацию при активации */
    }

    .hamburger {
        display: flex; /* Показываем гамбургер-меню */
    }
}

