/* custom.css */

@import url("https://use.typekit.net/qnk3uue.css");

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: "proxima-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}

.page-content {
  flex: 1;
}

/* Main content should take up all available space */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.footer {
  background-color: #343a40; /* Dark background color */
  color: white; /* White text color */
  padding: 10px 0;
  text-align: center;
  width: 100%;
  margin-top: auto; /* Pushes the footer to the bottom */
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for a subtle effect */
}

.navbar-title {
  font-size: 2rem;
  text-align: center;
}

.nav-item {
  margin-left: 10px;
  font-size: 1rem; /* Fixed size for nav links */
}

.dash-bootstrap.navbar {
  justify-content: space-between;
}

.dash-bootstrap.navbar .navbar-title {
  flex-grow: 1;
  text-align: center;
}

@media (max-width: 576px) {
  .navbar-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-item {
    font-size: 0.875rem; /* Adjust size for smaller screens */
  }
}

@media (max-width: 992px) {
  .nav-item {
    font-size: 0.875rem; /* Adjust size for smaller screens */
  }
}

.map-container {
  width: 100%;
  height: 50%;
  /*min-height: 400px; /* Ensure a minimum height for the map */
  position: relative;
}

.map-wrapper {
  width: 100%;
  height: 50%;
  /* min-height: 400px; */
  position: relative;
}

.carousel-item img {
  width: 100%; /* Ensure the image fills the carousel width */
  height: 280px; /* Set a fixed height for consistency */
  object-fit: cover; /* Ensure the image maintains its aspect ratio while filling the space */
}

/* Weather station and map flexbox layout */
.weather-station-row {
  display: flex;
  flex-wrap: wrap;
}

.weather-station-row .map-col {
  flex: 0 0 auto;
  max-width: 400px;
}

.weather-station-row .info-col {
  flex: 1;
  min-width: 300px;
}

/* Ensure flexbox layout works on all screen sizes */
@media (max-width: 768px) {
  .weather-station-row {
    flex-direction: column;
  }

  .weather-station-row .map-col,
  .weather-station-row .info-col {
    width: 100%;
    max-width: 100%;
  }
}
