body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #102030;
  color: #f4f7fb;
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.card {
  width: min(760px, calc(100vw - 40px));
  background: #182c42;
  border: 1px solid #2e5278;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.logo { width: 84px; height: 84px; }
button {
  background: #3ca8ff;
  color: #001d33;
  border: 0;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}
pre {
  background: #081522;
  border-radius: 10px;
  padding: 16px;
  overflow: auto;
}
.small { color: #b8cfdf; font-size: .9rem; }

h2 {
  margin-top: 28px;
  color: #ffffff;
}

.weather-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.weather-date {
    color: #FFD700;      /* yellow/gold */
    font-size: 1.2em;
    margin-bottom: 8px;
}

.weather-day .weather-date {
    color: #FFD700;
}

.weather-icon {
    font-size: 2em;
    vertical-align: middle;
}

.weather-day {
  background: #081522;
  border: 1px solid #2e5278;
  border-radius: 12px;
  padding: 12px;
  transition: transform 0.2s ease;
}

.weather-day:hover {
  transform: translateY(-2px);
}

.weather-day h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
}

.weather-day h3.weather-date {
  color: #FFD700;
  font-size: 1.2rem;
}

.weather-day p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.weather-icon {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.error {
  color: #ff8080;
  font-weight: bold;
}


.weather-loading {
  color: #b8cfdf;
}

.status-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  margin-top: 10px;
}

.status-label {
  color: #3ca8ff;
  font-weight: bold;
}

#map {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  border: 1px solid #2e5278;
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}


.photo {
  background: #081522;
  border: 1px solid #2e5278;
  border-radius: 12px;
  padding: 8px;
}

.photo img {
  width:100%;
  height:180px;
  object-fit:cover;
  cursor:pointer;
}


#overlay {
  display:none;
  position:fixed;

  top:0;
  left:0;

  width:100%;
  height:100%;

  background:rgba(0,0,0,.9);

  justify-content:center;
  align-items:center;

  z-index:1000;
}

#overlay img {

  max-width:95%;
  max-height:95%;

}
.moon-image {
  width: 250px;
  max-width: 100%;
  display: block;
  margin: 15px auto;
  border-radius: 12px;
}
