body {
    background-color: white;
    color: black;
    transition: background-color 0.3s, color 0.3s;
    padding: 20px;
    font-family: sans-serif;
}

.lower {
    margin-top:50px;
}

body.dark-theme {
    background-color: #121212;
}

body.video-theme {
    background-color: #121212;
}




.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.filter-bar button:hover {
    background-color: #ffbb00;
}

.filter-bar button.active {
    background-color: #333;
    color: #ffbb00;
    border-color: #333;
}

.map-section {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

.map-summary {
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    user-select: none;
}

.map-summary:hover {
    background-color: #ffbb00;
}

.map-container {
    overflow: hidden;
    border-radius: 10px;
    transition: max-height 0.4s ease;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 600px);
    justify-content: center;
    gap: 20px;

}
.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    max-width: 600px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.1s ease-in-out;
}

.item:hover { transform: scale(1.02); }

.item img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.item video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    color: white;
}

.overlay img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.overlay h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    cursor: pointer;
    color: white;
}


@media (min-width: 1200px) {
    .container {
        grid-template-columns: 1fr 1fr;
        justify-content: start;
    }
}


