* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:"poppins", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}


header {
  background-color: #ff46d7; 
  padding: 10px 20px;
}

header .contenedora {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo img {
  
  max-height: 50px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  border: 3px solid #d90c7d;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: 8px 0;
}

nav ul li a:hover {
  color: #1d0e8d; 

}

#logo img {
  max-height: 50px;
  background: none;  
  border: none;      
  padding: 0;        
  border-radius: 0;  
}


.perfil {
  display: flex;
flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3em;
  font-family:"poppins", sans-serif;
  text-align: center;
  color: #000; 
  margin-bottom: 30px;
}

.perfil h1 {
  font-size: 40px;
  margin-bottom: 5px;
}

.contenidoperfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.perfil img {
  width: 350px;
  border-radius: 12px;
}

.introduccion {
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  padding: 0 90px;
  margin-bottom: 40px;
}

.links-perfil {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.links-perfil a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.links-perfil a.spotify {
  background: #5a38ff;
  color: #fff;
}
.links-perfil a.spotify:hover {
  background: #5a38ff;
}

.links-perfil a.behance {
  background: #5a38ff;
  color: #fff;
}
.links-perfil a.behance:hover {
  background: #5a38ff;
}


#materias {
  margin: 100px auto;
  padding: 0 10px;
  max-width: 1200px;
  font-family:"poppins", sans-serif;
}

#materias h2 {
  text-align:left;
  margin-bottom: 20px;
  font-size: 18pt;
}

.materias-box {
  padding: 20px;
  border-radius: 20px;
  font-size: 14pt;
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(216, 154, 255, 0.1);
  background-color: #ffb7ed;
}

.materias-box h3 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 18pt;
  font-weight: 600;
}

.materias-box ul {
  list-style: none;
  text-align: left;
  padding-left: 0;
  margin: 0;
}
.materias-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.apellido {
  font-weight: bold;
  color: #7a0fff;
  font-style: italic;
}


.cbc { background-color: #ffb7ed; }
.dg1 { background-color: #ffb7ed; }
.dg2 { background-color: #ffb7ed; }
.dg3 { background-color: #ffb7ed; }


.datos-academicos {
  margin-top: 20px;
  padding: 0 10px;
  max-width: 1200px;
  font-family: "poppins", sans-serif;
  text-align: center;
}

.datos-academicos h2 {
  margin-bottom: 5px;
  font-size: 20pt;
  padding: 10px;
  text-align:left;
}

.titulo-seccion h2 {
  margin-bottom: 5px;
  font-size: 20pt;
  padding: 20px;
  text-align:center;
}

.tarjetas-academicas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  align-items: stretch; 
}



.tarjeta {
  display: grid;
  grid-template-rows: auto 1fr auto; 
  justify-items: center;
  border: 2px solid #ff46d7;
  background: #fef2ff;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  color: #000000;
  gap: 15px;
}



.tarjeta .logo {
  width: 150px;   
    height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 15px;
}

.tarjeta .logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.tarjeta h3 {
  font-size: 16pt;
  margin-bottom: 10px;
  text-align: center;
}

.tarjeta p, 
.tarjeta ul {
   list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14pt;
  line-height: 1.5;
  text-align: left;
}

.tarjeta span {
  font-weight: bold;
}

.tarjeta .btn {
  margin-top: auto; 
  display: inline-block;
  padding: 8px 102px;
  background: #3817f0;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;

}

.tarjeta .btn:hover {
  background: #5a38ff;
}

.datos-de-equipo {
  display: flex;             
  flex-direction: column;     
  align-items: center;        
  gap: 1.0rem;
  margin: 70px auto;
  padding: 0 20px;
  max-width: 800px;
  font-family: "poppins", sans-serif;
}

.datos-de-equipo h2 {
  text-align: center;
  margin-bottom: 10px;
}

.Compañera {
  width: 100%;      
  max-width: 320px;
  border: 2px solid #de74cc;
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Compañera img {
  width: 120px; 
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.boton-equipo {
  display: inline-block;
  background: #ffb7ed;
  color: #000;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  margin-top: 10px;
}

footer { background: #ff9ce9;
  color: #000;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9rem; }

 .prototipo {
  
  text-align: center;
  padding: 0; 
  margin: 80px 0; 
}


.prototipo h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.grid-prototipo {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  gap: 2px; /* espacio entre imágenes */
  justify-items: center; 
  align-items: left;
}

.grid-prototipo img {
  width: 100%;
  max-width: 300px; /* tamaño máximo de cada imagen */
  border-radius: 10px; /* esquinas redondeadas */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .grid-prototipo {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .grid-prototipo {
    grid-template-columns: 1fr;
  }
}
