* {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
}
.button-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}
.button-bar button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 5px;
}
.landing-page-header {
    background: linear-gradient(90deg, #ebb548 30%, #d01d0d 100%);
}

/* leaflet map integration */
#map {
    height: calc(100vh - 60px);
    width: 50%;
    float: left;
}
.sidebar {
    width: 50%;
    height: calc(100vh - 60px);
    float: left;
    background-color: #3d3d40;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* formatting ALERTCalifornia cameras */
.camera-feeds {
    display: none;
}
.camera-feeds img {
    width: 95%;
    height: auto;
    margin: 5px;
    border-radius: 4px;
}

/* Make camera containers clickable */
.camera-container {
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 1%;
    width: 30%;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}
.camera-container:hover {
    transform: scale(1.05);
}
.camera-container img {
    width: 100%;
    height: auto;
    display: block;
}
.camera-name {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 6px;
    font-size: 15px;
    border-radius: 0 4px 0 0;
    max-width: 100%;
}

/* Fullscreen camera styles */
.fullscreen-camera {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2a2a2a;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.fullscreen-camera-name {
    color: white;
    font-size: 18px;
    font-weight: bold;
}
.fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a1a1a;
}
.fullscreen-image {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.close-fullscreen {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.close-fullscreen:hover {
    background-color: #ff4444;
}