* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

#map {
    flex: 1;
    width: 100%;
}

/* Menu superior direito */
.menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.menu a {
    text-decoration: none;
    color: #333;
    /**font-weight: bold;**/
    cursor: pointer;
}

/* Botão de modo escuro */
#toggle-theme {
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

body.dark-mode {
    background-color: #121212;
    color: white;
}

/* Popup (About) */
#about-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 40%;
    background-color: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 2000;
    text-align: left;
}

#about-popup.dark-mode {
    background-color: #333;
    color: #fff;
}

#about-popup h2 {
    margin-bottom: 15px;
    text-align: center;
}
#popup-notes {
    text-align: center;
}

/* Botão de fechar */
#close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}
.material-icons {
    vertical-align: middle;
    margin-right: 5px;
}

/* Estilos do popup (opcional) */
.leaflet-popup-content img {
    border-radius: 8px;  /* Borda arredondada */
    box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Sombra suave */
    background-color:  red;
  }
  
