@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
body {
  margin: 0 0;
  padding: 0 0;
}

.logo-uncp {
  width: 82px;
  height: 65px;
  margin: 6px;
}
.nav {
  padding: 2px 0px;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* SOMBRA  */
  box-shadow: 0 0px 28px rgba(0, 0, 0, 0.075), 0 10px 10px rgba(0, 0, 0, 0.096);
  font-family: "Open Sans", sans-serif;
}
.nav > ol {
  display: flex;
  padding: 0;
  margin: 0px 2vw;

  /* transition:all 2s;*/
}

.link-selected, /* TENER LOS MISMOS ESTILOS*/
.link {
  list-style: none;
  padding: 0px 2vw;
  transition-timing-function: linear;
  text-align: center;
  line-height: 34px;
  color: #5f920c;
  text-decoration: none;
  cursor: pointer;
}

.link-selected {
  border-bottom: 2.5px solid #5f920c;
}
/* EFECTO BORDER-BOTTOM */
.link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 0px auto;
  background: #5f920c;
  transition: width 0.3s;
}

.link:hover::after {
  width: 100%;
  transform: scaleX(1.35);
}

@media screen and (max-width: 768px) {
  .nav > ol {
    margin: 0px 1vw;
  }

  .link-selected,
  .link {
    padding: 0px 0.8vw;
    font-size: 14px;
  }
}

@media screen and (max-width: 640px) {
  .nav {
    flex-direction: column;
  }

  .nav > ol {
    display: flex;
    flex-direction: column;
  }

  .logo-uncp {
    display: none;
  }
}

/*==============END NAV ============*/
