@import url('https://fonts.googleapis.com/css2?family=Bahnschrift+SemiLight&display=swap');

@font-face {
    font-family: 'Bahnschrift SemiLight';
    src: url('fonts/bahnschrift.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    background-color: #16181f;

}

header {
    background-color: #16181f;
    padding: 0 30px 0px 30px;
    margin-top: 30px
}


.h1 {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    font-size: 12px;
    font-weight: lighter;
    /* text-transform: uppercase; */
    color: white;
    /* color: #7f8485; */
    text-align: center;
    margin-top: 20px;
    /* padding-top: -100px; */
    margin-left: 25px;
    /* position: absolute; */
}

h2 {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: white;
    text-align: center;
    /* margin-bottom: 10px; */
    /* Уменьшаем отступ снизу */
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin: 0 10px;
}

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


img {
    width: 100%;
    height: auto;
    max-width: 90%px;
    margin: 10px auto;

}


.banner {
    max-width: 90%px;
    max-height: 90%px;
    /* margin: 30px auto; */
    width: 100%;
    height: auto;
}

.banner-2 {
    width: 100%;
    height: auto;
    position: absolute;
}

@media (max-width: 768px) {
    img {
        margin: 10px auto;
    }
}


.contacts {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    text-align: center;
    /* padding: top 20px; */
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.address,
.contacts,
.map {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    padding: 20px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
}

.address p,
.contacts p {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    color: rgb(166, 166, 166);
    margin: 10px 0;
}

.map-container {
    width: calc(100% - 60px);
    max-width: 100%;
    height: 500px;
    margin: 0px auto 0px;
    /* Уменьшаем верхний отступ до 10px */
    padding: 0px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    /* width: 100%;
    height: 100%;
    border: none; */
    height: 50vh;
    /* Занимает 50% от высоты экрана */
}


.links-container {
    font-family: 'Bahnschrift SemiLight', sans-serif;
    color: #00b8f7;
    font-size: 22px;
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Выравниваем по левому краю */
    line-height: 50px;
    /* Устанавливаем межстрочный интервал в 50 пикселей */

}

.link-item {
    display: flex;
    align-items: center;
    /* Выравнивание по центру по вертикали */
}

.icon {
    margin-right: 10px;
    /* Отступ справа от значка */
    width: 20px;
    /* Размер иконки */
    height: 20px;
}

a {
    display: inline-flex;
    /* Обеспечивает выравнивание элементов внутри */
    align-items: center;
    /* Выравнивание по вертикали */
    text-decoration: none;
    color: white;
}

a:hover {
    color: #00b8f7;
}

.icon:hover {
    fill: #00b8f7;
    cursor: pointer;
}