body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}
body {
  font-family: 'Source Code Pro', monospace;
}



header {
  background: linear-gradient(to right, #2c3e50, #3498db);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #e67e22;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

form {
  display: flex;
  flex-direction: column;
}

input, textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px;
  background: #2c3e50;
  color: white;
}
.imagen-metafora {
  position: relative;
  max-width: 500px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.imagen-metafora img {
  width: 100%;
  height: auto;
  filter: grayscale(30%) contrast(100%);
  transition: filter 0.5s ease;
}

.imagen-metafora:hover img {
  filter: grayscale(0%) contrast(80%);
}

.overlay-texto {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #f1f1f1;
  width: 95%;
  padding: 0px;
  font-style: italic;
  font-family: 'Georgia', serif;
  text-align: center;
}
body {
  font-family: 'Courier New', monospace;
  background-color: #000;
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffcc;
}

header.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #000, #111);
  border-bottom: 2px solid #00ffcc;
}

header.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  animation: scanline 2s ease-out forwards;
}

header.hero p {
  font-style: italic;
  font-size: 1.2rem;
  color: #00ffcc;
  animation: pulse 3s infinite;
}
@keyframes scanline {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.typewriter h2 {
  overflow: hidden;
  border-right: .15em solid #00ffcc;
  white-space: nowrap;
  animation: typing 3s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #00ffcc }
}
#carretel-visual {
  padding: 60px 20px;
  background-color: #0a0a0a;
  color: #00ffcc;
  text-align: center;
  border-top: 1px solid #00ffcc;
}



.carretel-container {
  overflow-x: hidden;
  white-space: nowrap;
  padding: 20px 0;
  scroll-behavior: smooth;

}

.carretel {
  display: inline-flex;
  gap: 30px;
  padding-left: 20px;
}

.frame {
  background: #111;
  border: 1px solid #00ffcc;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ffcc33;
  padding: 10px;
  width: 220px;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.frame img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: grayscale(40%) brightness(90%);
  transition: filter 0.3s ease;
}

.frame span {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #00ffe0;
  text-shadow: 0 0 2px #00ffe0;
}

.frame:hover {
  transform: scale(1.05);
}

.frame:hover img {
  filter: grayscale(0%) brightness(100%);
}


#contacto {
  padding: 60px 20px;
  background-color: #0a0a0a;
  color: #00ffcc;
  text-align: center;
  border-top: 1px solid #00ffcc;
}

.formulario-ia {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Courier New', monospace;
}

.formulario-ia label {
  text-align: left;
  font-size: 0.9rem;
  color: #00ffe0;
}

.formulario-ia input,
.formulario-ia textarea {
  background-color: #111;
  border: 1px solid #00ffcc;
  color: #00ffcc;
  padding: 10px;
  border-radius: 4px;
  font-family: monospace;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.formulario-ia input:focus,
.formulario-ia textarea:focus {
  border-color: #00ffe0;
  box-shadow: 0 0 10px #00ffe0;
  outline: none;
}

.formulario-ia button {
  background-color: #00ffcc;
  color: #000;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario-ia button:hover {
  background-color: #00ffe0;
}
