@media (max-width: 767px) {
  .foja-item {
    background-color: #FFD4E9;
    border-radius: 12px;
    width: 20rem;
    height: 10rem;
  }

  .materias {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10%;
    width: 100%;
    border-radius: 30px;
    margin-top: 0.3%;
  }

  .yo-medida {
    height: 8rem;
  }

  .carousel-medida {
    width: 20rem;
    height: 7rem;
  }
}

@media (min-width: 992px) {
  .materias {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10%;
    width: 100%;
    border-radius: 30px;
    margin-top: 0.3%;
  }

  .yo-medida {
    height: 15.063rem;
  }

  .carousel-medida {
    width: 37.938rem;
    height: 24rem;
  }
}

body {
  background-color: #F7EEF7;
  font-family: "Poppins";
}

.background {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F7EEF7;
  width: 100%;
}

nav {
  width: 100%;
  text-align: right;
  background-color: #F7EEF7;
  padding: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.menu-item {
  display: inline-block;
}

.menu-link {
  text-decoration: none;
  color: #E1468B;
  font-size: 1.063rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

.menu-link:hover,
.menu-link:focus {
  color: #B30059;
  background-color: #FDB9DA;
  transform: translateY(-0.25rem);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}


.presentacion {
  background-color: #f8a2cc;
  border-radius: 30px;
  margin-top: 0.3%;
  display: flex;
  height: 17.813rem;
  align-items: center;
}


.yo {

  width: auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-left: 4.563rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}



.yo:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  border: 3px solid #B30059;
}

.info-personal {
  width: 100%;
  text-align: center;
}

.nombre {
  font-family: 'Poppins';
  font-weight: 800;
  color: #B30059;
  font-size: 3.125rem;
}


.carrera {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #B30059;
  font-size: 1.563rem;
}

.foja {
  font-weight: 700;
  color: #C9236D;
  text-align: center;
  margin-top: 7%;
  margin-bottom: 5%;
  font-size: 2.25rem;
}




.foja-item {
  background-color: #FFD4E9;
  border-radius: 12px;
  width: 25%;
  height: 27.5rem;
}

.foja-item p {
  color: #444444;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-weight: 300;
  margin-left: 1.25rem;
  font-size: 0.938rem;
}

.foja-item:hover p {
  opacity: 100;
}

.foja-item h4 {
  color: #E83082;
  font-weight: 800;
  text-align: center;
  padding-top: 10%;
  padding-bottom: 5%;
}


.vn13 {
  font-weight: 800;
  color: #C9236D;
  text-align: center;
  margin-top: 10%;
  margin-bottom: 5%;
  font-size: 2.813rem;
}

.carousel {
  background-color: #F0D5EB;
  border-radius: 25px;
  margin: 0 auto 10%;
  padding-top: 1.25rem;
}


.carousel-inner img {
  width: 15.063rem !important;
  height: auto !important;
  border-radius: 7px;
  margin-left: auto;
  margin-right: auto;
  display: block !important;
}

.carousel-caption p {
  color: #910149;
  font-size: 1.125rem;
  text-align: center;
  background: none;
  font-weight: 600;
}

.carousel-caption h5 {
  color: #910149;
  font-size: 1rem;
  text-align: center;
  background: none;
  font-weight: 600;
}


.carousel-caption a {
  color: #910149;
  text-decoration: none;
}

.carousel-caption a:hover {
  text-decoration: underline;
}


.carousel-caption {
  padding-bottom: 0;
  padding-top: 0.625rem;
  display: block !important;
  position: static !important;
}

footer {
  background-color: #FFD2E8;
  margin-top: 25%;
  width: 100%;
}

.contenido-obligatorio {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 9.563rem;
}

.pie-catedra {
  font-size: 0.625rem;
  font-weight: 200;
  width: 33%;
  margin-left: 7.563rem;
}

.pie-catedra h4 {
  font-size: 0.625rem;
  font-weight: 500;
  margin-bottom: 0;
}

.pie-catedra p {
  margin-bottom: 0;
}

.logo-catedra {
  width: 13.813rem;
  height: 2.9113rem;
}

.pie-uba {
  display: flex;
  flex-direction: column;
  font-size: 0.625rem;
  font-weight: 200;
  width: 33%;
  justify-content: center;
}

.pie-uba h4 {
  font-size: 0.625rem;
  font-weight: 500;
  margin-bottom: 0;
}

.pie-uba p {
  margin-bottom: 0;
}

.logo-uba {
  width: 10.813rem;
  height: 3.313rem;
}


.pie-fadu {
  font-size: 0.625rem;
  font-weight: 200;
  width: 33%;
  margin-right: 7.563rem;
}

.pie-fadu h4 {
  font-size: 0.625rem;
  font-weight: 500;
  margin-bottom: 0;
}

.pie-fadu p {
  margin-bottom: 0;
}

.logo-fadu {
  width: 10.938rem;
  height: 2.625rem;
}

.pie2 {
  background-color: #F2F2F2;
  height: 2.5rem;
  font-size: 0.625rem;
  text-align: center;
  display: grid;
  place-items: center;
}

.pie3 {
  height: 2.188rem;
  font-size: 0.625rem;
  text-align: center;
  display: grid;
  place-items: center;
}

.cuerpo{
  display: flex;
  flex-direction: column;
  width: 80%;
}