body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  margin: 0;
  padding: 1.5rem 2rem 1rem;
  color: #2b2d42;
  display: block;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

h1 {
  text-align: center;
  color: #3a0ca3;
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 6px solid #f72585;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.city-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

label {
  font-size: 1.2rem;
  color: #3a0ca3;
  font-weight: bold;
  margin: 0;
}

select {
  width: 300px;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  cursor: pointer;
  color: #2b2d42;
}

.clocks-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1rem;
  width: 100%;
}

.city-clock {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  animation: fadeIn 0.5s ease-out;
}

.city-clock:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.city-clock h2 {
  color: #4361ee;
  margin: 0;
  font-size: 1.3rem;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #f72585;
  transition: transform 0.2s;
}

.remove-btn:hover {
  transform: scale(1.3);
  color: #d90429;
}

.time {
  font-size: 2rem;
  font-weight: bold;
  color: #3a0ca3;
  margin: 1rem 0;
  font-family: "Courier New", monospace;
}

.date {
  color: #6c757d;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 1rem 0;
  color: #6c757d;
  width: 100%;
  font-size: 0.9rem;
  margin-top: 2rem;
}

footer a {
  color: #f72585;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

footer a:hover {
  text-decoration: underline;
  color: #d90429;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
