* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-image: url(./imagenes/ai-generated-8601945_1280.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

form {
  display: flex;
  align-items: center;  
}

.contenedor-input {
  width: 100%;
  border-radius: 20px;
  border: 1px solid  #dfe1e5;
  margin: 6px;
}

.contenedor-input:hover, .button-header:hover, .controls button:hover {
  box-shadow: 0px 1px 20px blue;
}

.input-header {
  width: 96%;
  border: none;
  margin-left: 10px;
  color: white;
  outline: none;
  background-color: transparent; 
}

.button-header {
  margin: 6px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 100%;
  transition: transform 0.6s ease-out;
}

.button-header:active {
  transform: scale(2.3); /* ⬅️ Zoom al hacer clic */
}

.contenedor-gif {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  padding: 20px;
}

.contenedor-elementos {
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px;
}

.controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: white;
}

.controls button {
  background-color: #2b3a6ba3;
  border-radius: 20px;
  border: none;
  padding: 4px;
  font-weight: bold;
  cursor: pointer;
}