
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

.loading-screen img {
    max-width: 200px;
}

.content {
    display: none; 
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 999;
    transition: opacity 1s ease-in-out;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}


.modal-content {
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 80%; 
    max-width: 400px; 
    margin: 10% auto; 
    padding: 30px;
    padding-top: 1;
    text-align: center;
}


.modal-content h2 {
    font-size: 30px; 
}




.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#crimeCategory, #crimeDescription, #addCrimeMarker {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    width: 100%;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#crimeDescription{
    width:94.5%
}


#crimeCategory {
    background-image: url("dropdown-arrow.png"); 
    background-repeat: no-repeat;
    background-position: 95% 50%;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none; 
}

#addCrimeMarker {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

   
    transition: box-shadow 0.3s ease; 
}

#addCrimeMarker:hover {
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.7); 
}


body {
    font-family: 'Bebas Neue', sans-serif;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
}

#addCrimeMarker {
    font-family: 'Bebas Neue', sans-serif;
}

#crimeDescription {
    font-family: 'Bebas Neue', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}


.like-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.dislike-button {
    background-color: #f44336; 
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.like-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transition:none;
}

.dislike-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transition:none;
}

.like-button:hover {
    background-color: #45a049; 
}

.dislike-button:hover {
    background-color: #d32f2f; 
}

.like-button:disabled:hover {
    background-color: #ccccccd8; 
}

.dislike-button:disabled:hover {
    background-color: #ccccccd8; 
}

#switchToSanAntonioMap {
    position: absolute;
    top: 50px; 
    left: 5px; 
    z-index: 999; 
    display: block;
    margin: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#proximity-control {
    position: absolute;
    top: 20px; 
    right: 20px; 
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#proximity-slider {
    width: 100px; 
}

#proximity-value {
    font-weight: bold;
    margin-left: 10px;
}

#markerBoundary {
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid red;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none; 
}
