@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 curso de robotiva*/
.sub-hero{
    height: 70vh;
    background-image: url('../Imagenes/stem-t4l--PnSpCHYKsw-unsplash_1.jpg');
    background-repeat: no-repeat;
}

/*-------------- 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 ----------------*/

.hero__texts{
    text-align: center;
    padding-top: 225px;
    font-size: 50px;
    font-weight: bold;
    color: #ffffff;
}


/*------------- css pagina de cursos de robotica------------- */

.hero__texts1{
    text-align: right;
    padding-top: 90px;
    padding-right: 120px;
    font-size: 50px;
    font-weight: bold;
    color: #ffffff;
}

.informacion{
    margin-top: 40px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #12ecf0, #24ddc4 );
    border-radius: 0 10px 0 10px;
    box-shadow: inset 6px 6px 6px #f0eded9f, inset -6px -6px 6px #f0eded9f;
    width: 100%;
}

.SUB-TItle{
    padding-top: 15px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 25px;
    color: #07736a;
}

.robotica_paragraph{
    padding-left: 20px;
    padding-right: 20px;
    height: 95px;
    text-align: justify;
    font-size: 22px;
    margin-top: 20px;
    color: #ffffff;
}

.sub-container{
    margin: 0 auto;
    border-radius: 12px;
    max-width: 700px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.362);
   padding: 4px 5px  4px  4px;
 
}
.sub-container .topic{
    overflow: hidden;
    font-size: 30px;
    font-weight: 80;
    margin-bottom: 5px;
}
.content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content .list{
    display: flex;
    flex-direction: column;
    width: 25%;
    margin-right: 45px;
    position: relative;
}
.content .list label{
   
  height: 60px;
  font-size: 18px;
  font-weight: 500;
  line-height: 60px;
  cursor: pointer;
  padding-left: 25px;
  transition: all 0.5s ease;
  color: #333;
  z-index: 12;
}
#home:checked ~ .list label.home,
#blog:checked ~ .list label.blog,
#help:checked ~ .list label.help{
  color: #dedede;
}
.content .list label:hover{
  color: #0abbbe;
}

.content .slider{
  position: absolute;
  left: 0;
  top: 0;
  height: 50px;
  width: 100%;
  border-radius: 12px;
  background: #0abbbe;
  transition: all 0.4s ease;
}

#home:checked ~ .list .slider{
  top: 0;
}
#blog:checked ~ .list .slider{
  top: 60px;
}
#help:checked ~ .list .slider{
  top: 120px;
}

.content .text-content{
  width: 80%;
  height: 100%;
}
.content .text{
  display: none;
}
.content .text .stitle{
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 500;
}
.content .text p{
  text-align: justify;
  margin: 10px;
}
.content .text-content .home{
  display: block;
}
#home:checked ~ .text-content .home,
#blog:checked ~ .text-content .blog,
#help:checked ~ .text-content .help{
  display: block;
}
#blog:checked ~ .text-content .home,
#help:checked ~ .text-content .home,
#code:checked ~ .text-content .home,
#about:checked ~ .text-content .home{
  display: none;
}
.content input{
  display: none;
}
/*---------- arma tu robot------------ */
.subcontainer{
    text-align: center;
    color: #999;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;   
}


.Stitle{
    margin-left: 110px;
    margin-top: 50px;
    text-align: left;
}
.flip{
  
    margin-block-start: -38px; 
    margin-left: 530px;
    height: 60px;
    overflow: hidden;
}

.flip > div > div{
    color: #fff;
    padding: 4px 12px;
    height: 50px;
    margin-bottom: 46px;
    display: inline-block;
  
}

.flip div:first-child{
    animation: show 5s linear infinite;
}

.flip div div{
    background: #42c58a;
}

.flip div:first-child div{
    background: #4ec7f3;
}

.flip div:last-child div{
    background: #DC143C;
}

