/* Estilos generales */
body {
  font-family: 'Proxima Nova', sans-serif;
  background-color: #00313E;
  color: white;
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-family: 'Futura PT', sans-serif;
  color: #38E8AE;
}

p {
  color: white;
}

/* Contenedor principal para uniformidad */
.container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

/* Sección Intro */
.intro {
  padding: 100px 0px;
  display: flex;

}

.intro-text {
  max-width: 70%;
  flex: 1;
}

.intro-image {
  flex: 1;
  max-width: 30%;
}

.intro-image img {
  width: 266px;
  height: 210px;
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Sección Selected Work */
.selected-work {
  padding: 20px 0;
}

.work-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  margin: 20px 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  transform: scale(1.05);
}

.card-image {
  width: 60%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente el contenido */
}

.card-text {
  width: 40%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente el contenido */
}

.card-text {
  align-items: flex-start; /* Alinea el texto a la izquierda */
}

.card-image img {
  width: 100%;
  height: auto;
  border-radius: 0 20px 20px 0;
}

.tags {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.tag {
  border: 1px solid #38E8AE;
  border-radius: 100px;
  padding: 5px 10px;
  color: #38E8AE;
  font-size: 0.9em;
}

.see-more {
  background-color: #00313E;
  color: #38E8AE;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.see-more:hover {
  background-color: #38E8AE;
  color: #00313E;
}

/* Sección Say Hi */
.say-hi {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  flex: 1;
}

.back-to-top a {
  color: #38E8AE;
  text-decoration: none;
  font-size: 1.2em;
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }

  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-text {
    max-width: 100%;
  }

  .intro-image {
    margin-top: 20px;
    align-self: center;
    padding: 0;
  }

  .work-card {
    flex-direction: column;
  }

  .card-text, .card-image {
    width: 100%;
  }

  .say-hi {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Imagen destacada */
.project-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenedor principal */
.project-content {
  max-width: 80%;
  margin: auto;
  padding: 50px 0;
  color: #38E8AE;
}

/* Sección en dos columnas */
.project-columns {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.column {
  flex: 1;
}

.column h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.column p, .column ul {
  font-size: 18px;
  line-height: 1.6;
}

.column ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #fff;
}

/* Herramientas usadas */
.tools {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.tools img {
  width: 50px;
  height: 50px;
}

/* Galería de imágenes */
.project-gallery {
  margin-top: 50px;
  width: 100%;
}

.project-gallery img {
  width: 100%;
  padding: 10px;
  border-radius: 50px;
}



/* Responsivo */
@media (max-width: 768px) {
  .project-content {
    max-width: 90%;
  }

  .project-columns {
    flex-direction: column;
  }

  .tools {
    justify-content: center;
  }
}
