@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.woff2") format("woff2"),
    url("/fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.woff2") format("woff2"),
    url("/fonts/Montserrat-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;

}

* {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

/*<---Home-page--->*/
/*<---header--->*/
.header-container {
  height: 15vh;
  padding: 1rem;
  flex-direction: column;
  -webkit-box-shadow: 0px 6px 40px -10px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 6px 40px -10px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 6px 40px -10px rgba(0, 0, 0, 0.6);
}

.header-container nav {
  display: flex;
  flex-wrap: nowrap;
}

.header-container img {
  width: 120px;
  margin: 0px 20px;
}

.header-container .button-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0rem 40px;
  text-decoration: none;
}

.header-container a::after {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 100%;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(36px);
  -moz-transform: translateY(36px);
  transform: translateY(36px);
}

.header-container nav a:hover::after,
.header-container nav .clicked::after {
  width: 8px;
  height: 8px;
  opacity: 1;
  -webkit-transform: translateY(24px);
  -moz-transform: translateY(24px);
  transform: translateY(24px);
}


@media screen and (min-width:1092px) {
  .header-container {
    height: 10vh;
    padding: 1rem 8rem;
  }
  .header-container {
    flex-direction: row;
  }
}

@media screen and (max-height:600px) {
  .header-container {
    height: 100px;
  }
}


/*<---Section-Hero-->*/
.section-hero-home {
  display: flex;
  flex-direction: column;
  height: 85vh;
}

.section-hero-home .hero-container {
  border-radius: 0% 0% 25% 0%;
  width: 100%;
  height: 80%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.section-hero-home .hero-container>.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 40%;
  animation: slideInY10 1s ease-in-out;
}

.section-hero-home .hero-container>.text-container h1 {
  font-weight: bold;
  font-size: 2rem;
}

.section-hero-home .hero-container>.text-container h3 {
  font-weight: normal;
  font-size: 1rem;
}

.section-hero-home .hero-container>.img-container {
  background-image: url("./assets/img/heroImg-Loading-min-min.webp");
  background-size: cover;
  background-position: center;
  height: 60%;
  width: 100%;
  border-radius: 25% 0%;
  animation: fadeInFromNone 1s;
}

.section-hero-home>.text-container {
  height: 20%;
  opacity: 0;
  width: 100%;
  text-align: center;
  color: #052663;
}

.section-hero-home>.text-container.animate {
  animation: slideInX 1.5s;
  opacity: 1;
}

.section-hero-home>.text-container > *{
  color: #052663;
}

.section-hero-home>.text-container h3 {
  font-weight: normal;
  font-size: 28px;
}

.section-hero-home>.text-container h1 {
  font-weight: bold;
  font-size: 30px;
}

@media screen and (min-width:1092px) {
  .section-hero-home {
    height: 90vh;
  }
  .section-hero-home .hero-container {
    flex-direction: row;
    height:70%;
  }

  .section-hero-home .hero-container>.text-container {
    width:45%;
    height: 100%;
  }

  .section-hero-home .hero-container>.text-container.animate {
    animation: slideInY15 1s ease-in-out;
  }
  .section-hero-home .hero-container>.text-container h1 {
    font-size: 4rem;
  }
  .section-hero-home .hero-container>.text-container h3 {
    font-size: 2rem;
  }

  .section-hero-home .hero-container>.img-container {
    height: 110%;
    margin-top: 100px;
    width: 55%;
  }

  .section-hero-home>.text-container {
    height: 30%;
    width: 45%;
    margin-top: 2rem;
  }

  .section-hero-home>.text-container.animate {
    animation: slideInX 1.5s;
    opacity: 1;
  }

  .section-hero-home>.text-container h1 {
    font-size: 42px;
  }

  .section-hero-home>.text-container h3 {
    font-size: 40px;
  }
}

@media screen and (min-width:1920px) {
  .section-hero-home {
    height:900px;
  }
}

