@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;
}


/* pagina de diseno 3d*/

.sub-hero-3{
    height: 60vh;
    background-image: url('../Imagenes/thisisengineering-raeng-83udtzyaTS4-unsplash.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    animation: movimiento3 10s infinite linear alternate;
}

@keyframes movimiento3{
    from{
        background-position: bottom left;
    }to {
        background-position: top right;
    }
}

/*-------------- Menu de navegacion  ------------*/


.cuerpo{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background: #03a18c8d;
}


.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 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;
    font-size: 80px;
    color: #06b09a;
    padding-top: 20px;
}
/*----------cuadro de informacion----------*/
.informacion{
    background: linear-gradient(135deg, #12ecf0, #24ddc4 );
    border-radius: 0 10px 0 10px;
    box-shadow: inset 6px 6px 6px #f0eded9f, inset -6px -6px 6px #f0eded9f;
}

.SUB-TItle{
    color: #08ad97;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}

.robótica_paragraph{
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    color: #ffffff;
}

/*---------------card-----------*/
.container-1{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-left: 60px;
}

.card{
   
    position: relative;
    left: 0;
    width: 300px;
    height: 370px;
    transition: 0.3s ease-out;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.card .imgbox{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card .imgbox img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.card .content1{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 95px;
    padding: 20px;
    background: #ff000058;
    transition: all 0.5s cubic-bezier(.48, -0.28, 0.41, 1.4);
    box-sizing: border-box;
    overflow: hidden;
}

.card:hover .content1{
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
}

.content1 p{
  
    padding: 0.5em 0.5em;
    transform: translateY(1em);
    line-height: 1em;
    transition: 0.3s;
    text-align: justify;
    opacity: 0;
}
.card:hover .content1 p{
    transform: translateY(0);
    opacity: 1;
}



 h1{
    text-align: center;
 }

 .card .content2{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 95px;
    padding: 20px;
    background: #ff800073;
    transition: all 0.5s cubic-bezier(.48, -0.28, 0.41, 1.4);
    box-sizing: border-box;
    overflow: hidden;
}

.card:hover .content2{
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
}

.content2 p{
  
    padding: 0.5em 0.5em;
    transform: translateY(1em);
    line-height: 1em;
    transition: 0.3s;
    text-align: justify;
    opacity: 0;
}
.card:hover .content2 p{
    transform: translateY(0);
    opacity: 1;
}


.card .content3{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 95px;
    padding: 20px;
    background: #f3f2f17c;
    transition: all 0.5s cubic-bezier(.48, -0.28, 0.41, 1.4);
    box-sizing: border-box;
    overflow: hidden;
}

.card:hover .content3{
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
}

.content3 p{
  
    padding: 0.5em 0.5em;
    transform: translateY(1em);
    line-height: 1em;
    transition: 0.3s;
    text-align: justify;
    opacity: 0;
}
.card:hover .content3 p{
    transform: translateY(0);
    opacity: 1;
}

/*-------------Acordeon---------*/
.container .accordion{
    width: 100%;
    position: relative;
    margin-top: 3px;
    
}

.faq-paragragh{
    width: 50%;
}

.inf{
    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_1{
    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;
  }


  /*-------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;
    }
    
    .imgepie{
        display: none;
    }

    .IMAG_1{
        display: none;
    }

    .sub-hero-3{
        height: 30vh;
    }
    .title{
        font-size: 40px;
    }
    .SUB-TItle{
        font-size: 15px;
     }
    .robótica_paragraph{
        font-size: 10px;
     }

    .acordeon{
        width: 100%;
    }

        
.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;
}
}