html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0057a4;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-bottom: 2%;
    margin-top: 10%;
}

/* Increased map size */
#map {
    height: 70vh;
    width: 70vw;
    border: 5px solid #FFD700;
    border-radius: 10px;
    position: relative;
    display: block;
}


/* UD Logo Button */
.logo {
    border: none;
    border-radius: 50%; /* Circle */
    width: 10px;
    height: 50px;
    cursor: pointer;
    z-index: 2; /* Ensure logo is above map */
}

.logo-button {
    max-width: 150px;
    max-height: 150px;
    width:100px;
    height:75px;
    position: fixed;
    top: 20px; /* Position from the top */
    left: 30px; /* Position from the left */

}

.name-img {
    max-height: 300px;
    max-width: 300px;
    height: 125px;
    width: 500px;
}


/* Zoom control panel */
#taskbar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 200px;
    background: #FFD700;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.taskbar-button {
    width: 150px;
    padding: 10px;
    margin: 10px 0;
    background-color: #0057B7;
    border: none;
    border-radius: 8px;
    color: #ffcc00;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.taskbar-button:hover {
    background-color: #0057B7;
}

/* Dropdown button styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    width: 150px;
    padding: 10px;
    margin: 10px 0;
    background-color: #0057B7;
    border: none;
    border-radius: 8px;
    color: #ffcc00;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-btn:hover {
    background-color: #0057B7;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Ensures the dropdown appears below the button */
    left: 0;
    background-color: #0057a4; /* Blue background */
    min-width: 160px;
    max-height: 300px; /* Max height of the dropdown */
    overflow-y: auto;  /* Allow vertical scrolling if the content exceeds max-height */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding-right: 5px; /* Avoid scrollbar overlap */
}

.dropdown-content a {
    color: white; /* White text color */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px; /* Same font size as other text */
    transition: all 0.2s ease; /* Smooth transition for hover effect */
}

.dropdown-content a:hover {
    background-color: #FFD700; /* Yellow background on hover */
    transform: scale(1.1); /* Slightly enlarge the option on hover */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Allow the page to extend when the dropdown opens */
body {
    overflow-x: hidden;
}

.event-map-container {
    display: flex;
    flex-direction: row;
}

.events-tab {
    background: red;
    color: yellow;
    width: 25%;
    height: 30%;
}

/* Optionally, add some spacing to the map if needed */
#map {
    margin-bottom: 10%;
}

.udes-box {
    background: black;
}

.udest {
    color: yellow;
    font-size: 4em;
    font-family: copperplate;
    -webkit-text-stroke: 4px #0057a4;
}

.event-map-container {
    display: flex;
    flex-direction: row;  /* Move the events box to the left */
}

.events-tab {
    background: rgb(248, 248, 246); /* White */
    color: #0057a4; /* Blue */
    width: 25%;
    height: 30%;
    border: 5px solid #FFD700; /* Yellow square border */
    padding: 10px;
    border-radius: 5px;
    /* Remove border-radius to make the corners square */
}

#student-health {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #0066cc; /* Text color (blue link) */
    text-decoration: none; /* Removes underline */
    border: 2px solid #FFD700; /* Yellow border */
    padding: 5px 10px; /* Adds some space around the text */
    border-radius: 5px; /* Rounded corners */
    background-color: #FFD700; /* Yellow background inside the border */
    display: inline-block; /* Makes the link behave like a block but still inline */
}

#student-health:hover {
    text-decoration: underline; /* Adds underline on hover */
    color: #fff; /* Changes text color to white when hovered */
    background-color: #f4a300; /* Changes background to a darker yellow on hover */
}

#map-container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center the elements horizontally */
    justify-content: center; /* Center them vertically */
} 
