header {
  background: linear-gradient(#181a5a, #2c2e82);
  width: 100%;
  height: 200px;
}

header .content_imgs {
  width: auto;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0px 100px;
}

.content_imgs .diplomados_p {
  font-size: 30px;
  font-weight: 700;
}
.content_imgs .img1,
.content_imgs .img2 {
  max-width: 140px;
  height: auto;
}

.content_imgs .img2 {
  max-width: 380px;
  height: auto;
}

header nav {
  background-color: #ea4e1b;
  width: 100%;
  height: 45px;
  margin-top: 5px;
}

header nav ul {
  margin-right: 100px;
  display: flex;
  justify-content: right;
  align-items: center;
  list-style: none;
}
a {
  text-decoration: none;
  color: black;
  /* list-style: none; */
}

header nav li {
  padding: 10px 20px;
  transition: 0.2s ease-in-out 0s;
  color: #181a5a;
  font-weight: 500;
}

header nav li:hover {
  background-color: white;
  transform: scale(1.2);
  transition: 0.3s ease-in-out 0s;
}

/* bajo carousel */

.div_parati {
  width: 90%;
  height: 200px;
  margin: 30px 70px;
  border-bottom: 10px solid #ea4e1b;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div_parati article {
  width: 33%;
  height: 200px;
  margin: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.div_parati article p {
  padding: 10px 120px;
  font-size: 35px;
  font-weight: 500;
}

.section_cards {
  width: 100%;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 70px;
  justify-content: center;
  cursor: pointer;
}

.section_cards .cards {
  background: linear-gradient(#121446, #4b4dc5);
  flex: 0 0 45%;
  height: auto;
  color: white;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-in-out 0s;
}

.section_cards .cards {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.section_cards .cards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.section_cards .cards:hover::before {
  opacity: 0.4;
}

.section_cards .cards > * {
  position: relative;
  z-index: 1;
}

#card_image_1::before {
  background-image: url("../img/gestion_veterinaria.jpeg");
}

#card_image_2::before {
  background-image: url("../img/paulo\ freire4.png");
}

#card_image_3::before {
  background-image: url("../img/sep.jpg");
}

#institutoPF {
  width: 100%;
  height: 800px;
  margin-bottom: 80px;
}

#institutoPF .content_presentacion {
  display: flex;
  justify-content: center;
  align-items: center;
}

#institutoPF .instituto_presentacion {
  padding: 140px 30px;
}

#institutoPF .content_svgs .svgs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.svgs .content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  margin: 5px;
}

.content p {
  margin: 12px 7px;
  color: #121446;
  font-weight: 500;
  font-size: 15px;
}
.svg {
  background-color: #ea4e1b;
  padding: 3px;
  width: auto;
  border-radius: 5px;
}

.content_button {
  display: flex;
  margin-top: 130px;
  margin-bottom: 130px;
  justify-content: center;
}

.content_button .btnespecial {
  width: 500px;
  height: 70px;
  border-radius: 5px;
  border: 3px solid #121446;
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  color: rgb(44, 46, 130);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s ease-in-out 0s;
}
.content_button .btnespecial p {
  margin: 10px 5px;
}

.content_button .btnespecial:hover {
  transform: scale(1.05);
  transition: 0.3s ease-in-out 0s;
  color: white;
  background-color: #121446;
}

.futuro_profesional {
  background-color: rgb(24, 26, 90);
  height: 800px;
  border-top: 50px solid #121446;
  border-bottom: 50px solid #121446;
}

.futuro_profesional .content_letters,
.content_letters {
  padding: 20px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: white;
}

.futuro_profesional .content_letters p {
  font-size: 35px;
}

.futuro_profesional .content_letters .etiquetaOferta {
  font-weight: 200;
  text-align: center;
}
.futuro_profesional .content_letters .etiquetaColor {
  font-weight: 800;
  text-align: center;
}

.futuro_profesional .content_carreras {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.futuro_profesional .content_carreras .image_carrera {
  width: 25%;
  height: 500px;
  margin: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out 0s;
  overflow: hidden;
}

.futuro_profesional .content_carreras .image_carrera:hover {
  transform: scale(1.05);
  transition: 0.3s ease-in-out 0s;
  opacity: 0.7;
}

.PARTEDENOSOTROS {
  height: 400px;
  color: black;
  margin: 50px 0px;
}

.content_imgs .PARTEDENOSOTROS .titlePARTEDENOSOTROS {
  background-color: #2c2e82;
  width: 100%;
  height: 100px;
  margin: 10px 0px 30px 0px;
}

.PARTEDENOSOTROS .title_p {
  width: 100%;
  color: #ea4e1b;
  font-weight: 500;
  font-size: 40px;
  padding: 20px 180px;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.2);
}
.PARTEDENOSOTROS .content_letters {
  color: black;
  text-align: center;
}

