@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-2{
    height: 60vh;
    background-image: url('../Imagenes/Rassberry.gif');
    background-repeat: no-repeat;
    background-size: 100%;
}

*-------------- Menu de navegacion  ------------*/


.cuerpo{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
}

.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-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 ----------------*/


.informacionR{
    width: 90%;
    height: 120px;
    margin-top: 40px;
    margin-bottom: 20px;
    background: linear-gradient(90deg,#d72432de , #c61423de, #df3140de  );
    border-radius: 0 10px 0 10px;
    box-shadow: inset 6px 6px 6px #f0eded9f, inset -6px -6px 6px #f0eded9f;
    width: 100%;
}

.robotica_paragrapR{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 25px;
    color: #ffffff;
}


.Temas{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.gallery{
    --s:550px;
    display: grid;
    width: var(--s);
    aspect-ratio: 1;
    overflow: hidden;
    padding: calc(var(--s)/20);
    border-radius: 50%;
    position: relative;
}

.gallery::after{
    content: "";
    position: absolute;
    inset: 0;
    padding: inherit;
    border-radius: inherit;
    background: linear-gradient(180deg,#d72432de , #c61423de, #df3140de    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box,  linear-gradient(#fff 0 0) ; 
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.gallery > img {
    grid-area: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transform-origin: 50% 120.7%;
}

.gallery::after,
.gallery > img{
    animation: m 8s infinite cubic-bezier(.5,-0.2,.5,1.2);
}

.gallery > img:nth-child(2){animation-delay: -2s}
.gallery > img:nth-child(3){animation-delay: -4s}
.gallery > img:nth-child(4){animation-delay: -6s}

@keyframes m{
    0%,3% {transform: rotate(0)}
    22%,27% {transform: rotate(-90deg)}
    47%,52% {transform: rotate(-180deg)}
    72%,77% {transform: rotate(-270deg)}
    98%,100% {transform: rotate(-360deg)}
}

.checklist{
    width: 50%;
}

.modulos{
    margin-bottom: 20px;
}

.n-modulos{
    color:#604b51de ;
    font-size: 25px;
    padding: 10px;
}
.mas{
    color:#c61423de ;
    font-size: 20px;
    padding: 25px;
}
.number{
    display: inline-block;
    }


.readMore_btn{
    border: 0px solid #fff;
    position: relative;
    width: 35px;
    height: 35px;
    display: block;
    text-align: center;
    margin: 0 20px;
    border-radius: 50%;
    padding: 6px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(0deg, #ddd,#fff);
    cursor: pointer;
  }
  
  .readMore_btn:hover{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
  }

  .readMore_btn .fab{
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(0deg, #fff, #ddd);
    border-radius: 50%;
    line-height: calc(40px - 12px);
    font-size: 24px;
    transition: .5s;
  }

  .hide{
    display: none;
  }

  .show{
    display: block;
  }

  .h1{
    display: block;
    font-size: 2.5em;
    font-weight: 200;
    color: #3d535f;
  }

  .multiText{
    color: #c61423de;
    text-transform: capitalize;
  }
/*----------Requisitos de curso----------*/

.sub-containeR{
    margin: 0 auto;
    border-radius: 12px;
    max-width: 700px;
    margin-bottom: 80px;
    margin-top: 50px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.362);
   padding: 4px 5px  4px  4px;
 
}

.containerR .topic{
    overflow: hidden;
    font-size: 30px;
    font-weight: 80;
    margin-bottom: 5px;
}
.contentR{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contentR .listR{
    display: flex;
    flex-direction: column;
    width: 25%;
    margin-right: 45px;
    position: relative;
}
.contentR .listR 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;
}
#homeR:checked ~ .listR label.homeR,
#blogR:checked ~ .listR label.blogR,
#helpR:checked ~ .listR label.helpR{
  color: #dedede;
}
.contentR .listR label:hover{
  color: #c61423de;
}

.sutitle{
    color: #c61423de;
}

.contentR .sliderR{
  position: absolute;
  left: 0;
  top: 0;
  height: 50px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(45deg,#c61423de , #e53746de);
  transition: all 0.4s ease;
}

#homeR:checked ~ .listR .sliderR{
  top: 0;
}
#blogR:checked ~ .listR .sliderR{
  top: 60px;
}
#helpR:checked ~ .listR .sliderR{
  top: 120px;
}

.contentR .text-contentR{
  width: 80%;
  height: 100%;
}
.contentR .textR{
  display: none;
}
.contentR .textR .stitleR{
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 500;
}
.contentR .textR p{
  text-align: justify;
  margin: 10px;
}
.contentR .text-contentR .homeR{
  display: block;
}
#homeR:checked ~ .text-contentR .homeR,
#blogR:checked ~ .text-contentR .blogR,
#helpR:checked ~ .text-contentR .helpR{
  display: block;
}
#blogR:checked ~ .text-contentR .homeR,
#helpR:checked ~ .text-contentR .homeR,
#codeR:checked ~ .text-contentR .homeR,
#aboutR:checked ~ .text-contentR .homeR{
  display: none;
}
.contentR input{
  display: none;
}
/*-------------------segundo titulo------------*/

