body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #F5F2E7;
}

footer{
  background-color: #2E4053;
  padding: 1rem;
  color: white;
  text-align: center;
}

main{
  margin: 1rem 0;
}

.container{
  width: 95%;
  margin: 0 auto;
  background-color: white;
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.container-flex{
  display: flex;
  justify-content: space-between;
}

#info{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
  padding-top: 1rem;
}  

.map-column {
  display: grid;
  grid-template-columns: 2fr;
  gap: 1em;
  /* align-items: center; */
}

/* .map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 2em;
  padding-top: 1rem;
} */

/* .map-column:nth-child(3) {
  grid-column: 1 / -1;
} */ 

#map-st-ante,
#map-st-post,
#map-t-ante,
#map-t-post,
#map-utci-ante,
#map-utci-post {
  width: 100%;
  height: 250px;
}

.legend-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.legend-container img {
  max-width: 100%;
  height: 50px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  border: 1px solid white;
}

.legend-container-UTCI img{
  max-width: 100%;
}

.map-stack {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.map-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-container p {
  margin: 0;
  padding: 0.5em;
  text-align: center;
  background: #eee;
}

.legend-container div {
  text-align: center;
}

.title-box{
  text-align: center;
  font-weight: bold;
}


.time-slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1.5em 0;
}

.time-slider input[type="range"] {
  width: 500px;
  margin-top: 0.5em;
}




