@media (max-width: 768px) {
  .Caro {
      font-size: 3rem; /* Reduce el tamaño de la fuente en dispositivos más pequeños */
  }

  img[src="avatar.jpg"] {
      width: 50%; /* Aumenta el tamaño de la imagen en dispositivos más pequeños */
  }
}

@media (min-width: 769px) {
  .Caro {
      font-size: 4rem; /* Tamaño normal en dispositivos más grandes */
  }
}


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

body {
  background-color: #f0e8f5; /* Fondo suave lila */
  text-align: center;
  overflow-x: hidden;
}

/* Header */
header {

  background-color: #f5e0fa; /* Fondo suave con tonos lila */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  margin: 1.25rem auto 1rem;
  width: 100%;
}


header h1 {
  color: #f5e0fa; /* Texto oscuro pero suave */
  font-family: "Forum", serif;
  font-weight: bold;
  font-size: 6rem;
  margin-bottom: 1.25rem;
  margin-right: 2rem;
  text-align: left;
}

header nav {
  width: 100%;
  border-top: 0.2rem solid #7e57a4; /* Tono lila más oscuro */
  border-bottom: 0.2rem solid #7e57a4;
  padding: 0.3rem 0;
  margin-top: 0.3rem;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

header nav li {
  display: inline-block;
  margin-right: 1rem;
}

header nav a {
  text-decoration: none;
  color: #000000; /* Texto en tono suave oscuro */
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #627cfb; /* Hover con un lila más vivo */
}

.organico{
  display: flex;
    align-items: center; /* Alinear verticalmente en el centro */
    margin-top: 5rem; /* Espacio en la parte superior del contenedor */
}

.Caro {
  font-size: 3rem; /* Aumenta el tamaño de la fuente */
  color: #5a4e66; /* Color del texto */
  font-family: "Cinzel", serif; /* Fuente de la clase */
  font-weight: bold; /* Estilo de fuente en negrita */
  margin: 0; /* Elimina márgenes */
  margin-right: 2rem; /* Espacio a la derecha */
  text-align: left; /* Alinear a la izquierda */
  margin-left: 7rem;
}
.Caro::before,
.Caro::after{
  content:"";
  position:absolute;
  width: 100%;
  height: 100%;
  background: url(Brillo.gif) no-repeat center center;
  background-size: cover;
  z-index: -1;
}
.Caro::before{
  left: -10px;
}
.Caro::after{
  right: -10px;
}

/* Imagen de portada */
img[src="avatar.jpg"] {
  width: 20%;
  max-width: 20%;
  height: auto;
  border-radius: 4.5rem;
  display: block;
  margin: 0 auto 1.25rem;
  border: 4px solid #ffc0cb; /* Color del borde alrededor de la imagen, puedes cambiarlo aquí */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Ajusta la sombra que rodea la imagen */
margin-top: 1rem;
margin-left: 5rem;
margin-bottom: 7rem;

}

/* Títulos principales */
h2.Materias{
  margin-top: 5rem;
}

h2.Materias,
h2.Integrantes {
  border: 0.2rem solid #5a4e66; /* Tono oscuro lila para los bordes */
  padding: 0.6rem;
  display: inline-block;
  border-radius: 1rem;
  letter-spacing: 0.7rem;
  box-shadow: 0 0.3rem 0.4rem;
  text-align: center;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-family: "Forum", serif;
}

h2 {
  color: #5a4e66;
  margin: 1.25rem 0;
  font-family: "Forum", "Poppins", "Yeseva One", sans-serif;
}

h3 {
  margin: 1.25rem 0;
  font-family: "Cormorant Garamond", "Forum", "Poppins", sans-serif;
}

h4 {
  margin: 1.25rem 0;
  font-family: "Yeseva One", serif;
}

/* Sección principal */
.container {
  text-align: center;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
}

.card {
  background-color: #d6b4e6; /* Fondo lila suave */
  color: #ffffff; /* Texto en un tono muy claro */
  padding: 1.25rem;
  border-radius: 1rem;
  width: 15.6rem;
  box-shadow: 0 0.3rem 0.4rem #5a4e66;
  border: 1px solid #d9b3e6; /* Borde suave */
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: "Poppins", sans-serif;
}

.card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: "Yeseva One", serif;
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card ul li {
  margin-bottom: 0.6rem;
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid #340f41;
  padding-bottom: 0.5rem;
}

.card ul li:last-child {
  border-bottom: none;
}

/* Lista de integrantes */
section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4.4rem;
  margin-top: 3.2rem;
}

article {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4.4rem;
  text-align: center;
}

figure {
  text-align: center;
}

.avatars {
  width: 15rem;
  height: 15rem;
  border: 0.2rem solid #a799ce; /* Tono lila claro */
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.avatars:hover {
  transform: scale(1.5);
}

figcaption {
  margin-top: 0.6rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #4d4a53;
}

h2.Integrantes {
  border: 0.2rem solid #5a4e66;
  padding: 0.6rem;
  display: inline-block;
  border-radius: 1rem;
  letter-spacing: 0.7rem;
  box-shadow: 0 0.3rem 0.4rem;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  font-family: "Forum", serif;
  font-size: 2rem;
  color: #5a4e66;
}

/* Footer */
footer {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  width: 60rem;
  position: relative;
}

footer a {
  display: inline-block;
  margin: 0 1rem;
}

.footer-logo,
.uba-logo {
  z-index: 1;
}

.footer-logo {
  height: 7rem;
  max-width: 100%;
  vertical-align: middle;
  margin-top: 0.5rem;
}

.uba-logo {
  height: 1.5rem;
  max-width: 100%;
  vertical-align: middle;
  margin-top: 2.5rem;
}

footer p {
  width: 100%;
  margin: 0;
  background-color: #d8c5dd; /* Fondo lila */
  padding: 0.3rem 0.5rem;
  border-radius: 0;
  text-align: center;
  box-sizing: border-box;
  color: #5a4e66;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  z-index: -1;
}

/* Semicircle */
.semicircle {
  background-color: #f5e0fa;
  border-radius: 20px 20px 20px 20px;
  padding: 1rem;
  margin: 2rem auto;
  width: 80%;
  display: flex;
  justify-content: space-between;
border-style:groove;
border-color: #7e57a4;
}

.semicircle-left, .semicircle-right {
  flex: 1;
  padding: 1rem;
}

.semicircle-right {
  text-align: left;
  margin-top: 0.5rem;
  margin-left: 4rem;
}

.semicircle-left {
  text-align: left;
  margin-left: 2rem;
}