@keyframes show{
    0% {margin-top: -270px;}
    5% {margin-top: -180px;}
    33% {margin-top: -180px;}
    38% {margin-top: -90px;}
    66% {margin-top: -90px;}
    71% {margin-top: 0px;}
    99.99% {margin-top: 0px;}
    100% {margin-top: -270px;}
}

/* ---------------catalogo----------------- */

.catalogo_Container{
    overflow-x: hidden;
    position: relative;
    margin-bottom: 2rem;
   
}

.catalogo{
    
    padding-top: 0.5rem;
}

.avatar{
    
   width: 220px;
   height: 200px;
   border-radius: 15px;
   overflow: hidden;
   margin: 0 auto;
   border: 0.1rem solid #abaeaf;

   display: flex;
   justify-content: center;
   align-items: center;
}

.texto_info{
    margin-top: 10px;
    text-align: center;
}

.catalogo_body{
    margin-top: 5px;
    width: 450px;
    padding: 0.2rem;
    margin-top: auto;
    display: flex;
   justify-content: center;
   align-items: center;
   border-radius:10px;
   border: 0.1rem solid d87dc18a;
   
}
/*-----------STEM------------*/
.al{
    color: #06b09a;
}

.STEM{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cardss{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    box-shadow: 0 0 0 100px inset, 0 0 5px grey;
    transition: box-shadow 1s;
    float: left;
    margin: 10px;
}

.cardss::after{
    display: block;
    white-space: pre;
    font-size: 1rem;
    color: aliceblue;
    /*background: #333;*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px solid;
    text-align: center;
    border-radius: 8px;
    transition: opacity 1s .5s;
    text-transform: uppercase;
}

.cardss:hover{
    box-shadow: 0 0 0 5px inset, 0 0 5px #0000000f, 0 0 10px #0000000f inset;
    transition: box-shadow 1s;
    cursor: pointer;
}

.cardss:hover::after{
    opacity: 0;
    transition: opacity .5s;
}

#S{
    color: #2358e8e6;
}

#S:hover{
    background-image: url('../Imagenes/scienc.gif');
    background-size: cover;
    animation: reproducir 1s steps(40) infinite;
}

@keyframes reproduci {
    from{ background-position: 0;}
    to {background-position: -80px;}
}

#S::after{
    content: 'S';
    font-size: 150px;
}

#T{
    color: #5bec4be6;
}

#T:hover{
    background-image: url('../Imagenes/Tecnologia.gif');
    background-size: cover;
    animation: reproducir 1s steps(40) infinite;
}

#T::after{
    content: 'T';
    font-size: 150px;
}

#E{
    color: #f5ef48e6;
}

#E:hover{
    background-image: url('../Imagenes/ingenieria.gif');
    background-size: cover;
    animation: reproducir 1s steps(40) infinite;
}

#E::after{
    content: 'E';
    font-size: 150px;
}

#M{
    color: #b44debe6;
}

#M:hover{
    background-image: url('../Imagenes/matematicas.gif');
    background-size: cover;
    animation: reproducir 1s steps(40) infinite;
}

#M::after{
    content: 'M';
    font-size: 150px;
}


/*-------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 only screen and (max-width: 1117px) {
    .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;
    }

    .informacion{
        margin-bottom: 10px;
    }
    .SUB-TItle{
        font-size: 18px;
    }
    .robotica_paragraph{
        height: 185px;
    }
    .content .list{
        width: 20%;
    }
    .stitle{
        display: none;
    }
    .Stitle{
        font-size: 12px;
        margin-left: 50px;
        margin-bottom: 10px;
    }
    .flip{
        margin-block-start: -18px; 
        margin-left: 168px;
        height: 15px;
    }
        
    .catalogo_Container{
        margin-bottom: 1rem;
       
    }
    .avatar{
       width: 110px;
       height: 100px;
    }
        
    .texto_info{
        margin-top: 10px;
        text-align: center;
    }
        
    .catalogo_body{
        margin-top: 2px;
        width: 190px;
        font-size: 12px;
    }
    .textrobot{
        font-size: 10px;
    }

        
    .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;
    }
    
}