/*
Theme Name: divi-child
Author: Jessica Medina
Description: Your description goes here
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.
*/

.code_banner {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
}

.code_banner .arrow {
    position: absolute;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: arrowFloatIn 3s cubic-bezier(0.25, 0.8, 0.25, 1) 3;
    animation-fill-mode: forwards; /* mantiene el estado final */
}

@keyframes arrowFloatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(4px);
    }
    40% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
        filter: blur(0);
    }
    70% {
        transform: translateY(-5px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.code_banner .arrow.arrow_one {
    top: 3%;
    left: 38%;
    width: 21%;
    animation-delay: 0s;
    z-index: -1;
}

.code_banner .arrow.arrow_two {
    top: 22% !important;
    left: 86%;
    width: 18%;
    animation-delay: 0.4s;
    z-index: -1;
}

.code_banner .arrow.arrow_three {
    top: 61% !important;
    left: 89%;
    width: 25%;
    animation-delay: 0.8s;
    z-index: -1;
}

.code_banner .arrow.arrow_four {
    top: 56% !important;
    left: 58%;
    width: 23%;
    animation-delay: 1.2s;
    z-index: 1;
}

.code_banner .arrow.arrow_five {
    top: 79% !important;
    left: 30%;
    width: 19%;
    animation-delay: 1.6s;
    z-index: -1;
}

.sparkles {
    position: absolute;
    width: 80%;
    height: 100%;
    background: transparent;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
}

.spark {
    position: absolute;
    border-radius: 50%;
    background: #09d8d2;
    box-shadow: 0 0 10px #09d8d2, 0 0 20px #09d8d2;
    opacity: 0;
    animation: sparkleFloat 2s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0% {
        transform: translate(0, 0) scale(0.6);
        opacity: 0;
    }
    15% {
        transform: translate(3px, -5px) scale(1.1);
        opacity: 0.9;
    }
    40% {
        transform: translate(-4px, -10px) scale(0.9);
        opacity: 1;
    }
    65% {
        transform: translate(2px, -6px) scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) scale(0.6);
        opacity: 0;
    }
}

.spark:nth-child(1) { top: 10%; left: 30%; animation-delay: 0s; width: 15px; height: 15px; }
.spark:nth-child(2) { top: 45%; left: 70%; animation-delay: 0.8s; width: 25px; height: 25px; }
.spark:nth-child(3) { top: 80%; left: 20%; animation-delay: 1.4s; width: 25px; height: 25px; }
.spark:nth-child(4) { top: 35%; left: 10%; animation-delay: 2s; width: 25px; height: 25px; }
.spark:nth-child(5) { top: 15%; left: 80%; animation-delay: 2.6s; width: 15px; height: 15px; }
.spark:nth-child(6) { top: 70%; left: 55%; animation-delay: 3.2s; width: 25px; height: 25px; }
.spark:nth-child(7) { top: 25%; left: 60%; animation-delay: 3.8s; width: 15px; height: 15px; }
.spark:nth-child(8) { top: 65%; left: 35%; animation-delay: 4.4s; width: 15px; height: 15px; }

.boton_login button {
    border-radius: 36px;
    background: #8800cc;
    border: 0px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 23px;
    font-size: 17px;
    margin: 0px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body {
  background: linear-gradient(to right, #b7c4ff7a 35%, #b7c4ff36 55%);
}

.linea_h2 h2 {
  display: inline-block;
  width: auto;
  position: relative;
  padding-right: 59px;
  padding-bottom: 18px;
}
.linea_h2 h2:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #092a72, #dc00f9, #09d8d2cf);
  border-radius: 4px;
}
.text_content   strong {
    color: #003c71;
}
.curso_parent > div {
    display: flex;
    justify-content: center;
    flex-flow: wrap;
}
.curso_parent > div > div {
    width: 32%;
    margin-left: 1%;
    margin-right: 1%;
}
.curso_parent > div > div:first-child {
    margin-left: 0px;
}
.curso_parent > div > div:nth-child(3) {
    margin-right: 0px;
}
.objetivos {
    position: relative;
    display: flex;
    align-items: center;
}
.objetivos:before {
    content: '1.';
    background: #0f355b;
    min-width: 50px;
    width: 50px;
    min-height: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #fff;
    font-weight: bold;
    border-radius: 29px;
    font-size: 27px;
    margin-right: 16px;
}
.objetivos strong {
    color: #003c71;
}
.objetivos.pink strong {
    color: #bb33ff;
}
.objetivos.pink:before {
    background: #bb33ff;
}
.objetivos:nth-child(3):before {
    content: '2.';
}
.objetivos:nth-child(4):before {
    content: '3.';
}
.objetivos:nth-child(5):before {
    content: '4.';
}
.objetivos:nth-child(6):before {
    content: '5.';
}
.obejtivos_bg {
    background: linear-gradient(to top, #f1cdf085 88%, transparent 96%);
    background-repeat: no-repeat;
    z-index: 9999;
}
.contenido_docentes > div {
    margin-right: 0px !important;
    width: 28% !important;
    margin-bottom: 36px !important;
}
.contenido_docentes {
    justify-content: center;
    display: flex;
    flex-flow: wrap;
}
.entradas-categoria {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
}
.entradas-categoria .entrada-item {
    width: 46%;
    margin: 0px 2%;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 35px;
}
.entradas-categoria .entrada-item h3 {
    background: #001768;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    margin: 0px;
    padding: 10px 10px;
    min-height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.entradas-categoria .entrada-item a {
    height: auto;
    width: 100%;
    display: flex;
}
.entradas-categoria .entrada-item a img {
    width: 100%;
}
a.link_img {
  position: relative;
  display: inline-block;
}

.link_img::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 105px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 85.8 139.61'><polygon fill='%23fff' points='85.8 69.81 0 139.61 25.64 69.81 0 0 85.8 69.81'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

/* Animación tipo brinquito */
@keyframes bounceIcon {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, -60%);
  }
}

/* Activar animación al hacer hover */
.link_img:hover::before {
  animation: bounceIcon 0.5s ease-in-out;
}

.paginacion-ajax {
    margin-top: 19px;
    display: flex;
    justify-content: center;
}
.paginacion-ajax .pagina-numero {
    display: inline-block;
    border: 1px solid #bb33ff;
    padding: 10px 10px 7px 10px;
    border-radius: 6px;
    line-height: 1;
    color: #bb33ff;
    font-weight: 500;
    margin: 0px 0.4%;
    cursor: pointer;
}
.paginacion-ajax .pagina-numero.activo {
    background: #bb33ff;
    color: #fff;
}
body ul.et-menu > li {
    padding: 0px !important;
    margin: 0px !important;
}
body ul.et-menu > li > a {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    border-right: 2px solid #bb33ff;
    padding-left: 16px;
    padding-right: 15px;
}
body ul.et-menu > li:last-child > a {
    border-right: 0px;
}
body ul.et-menu > li > a:hover,
body ul.et-menu > li.et-hover > a
{
    color: #bb33ff !important;
    opacity: 1 !important;
}
body div#main-content {
    background: transparent;
}
.contenedor_lecciones .lecciones_children {
    background: #fff;
    padding: 28px 36px 26px 36px;
    margin-bottom: 26px;
    border-radius: 15px;
}
.division .description {
    padding-left: 28px;
}
.division .description .ld-lesson-desc {
    font-size: 23px;
    line-height: 1;
    margin-bottom: 18px;
}
.division .description .ld-lesson-desc p {
    line-height: 1.2 !important;
    color: #929494;
}
.division .description .ld-lesson-subterms {
    color: #2b2f72;
    font-weight: 100;
    font-size: 22px;
}
.division .description .ld-lesson-desc p strong {
    color: #2b2f72;
    font-weight: 100;
}
.division .description .ld-link {
    display: flex;
    justify-content: right;
}
.division .description .ld-link a {
    background: #bb33ff;
    color: #fff;
    display: inline-block;
    padding: 10px 31px;
    border-radius: 7px;
    font-weight: bold;
    ransform .12s ease, box-shadow .12s ease;
    border: 2px solid #bb33ff;
}
.division .description .ld-link a:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border: 2px solid #ffffff;
}
.contenedor_lecciones .lecciones_children a.title_leccion {
    display: inline-block;
    width: 100%;
    color: #2b2f72;
    font-weight: bold;
    font-size: 27px;
    line-height: 1;
    margin-bottom: 17px;
}
.contenedor_lecciones .lecciones_children a.title_leccion strong {
    display: inline-block;
    width: 100%;
    color: #bb33ff;
    text-transform: uppercase;
    font-size: 27px;
    line-height: 1;
    margin-bottom: 10px;
}
.division {
    display: flex;
}
.division .img_leccion {
    position: relative;
    width: auto;
    height: auto;
}
.division .img_leccion a {
    display: inline-block;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    min-width: 200px;
    overflow: hidden;
    border: 10px solid #fff;
}
.division .img_leccion:before {
    content: '';
    background: url(img/lecciones.svg);
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}