body {
     margin: 0;
     font-family: Arial, sans-serif;
     color: white;
 }

 a {
     color: black;
     text-decoration: none;
     font-weight: bold;
 }
 
 a:visited {
     color: black;
 }
 
 a:hover {
     text-decoration: underline;
 }
 
 a:active {
     color: black;
 }

 h3 {
     margin-block-end: 20px;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
 }

 .mla-logo {
     display: block;  /* Ensures it takes up full width */
     margin: 0 auto 150px auto;  /* 30px gap below */
     max-width: 500px;  /* Limits width */
 }

 .full-screen {
     height: 100vh;
     background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)) no-repeat center center/cover;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     align-items: center;
     text-align: center;
     font-size: 3em;
     font-weight: bold;
     padding-top: 50px;
 }

 .youtube-video-container {
     position: relative;
     width: 65%; /* Same as the width you're setting for iframe */
     height: 0;
     padding-top: 36.9%; /* 16:9 Aspect ratio (9 / 16 * 100 = 56.25%) */
     margin: 0 auto; /* Center the container horizontally */
     border: 2px solid white;
 }
 
 .youtube-video-container iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
 } 

 .subtext {
     font-size: 0.6em;
     color: white;
     margin-top: 0px;
     max-width: 60%;
     text-align: left;
     line-height: 1.4;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
 }

.top-10-table {
     width: 65%;
     margin: 0 auto;
     table-layout: fixed;
     border-collapse: collapse;
     background: white;
     color: black;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
     margin-top: 10px;
 }

 .top-10-table th:nth-child(1), .top-10-table td:nth-child(1) { width: 5%; }
 .top-10-table th:nth-child(2), .top-10-table td:nth-child(2) { width: 10%; }
 .top-10-table th:nth-child(3), .top-10-table td:nth-child(3) { width: 20%; text-align: left; }
 .top-10-table th:nth-child(4), .top-10-table td:nth-child(4) { width: 20%; text-align: left; }
 .top-10-table th:nth-child(5), .top-10-table td:nth-child(5) { white-space: nowrap; text-overflow: ellipsis; text-align: left; }
 
 .top-10-table th, .top-10-table td { padding: 8px; }
 
 .top-10-table th {
     background: #222;
     color: white;
     text-transform: uppercase;
 }
 
 .top-10-table td.movie-cell {
     display: flex;
     align-items: center;
     justify-content: flex-start;
     gap: 15px;
     padding: 10px;
 }

 .top-10-table td.photo-cell img.thumbnail {
     border: 1px solid #000;
 }
 
 .top-10-table td.movie-cell img.thumbnail {
     border: 1px solid #000;
     height: 120px;
     width: auto;
     border-radius: 5px;
     object-fit: cover;
 }
 
 .top-10-table td.movie-cell span {
     font-size: 1.2em;
     font-weight: bold;
     color: black;
 }
 
 .top-10-table td.person-cell {
     max-width: 100px;
     word-break: break-word;
     white-space: normal;
     line-height: 1.2;
     font-weight: bold;
     font-size: 1.1em;
     text-align: left;
 }

 .top-10-table td:first-child {
     font-size: 5.5em;
     font-weight: bold;
     text-align: center;
     width: 10%;
 }

 .top-10-table tr:nth-child(even) {
     background: #f2f2f2;
 }

 .top-10-table tr.gold {
     background: gold;
     font-weight: bold;
 }
 
 .top-10-table tr.silver {
     background: silver;
 }
 
 .top-10-table tr.bronze {
     background: #cd7f32;
 }

 .thumbnail {
     width: 100px;
     height: auto;
     border-radius: 5px;
 }

 .month-section {
     width: 100%;
     padding: 0px;
     margin: 0;
     padding-top: 50px;
     padding-bottom: 150px;
     text-align: center;
     color: black;
 }

 .month-title {
     text-align: left;
     margin-left: calc((100% - 65%) / 2);
     font-size: 4em;
     font-weight: bold;
     text-transform: uppercase;
     color: #fff;
     line-height: 0;
 }

 .footer {
     background-color: #222;
     color: #fff;
     text-align: center;
     padding: 15px 0;
     margin-top: 0px;
     font-size: 14px;
 }

 .footer-content p {
     margin: 5px 0;
 }

 .lb-caption {
     color: #ffcc00 !important;  /* Yellow text */
     font-size: 18px !important;  /* Adjust text size */
     padding: 5px !important;  /* Add spacing */
     display: block !important;
     width: 100% !important;
     line-height: normal !important;  /* Reset any inherited values */
     line-height: 1.5em !important;  /* Force it to apply */
     font-weight: normal !important;  /* Make it stand out */
     font-family: Arial, sans-serif !important;  /* Ensure a clean font */
     text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7) !important; /* Optional: Glow effect */
 }

 .caption-rank {
     color: #fff !important;  /* Yellow for ranking */
     font-size: 16px !important;
 }
 
 .caption-reeler {
     color: #ffcc00 !important;  /* Green for name and location */
     font-size: 16px !important;
 }
 
 .caption-movie {
     color: #ffcc00 !important;  /* Red for movie title */
     font-size: 20px !important;
     font-weight: bold;
 }
 
 #map {
     height: 80vh; /* 80% of the viewport height */
     width: 100%;
     margin: 0 auto;
}

#controls-container {
     position: relative;
     z-index: 1000;
     display: flex;
     justify-content: space-between;
     background: rgb(18, 49, 95);
     padding: 20px;
     max-width: 100%;
     box-sizing: border-box; /* Includes padding in width */
     overflow-x: hidden;
}

 #map-buttons button {
     background-color: #3995f8;
     color: white;
     border: none;
     padding: 5px 10px;
     margin-left: 5px;
     border-radius: 5px;
     cursor: pointer;
     font-size: 20px;
}

#map-buttons button:hover {
     background-color: #0056b3;
}

#monthFilter {
     font-family: 'Arial', sans-serif;
     font-size: 16px;
     padding: 10px 15px;
     border-radius: 10px;
     color: #333;
     cursor: pointer;
     outline: none;
     appearance: none; /* Removes default dropdown arrow styling */
}

/* Dropdown Hover Effect */
#monthFilter:hover {
     background-color: #E6F7FF;
}

/* Dropdown Focus */
#monthFilter:focus {
     border-color: #004aad;
     box-shadow: 0px 0px 10px rgba(0, 91, 187, 0.5);
}

/* Add a custom dropdown arrow */
#monthFilter::after {
     content: '▼';
     font-size: 12px;
     color: #007BFF;
     margin-left: 10px;
}

#legend-container {
     background: rgba(255, 255, 255, 0.9);
     padding: 10px;
     border-radius: 5px;
     box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
     position: absolute;
     bottom: 20px;
     left: 20px;
     z-index: 1000;
     font-size: 14px;
     color: #000;
 }
 
 #legend {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-top: 5px;
 }
 
 .legend-item {
     display: flex;
     align-items: center;
     gap: 5px;
 }
 
 .legend-color {
     width: 15px;
     height: 15px;
     border-radius: 50%;
     border: 2px solid black;
     display: inline-block;
 }
 