* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  font-family: "Open Sans", sans-serif;
}

.contenedor-pagina {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

li,
a,
ul {
  z-index: 1;
  font-weight: 300;
  font-size: 20px;
  text-decoration: none;
  list-style: none;
  color: black;
  align-items: center;
}

header {
  position: fixed;
  width: 100%;
  align-items: center;
  padding: 10px 5%;
  background-color: rgb(255, 253, 247);
  z-index: 2;
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 80%;
}

.contlink {
  position: relative;
  float: right;
  width: auto;
}

.nav_links {
  width: 100%;
}

.nav_links li {
  display: inline-block;
  position: relative;
  left: 20px;
  padding: 0px 15px 0px;
}

.nav_links li a {
  text-decoration: none;
}

header img {
  height: 50px;
}

.nav_links li:hover {
  cursor: pointer;
  transition: all 0.3s ease 0s;
  transform: scale(1.1);
}

main {
  width: 100%;
}

.main {
  position: relative;
  top: 0px;
  width: 100%;
  padding-bottom: 7.5em;
  background-color: rgb(255, 253, 247);
}

.title {
  font-size: 5em;
  color: black;
  padding-top: 8%;
  padding-left: 5%;
  margin-right: 5%;
  width: 100%;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-duration: 1s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.title::before {
  font-family: "Dancing Script", cursive;
  font-size: 50px;
  font-weight: 300;
  content: "your";
  color: black;
  position: relative;
  top: 120px;
  left: 170px;
}

.title::after {
  font-size: 85px;
  content: "";
  animation-name: loop;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  position: relative;
  right: 275px;
  top: 300px;
}

@keyframes loop {
  0% {
    content: "HOPES";

  }

  14% {
    content: "GOALS";

  }

  28% {
    content: "FAMILY";

  }

  42% {
    content: "LEVEL";

  }

  56% {
    content: "DREAMS";

  }

  70% {
    content: "POTENTIAL";

  }

  84% {
    content: "TASKS";

  }

  100% {
    content: "HOPES";

  }
}

.subtitle {
  color: black;
  font-size: 20px;
  font-weight: 300;
  width: 500px;
  margin-left: 5%;
  margin-top: 25%;
}

footer {
  background: #111;
  height: auto;
  padding-top: 40px;
  color: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.footer-content h3 {
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 3rem;
  position: relative;
  left: 10px;
}

.footer-content p {
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 14px;
  position: relative;
  left: 10px;
}

.social {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0rem 3rem 0rem;
}

.social a {
  text-decoration: none;
  color: #fff;
}

.social a i {
  font-size: 2.1rem;
  transition: color 0.4s ease;
}

.social li {
  padding-left: 40px;
}

.social a:hover i {
  color: rgba(31, 104, 224, 1);
}

.footer-bottom {
  background: #111;
  padding: 20px 0px;
  text-align: center;
}

.ecuador {
  width: 25px;
  position: relative;
  top: 5px;
  right: 10px;
}

.footer-bottom p {
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;
}

.ubicacion {

  width: 90%;
}

.boy-student {
  position: relative;
  height: 10px;
  bottom: 100px;
  left: 700px;
}

.certifications {
  text-align: center;
  font-size: 4rem;
  width: 100%;
  height: auto;
  padding-bottom: 0.7em;
}

.whyreach {
  width: 100%;
  padding-bottom: 4em;
  background-color: rgb(255, 253, 247);
}

.contenedor-cartas {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  position: relative;
  width: 40%;
  padding-bottom: 10%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
  margin: 30px;
}

.hero-profile-img {
  width: 80%;
  height: 80%;
  margin-left: 17%;
}

.hero-description-bk {
  background-image: linear-gradient(0deg, #ffdb3a, #ee0c39);
  border-radius: 30px;
  position: absolute;
  top: 55%;
  right: -15px;
  height: 0;
  padding-bottom: 70%;
  width: 108%;

}

.description {
  color: #fff;
  text-align: justify;
  font-weight: bolder;
  width: 60%;
  line-height: 24px;
  margin-top: 3%;
  margin-left: 30%;
  font-size: 0.9rem;
}

.second .hero-description-bk {
  background-image: linear-gradient(-20deg, #c09487, #4a4de6);
}

.third .hero-description-bk {
  background-image: linear-gradient(-20deg, #f7dbdb, #84d32a);
}


.hero-logo {
  height: 25%;
  width: 17%;
  border-radius: 20px;
  background-color: black;
  position: absolute;
  left: 8%;
  top: 10%;
  overflow: hidden;
  box-shadow: 1px 1px 30px rgba(19, 19, 19, 0.301);
}

.hero-logo img {
  height: 100%;
}



.hero-date {
  position: absolute;
  color: #fff;
  left: 9%;
  top: 45%;
}

/* END CARD DESIGN */

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  background-color: #eee;
  min-height: 100vh;
}

.btn i:before {
  width: 14px;
  height: 14px;
  position: fixed;
  color: #fff;
  background: #0077b5;
  padding: 10px;
  border-radius: 50%;
  top: 5px;
  right: 5px;
}

.cuadrado__grande {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  position: absolute;
  margin-left: 50%;
  margin-top: 5%;
  width: 45%;
  padding-bottom: 37%;
  max-width: 45%;
  height: 0;
  background-color: rgb(255, 90, 61);
  box-shadow: 5px 5px 10px rgba(190, 177, 177, 0.7);
}

.cuadrado__mediano--amarillo {
  width: 50%;
  height: 0;
  padding-bottom: 43%;
  background-color: rgb(252, 203, 40);
}

.cuadrado__mediano--azul {
  width: 50%;
  height: 0;
  padding-bottom: 39.3%;
  background-color: rgb(126, 121, 252);
}

.student {
  position: absolute;
  left: 10%;
  bottom: 0%;
  width: 100%;
  height: auto;
  z-index: 1;
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.toggle {
  color: black;
  background: none;
  border: none;
  font-size: 30px;
  padding: 0 20px;
  line-height: 60px;
  display: none;
}

@media(max-width: 1170px) {
  .title {
    font-size: 3em;
    color: black;
    padding-top: 8%;
    padding-left: 5%;
    margin-right: 5%;
    width: 100%;
  }

  .description {
    color: #fff;
    text-align: justify;
    font-weight: bolder;
    width: 60%;
    line-height: 15px;
    margin-top: 3%;
    margin-left: 30%;
    font-size: 0.7rem;
  }

  .title::before {
    font-size: 0.9em;
    position: relative;
    top: 114px;
    left: 115px;
  }

  .title::after {
    font-size: 1em;
    right: 160px;
    top: 250px;
  }

  .subtitle {
    color: black;
    font-size: 0.9em;
    font-weight: 300;
    width: 40%;
    margin-left: 5%;
    margin-top: 27%;
  }

  li,
  a,
  ul {
    z-index: 1;
    font-weight: 300;
    font-size: 15px;
  }

  header img {
    height: 40px;
  }

  .certifications {
    text-align: center;
    font-size: 3rem;
    width: 100%;
    height: auto;
  }



  .hero-date {
    color: #fff;
    font-size: 0.9rem;
  }
}

@media(max-width: 375px) {
  .description {
    color: #fff;
    text-align: justify;
    font-weight: bolder;
    width: 60%;
    line-height: 13px;
    margin-top: 3%;
    margin-left: 30%;
    font-size: 0.6rem;
  }

  .date {
    font-size: 0.7rem;
  }

  .hero-logo {
    height: 25%;
    width: 17%;
    border-radius: 20px;
    background-color: black;
    position: absolute;
    left: 8%;
    top: 8%;
    overflow: hidden;
    box-shadow: 1px 1px 30px rgba(19, 19, 19, 0.301);
  }
}









@media(max-width: 768px) {
  .main-texto {
    display: flex;
    text-align: center;
    justify-content: center;

  }

  .title::after {
    font-size: 85px;
    content: "";
    animation-name: loop;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    right: 275px;
    top: 300px;
  }

  @keyframes loop {
    0% {
      content: "TALENT";

    }

    14% {
      content: "GOALS";

    }

    28% {
      content: "FAMILY";

    }

    42% {
      content: "LEVEL";

    }

    56% {
      content: "DREAMS";

    }

    70% {
      content: "HOPES";

    }

    84% {
      content: "TASKS";

    }

    100% {
      content: "TALENT";

    }
  }

  header {
    position: fixed;
    flex-direction: column;
    width: 100%;
    height: 60px;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 253, 247);
    z-index: 2;
  }

  .contlink {
    padding-top: 3.7em;
    float: none;
  }

  .contenedor-cartas {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .toggle {
    color: black;
    background: none;
    border: none;
    font-size: 30px;
    padding: 0 80%;
    line-height: 10px;
    display: block;
  }

  .nav_links li {
    line-height: 95px;
    display: flex;
    flex-direction: column;
    position: relative;
    top: 8%;
    padding: 0px 15px 0px;
    left: 0px;
  }

  .nav_links li a {
    text-decoration: none;
    color: #eee;
    font-size: 1.2rem;
  }

  header img {
    position: relative;
    height: 40px;
  }

  .nav_links li:hover {
    cursor: pointer;
    transition: all 0.3s ease 0s;
    transform: scale(1.1);
  }

  .nav_links {
    position: fixed;
    top: 60px;
    background-color: #000000;
    width: 100%;
    left: 100%;
    transition: left 0.3s;
    height: 100vh;

  }

  .nav_links_visible {
    left: 0;
  }

  .title {
    font-size: 60px;
    color: black;
    position: absolute;
    top: 50px;
    width: 100%;
    padding-left: 0;
    margin-right: 0;
  }


  .title::before {
    font-family: "Dancing Script", cursive;
    font-size: 50px;
    font-weight: 300;
    content: "your";
    color: black;
    position: absolute;
    top: unset;
    left: unset;
    transform: translate(80%, 200%);
  }

  .title::after {
    font-size: 60px;
    content: "";
    position: absolute;
    top: unset;
    direction: rtl !important;
    transform: translate(-100%, 300%);
    right: unset;
    animation-name: loop;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

  .subtitle {
    color: black;
    font-size: 15px;
    font-weight: 300;
    width: 70%;
    position: absolute;
    top: 50%;
  }



  .cuadrado__grande {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    position: absolute;
    width: 40%;
    padding-bottom: 37%;
    bottom: 6%;
    min-width: 45%;
    background-color: rgb(255, 90, 61);
    box-shadow: 5px 5px 10px rgba(190, 177, 177, 0.7);
    margin-left: unset;
  }

  .cuadrado__mediano--amarillo {
    width: 50%;
    height: 0;
    padding-bottom: 43%;
    background-color: rgb(252, 203, 40);
  }

  .cuadrado__mediano--azul {
    width: 50%;
    height: 0;
    padding-bottom: 39.3%;
    background-color: rgb(126, 121, 252);
  }

  .student {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .certifications {
    text-align: center;
    font-size: 2.5rem;
    width: 100%;
    height: auto;
    padding-top: 1em;
  }

  .main {
    align-items: center;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    top: 0px;
    width: 100%;
    height: 800px;
    min-height: 800px;
    background-color: rgb(255, 253, 247);
    overflow: hidden;
  }


  .whyreach {
    width: 100%;
    height: auto;
    background-color: rgb(255, 253, 247);
    padding-bottom: 3em;
  }

  footer {
    background: #111;
    height: 400px;
    padding-top: 40px;
    color: #fff;
  }

  .hero {
    position: relative;
    width: 80%;
    max-width: 350px;
    padding-bottom: 15%;
    bottom: -20px;
    border-radius: 30px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    margin: 20px;
  }

  .hero-description-bk {
    font-size: 0.8em;
    text-align: justify;
  }

  .hero-date {
    position: absolute;
    color: #fff;
    left: 24px;
    top: 40%;
    font-size: 0.8rem;
  }

  .social {
    list-style: none;
    display: flex;
    position: relative;
    right: 15px;
    align-items: center;
    justify-content: center;
    margin: 1rem 0rem 3rem 0rem;
  }

  .footer-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
    position: relative;
    left: 0;
  }

  .hero-logo {
    height: 55px;
    width: 55px;
    border-radius: 20px;
    background-color: black;
    position: absolute;
    bottom: 15%;
    left: 7%;
    overflow: hidden;
    box-shadow: 1px 1px 30px rgba(19, 19, 19, 0.301);
  }

}