.PARTEDENOSOTROS .content_letters .contenido1 {
  font-size: 35px;
}

.diplomados {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.card {
  position: relative;
  transition: transform 0.4s ease-in-out;
  z-index: 0;
  cursor: pointer;
  border: 1px solid #121446;
}

.card:hover,
.card:active {
  transform: scale(1.05);
  z-index: 1;
  box-shadow: 0px 0px 15px #ea4e1b;
}

.content_nosotros {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.content_nosotros .div_nosotros {
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px;
  text-align: center;
}
.content_nosotros .div_nosotros img {
  width: 150px;
}
.content_nosotros .div_nosotros p {
  font-weight: 700;
  color: rgb(24, 26, 90);
  font-size: 15px;
  padding: 20px 10px;
}

footer {
  height: 300px;
  background-color: #181a5a;
  display: flex;
  flex-direction: column;
}
footer article {
  display: flex;
  justify-content: center;
}
footer .redes_sociales {
  cursor: pointer;
}
footer article div {
  background-color: #ea4e1b;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 10px;
}
footer .informacion_general article {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 30px;
}

footer .informacion_general article p {
  color: white;
  font-size: 15px;
  margin: 15px 10px;
}



@media (max-width: 480px) {
  /* menu principal */
  header {
    height: auto;
  }
  header nav {
    background-color: #ea4e1b;
    width: 100%;
    height: auto;
    margin-top: 5px;
  }
  header nav ul {
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    list-style: none;
  }
  header .content_imgs {
    padding: 0px 10px;
  }

  .content_imgs .diplomados_p {
    font-size: 20px;
  }

  .content_imgs .img1 {
    max-width: 80px;
    height: auto;
  }
  .content_imgs .img2 {
    max-width: 180px;
    height: auto;
  }
  /* bajo de carrousel */
  .div_parati {
    width: 100%;
    height: auto;
    flex-direction: column;
    margin: 30px 0px;
  }

  .div_parati article {
    width: 100%;
    height: auto;
    margin: 1px;
  }
  .div_parati article p {
    padding: 10px 120px;
    font-size: 20px;
    font-weight: 500;
  }

  /* seccion de cartas */

  .section_cards {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px 10px;
    flex-direction: column;
  }

  /* presentacion */
  #institutoPF {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
  }

  #institutoPF .content_presentacion {
    display: flex;
    flex-direction: column;
  }
  #institutoPF .instituto_presentacion {
    padding: 5px 50px;
  }
  #institutoPF .content_svgs .svgs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .svgs .content {
    display: flex;
    justify-content: space-between;
    width: 170px;
  }

  .content p {
    margin: 12px 7px;
    color: #121446;
    font-weight: 500;
    font-size: 15px;
  }
  .svg {
    background-color: #ea4e1b;
    padding: 3px;
    width: auto;
    border-radius: 5px;
  }
  .content_button {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  /* futuro profesional */
  .futuro_profesional {
    height: auto;
  }
  .futuro_profesional .content_letters,
  .content_letters {
    font-size: 15px;
  }

  .futuro_profesional .content_carreras {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .futuro_profesional .content_carreras .image_carrera {
    width: 70%;
    height: auto;
  }

  .futuro_profesional .content_carreras .image_carrera:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out 0s;
    opacity: 0.7;
  }

  /* PARTE DE NOSOTROS */
  .PARTEDENOSOTROS {
    height: auto;
    color: black;
    margin: 100px 0px;
  }

  .PARTEDENOSOTROS .content_letters {
    color: black;
    text-align: center;
  }

  .PARTEDENOSOTROS .content_letters .contenido1 {
    font-size: 25px;
    color: black;
  }

  .content_nosotros {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .content_nosotros .div_nosotros {
    width: 90px;
  }
  .content_nosotros .div_nosotros img {
    width: 50px;
  }
  /* footer */
  footer {
    height: 650px;
  }
  footer article {
    display: flex;
    justify-content: center;
  }
  footer article .freire_footer {
    width: 400px;
  }

  .informacion_general {
    display: flex;
    flex-direction: column;
  }
  footer .informacion_general article {
    height: 100px;
  }
}
