@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


:root{
    --primary-color: #125872;
    --secondary-color: #20D0CE;
    --blue-light: #92D7EF;
    --blue: #448BBE;
    --lime: #FAFA6E;
    --gray: #D9D9D9;


    
    /**
    TRANSITIONS
    */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);


    
    /**
        SHADOWS
    */
    --shadow-1: 0 6px 15px 0 hsla(0, 0%, 0%, 0.05);
    --shadow-2: 0 10px 30px hsla(0, 0%, 0%, 0.06);
    --shadow-3: 0 10px 50px 0 hsla(220, 53%, 22%, 0.1);
}



/*-------------------
    #RESET
-----------------*/


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a,
img,
span,
data,
input,
button,
ion-icon {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


img {
    height: auto;
}

input,
button {
    background: none;
    border: none;
    font: inherit;
}

input {
    width: 100%;
}

button {
    cursor: pointer;
}

ion-icon {
    pointer-events: none;
}

address {
    font-style: normal;
}

html {
    font-family:"Ubuntu", sans-serif;
    font-weight: normal;
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--gray-web);
    font-size: 1.6rem;
    line-height: 1.75;
}

:focus-visible {
    outline-offset: 4px;
}



::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}

/**

reusable
*/

.title_seccion{
    align-items: center;
    gap: 16px;
    font-size: 2rem;
    color: black;
    text-align: center;
    margin-bottom: 32px;
    span {
        color: var(--primary-color);
    }
    
    > .bar {
        background-color: var(--primary-color);
        width: 150px;
        height: 2px;
        border-radius: 5px;
        margin: 0 auto;
    }
}



/*
TRANSITIONS
*/

.slide-left--init {
    position: relative;
    opacity: 0;
    transform: translateX(-100px);
    transition-property: all;
    transition-duration: var(--durationEffect);
    transition-timing-function: ease-in;
    transition-delay: var(--delayEffect);
    z-index: 0;
}

.slide-left {
    opacity: 1;
    transform: translateX(0);
}

.slide-right--init {
    opacity: 0;
    transform: translateX(100px);
    transition-property: all;
    transition-duration: var(--durationEffect);
    transition-timing-function: ease-in;
    transition-delay: var(--delayEffect);
}

.slide-right {
    opacity: 1;
    transform: translateX(0);
}


.show--init {
    opacity: 0;
    transition-property: all;
    transition-duration: var(--durationEffect);
    transition-timing-function: ease-in;
    transition-delay: var(--delayEffect);
}

.show {
    opacity: 1;
}



/**
nav bar
*/

.navbar__wrap {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;    
    background-image: url('../images/coner_mobile.svg');
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.header.active {
    position: fixed;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-1);
    z-index: 4;
}
.container {
    margin-top: 153px;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transition: var(--transition-1);
}



.overlay.active {
    opacity: 1;
    pointer-events: all;
}



.navbar.active {
    transform: translateX(320px);
    transition: 0.5s var(--cubic-out);
}





.btn_mobile 
{
    border-radius: 5px;
    padding: 10px;
    background-color: var(--secondary-color);
}

.navbar {
    position: fixed;
    top: 0;
    left: -320px;
    background-color: var(--gray) ;
    color: var(--primary-color);
    width: 100%;
    max-width: 320px;
    height: 100%;
    z-index: 2;
    transition: 0.25s var(--cubic-in);
}
.header_menu__mobile {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    > img {

        width: 100px;
    }
}

.lnk_navbar {
    margin: 0 auto;
    width: 90%;
    padding: 16px;
    border-bottom: 1px solid var(--blue-light);
    > a 
    {
        font-weight: normal;
    }
}


img.logo 
{
    
    width: 100px;
}

.menu {
    display: none;

}

/**
hero section

*/
.hero {
    margin-top: 32px;
}



.hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    
}

