/* Estilos globales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #1c1c1c; /* Fondo oscuro */
  color: #f1f1f1; /* Color de texto claro para contraste */
}

/* Header */
header {
  padding: 1rem;
  background-color: #b8860b; /* Amarillo oscuro */
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.logo {
  margin: 0;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background-color: #3e3e3e; /* Fondo oscuro para la sección hero */
  border-bottom: 2px solid #b8860b; /* Borde amarillo claro */
}

.scrolling-text {
  font-size: 3rem;
  white-space: nowrap;
  animation: wave-letters 2s ease-in-out infinite;
}

.subtitle {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #b8860b; /* Amarillo suave */
}

/* Animación para que el texto haga una onda */
@keyframes wave-letters {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about {
  background-color: #2a2a2a; /* Fondo oscuro para la sección about */
  padding: 3rem 2rem;
  color: #f1f1f1;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #b8860b; /* Borde amarillo */
}

.about-text {
  flex: 1;
}

/* Projects Section */
.projects {
  padding: 3rem 2rem;
  background-color: #333; /* Fondo oscuro para la sección de proyectos */
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  background-color: #e5dccf;
  font-size: 3rem;
  font-weight: bold;
  width: 100%;
  padding: 1rem 0;
  position: relative;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-marquee 20s linear infinite;
}

.marquee-content span {
  display: inline-block;
  padding-right: 60px;
  color:#f1c40f;
}

/* Animación de desplazamiento continuo */
@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.project-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.project {
  width: 300px;
  text-align: center;
  background-color: #444; /* Fondo oscuro para los proyectos */
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project img {
  width: 100%;
  border-radius: 1rem;
}

.project p {
  color: #f1f1f1; /* Texto claro */
  font-size: 1rem;
  margin-top: 1rem;
}
