/*Estilos*/
body {
  background-color:#fcfbfa; 
  font-family: Plus Jakarta Sans, sans-serif; 
  color:#292929;
  margin: 2rem 4rem;
}

h1 { 
  font-size: 7rem; 
  font-weight: bold;
  line-height: 2rem;  
  transition: color 0.3s;
}

h1:hover { color: #fd98fd; }

h2 { 
  font-size: 2rem; 
  font-weight: normal;
}

.subrayado { text-decoration: underline 2px; }

/*Botón*/
.boton {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 24px;
  background: linear-gradient(120deg,#f57757 0%,#f093fb 100%);
  color: #292929;
  text-decoration: none; 
  border: #292929 solid 1px; 
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.boton:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

/*Menu*/
nav {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 1rem 2rem;
  border: #292929 solid 1px;
  background: linear-gradient(120deg,#f57757 0%,#f093fb 100%);  
}

.logo img { max-height: 40px; }

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;  
}

.menu a {  
  color: #292929;  
  text-decoration: none; 
  transition: color 0.3s;
}

.menu a:hover {
  font-weight: bold;
  color: #fcfbfa;
  text-decoration: underline;
}

/*Home*/
.home {
  display: flex;  
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 5rem;
  margin-top: 2rem;
  border: #292929 solid 1px;
}

.foto-container {
  position: relative;
}
.home-imagen img {  
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
}

.circulo-girando {
  position: absolute;
  object-fit: contain;  /* mantiene la proporción de la imagen */
  width: 180px;          /* tamaño más chico */
  height: 180px; 
  top: 1px;      /* Ajustás esto según dónde esté tu foto */
  right: 140px;   /* Ajustalo hasta que quede centrado sobre la foto */
  animation: girar 8s linear infinite;
  z-index: 2;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*Materias*/
.materias { 
  display: flex; 
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;  
}

.materias-1,
.materias-2,
.materias-3 {
  padding: 2rem;
  border: #292929 solid 1px;
  box-sizing: border-box;
}

.materias-1 { flex: 3 1 300px; min-width: 280px; }
.materias-2 { flex: 2 1 200px; min-width: 200px; }
.materias-3 {
  flex: 1 1 150px;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fd98fd41;
}

.materias ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;  
  gap: 0.7rem;  
}

.materias ul li {
  border:#292929 solid 1px;
  color:#292929;
  border-radius: 100px;
  padding: 0.6rem 1rem;
  transition: background-color 0.3s;
}

.materias ul li:hover { background-color: #fd98fd41; }
 
.grafico {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.grafico img {
  width: 250px;
  height: auto;
  max-width: 100%;
}

/*Línea de degradado*/
.linea-degradado {
  height: 1rem;
  margin-top: 2rem;
  background: linear-gradient(120deg, #f093fb 0%, #f57757 100%);  
}

/*Equipo*/
.equipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  gap: 2rem;  
  margin-top: 2rem;
  border: #292929 solid 1px;
}

.titulo { text-align: left; }

.perfiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start; 
}

.perfil {
  min-width: 225px;
  padding: 2rem;   
  box-sizing: border-box;
  border: #292929 solid 1px;   
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s;  
}

.perfil:hover {
  background-color: #fd98fd41;
  transform: translateY(-5px);
}

/*Datos*/
.datos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem 4rem;  
  background-color: #f093fb;
  color: #ffffff;
  border: 1px solid #292929;
  margin-top: 2rem; 
  font-size:small;   
  gap: 2rem; 
}

footer {
  display: flex;
  flex-wrap: wrap;  
  justify-content: space-between;
  padding: 1rem 4rem;
  align-items: center;
  color: #868686;
  font-size:x-small;
  border: 1px solid #292929;
  border-top: none;
  gap: 2rem;
}

.footer-text {
  max-width: 60%;
}
