@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

:root{
    --background: linear-gradient(90deg,#3c3c3c92 0%, #2d2e2e9f 100%);
    --color-primary: #394a96e7;
    --color-secondary: #667eea7e;
    --boton-padding: 20px 40 px;

    --negro: #393939;
    --blanco: #ececec;
    --sombra-ppal: #c9c9c9;
    --sombra-sec: #ffffff;
    --borde-negro: #00000050;
    --marcado: rgb(127, 195, 255);
    /* Tipografía */
    --tipo-principal: Helvetica, Arial, sans-serif;

    --negro: #393939;
    --blanco: #ececec;
    --sombra-ppal: #c9c9c9;
    --sombra-sec: #ffffff;
    --borde-negro: #00000050;
    --marcado: rgb(127, 195, 255);
}



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body{
    font-family: 'Raleway', sans-serif;
}

html {width:100%}

.container{
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 15px 0;
    max-width: 1300px;
}

.sub-hero-1{
    height: 70vh;
    background-image: url('../Imagenes/jorge-ramirez-TZUyjkPbX8U-unsplash.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    animation: movimiento1 10s infinite linear alternate;
}

@keyframes movimiento1{
    from{
        background-position: bottom left;
    }to {
        background-position: top right;
    }
}



.cuerpo{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background: #03a18c8d;
}

.cuerpo1{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background: #b41535e1;
}

.navegacion{
    position: relative;
    width: 1200px;
    height: 50px;
    display: flex;
    justify-content: space-around;
}

.navegacion ul{
    position: relative;
    display: flex;
    width: 1100px;
}

.navegacion ul li{
    position: relative;
    list-style: none;
    width: 950px;
    height: 50px;
    
}

.navegacion ul li a{
    
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.navegacion .sub-cursos{
    background:#03a18ca8;
}

.navegacion .sub-cursos2{
    background:#b41535a8;
}


.navegacion ul li a .icono{
    position: relative;
    display: block;
    line-height: 50px;
    font-size: 1.6em;
    transition: 0.5s;
    text-align: center;
    color: rgb(255, 255, 255);
}

.icono-2{
    text-align: right;
    line-height: 50px;
    transition: 0.5s;
    font-size: 0.8em;
    font-style: normal;
    color: #ffffff; 
}


.navegacion ul li  a:hover .titulo,
.navegacion ul li a:hover .icono{
    color: rgba(255, 255, 255, 0.347);
}

.navegacion ul li  a:hover .titulo,
.navegacion ul li a:hover .icono-2{
    color: rgba(255, 255, 255, 0.347);
}


.navegacion ul li  a .titulo{
    position: absolute;
    font-size: 0.8em;
    color: rgb(255, 255, 255);
    letter-spacing: 0.03em;
}

.navegacion ul li  a .titulo{
     transform: translateY(20px);
}


.navegacion ul li:nth-child(1).activo {
    transform: translateX(calc(219px * 0));
}
.navegacion ul li:nth-child(2).activo {
    transform: translateX(calc(219px * 1));
}
.navegacion ul li:nth-child(3).activo {
    transform: translateX(calc(219px * 2));
}
.navegacion ul li:nth-child(4).activo {
    transform: translateX(calc(219px * 3));
}
.navegacion ul li:nth-child(5).activo{
    transform: translateX(calc(219px * 4));
}

/*---menu de cursos ---*/
.navegacion ul li:hover>ul{
    display: unset;
}

.navegacion ul ul{
    display: none;   
}

.navegacion ul ul li{
  width: 350px;
}

/*---------------Inicio ----------------*/

.title{
    text-align: center;
    margin-bottom: 40px;
    font-size: 70px;
    color: #06b09a;
    padding-top: 20px;
}
.slider-wrapper {
    margin: auto;
    width:1100px;
    height:470px;
    padding: 3px 0 0 110px;
  position:relative;
    overflow:hidden;
}

.slider {
    position:relative;
    width:900px;
    height: 460px;
}
.items {
    display:none
}

.pagination {
    position:absolute;
    left:30px;
    top:20px;
    z-index:99;
}
    .pagination li {padding-bottom:1px}
        .pagination li a {
            display:block;
            width:101px;
            height:70px;
            text-decoration:none;
            text-align:center;
            color:#fff;
            background:url(../Imagenes/pagination-a.png) left bottom no-repeat;
            position:relative;
            cursor:pointer;
        }
        .pagination li a:hover,
        .pagination li.current a {background-position:left top}
            .pagination li a strong {
                display:block;
                width:50px;
                height:50px;
                font-size:30px;
                line-height:50px;
                letter-spacing:-2px;
                position:absolute;
                left:10px;
                top:10px;
            }
            .pagination .item-1 strong {background:url(../Imagenes/pagin-1.png) 0 0 no-repeat}
            .pagination .item-2 strong {background:url(../Imagenes/pagin-2.png) 0 0 no-repeat}
            .pagination .item-3 strong {background:url(../Imagenes/pagin-3.png) 0 0 no-repeat}
    
.banner {
    width:280px;
    height:346px;
    padding:65px 10px 20px;
    color:#fff;
    font-size:14px;
    line-height:25px;
    font-weight:normal;
    text-align:center;
    background:url(../Imagenes/banner-bg.png) 0 0 no-repeat;
    border-radius:0 22px 22px 0;
    position:absolute;
    right:0;
    top:0;
    z-index:99;
}
.banner strong {
    display:block;
    font-size:50px;
    line-height:1.2em;
    letter-spacing:-2px;
}

.banner span {
    display:block;
    font-weight:bold;
    text-transform:uppercase;
    margin-bottom:25px;
}

.banner b {
    display:block;
    font-weight:normal;
    }
    
.button2 {
    display:inline-block;
    font-size:14px;
    line-height:40px;
    padding:0 25px;
    color:#000;
    background:#fff;
}
.button2:hover {
    color:#fff;background:#000
}
footer .button2:hover {
    background:#666
}

/*----------- barra de informacio ----------------*/
.informacionM{
    height: 90px;
    width: 90%; 
    background: #df3206bc;
    border-radius: 0 10px 0 10px;
    box-shadow: inset 6px 6px 6px #f0eded9f, inset -6px -6px 6px #f0eded9f;

}

.robotica_paragraphM{
    text-align: justify;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #ffe8e8;
}

/*-------------Acordeon---------*/
.container .accordion{
    width: 100%;
    position: relative;
    margin-top: 30px;
    
}

.faq-paragragh{
    width: 50%;
}

.inf{
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #52f472e3;
    box-shadow: inset 6px 6px 6px #f0eded9f, inset -6px -6px 6px #f0eded9f;
}

.why{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 15px;
    color: #44624a;
}

.ittems{
    padding-left: 20px;
    padding-bottom: 10px;
    color: #113b1a;
}

.note{
    text-align: center;
    padding-bottom: 15px;
    margin-left: 20px;
    margin-right: 20px;
    color: #113b1a;
}

.paragrahh{
    margin-top: 5%;
    text-align: justify;
}

.IMAG{
    border-radius: 5%;
    margin-top: 5%;
    margin-left: 100px;
    margin-bottom: 22px;
}

.IMAG_1{
    border-radius: 5%;
    margin-top: 5%;
}

.accordion{
    position: relative;
    display: flex;
}
.acordeon {
    width: 50%;
    padding: 2rem;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
        }
  
  .acordeon .bloque {
    margin: 0 0 1rem;
    padding: 1rem;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


.acordeon .M2{
    background-color: rgb(45, 204, 210) ;
}
.acordeon .C2{
    background-color: rgba(45, 205, 210, 0.307);
}

.acordeon .h2 {
    margin: 0 0 2rem;
    padding: 0.5rem;
    color: #ffffff;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 1rem;
    -webkit-box-shadow: 0.2rem 0.2rem 0.4rem var(--sombra-ppal), -0.2rem -0.2rem 0.4rem var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
            box-shadow: 0.2rem 0.2rem 0.4rem var(--sombra-ppal), -0.2rem -0.2rem 0.4rem var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
    cursor: pointer;
  }



  .acordeon .h2:hover {
    color: #7d7676;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 1rem;
    -webkit-box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 0.4rem 0.4rem 0.8rem var(--sombra-ppal), inset -0.4rem -0.4rem 0.8rem var(--sombra-sec);
            box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 0.4rem 0.4rem 0.8rem var(--sombra-ppal), inset -0.4rem -0.4rem 0.8rem var(--sombra-sec);
  }

  
  .acordeon .contenido {
    margin-left: 20px;
    -webkit-box-shadow: 0.4rem 0.4rem 0.8rem var(--sombra-ppal), -0.4rem -0.4rem 0.8rem var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
            box-shadow: 0.4rem 0.4rem 0.8rem var(--sombra-ppal), -0.4rem -0.4rem 0.8rem var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
    height: 0;
    padding: 0rem;
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  
  .acordeon .contenido .l1{
    color: #625656;
    padding-left: 20px;
    padding-top: 0.5em;
  }

  .acordeon .contenido .l2{
    padding-left: 20px;
  }

  .l2_1{
    margin-top: 15px;
    padding-left: 20px;
    margin-right: 20px;
    text-align: justify;
  }

  .acordeon .bloque.activo .contenido {
    height: 5rem;
  }
/*----Aprender--------*/

.words{
    position:absolute;
    margin-left: 250px;
}

.s-title{
    color: #5a5454;
}

.rotating-words{
    color: #20b9bff0;
    display: inline;
    margin-left: 10px;
}

.rotating-words span{
    width: max-content;
    position: absolute;
    background: #87878821;
    padding-inline: 10px;
    opacity: 0;
    transform-origin: 10% 75%;
    animation: rotateWords 12s var(--d) linear infinite;

}

@keyframes rotateWords{
    5%{
        opacity: 1;
    }
    10%,
    20%{
        opacity: 1;
        transform: rotate(3deg);
    }
    15%{
        transform: rotate(-1drg);
    }
    25%{
        opacity: 0;
    }
}



/*-------pie de pagina----------------*/

.box-wrapper{
    position: relative;
    display: table;
    width: 1100p;
    margin: auto;
    margin-top: 35px;
}

.form-wrap{
    width:60%;
    height: 551px;
    padding: 30px;
    float: left;
    display: block;
    background: #ecf0f3;
}

.form-title{
    text-align: left;
    padding-left: 23px;
    font-size: 28px;
    letter-spacing: 0.5px;
    color: #06b09a;
}
.form-fields{
    display: table;
    width: 100%;
    padding: 15px 5px 5px 5px;
}
.form-fields input,
.form-fields textarea{
    border: none;
    outline:none;
    background: none;
    font-size: 18px;
    padding: 20px 10px 20px 5px;
    width:100%
}
.form-fields textarea{
    height: 130px;
    resize: none;
}
.form-group{
    width: 46%;
    float: left;
    padding: 0px 30px;
    margin: 14px 12px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #ffffff;
}
.form-fields .form-group:last-child {
    width: 96%;
}
.submit-button{
    width: 20%;
    height: 60px;
    margin: 0px 12px;
    border-radius: 30px;
    font-size: 20px;;
    font-weight: 700;
    outline: none;
    border:none;
    cursor: pointer;
    color:#fff;
    text-align: center;
    background: #47f4cf;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
    transition: .5s;
}
.submit-button:hover{
    background: #6cf5d797;
}

.info-wrap{
    width:40%;
    height: 551px;
    float: left;
    display: block;
    background:#ecf0f3;
    color: #1b0606;
}
.info-sub-title{
    margin-top: 15px;
    margin-left: 35px;
}
.footer .info-wrap .textBox{
    font-size: larger;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    top: -35px;
    padding-left: 140px;
}

.footer .info-wrap .textBox .infoContact{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 15px;
}
.footer .info-wrap .textBox .infoContact i{
    font-size: 2em;
    margin-right: 10px;
    color: #0ca598;
}

.footer .info-wrap .textBox .infoContact p{
    
    color: #06b09a;
}

.icon {
    color: #06b09a;  
}

.icon1{
    animation: float 2.5s ease-in-out infinite;
    margin-left: 2.5px;

}

.fa-instagram{
    animation-delay: 1s;
}

.fa-whatsapp{
    animation-delay: 2s;
}



@keyframes float{
    0% {
        transform: translateY(0);
    }
    50%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0);
    }
}

.rrss{
    display: inline-flex;
    list-style: none;
    position: relative;
    top: -20px;
    padding-left: 140px;
}

.rrss .icon{
    position: relative;
    border-radius: 50%;
    padding: 5px;
    margin: 18px;
    width: 40px;
    height: 40px;
    font-size: 28px;  
    display: flex;
    justify-content: center;
    align-content:center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

.rrss .tooltip{
    justify-content: center;
    margin-top: -20px;
    margin-left: -20px;
    position: absolute;
    top: 0;
    font-size: 18px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 2px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(175, 173, 173, 0.856);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55); 
}

.rrss .tooltip::before{

    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    bottom: -5px;
    left: 45%;
    transform: translate(-40%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.rrss .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto; 
}

.rrss .facebook:hover,
.rrss .facebook:hover .tooltip,
.rrss .facebook:hover .tooltip::before{
    background: #1877F2;
    color: #fff;

}

.rrss .Instagram:hover,
.rrss .Instagram:hover .tooltip,
.rrss .Instagram:hover .tooltip::before{
    background: linear-gradient(210deg, rgba(187, 0, 255, 0.913), rgba(255, 213, 0, 0.88) 75%);
    color: #171616;
}

.rrss .Whatsapp:hover,
.rrss .Whatsapp:hover .tooltip,
.rrss .Whatsapp:hover .tooltip::before{
    background: #40f218;
    color: #fff;
    
}
@media screen and (max-width: 1116px) {
    .box-wrapper{
        width: 100%;
    }

    .form-wrap,
    .info-wrap{
        width: 100%;
        height: inherit;
        float: none;
        padding-top: 50px;
    
    }

    .form-group{
        width: 100%;
        float: none;
    }
    
    .img_pie{
        display: none;
    }

    .sub-hero-1{
        height: 30vh;
    }
    .title{
        font-size: 40px;
    }
    .informacionM{
       margin-left: 20px;
       height: 160px;
    } 
   /* .slider {
        width:290px;
        height: 360px;
    }*/
    .words{
        margin-left: 50px;
    }
        
    .s-title{
        font-size: 15px;
    }
        
    .rotating-words{
       font-size: 11px;
    }
        
    .acordeon{
        width: 100%;
       
    }
    .container .accordion{
        display: block;
    }
        
    .IMAG{
        margin-left: 3px;
    }
    .inf{
        margin-left: 10px;
        margin-right: 10px;
        width: 390px;
    }
    
    .cuerpo label{
        visibility: visible;
        opacity: 1;
        margin-left: 660px;
    }
    .navegacion ul{
        flex-direction: column;
    }
    .navegacion ul li{
        width: 80px;
        margin-left: 10px;
        background-color: #06b09a;
    }
    .cuerpo{
        background-color: #ffffff00;
}
}