.Title2{
   text-align: center;
   font-size: 80px;
   color: #eb0c1fde;

}

/*-----pie de pagina Raspberry-----------*/

.form-wrap1{
    width:60%;
    height: 551px;
    padding: 40px;
    float: left;
    display: block;
    padding:40px 25px 35px 25px;
    background: #ecf0f3;
}

.form-title1{
    text-align: left;
    margin-left: 23px;
    font-size: 28px;
    letter-spacing: 0.5px;
    color: #d72432de ;
}
.form-fields1{
    display: table;
    width: 100%;
    padding: 15px 5px 5px 5px;
}
.form-fields1 input,
.form-fields1 textarea{
    border: none;
    outline:none;
    background: none;
    font-size: 18px;
    padding: 20px 10px 20px 5px;
    width:100%
}
.form-fields1 textarea{
    height: 150px;
    resize: none;
}
.form-group1{
    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-fields1 .form-group1:last-child {
    width: 96%;
}
.submit-button1{
    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: #d72432de ;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
    transition: .5s;
}
.submit-button1:hover{
    background: #e7515eb4 ;
}

.info-wrap1{
    width:40%;
    height: 551px;
    float: left;
    display: block;
    background:#ecf0f3;
    color: #1b0606;
}
.info-sub-title1{
    margin-top: 15px;
    margin-left: 35px;
}
.footer .info-wrap1 .textBox1{
    font-size: larger;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    top: -35px;
    padding-left: 140px;
}

.footer .info-wrap1 .textBox1 .infoContact1{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 15px;
}
.footer .info-wrap1 .textBox1 .infoContact1 i{
    font-size: 2em;
    margin-right: 10px;
    color: #d72432de 
}

.footer .info-wrap1 .textBox1 .infoContact1 p{
    
    color: #d72432de ;
}

.icon4 {
    color: #d72432de ;  
}

.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);
    }
}

.rrss1{
    display: inline-flex;
    list-style: none;
    position: relative;
    top: -20px;
    padding-left: 140px;
}

.rrss1 .icon4{
    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); 
}

.rrss1 .tooltip1{
    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); 
}

.rrss1 .tooltip1::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);
}

.rrss1 .icon4:hover .tooltip1 {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto; 
}

.rrss1 .facebook1:hover,
.rrss1 .facebook1:hover .tooltip1,
.rrss1 .facebook1:hover .tooltip1::before{
    background: #1877F2;
    color: #fff;

}

.rrss1 .Instagram1:hover,
.rrss1 .Instagram1:hover .tooltip1,
.rrss1 .Instagram1:hover .tooltip1::before{
    background: linear-gradient(210deg, rgba(187, 0, 255, 0.913), rgba(255, 213, 0, 0.88) 75%);
    color: #171616;
}

.rrss1 .Whatsapp1:hover,
.rrss1 .Whatsapp1:hover .tooltip1,
.rrss1 .Whatsapp1:hover .tooltip1::before{
    background: #40f218;
    color: #fff;
    
}

@media only screen and (max-width: 1116px) {
    

    .form-wrap1,
    .info-wrap1{
        width: 100%;
        height: inherit;
        float: none;
        padding-top: 50px;
    
    }

    .form-group1{
        width: 100%;
        float: none;
    } 

    .Imag_pie{
        display: none;
    }

    .sub-hero-2{
        height: 30vh;
    }

    .robotica_paragrapR{
        font-size: 16px;
        text-align: justify;
    }
    .checklist{
        width: 100%;
    }
    .gallery{
        --s:300px;
        margin-left: 20px;
    }

    .stitleR{
        display: none;
    }

    .cuerpo1 label{
        visibility: visible;
        opacity: 1;
        margin-left: 660px;
        }
        .navegacion ul{
        flex-direction: column;
        }
        .navegacion ul li{
        width: 80px;
        margin-left: 10px;
        background-color: #b41535e1;
        }
        .cuerpo1{
        background-color: #ffffff00;
        }
}