@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Source+Sans+Pro:wght@300;400;600&display=swap');
:root {
    --body-font: 'Source Sans Pro', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

/* Overlay Styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
}

.overlay-content {
    background:rgba(0, 0, 0, 0.7);;
    padding: 45px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* "X" Close Button */
.close-btn {
    background-color: #ea1538;
    color: white;
    font-size: 0.5rem;
    padding: 5px 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

/* Category Menu */
.category-menu button {
    font-family: var(--body-font);
    display: flex;
    background-color: #ea1538;
    color: white;
    padding: 10px;
    margin: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.category-menu button:hover {
    background-color: #d01a2e;
}

/* Locator Data Container */
.locator-data {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* Locator Data Entry */
.locator-entry {
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    box-sizing: border-box;
}

.locator-entry h3 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
}

.locator-entry p {
    font-family: var(--body-font);
    font-size: 1rem;
}

/* Responsive Layout: Stack items vertically on smaller screens */
@media (max-width: 768px) {
    .overlay-content {
        max-width: 95%;
    }

    .locator-data {
        flex-direction: column;
        gap: 10px;
    }

    .locator-entry {
        width: 100%;
    }
}
