body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Font Sans', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
}
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
#form-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1;
    position: relative;
    max-width: 400px;
    margin: 20px;
}
label {
    display: block;
    margin: 10px 0;
}
input, select, button {
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
button {
    background-color: #28a745;
    color: white;
    cursor: pointer;
}
button:hover {
    background-color: #218838;
}
#result {
    margin-top: 20px;
    font-size: 15px;
}
#city-photos {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.city-photo {
    background-color: #ccc;
    border-radius: 10px;
    object-fit: cover;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Стиль для мобильных устройств */
@media (max-width: 768px) {
    .city-photo {
        height: 120px; /* Задаем фиксированную высоту */
    }
    .city-photo img {
        width: 100%; /* Изображение растягивается по ширине */
        height: 100%; /* Изображение растягивается по высоте */
        object-fit: cover; /* Обеспечиваем, чтобы изображение заполнило контейнер */
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    .city-photo img.active {
        opacity: 1;
    }
}

/* Стиль для десктопов и больших экранов */
@media (min-width: 769px) {
    .city-photo {
        width: 400px; /* Ширина изображений на десктопах */
        height: 300px; /* Высота изображений на десктопах */
    }
    .city-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    .city-photo img.active {
        opacity: 1;
    }
}

#photo-top-left {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 0;
}
#photo-top-right {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 0;
}
#photo-bottom-left {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 0;
}
#photo-bottom-right {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 0;
}
#form-container {
    position: relative;
    z-index: 10;
}
button, input, select {
    position: relative;
    z-index: 10;
}
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
