/* Estilos globales */
* {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

body {
  background: #222;
}

/* Contenedor principal */
.contenedor {
  width: 90%;
  max-width: 470px;
  background: linear-gradient(125deg, #00feba, #5b54fa);
  color: #fff;
  margin: 100px auto 0;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
}

/* Buscador */
.buscador {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

input {
  border: 0;
  outline: 0;
  background: #ebfffc;
  color: #555;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  flex: 1;
  margin-right: 16px;
  font-size: 18px;
}

button {
  border: 0;
  outline: 0;
  background: #ebfffc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

button img {
  width: 25px;
}

button:hover {
  background: #73d983;
}

/* Ocultar sección de clima por defecto */
.clima-info {
  display: none;
}

/* Clima */
.clima-icono {
  width: 100px;
  margin-top: 30px;
}

.clima-texto {
  font-size: 15px;
  margin-bottom: 20px;
  font-style: italic;
}

h1 {
  font-size: 80px;
  font-weight: 500;
}

h2 {
  font-size: 45px;
  margin-top: -10px;
}

/* Detalles */
.detalles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 50px;
}

.col {
  display: flex;
  align-items: center;
  text-align: left;
}

.col img {
  width: 40px;
  margin-right: 10px;
}

.humedad,
.viento {
  font-size: 28px;
  margin-top: -6px;
}
