/* styles/main.css */

body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

header {
  background: #007acc;
  color: white;
  text-align: center;
  padding: 1rem;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery img {
  width: 200px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.webcam-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 1rem;
  margin-bottom: 2rem;
}

.webcam-card h2 {
  margin-top: 0;
  color: #007acc;
}

.webcam-image {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
  position: relative;
}

.timestamp {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.column {
  flex: 1;
  min-width: 300px;
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

#wetterbox, .klassifizierung-box, #sonnebox {
  background: #eef;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}

.klassifizierung h4 {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.klassifizierung-erklaerung {
  margin: 0.3rem 0 1rem;
  font-size: 0.9rem;
  color: #555;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin: 2rem 0;
}

/* --- Windrichtungs-Overlay Styling --- */
.bild-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}


.webcam-image {
  cursor: pointer;
}


/* Leaflet Wind-Pfeil */
.wind-arrow-icon {
  font-size: 18px;
  color: #007acc;
  transition: transform 0.1s linear;
  user-select: none;
  pointer-events: none;
}

/* Responsive Anpassung */
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .column {
    min-width: 100%;
  }
}

