body {
  background-image: url("worldmap.jpg");
  background-size: cover;
  background-position: center;
  background-color: #f9f7fe;
  font-family: "Inter", sans-serif;
  transition:
    background 0.3s,
    color 0.3s;
}

h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 30px;
}

h2 {
  margin: 0 0 5px;
  font-size: 28px;
}

select {
  display: block;
  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
  margin-bottom: 20px;
  cursor: pointer;
}

.container {
  max-width: 600px;
  margin: 60px auto;
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: rgba(100, 100, 111, 0.15) 0px 10px 30px;
}

.city {
  display: flex;
  margin: 10px 0;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.city:hover {
  transform: translateX(4px);
}

.city:last-child {
  border: none;
}

.date {
  opacity: 0.7;
}

.time {
  font-size: 48px;
  font-weight: 600;
  color: #2d2d2d;
}

.time small {
  font-size: 16px;
  opacity: 0.7;
}

footer {
  text-align: center;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
}

button {
  display: none;
  text-align: center;
  font-weight: 600;
  color: #2d2d2d;
  font-size: 16px;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #958a8a;
  background: #fafafa;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

button:hover {
  background: #2d2d2d;
  color: #fafafa;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #f1f1f1;
    position: relative;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
  }

  .container {
    background: #1e1e1e;
    box-shadow: none;
    position: relative;
    z-index: 1;
  }

  .time {
    color: #e8e8e8;
  }

  select {
    background: #2a2a2a;
    color: white;
    border: 1px solid #444;
  }

  .city {
    border-bottom: 1px solid #333;
  }

  .date {
    opacity: 0.6;
  }

  footer {
    color: rgba(255, 255, 255, 0.7);
  }

  button {
    display: none;
    background: #2a2a2a;
    color: #f1f1f1;
    border-color: #555;
  }
}
