body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background:
    linear-gradient(90deg, #b81f1f 50%, #b54545 50%),
    linear-gradient(#ffa425 50%, #ffe699 50%);
  background-size: 120px 120px;

}



.card {
  display: flex;
  background: rgba(40, 15, 15, 0.95);
  color: #ff2f2f;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}


.perfil {
  flex: 1;
  background: #FFB34722;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.perfil img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.perfil img:hover {
  transition: transform 0.5s;
  transform: scale(1.05);
}


.contenido {
  flex: 2;
  padding: 30px;
}

h1 {
  margin-top: 0;
  color: #ff5a5a;
  font-size: 2.2rem;
}


.links a {
  display: inline-block;
  margin: 8px;
  padding: 12px 24px;
  background: #ff3b2d;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.links a:hover {
  background: #e6bc14;
  transform: scale(1.05);
}


.galeria {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.galeria img {
  width: 150px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  color: #ffcece;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  .card {
    flex-direction: column;
    max-width: 95%;
  }

  .perfil img {
    max-width: 250px;
  }

  .galeria img {
    width: 100px;
  }
}