@media screen and (max-height:600px) {
  .section-hero-home {
    height: 600px;
  }
}

@keyframes slideInY15 {
  from {
    opacity: 0;
    transform: translateY(15%);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes slideInY10 {
  from {
    opacity: 0;
    transform: translateY(5%);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes fadeInFromNone {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInX {
  from {
    opacity: 0;
    transform: translatex(-15%);
  }

  to {
    opacity: 1;
    transform: translatex(0%);
  }
}


/*<---Section-educalvl-->*/
.section-educalvl {
  position: relative;
  perspective: 1000px;
  height: 90vh;
  margin-top: 15vh;
}

.carrusel-container {
  height: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  height: 85%;
  transition: transform 1s ease, opacity 1s ease;
}

.card img {
  position: absolute;
  padding: 10px;
  top: -2.5rem;
  background-color: #052663;
  border-radius: 100%;
  width: 70px;
  border: 1px solid #ffffff;
}

.card .title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40%;
  background-color: #052663;
  border-radius: 10px 10px 0 0;
  border: 1px solid #ffffff;
  font-size: 16px;
}

.select .title-container {
  background-color: #23488c;
}

.card .text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  font-size: 18px;
  background-color: #052663;
  padding: 10%;
  width: 80%;
  border-radius: 0 0 10px 10px;
  border: 1px solid #ffffff;
}

.select .text-container {
  background-color: #0a3381;
}


.card.select {
  z-index: 1;
  transform: translateZ(200px);
}

.card.prev {
  transform: translateX(-60px) translateZ(-100px);
}

.card.next {
  transform: translateX(60px) translateZ(-100px);
}

.card:not(.select):not(.prev):not(.next) {
  opacity: 0;
}

.arrow{
  display:none
}

@media screen and (min-width: 600px) {
  .card {
    width: 280px;
    height: 80%;
  }
  .arrow{
    display: block;
  }
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    font-size: 5rem;
    color: #1e4388;
    cursor: pointer;
    z-index: 2;
    user-select: none;
  }
  
  .left-arrow {
    left: 10px;
  }
  
  .right-arrow {
    right: 10px;
  }
  
  .arrow:hover {
    color: #1e4388;
  }
}

@media screen and (min-width: 1092px) {
  .left-arrow {
    left: 40px;
  }
  
  .right-arrow {
    right: 40px;
  }
  .card.prev {
    transform: translateX(-300px) translateZ(-100px);
  }
  
  .card.next {
    transform: translateX(300px) translateZ(-100px);
  }

}

@media screen and (min-width:1536px) {
  .section-educalvl {
    height: 800px;
  }

  .left-arrow {
    left: 300px;
  }
  
  .right-arrow {
    right: 300px;
  }
}

@media screen and (max-height:600px) {
  .section-educalvl {
    height: 600px;
    margin-top: 100px;
  }
}


/*<---Section-ethical-->*/

.section-ethical .block {
  border-radius: 50px 50px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
}
.block img {
  width: 100%;
  border-radius: 50px 50px 0px 0px;
}
.block .text-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 4rem 1.2rem;
  justify-content: center;
}

.block .text-container h1 {
  font-size: 40px;
}

.block .text-container p {
  margin-top: 2rem;
  font-size: 20px;
}

.objective {
  background-color: #021b4a;
}

.priority,
.mision-background {
  background-color: #23488c;
}

.mision
,.vision-background {
  background-color: #0a3381;
}

.vision
,.objective-background {
  background-color: #052663;
}

@media screen and (min-width: 1024px) {
  .section-ethical .block {
    flex-direction: row;
    padding: 2rem 6rem;
  }
  .section-ethical .block img {
    width: 500px;
    border-radius: 50px 50px 50px 50px;
  }
  .block .text-container {
    text-align: justify;
    border-radius: 50px 50px 50px 50px;
    margin: 2rem;
  }
}

/*<---Section-contact-->*/
.section-contact {
  background-color: #021b4a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 25px;
  padding: 1rem 2rem;
}

.form-container img {
  width: 200px;
  margin: 2rem;
}

.form-container .text-container {
  text-align: center;
  margin: 1rem;
}

.form-container .text-container h1 {
  font-weight: bold;
  font-size: 30px;
  color: #021b4a;
}

.form-container .text-container h2 {
  color: #021b4a;
  margin-top: 2rem;
  font-weight: lighter;
  font-size: 20px;
}

.section-contact .informes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.section-contact .informes-container input {
  color: #000;
  width: 100%;
  background-color: white;
  font-size: 20px;
  border-radius: 8px;
  border-color: #021b4a;
  height: 50px;
  text-align: center;
  box-sizing: border-box;
}

.section-contact .informes-container button {
  background-color: #021b4a;
  font-size: 20px;
  width: 70%;
  height: 50px;
  border: 0;
  font-weight: lighter;
  box-sizing: border-box;
  margin-top: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media screen and (min-width:600px){
  .section-contact .informes-container button:hover {
    background-color: #05348b;
  }
}

@media screen and (min-width: 1092px) {
  .form-container {
    flex-direction: row;
  }

  .form-container {
    padding: 2rem 4rem;
  }

  .form-container .text-container {
    margin: 2rem;
  }

  .section-contact .informes-container {
    flex-direction: row;
  }

  .section-contact .informes-container input {
    width: 70%;
    border-radius: 8px 0px 0px 8px;
  }

  .section-contact .informes-container button {
    width: 30%;
    margin-top: 0px;
    border-radius: 0px 8px 8px 0px;
  }
}


/*<---Footer-->*/
.footer-container {
  margin-top: 4rem;
  padding: 1rem 2rem;
}

.footer-container .logo-container img {
  width: 120px;
}

.footer-container .text-container {
  margin-top: 1rem;
  font-size: 12px;
}

.footer-container .media-container {
  display: flex;
  flex-direction: column;
}

.footer-container .text-container img {
  width: 30px;
  margin-left: 10px;
}


@media screen and (min-width: 1092px) {
  .footer-container {
    margin-top: 4rem;
    padding: 1rem 8rem;
  }
  .footer-container .logo-container img {
    width: 200px;
  }
  .footer-container .text-container {
    font-size: 16px;
  }
  .footer-container .media-container {
    flex-direction: row;
  }
  .footer-container .text-container img {
    width: 40px;
  }
}



/*<---Contact-page-->*/
.section-hero-contact .hero-container {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  height: 80vh;
  width: 100%;
  margin-bottom: 2rem;
}

.section-hero-contact .hero-container .img-container {
  visibility: hidden;
}

.section-hero-contact .hero-container .right-container{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-hero-contact .hero-container .right-container .text-container>*{
  color: #052663;
}

.section-hero-contact .hero-container .right-container .text-container{
  text-align: center;
  margin-bottom: 1rem;
}

.section-hero-contact .hero-container .right-container>.text-container h1 {
  font-weight: bold;
  font-size: 2rem;
}

.section-hero-contact .hero-container .right-container>.text-container h3 {
  font-weight: normal;
  font-size: 1rem;
}

.section-hero-contact .hero-container .right-container form{
  height: 85%;
  width: 80%;
}

.section-hero-contact .hero-container .right-container form > *:not(p){
  border-radius: 8px 8px 8px 8px;
  width: 100%;
  height: 8%;
}

.section-hero-contact .hero-container .right-container form  > p{
  color: #052663;
  font-weight: bold;
}

.section-hero-contact .hero-container .right-container form textarea,
.section-hero-contact .hero-container .right-container form input {
  border: 2px solid #747474;
  color: #052663;
}
.section-hero-contact .hero-container .right-container form textarea:focus-visible,
.section-hero-contact .hero-container .right-container form input:focus-visible {
  outline: 2px solid #23488C;
}

.section-hero-contact .hero-container .right-container form textarea {
  font-size: 1rem;
  height: 60%;
  overflow-y: auto;
  resize: none;
  white-space: pre-wrap;
}

.section-hero-contact .hero-container .right-container form button {
  margin-top: 1rem;
  height: 10%;
  border: 0;
  background-color: #052663;
  color: #fff;
}

.section-hero-contact .hero-container .right-container button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.section-hero-contact .hero-container .right-container button.loading {
  position: relative;
  cursor: not-allowed;
}

.section-hero-contact .hero-container .right-container button.loading::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top: 3px solid #003153;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.section-hero-contact .popUp {
  z-index: -1;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 30%;
  width: 60%;
  align-items: center;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.section-hero-contact .active p{
  width: 90%;
  font-size: 20px;
  color: #000;
  position: absolute;
  bottom: 25%;
  transform: translateY(50%);
}

.section-hero-contact .active {
  animation: pop-in-out 3s ease-in-out;
}

.section-hero-contact .active img {
  position: absolute;
  top: 5%;
}

.section-hero-contact .active .circle {
  height: 40%;
  animation: spin 1.5s;
}

.section-hero-contact .active .circle-enter {
  top: 16%;
  height: 15%;
}

.section-hero-contact .popUp::before {
  content: "";
  position: absolute;
  top:0px;
  height: 50%;
  width: 100%;
  background-color: #1E4388;
  border-radius: 8px 8px 0px 0px;
}

@media screen and (min-width : 600px) {
  .section-hero-contact .active p{
    font-size: 30px;
  }
}

@media screen and (min-width : 1092px) {
  .section-hero-contact .hero-container {
    flex-direction: row;
  }
  .section-hero-contact .hero-container .img-container {
    visibility: visible;
    margin-top: 6rem;
    background-image: url("../assets/img/contactImg.webp");
    background-size: cover;
    background-position: center;
    height: 80%;
    width: 50%;
    z-index: 1;
    border-radius: 0% 25%;
  }

  .section-hero-contact .hero-container .right-container{
    height: 100%;
    width: 50%;
  }
  
  .section-hero-contact .hero-container .right-container>.text-container h1 {
    font-weight: bold;
    font-size: 4rem;
  }
  
  .section-hero-contact .hero-container .right-container>.text-container h3 {
    font-weight: normal;
    font-size: 2rem;
  }

  .section-hero-contact .popUp {
    height: 30%;
    width: 40%;
  }
}

@media screen and (max-height:450px) {
  .section-hero-contact .hero-container {
    height: 500px;
  }
  .section-hero-contact .popUp {
    height: 180px;
    width: 60%;
  }
  .section-hero-contact .active p{
    bottom: 8%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pop-in-out {
  0% {
    z-index: -1;
    opacity: 0;
    transform: translate(-50%, -0%);
  }

  25% {
    z-index: 10;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  75% {
    z-index: 10;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    z-index: -1;
    opacity: 0;
    transform: translate(-50%, -0%);
  }
}


/*<---Comunes-->*/
.bg-gradient-90 {
  background: linear-gradient(90deg,
      rgba(42, 27, 65, 1) 0%,
      rgba(30, 67, 136, 1) 50%,
      rgba(42, 27, 65, 1) 100%);
}

.bg-gradient-180 {
  background: linear-gradient(180deg,
      rgba(42, 27, 65, 1) 0%,
      rgba(30, 67, 136, 1) 50%,
      rgba(42, 27, 65, 1) 100%);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 1rem;
  background-color: white;
  border-radius: 8px;
  border: 0px;
  color: #1e4286;
  font-size: 15px;
  height: 50px;
  width: 140px;
  font-weight: bolder;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.button-active {
  cursor: pointer;
}

.button-active:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.button-inactive {
  cursor: default;
  text-decoration: none;
}

.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width:600px){
  .button-active:hover {
    background-color: #1e4286;
    color: white;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
}

@media screen and (max-width: 1094px) {
  .button {
    font-size: 12px;
    height: 30px;
    width: 120px;
  }
}