body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #f8f8f8;
    background-image: url('letnijfon3.jpg'); /* Путь к изображению */
    background-size: cover; /* Растягиваем изображение, чтобы покрыть всю область */
    background-attachment: fixed;
    /*background-position: center; /* Позиционируем изображение по центру */
    /*background-repeat: no-repeat; /* Запрещаем повторение изображения */
}



#content-container {
    position: relative;
    z-index: 1;
    background-color: #f8f8f8;
    padding-top: 50px; /* Поднимаем контент, чтобы он не перекрывался видео */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #33333300; /* Цвет фона шапки */
    padding: 10px 20px; /* Внутренние отступы для лучшего визуального разделения элементов */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    height: 80px;
}

#logo {
    width: 200px; /* Размер логотипа */
    height: auto;
}

nav {
    flex: 1; /* Занимает доступное пространство, чтобы выровнять ссылки по центру */
    text-align: center; /* Центрирование текста внутри навигационной области */
    margin-left: 150px; /* Увеличение расстояния между иконками и навигацией */
}

nav a {
    margin: 1 18px; /* Отступ между ссылками */
    text-decoration: none;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #9c6a27;
}


/* инста, фейсбук */

.social-links {
    margin-left: auto; /* Перемещение иконок вправо */
    margin-right: 28px; /* Увеличение расстояния между иконками и навигацией */
    display: flex;
    align-items: center;
}

.social-link {
    margin-right: 8px; /* Расстояние между иконками */
}

.social-icon {
    width: 25px; /* Ширина иконки */
    height: 25px; /* Высота иконки */
    border-radius: 30%; /* Делаем иконки круглыми */
    transition: transform 0.3s ease; /* Анимация при наведении */
}



/* flag */
.language-link {
    margin: 0 8px; /* Отступ флажков от ссылок */
    display: flex;
    
}

.flashing {
    animation: flashing 1s infinite alternate; /* Анимация для мигания */
}

@keyframes flashing {
    from {
        opacity: 1; /* Начальная прозрачность */
    }
    to {
        opacity: 0.5; /* Прозрачность при мигании */
    }
}

.flag-icon {
    width: 35px; /* Размер флага, можно настроить под ваши требования */
    height: auto;
}

#contact-button {
    margin-right: 25px; /* Отступ кнопки справа */
    padding: 10px 20px; /* Внутренние отступы кнопки */
    font-size: 16px;
    background-color: #9c6a27; /* Цвет фона кнопки */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

#contact-button:hover {
    background-color: #8B4513; /* Изменяем цвет при наведении */
}

nav a:not(:last-child) {
    margin-right: 35px;
}

body.scrolled header {
    background-color: #604335;
}
/*//\\*/

.form-container {
    background-color: #ffffff34;
    padding: 20px;
    width: 20%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(243, 243, 243, 0.1);
    text-align: center;
    margin-top: 150px; /* Пример для движения вниз */
    margin-left: auto; /* Пример для движения влево */
    margin-right: auto;
}

.form-group {
    margin-bottom: 20px;
    color:aliceblue;
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #9c6a27;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #604335;
}

.maps-container {
    justify-content: center;
    align-items: center;
    width:30%;
    height: 50%; /* Высота контейнера карты, например, 80% от высоты видимой области */
    margin-top: 50px; /* Отступ сверху */
    margin-left: auto; /* Перемещение контейнера вправо */
    margin-right: auto; /* Перемещение контейнера влево */
    max-width: 600px; /* Максимальная ширина контейнера, чтобы не занимал всю ширину экрана */
}





/*//\\*/
/* Ваш стиль для footer */
footer {
    background-color: #f8f8f800; /* Цвет фона футера */
    padding: 80px 100px;
    text-align: center;
    
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-width: 30vw;
}

.footer-data {
    text-align: right;
}

.footer-data p {
    margin: 0;
    font-size: 24px;
    color: #ffffff; /* Цвет текста футера */
}

.textavatud {
    font-size: 1.5vw;
    color:aliceblue;
}

footer p:last-child {
    margin-top: 20px; /* Добавляет отступ между блоками */
}

.text-center {
    text-align: center;
    margin-top: 20px; /* Если нужен отступ сверху */
    color:aliceblue;
}



/* tlf */
/* Медиа-запрос для мобильных устройств с максимальной шириной экрана 768px */
@media screen and (max-width: 1024px) {
   header {
        padding: 8px; /* Уменьшим внутренние отступы шапки */
        height: 60px; /* Уменьшим высоту шапки */
    }

    #logo {
        width: 50px; /* Уменьшим размер логотипа */
    }

    nav {
        margin: 0;
        text-align: center;
    }

    nav a {
        margin: 0 -15px; /* Уменьшим отступы между ссылками */
        font-size: 10px; /* Уменьшим размер шрифта */
    }

    .social-links {
        margin: 0;
        justify-content: center;
    }

    .social-icon {
        width: 10px; /* Уменьшим размер иконок социальных сетей */
        height: 10px;
    }
    
    .flag-icon {
    width: 15px; /* Размер флага, можно настроить под ваши требования */
    height: auto;
}

    #contact-button {
        display: none; /* Скроем кнопку контактов на мобильных устройствах */
    }

    .form-container {
        background-color: #ffffff34;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(243, 243, 243, 0.1);
        text-align: center;
        margin-top: 80px; /* Уменьшаем отступ сверху для мобильных устройств */
        width: 80%; /* Устанавливаем ширину формы */
        margin-left: auto;
        margin-right: auto;
    }
    
    .form-group {
        margin-bottom: 20px;
        color: aliceblue;
    }
    
    label {
        display: block;
        margin-bottom: 8px;
    }
    
    input,
    textarea {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    
    
    button:hover {
        background-color: #604335;
    }
    
    .maps-container {
    justify-content: center;
        align-items: center;
        width: 100%; /* Установка ширины контейнера на мобильных устройствах */
        margin-top: 30px; /* Уменьшение отступа сверху */
        
    }
    iframe {
        width: 100%;
    }


    /* Стили для футера */
   footer {
        padding: 10vw 4vw; /* Увеличиваем внутренние отступы */
    }

    .footer-logo img {
        
        display: none;
    }

    .textavatud {
    font-size: 3vw; /* Уменьшаем размер шрифта текста в футере */
    }

    .footer-data p {
        font-size: 3vw; /* Уменьшаем размер шрифта текста в футере */
    }
}