.hero_titles {
    background-image: url("../images/hero_desktop.jpg");
    background-repeat: no-repeat;
    height: 500px;
    background-size: cover;
    background-position: center;
    text-align: left;
    gap: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.hero_slogan {
    color: white;
    padding: 0px 20px;
    width: 75%;
        margin: 0 auto;
    > h1 {
        font-size: 3.5rem;
        font-weight: normal;
        line-height: 1;
        margin-bottom: 16px;
        
    }
    >h2 {
        font-size: 3.2rem;
        line-height: 1;
        font-weight: normal;
    }
}

.hero_buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    
}
.btn_platform 
{
    display:  flex;
    justify-content: space-between;
    background-image: linear-gradient(90deg, var(--primary-color), 85%, var(--blue));
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 10px;
    width: 200px;
    height: 55px;
    border: 1px solid;
    border-color: var(--secondary-color);
}

.btn_diplomados{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--secondary-color);
    padding: 10px 25px;
    border-radius: 100px; 
    width: 200px;
    height: 55px;   
}
.btn_contact{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background-color: var(--secondary-color);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--secondary-color);
    padding: 10px 25px;
    border-radius: 100px; 
    width: 200px;
    height: 55px;   
}

.hero_image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    > img {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

.icons_socialmedia {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.icon_socialmedia {
    width: 32px;
    height: 32px;
    margin-right: 20px;
    display: grid;
    justify-content: center;
    align-content: center;
}
.hero_contact{
    margin: 0 auto;
}

.cta_whatsapp {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 10px;
    font-weight: bold;
    color: var(--primary-color);
}



/**
about

*/

.about_identity{
    background-image: url("../images/Identidad_desktop.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 600px;
    position: relative;
    > h2 {
        left: 50px;
        font-weight: bold;
        font-size: 3rem;
        position: absolute;
        bottom: 100px;
        color: white;
        >span {
            color: var(--secondary-color);
        }
    }
}

.valores_list{
    margin: 0 auto;
    text-align: center;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    
}
.card-content {
    padding: 20px;
}
.card_text 
{
    
    padding: 32px;
    border-radius: 20px;
    width: 100%;
    min-height: 400px;
    max-width: 450px;
    margin: 0 auto;
    display: grid;
    align-content: center;
}
.card:nth-child(even){
    > .card_text {
        background-color: var(--primary-color);
        background-image: url("../images/build/pattern_dots2.svg");
        color: white;
    }
}

.title_subseccion {
    font-weight: normal;
    font-size: 3.2rem;
}

.textbody{
    font-size: 1.25rem;
    text-align: center;
}


.valores {
    padding-bottom: 60px;
    background-image: url("../images/build/bg_correos.png"); 
    background-repeat: no-repeat;
    background-position: -350px 350px;
}
.valores_wrap_title{
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 64px;
}
.valores__title{
    text-align: center;
    margin-top: -32px;
    > h2
    {
        line-height: 1;
        font-size: 4.8rem;
        font-weight: normal;
    }
    > h3 {
        font-weight: normal;
        font-size: 1.6rem;
        line-height: 1;
        color: var(--gray);
    }
}
.valores__img{
    width: 100%;
    >img {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

.valores_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}
.valores__item {
    position: relative;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    background-color: white;
    background-clip: padding-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    width: 200px;
    height: 150px;
}
/*
.valores__item::after{
    position: absolute;
    content: '';
    z-index: -1;
    border-radius: 10px;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
}*/
.valores__item_text {
    text-transform: capitalize;
    font-weight: normal;
}
.valores__item_img {
    width: 32px;
}
.valores__bar{
    border-radius: 5px;
    background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 150px;
    height: 5px;
}
.emails {
    margin-bottom: 20px;
}
.emails_banner {
    max-width: 100%;
    object-fit: cover;
    min-height: 240px;
}
.emails_title {
    font-size: 3.2rem;
    line-height: 1;
    color: var(--primary-color);
    font-weight: normal;
    text-align: center;
    margin-bottom: 32px;
    margin-top: 32px;
}
.emails_wrap_list
{
    height: 700px;
    padding: 16px;
    position: relative;
    display: grid;
    justify-content: center;
    align-content: center;
    background-image: url('../images/build/bg_correossvg.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /*> img {
        width: 600px;
        height: 600px;
        position: absolute;
        top: 0;
        left: -300px;
        z-index: -2;
    }*/
}

.list_emails {
    padding: 32px 16px;
    text-align: center;
    background-color: var(--primary-color);
    background-clip: padding-box;
    border: 2px solid var(--secondary-color);
    border-radius: 16px;
    color: white;
    position: relative;
}


/*
.list_emails::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 16px;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background: linear-gradient( var(--primary-color), var(--secondary-color));
}*/


.diplomados {
    margin-bottom: 64px;
}

.diplomados__title {
    background-image: url("../images/oferta_desktop.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
    padding: 20px;
    > h2 {
        
        color: white;
        text-align: center;
        font-weight: normal;
        font-size: 4.0rem;
        margin-top: 40px;
        >span {
            color: var(--secondary-color);
        }
    }
}
.diplomados_slogan {
    
    color: white;
    text-align: center;
    font-size: 1.6rem;
}

.diplomado_title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
   

}
.diplomado_ribon{
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 10px 10px 10px 0px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 1.5rem;
    width: 150px;
    gap: 5px;
}

.btn_more {
    color: var(--secondary-color);
    padding: 5px;
}
.diplomados_list .bar{
    height: 2px;
    background-color: var(--primary-color);
    width: 90%;
    margin: 0 auto;
}

.diplomados_content {
    padding: 16px;
}

.diplomados__subtitle{
    margin-top: 32px;
    text-align: center;
    >h2 {
        font-weight: normal;
        font-size: 2rem;
        line-height: 1;
        >span {
            color: var(--blue);
        }
    }
    > h4 {
        margin-top: 16px;
        font-weight: normal;
        color: var(--gray);
    }
}

.diplomados_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    margin-top:64px;
}

.diplomado__item 
{
    background: linear-gradient(white, #f1f1f1);
    /*border: 1px solid var(--secondary-color);*/
    background-clip: padding-box;
    border-radius: 16px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 300px;
    margin: 0 auto;
    padding: 10px;
    margin-top: 32px;
}
.diplomado_item_content{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}


.diplomado_img{
    mask-image: url("../images/build/mask_diplomado.svg");
    width: 280px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
/*
.diplomado__item::after {
    position: absolute;
    content: '';
    background-image: linear-gradient(white, var(--secondary-color));
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    border-radius: 16px;
    z-index: -1;
}*/



.diplomado__subtitle {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: normal;
    align-self: flex-start;
    color: white;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.diplomado__title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.diplomado_btn{
    display:  flex;
    justify-content: space-between;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
   /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);*/
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 100px;
    margin: 16px 0;
}


.footer__subscribe{
   color: var(--primary-color);
   font-weight: bold;
   padding: 20px 0;
    > h2 {
        font-weight: normal;
        font-size: 3.2rem;
        text-align: center;
        padding: 16px;
    }
}


.input__email 
{

    background-color: var(--primary-color);
    border-radius: 32px;
    padding: 16px 5px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    align-items: center;
    width: 300px;
    height: 40px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    > input {
        width: calc(100% - 120px);
        border-radius: 32px;
        height: 30px;
        padding: 5px;
        color: white;
    }
}

.btn__subscribe {
    background-color: var(--blue-light);
    padding: 8px;
    border-radius: 32px;
    height: 30px;
    width: 100px;
    display: grid;
    justify-content: center;
    align-content: center;
    font-size: 1.2rem;    
}

input:focus {
    outline: none;
}


.footer_privacity {
    background-color: var(--primary-color);
    width: 300px;
    border-radius: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: normal;
    padding: 10px;
    margin: 32px auto;
    > p {
        text-align: center;
        width: 100%;
        line-height: 1;
        margin-top: 10px;
    }
    > .privacity {
        color: var(--gray);
        font-size: 1.2rem;
    }
}

.footer {
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    color: white;
    font-size: 1.2rem;
}

.lnk_socialmedia {
    display: flex;
    gap: 5px;
    justify-content: center;
    padding: 16px;
    color: var(--primary-color);
    > img {
        width: 32px;
        height: 32px;
    }
}
.footer__list-data{
    padding: 10px 20px;
    width: 90%;
    margin: 0 auto;
}
.lnk_data {
    display: flex;
    gap: 15px;
    justify-content: start;
    padding: 16px;
    color: var(--primary-color);
    > img {
        width: 22px;
        height: 22px;
    }
}

.footer_section__title {
    color: var(--blue);
    font-size: 1.8rem;
    font-weight: normal;
    text-align: center;
}

.logofooter {
    margin: 0 auto;
    width: 150px;
}

.footer__address{
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.copyrigth{
    > p {
        text-align: center;
        color: var(--gray);
    }

}

.valores__item {
    max-width: 450px;
}



.hide_desktop {
    display: inherit;
}

.card_img {
    width: 100%;
    margin: 0 auto;
}



/**
OCULTAR EN MOVIL
*/

.hide_mobile 
{
    display: none;
}

@media (min-width:575px)
{
   .diplomados_content{
    width: 90%;
    margin: 0 auto;
   }
   .valores_content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .emails_wrap_list {
        background-size: contain;
    }
    .input__email {
        width: 350px;
        > input {
            width: 100%;
        }
    }
    .btn__subscribe {
        width: 120px;
    }
    .footer_privacity{
        width: 350px;
        padding: 20px;
        height: auto;
    }
}

@media (min-width:768px){
    .valores_wrap_title {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .valores__title {
        > h2 {
            font-size: 6.4rem;
        }
        > h3 {
            font-size: 1.6rem;
        }
    }
    .valores__img {
        width: auto;
        > img {
            margin:0;
        }
    }
    .valores_content {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .navbar__wrap{
        display: flex;
        justify-content: space-between;
       
    }

    .hero_buttons {
        flex-direction: row;
        justify-content: center;
    }
    .diplomado__item {
        gap: 16px;
        
    }
}

@media (min-width: 992px)
{
    .hero_slogan{
        
        > h1{
            font-size: 6.4rem;

        }
    }
    .textbody{
        font-size: 1.6rem;
    }
    .hide_mobile {
        display: flex;
    }
    .hide_desktop {
        display: none;
    }

    .diplomados_slogan{
        font-size: 2.5rem;
        width: 400px;
    }
    .diplomados__title{
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: end;
        >h2{
            width: 400px;
        }
    }
    .card{
        margin: 120px 0;
    }
    .overlay {
        display: none;
    }

    .header.active {
        transform: translateY(-100%);
        animation:  slideIn 0.5s ease forwards;
    }

    @keyframes slideIn {
        0% {
            transform: translateY(-100%);
        }
        100% {
            transform: translateY(0);
        }
    }
    .hero {
        background-size: contain;
    }
    .navbar.active{
        transform: translateX(0px);
    }
    
    .btn_mobile 
    {
    
       display: none;
    }

    .navbar 
    {
        position: initial;
        background-color: transparent;
        color: var(--primary-color);
        display: flex;
        width: 650px;
        max-width: 100%;
    }
    .lnk_navbar {
        border: none;
        > a {
            font-size: 1.6rem;
            text-align: center;
        }
    }
    .header_menu__mobile {
        display: none;
    }

    .card-content {
        max-width: 75%;
        margin: 0 auto;
    }
    
    
    .valores_content {
        width: 75%;
        margin: 0 auto;
    }
    .emails_title {
        padding: 40px;
        font-size: 3.2rem;
        text-align: left;
    }

    .diplomados_list 
    {
        margin: 60px 0px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
    }
    .diplomado {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .footer_wrap {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
    }
   
}
@media (min-width:1200px){
    .emails_banner {
        width: 100%;
        object-fit: contain;
    }

   .hero {
    justify-content: space-around;
   }
   .valores {
    margin-bottom: 64px;
   }
   .valores_content {
    gap: 64px;
    width: 800px;
   }
   .valores__img {
        > img {
            max-width: 650px;
        }
    }
    .footer__subscribe {
        width: 900px;
        
    }
    .input__email {
        width: 450px;
        height: 55px;
        border-radius: 50px;
        padding: 10px 5px 10px 10px;
    }
    .btn__subscribe {
        width: 120px;
        height: 45px;
        font-size: 1.6rem;
    }
    .input__email {
        > input {
            border: 1px solid rebeccapurple;
            height: 45px;
            padding-right: 15px;
            border-radius: 0;
            font-size: 1.6rem;
        }
    }
    .footer_privacity {
        width: 450px;
        height: auto;
        font-size: 1.6rem;
        > p:nth-child(:first) {
            padding: 40px;
        }
    }
}