:root {
    --color-ppal: #01a499;
    --color-secundario: #ec7802;
    --color-terciario: #394049;
    --color-cuaternario: #8a4584;
    --color-textos: #394049;
    --font-title: "Outfit", sans-serif;
    --font-textos: "Nunito Sans", sans-serif;
}

body {
    font-family:var(--font-textos);
    color: var(--color-textos);
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
}

.btnes_flex {
    display:flex;
}

.btnPrincipal {
    background-color: var(--color-secundario);
    color: #fff;
    padding: 8px 27px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border:0;
}

.btnPrincipal.btnAlt {
    background-color: #fff;
    color: var(--color-principal);
}

.btnPrincipal.btnBlack {
    background-color: #141414;
    color: #fff;
}

img {
    max-width:100%;
}

section {
    padding: 70px 0;
}

.tit_secciones {
    font-weight: 700;
    font-size:2.7rem;
    color:var(--color-ppal);
    line-height:1
}

.cta_flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 50px auto 0px;
}

.cta_flex p {
    font-weight:700;
}

header {
    padding: 10px 0;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background-color: transparent;
    z-index:2;
}

.logo img {
    max-width:290px;
}

.btnHead {
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.ppal {
    padding-top: 0;
    min-height: 100vh;
    padding-bottom: 0;
    position:relative;
    z-index: 1;
    background: linear-gradient(to right, #ffffffb5, transparent), url(../img/bg-ppal.png) no-repeat center;
    background-size: cover;
}

.ppal::before {
    width: 30%;
    height:100%;
    background-color: var(--color-cuaternario);
    position: absolute;
    top:0;
    right: 0;
    content: "";
    z-index: -1;
}

/* .ppal .row .col-sm:first-of-type {
    padding-top:150px;
} */

h1 {
    font-weight: 700;
    line-height:1;
    font-size: 3.2rem;
    color: var(--color-ppal);
}

h1 span {
    color: var(--color-ppal);
}

.ppal h4 {
    margin-bottom: 35px;
    color: var(--color-secundario);
}

.ppal ul {
    list-style: none;
    padding:0;
}

.boxes_ventajas {
    gap:10px;
}

.box_ppal {
    display: flex;
    align-items: center;
    width: 100%;
    gap:10px;
}

.box_ppal img {
    max-width:50px;
}

.box_ppal h5 {
    font-size:.85rem;
    margin: 0;
}

.flex_avatars {
    display: table;
    padding: 0 20px;
    /* background: #f6fcfb; */
    border-radius: 50px;
}

.contenedor_avatars {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

.avatars {
    display: flex;
    gap: -10px;
}

.avatars img {
    width: 40px;
    margin-left: -15px;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #ffc107;
    font-size: 1.2em;
}

.score {
    font-weight: bold;
    color: #333;
}

.profesor {
    height:100%;
    display:flex;
    align-items: flex-end;
    padding: 0 30px;
}

.magister {
    background: linear-gradient(to top, #01a49914, #fff);
}
.video_frame iframe {
    border-radius:15px;
}

.programa {
    background-color: #01a49914;
}

.programa .container {
    max-width:1140px;
}

.tabla {
    display:flex;
    gap: 10px;
}

.columna {
    display:flex;
    flex-direction: column;
    gap: 10px;
}

.celda {
    padding: 20px;
    border-radius: 10px;
    background-color: #8a45841c;
}

.celda.titulo_columna {
    background-color: var(--color-cuaternario);
    color: #fff;
    text-align:center;
    font-weight: 700;
    font-size:14px;
    text-transform: uppercase;
}

.equipo .container {
    max-width:1140px;
}

.equipo-slider .box_equipo {
    display:flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius:10px;
    border: 1px solid #eaeaea;
    margin: 0 7.5px;
}

.box_equipo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.box_equipo h3 {
    text-align:center;
    font-size: 18px;
    font-weight: 700;
}

.intro_secciones {
    max-width: 800px;
    margin:0 auto;
    display:block;
}

.box_testimonio {
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e8f1f8;
    box-shadow: 0 3px 50px aliceblue;
    height: 100%;
    justify-content:space-between;
    flex-direction: column;
    display:flex;
}

.box_testimonio p {
    font-style: italic;
}

.autor {
    display:flex;
    align-items: center;
    gap:15px;
}

.autor img {
    max-width: 50px;
    border-radius:50%;
}

.autor h4 {
    font-size: 14px;
    margin:0;
    padding-right: 50px;
}

.faq .container {
    max-width: 900px;
}

.faq .accordion-body {
    padding: 25px;
}

.faq .accordion-button:not(.collapsed) {
    background-color: var(--color-cuaternario);
    color:#fff;
}

.cta {
    background-color: #eff8f7;
}

.cta .cta_flex {
    margin-top:0;
    color: var(--color-textos);
}

footer {
    background-color: var(--color-textos);
    color:#fff;
    font-size:14px;
    padding: 50px 0;
}

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

.box_footer img {
    max-width: 270px;
}

.box_footer p {
    text-align:right;
    margin:0;
}

.box_footer p a {
    color: #fff;
}


.modal-body {
    padding: 0;
    border-radius: 15px;
}

.modal-body .btn-close {
    position: absolute;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: #ffffffa6;
    line-height: 1;
    border-radius: 50%;
    color: #000;
    right: 10px;
    top: 10px;
}

.modal-body .row .col-sm:first-of-type {
    background-color: #f9fafd;
    border-radius: 15px 0 0 15px;
}

.bg_modal_form {
    background: linear-gradient(to top, #141414 5%, transparent 30%), url(../img/bg-form.jpg) no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border-radius: 0 7px 7px 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.bg_modal_form .boxes_ventajas {
    color:#fff;
}

.content_modal_form {
    padding: 45px 35px;
}

.content_modal_form .form-control {
    font-size: 14px;
}

.content_modal_form .form-group label {
    color: var(--color-textos);
}

@media (min-width: 1024px) and (max-width: 1400px) {
    h1 {
        font-size: 2.4rem;
        margin-top:100px;
    }
    .ppal h4 {
        font-size:20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .logo {
        display:flex;
        justify-content: center;
    }

    header .btnHead {
        display:none !important;
    }

    .tit_secciones {
        text-align:center;
    }

    .btnes_flex {
        justify-content: center;
    }

    .box_ppal img {
        max-width:35px;
    }

    .magister p {
        text-align:center;
    }

    .ppal {
        padding: 110px 20px 0;
    }

    .ppal::before {
        content: none;
    }

    .ppal .row {
        flex-direction: column-reverse;
    }

    h1 {
        font-size:2.5rem;
        margin-top: 20px;
    }

    .video_frame iframe {
        width: 100%;
        height:300px;
        margin-top: 35px;
    }

    .boxes_ventajas {
        padding: 0 25px;
        margin-top:20px;
    }

    .testimonios .col-sm {
        margin-bottom: 20px;
    }

    .tabla, .boxes_ventajas {
        flex-wrap: wrap;
    }

    .box_ppal {
        width:100%;
    }

    .columna {
        width:100%;
    }

    .bg_modal_form {
        height:0;
        padding:0;
    }

    .box_footer {
        flex-direction: column;
    }

    .cta {
        padding: 55px 0;
    }

    .box_footer p {
        text-align: center;
        margin-top: 20px;
    }
}