body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Default styles for larger screens */
#forecast-info {
    width: 400px;
    height: 40px;
    position: fixed;
    bottom: 120px; /* Default bottom position */
    left: 32%;   /* Default left position */
    transform: translateX(-50%);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: black;
    z-index: 1000;
    background-color: #f0f0f0;
    transition: opacity 0.3s;
    opacity: 1;
    text-align: center;
}

/* Medium devices (tablets, 768px and below) */

@media (max-width: 1024px) {
    #forecast-info {
        bottom: 120px !important; /* Adjust bottom position for tablets */
        left: 40% !important;     /* Center horizontally */
        transform: translateX(-50%)!important; /* Ensure it stays centered */
       
    }

}

@media (max-width: 768px) {
    #forecast-info {
        bottom: 120px !important; /* Adjust bottom position for tablets */
        left: 40% !important;     /* Center horizontally */
        transform: translateX(-50%)!important; /* Ensure it stays centered */
       
    }
	
}

/* Small devices (phones, 480px and below) */
@media (max-width: 480px) {
     #forecast-info {
        bottom: 120px !important; /* Adjust bottom position for tablets */
        left: 40% !important;     /* Center horizontally */
        transform: translateX(-50%)!important; /* Ensure it stays centered */
       
    }
}


.leaflet-control-attribution, .leaflet-control-scale-line {
  
    bottom: -5px !important;
   
}

#scori,.align-middle,
{
text-align: center !important
}
 .god-icon {
      background:  #f0f0f0;
      border-radius: 5px;
      width: 30px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      cursor: pointer;
      
      color: black;
      border: 1px solid #ccc;
    position: absolute;
      top: 150px;
      right: 20px;
      z-index: 1000;
    }
div.god-icon:hover {
      background-color: #f3e5f5;
    }
      .tool-bar {
  position: absolute;
      top: 160px;
     right:90px;
      background: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 5px;
      display: flex;
      gap: 10px;
      padding: 5px;
      z-index: 1000;
      display: none;
    }
    .tool-bar button {
      background: white;
      border: none;
      cursor: pointer;
      font-size: 18px;
      
    }
    .tool-bar button img {
      width: 22px;
      height: 22px;
    }

.home-button {
 position: absolute;
      top: 100px;
      right: 20px;
  background-color:  #f0f0f0;
  color: black;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 30px;
  height: 30px;
  
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.home-button:hover {
  background-color: #f3e5f5;
}

#coordinates {
  position: absolute;
  bottom: 25%;
  left: 1%;
  text-align: center;
  
  padding: 10px 10px 10px 10px;
  border: 1px  #ccc;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
}

#footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin-top: 10px;
  color: #333;
}

.col-lg-3 .col-sm-12 .col-md-6 {
  background-color: #f4f4f4;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* Styling for the split layout */
#content-container {
  display: flex;
  height: calc(100vh - 120px); /* Adjust height minus header and footer */
  position: relative; /* To position the toggle button */
}
#left-panel {
  flex: 0.35; /* Left panel takes one-third of the space */
  background-color: #f9f9f9; /* Light gray for differentiation */
  padding: 10px;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth toggle animation */
}

#left-panel.closed {
  transform: translateX(-100%);
  opacity: 0;
  display: none; /* Hide completely when closed */
}

#map {
  flex: 2; /* Map takes two-thirds of the space */
  height: 100%;
  transition: flex 0.3s ease-in-out; /* Smooth resize animation */
}

/* Add a red color to the text */
.blinking-text {
  color: red; /* Red color */
  font-weight: bold;
  font-size: 16px;
  animation: blink 1s step-start 0s infinite;
}

/* Blinking effect */
@keyframes blink {
  50% {
      opacity: 0;
  }
}

#left-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  overflow-y: auto;
  max-width: 300px;
}

#layers-control, #time-control {
  margin-bottom: 20px;
}

#layers-control label, #time-control label {
  display: block;
  margin-bottom: 10px;
}

#time-slider {
  background-color: #f0f0f0;
  padding: 5px;
}
     
/*default*/



