body {
  font-family: 'San Francisco', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, #fffcf2, #f7f7f7);
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

#refreshIndicator {
    position: fixed;
    top: -50px; /* Startposition außerhalb des Bildschirms */
    left: 0;
    right: 0;
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.show {
    display: block; /* Sichtbar machen */
    top: 0; /* Setze die Position auf 0, um den Indikator sichtbar zu machen */
}

#version {
  position: relative;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  color: #666;
  opacity: 0.5;
}

.settings {
  font-size: 24px;
  cursor: pointer;
  padding-left: 20px;
}

.container {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #d2d2d2;
}

.toggle-forecast {
  font-size: 24px;
  cursor: pointer;
  color: #ff69b4;
}

.weather-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  padding: 20px;
  margin: 0 -20px;
}

.weather-time {
  display: grid;
  grid-template-rows: repeat(6, auto);
  justify-items: center;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.time-icon {
  grid-row: 1;
  font-size: 24px;
  color: #333;
}

.weather-icon {
  grid-row: 2;
  font-size: 50px;
  color: #333;
}

.clothing-icon {
  grid-row: 3;
  font-size: 50px;
  color: #333;
}

.temperature {
  grid-row: 4;
  font-size: 16px;
  font-weight: bold;
  color: #ff69b4;
}

.weather-description {
  grid-row: 5;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.datetime {
  grid-row: 6;
  font-size: 12px;
  color: #666;
}

h1 {
  font-size: 28px;
  margin-bottom: 10px;
  margin-top: 0;
  color: #333;
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
  }
  .container {
    padding-top: 0;
    margin-top: 0;
  }
  .header {
    padding-top: 0;
    margin-top: 0;
  }
  .weather-display {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    margin: 0 -10px;
  }
  .weather-time {
    padding: 10px;
  }
}
