body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.search-container {
    text-align: center;
    margin: 20px;
}

.card-container {
    text-align: center;
}

.card {
    position: relative;
    width: calc(25% - 20px);
    /* height: 200px; Fixed height for the card */
    margin: 10px;
    padding: 0; /* Remove padding */
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden; /* Hide overflowing content */
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s; /* Add transition for hover effect */
}

.card:hover img {
    transform: scale(1.1); /* Increase size on hover */
}

.card-text {
    position: absolute;
    top: 70%; /* Position at 70% of the top */
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}





.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 300px;
    margin-top: 10px;
    border-radius: 10px; /* Rounded corners */
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#modalTable {
    width: 100%;
    margin-top: 20px;
}

#modalTable th, #modalTable td {
    padding: 10px;
    border: 1px solid #ddd;
}

#modalTable th {
    background-color: #f2f2f2;
}

#modalContent {
    width: 700px;
    
    /* Add any other styling as needed */
}



.county {
    font-size: 80%; /* Adjust the size as needed */
    opacity: 0.7; /* Adjust the opacity as needed */
    display: block; /* Ensure it takes the full width */
}

/* Add styles for the filter container */
#filterContainer {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust the gap as needed */
    margin-bottom: 20px; /* Adjust the margin as needed */
    padding: 10px;
}

/* Add styles for the search input */
#searchInput {
    width: 200px; /* Adjust the width as needed */
}

/* Add styles for the filter by county buttons */
#countyFilterSection {
    display: flex;
    gap: 10px; /* Adjust the gap as needed */
}

/* Add styles for the reset filters button */
#resetFiltersButton {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

* Add styles for the search container */
#searchContainer {
    margin-bottom: 10px; /* Adjust the margin as needed */
}

/* Add styles for the search input */
#searchInput {
    width: 200px; /* Adjust the width as needed */
}

/* Add styles for the filter container */
#filterContainer {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust the gap as needed */
    margin-bottom: 20px; /* Adjust the margin as needed */
}

/* Add styles for the filter by county buttons */
#countyFilterSection {
    display: flex;
    gap: 10px; /* Adjust the gap as needed */
}

/* Add styles for the reset filters button */
#resetFiltersButton {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Add styles for the header container */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0; /* Set the background color as needed */
}

/* Add styles for the logo */
#logo {
    font-size: 20px; /* Adjust the font size as needed */
    font-weight: bold;
}

/* Set background color for the body */
body {
    background-color: #ffffff; /* White */
}

/* Header styles */
#header {
    background-color: #f0f0f0; /* Light Grey */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

#logo {
    font-size: 20px;
    font-weight: bold;
    color: #333333; /* Dark Grey for text on light background */
}

#searchContainer {
    margin-left: 20px;
}

#searchInput {
    width: 200px;
    background-color: #ffffff; /* White */
    border: 1px solid #cccccc; /* Light Grey border */
    padding: 8px;
}

/* Filter and card containers styles */
#filterContainer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#countyFilterSection {
    display: flex;
    gap: 10px;
}

#resetFiltersButton {
    background-color: #ff0080; /* Fuchsia */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Card styles */
.card {
    background-color: #ffffff; /* White */
    border: 1px solid #cccccc; /* Light Grey border */
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 5px 5px 0 0;
}



.county {
    font-size: 80%;
    opacity: 0.7;
    display: block;
}

/* Modal styles */
.modal-content {
    background-color: #ffffff; /* White */
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

/* Fuchsia color for the close button */
#closeModal {
    color: #ff0080; /* Fuchsia */
}

/* Image section styles */
#imageSection {
    margin: 20px 0;
}

#imageSection img {
    width: 100%;
    border-radius: 5px;
}

/* Footer styles */
footer {
    background-color: #f0f0f0; /* Light Grey */
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}



/* Add other styles as needed */
