@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
  color: white;
  overflow: hidden;
  text-align: center;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* Opacidad sobre fondo */
  z-index: 0;
}

.contenedor {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 100%;
  max-width: 480px;
  animation: fadeIn 1s ease;
  transition: all 0.4s ease;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.contenedor h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 700;
  color: #ffffff;text-align: center;
}

input[type="text"] {
    
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  margin-bottom: 20px;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  outline: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

input::placeholder {
  color: #e0e0e0;
}

input:focus {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

button {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #ff4757;
  transform: scale(1.05);
}

#datosClima {
    text-align: center;
  margin-top: 30px;
  text-align: left;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 25px;
  animation: fadeIn 1.2s ease;
}

#datosClima h2 {
    text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
}

#datosClima p {
    text-align: center;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

#datosClima img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;

}
