* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

body {
    background: linear-gradient(to right, #670D2F, #7A113C, #670D2F);
    font-family: 'Roboto Condensed', sans-serif;
}


header {
    width: 100%;
    background-color: #7A113C;
    color: white;
    padding: 15px 10%;
    display: flex;
    align-items: center;
}

.menu {
  display: none;
  flex-direction: column;
  background-color: #7A113C;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
   list-style: none;
  
}

.menu.show {
  display: flex;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  text-decoration: underline;
}


.p1 {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    padding: 50px 10%;
    gap: 100px; 
    flex-wrap: wrap;
}


.imgfo img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    
}


.info h1 {
    font-size: 75px;
    color: white;
    font-style: italic;
}

.info p {
    color: white;
    margin-top: 20px;
    max-width: 700px;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    text-align: justify;
}
.p2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 50px 10%;
}

.p2 h2 {
    font-size: 40px;
    color: white;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.app {
    background-color: white;
    padding: 30px 400px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: nowrap; 
    gap: 50px;
}


.app img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
}
.proyecto {
  background-color: #fff;
  padding: 3rem 2rem;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  
}

.texto {
  margin-bottom: 2rem;
  color: #6f123c;
}

.texto h1 {
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 700;
  color: #670D2F;
  text-align: center; 

}

.texto h2 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #A53860;

  margin-top: 3rem; 
  
  
}

.texto p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: black;
}

.texto button {
  background-color: #c23b74;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.texto button:hover {
  background-color: #a02f5c;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.galeria img {
  width: 100%;
  border-radius: 8px;
}
.texto2 {
  margin-bottom: 2rem;
  color: #6f123c;
}

.texto2 h1 {
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 700;
  color: #670D2F;
}

.texto2 h2 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #A53860;
}

.texto2 p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: black;
}

.texto2 button {
  background-color: #c23b74;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.texto2 button:hover {
  background-color: #a02f5c;
}
.personaje{
    display: grid;
  
  gap: 1.5rem;
}
.personaje img {
  width: 100%;
  border-radius: 8px;
}
.gif-container {
  text-align: center;
  padding: 40px;
}

.gif-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}
.footer {
  background-color: #8A2543; /* Color granate */
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-family: Arial, sans-serif;
}

.footer .social-icons {
  margin-bottom: 10px;
}

.footer .social-icons a {
  margin: 0 15px;
  display: inline-block;
}

.footer .social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.footer .social-icons img:hover {
  transform: scale(1.2);
  filter: brightness(0.8) invert(1); /* efecto al pasar el mouse */
}
.subir{
    background-color: #6f123c;
    width: 60px;
    padding: 10px;
    position: fixed;
    right: 20px;
    bottom: 20PX;
    border-radius: 10px;

}
.subir{
    text-decoration: none;
    color: aliceblue;
}
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}

/* Estilo para los enlaces del menú */
.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}

/* Estilo para los enlaces del menú */
.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}
@media (min-width: 1024px) {
  .menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: static;
    width: auto;
    gap: 30px; /* Espacio entre botones */
  }

  .menu-toggle {
    display: none;
  }
  .p1 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 50px 10%;
  gap: 100px;
  flex-wrap: nowrap; /* 👈 Mantiene los elementos en fila */
}
  .app{
    padding: 30px 80px;
    gap: 25px;
  }
  .app img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
}

}


@media (min-width: 768px) and (max-width: 1023.5px) {
  .menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: static;
    width: auto;
    gap: 30px;
  }

  .menu-toggle {
    display: none;
  }
  .app{
    padding: 30px 100px;
    gap: 25px;
  }
  .app img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
}
.p1 {
    flex-direction: column;
    align-items: center; /* Centra horizontalmente los elementos */
    text-align: center;  /* Opcional: centra también el texto */
  }

  .imgfo img {
    width: 450px;
    height: 450px;
    margin-bottom: 20px;
  }

  .info h1 {
    font-size: 70px;
  }

  .info p {
    max-width: 600px;
  }
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
   
    flex-direction: column;
    background-color: #7A113C;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
  }

  .menu.show {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }
  .imgfo{
    display: none;

  }
  .info h1{
    font-size: 50px;
  }
  .app{
    padding: 30px 80px;
    gap: 25px;
  }
  .app img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
}
.galeria img:nth-child(n+7) {
    display: none;
  }

  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}
