@import 'https://fonts.googleapis.com/css?family=Knewave:400|Baloo+Bhai:400';
.text-orange {
  color: #e2462d;
}
.bg-orange {
  background-color: #e2462d;
}
.text-yellow {
  color: #fac720;
}
.bg-yellow {
  background-color: #fac720;
}
.text-blue {
  color: #1289c3;
}
.bg-blue {
  background-color: #1289c3;
}
.text-cyan {
  color: #3cf;
}
.bg-cyan {
  background-color: #3cf;
}
.text-magenta {
  color: #db1064;
}
.bg-magenta {
  background-color: #db1064;
}
.text-green {
  color: #729c17;
}
.bg-green {
  background-color: #729c17;
}
.main {
  background-color: #729c17;
  padding: 8rem 4rem 4rem 4rem;
  position: relative;
  min-height: 480px;
}
.main .bg {
  position: absolute;
  opacity: 0.425;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.main .logo {
  background-color: #db1064;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  height: 240px;
  width: 240px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5rem;
}
.main .logo img {
  width: 100%;
}
.main .ciclo {
  position: relative;
}
.main .ciclo .title {
  display: inline-block;
  color: #fff;
  padding: 0.425rem 1rem;
  font-weight: 600;
  font-size: 2.25rem;
  text-transform: uppercase;
}
.main .ciclo .subtitle {
  color: #fff;
  font-weight: 600;
  font-size: 1.95rem;
}
.main .ciclo .subtitle:before {
  content: '';
  background-color: #1289c3;
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-right: 1rem;
  position: relative;
}
.main .ciclo .blocks {
  margin: 2rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.main .ciclo .blocks .block {
  margin: 0 1.5rem 1.5rem 0;
  cursor: pointer;
}
.main .ciclo .blocks .block:hover .image {
  background-color: #1289c3;
  opacity: 0.65;
}
.main .ciclo .blocks .block:hover .caption {
  background-color: #3cf;
}
.main .ciclo .blocks .block .image {
  background-size: cover;
  background-color: #fff;
  width: 220px;
  height: 120px;
  -webkit-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
}
.main .ciclo .blocks .block .caption {
  font-weight: 600;
  color: #fff;
  font-size: 1.65rem;
  border: 2px solid #3cf;
  padding: 0.245rem 1rem;
  border-bottom-right-radius: 2.5rem;
  -webkit-transition: all 600ms ease-out;
  -o-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
}
.main .primer-ciclo {
  -webkit-transform: translateX(280px);
      -ms-transform: translateX(280px);
          transform: translateX(280px);
  margin-top: -3rem;
  z-index: 1;
}
.main .primer-ciclo .title {
  background-color: #1289c3;
}
.main .segundo-ciclo {
  margin-top: 4rem;
  -webkit-transform: translateX(280px);
      -ms-transform: translateX(280px);
          transform: translateX(280px);
}
.main .segundo-ciclo .title {
  background-color: #db1064;
}
@media screen and (max-width: 1068px) {
  .main {
    padding: 4rem 2rem;
  }
  .main .logo {
    position: relative;
    margin: 1rem auto;
  }
  .main .primer-ciclo {
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    margin-top: 1rem;
  }
  .main .segundo-ciclo {
    -webkit-transform: translateY(0) translateX(0);
        -ms-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
  }
}
.pop-iframe {
  background-color: rgba(18,137,195,0.95);
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
  -webkit-transition: -webkit-transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: -webkit-transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 3;
  visibility: hidden;
}
.pop-iframe .pop-content {
  padding: 1rem;
  position: relative;
  width: 96%;
  height: 90%;
  text-align: center;
  -webkit-transition: -webkit-transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: -webkit-transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 1200ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pop-iframe .pop-content iframe {
  position: relative;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.pop-iframe .pop-content .title {
  font-family: 'Baloo Bhai', sans-serif;
  margin: 2rem 0;
  color: #fff;
}
.pop-iframe .pop-content .pop-close {
  position: absolute;
  cursor: pointer;
  top: -5rem;
  right: 1rem;
  color: #fff;
  font-size: 3rem;
  -webkit-transition: all 900ms cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: all 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 900ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pop-iframe .pop-content .pop-close:hover {
  color: #fac720;
  -webkit-transform: rotate3d(0, 0, 1, 180deg);
          transform: rotate3d(0, 0, 1, 180deg);
}
.pop-iframe.active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  visibility: visible;
}
.pop-iframe.active .pop-content {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
