.mapstyle {
    width: 100%; 
    height: 900px;
}

.map-top-bar {
    display: flex;
    align-items: center;       /* Centers items vertically */
    justify-content: flex-start; /* Aligns items to the left */
    padding: 10px;              /* Optional padding for spacing */
  }
  
  .back-button {
    margin-right: 10px;         /* Adds space between the back button and heading */
  }

.custom-popup {
    width: 292px;
    height: auto;
    background-image: url('../images/gradient1.png');
    background-size: cover;
    background-position: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    border-radius: 8px;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.custom-popup .popup-header h3 {
    margin: 20px 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}

.custom-popup .popup-header p {
    margin: 5px 0;
    align-self: center;
}

.learn-more-button {
    display: flex;
    width: auto;
    height: auto;
    padding: 4px 20px 4px 20px;
    color: #F8F7F7;
    text-align: center;
    font-family: SeoulNamsan;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; 
    background-color: #282E4C;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 0 auto 15px;

    white-space: nowrap; /* Prevent the text from breaking into a new line */
    overflow: hidden;    /* Hide any overflow */

}

.leaflet-popup-content-wrapper {
    padding: 0 !important; /* Remove default Leaflet padding */
    background: none; /* Ensure there's no conflicting background color */
    border-radius: 8px; /* Ensure border-radius matches for consistency */
}

.leaflet-popup-content {
    margin: 0 !important; /* Remove margin from the pop-up content */
    display: flex; /* Use flex to center content within the pop-up */
    flex-direction: column;
    align-items: center; /* Center elements horizontally */
    justify-content: center; /* Center elements vertically */
    width: 100%; /* Stretch to full width */
}

  /* Media queries */
  @media screen and (min-width: 400px) {
    .bottom-nav {
      max-width: 1080px;
    }
  }