*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body{

    background-color: WHITE;


    & header{

        width: 100%;
        height: 150px;
        display: flex;
        flex-direction: column;


        & #headerup{
                width: 100%;
                height: 60%;
                display: flex;
                justify-content: space-between;
                align-items: center;

                & >a:nth-of-type(1){

                    width: 45%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    text-decoration: none; /* Esto elimina el subrayado */
                    margin-right: 450px;
                    


                    /* & div:nth-of-type(1){
                    
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: center;           
                        justify-content: center; */
                        
                    
                    


                    & div:nth-of-type(1){
                        width: 18%;
                        height: 100%;
                        display: flex;
                        align-items: center;           
                        justify-content: center;
                        background-image: url(../../../img/flechas.png);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        /* margin-left: 50px; */
                        /* margin-left: 200px; */
                    }
                    

                    & div:nth-of-type(2){

                        width: 55%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;

                    

                        & p:nth-of-type(1){

                            width: 90%;
                            height: 60%;
                            align-items: center;           
                            justify-content: center;
                            font-size: 50px;
                            color: rgb(23, 23, 103);
                            font-weight: bold;
                            margin-right: 130px;
                            padding-top: 5px;

                        }

                        & p:nth-of-type(2){

                            width: 100%;
                            height: 40%;
                            align-items: center;           
                            justify-content: center;
                            color: gray;
                            font-size: 16px;
                            margin-right: 80px;
                            
                            

                        }
                    }               
                    
                }

                

                

                & >div:nth-of-type(1){
                    
                    width: 5%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    
                    

                    & >a{
                        width: 60px;
                        height: 70%;
                        background-image: url(../../../img/youtube2.jpg);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        padding-left: 0px;
                        border-color: transparent;
                        background-color: transparent;
                        
                    }

                    
                }

                & div:nth-of-type(2){
                    
                    width: 15%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;

                    & button{
                        width: 200px;
                        height: 50%;
                        background-color: red;
                        display: inline-flex;
                        justify-content: center;
                        align-items: center;
                        margin: 10px 10px;
                        border-radius: 10px;
                        color: white;
                        font-weight: bold;
                        border-color: transparent;
                        text-decoration: none;

                        
                    }
                    /* & button:nth-of-type(2){
                            background-color: blue;
                            border-color: transparent;
                        } */
                }

                & >a:nth-of-type(2){
                    width: 6%;
                    height: 90%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    flex-direction: column;
                    text-decoration: none; 
                    cursor: pointer; 
                    transition: color 0.3s; 
                    background-color: rgb(39, 45, 79);
                    margin-right: 180px;

                    & span:nth-of-type(1){
                        
                        display:inline-flex;
                        position: absolute;
                        top:4%;
                        right:175px;
                        width:20px;
                        height: 20px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                    

                    

                    

                    & p:nth-of-type(1){
                        width: 100%;
                        height: 30%;
                        align-items: center;  
                        text-align: center;         
                        justify-content: center;
                        font-size: 20px;  
                        font-weight: bold;
                        color:white;
                        color:white;
                        
                       
                    }

                    & p:nth-of-type(2){
                        width: 100%;
                        height: 30%;
                        text-align: center;
                        align-items: center;           
                        justify-content: center;
                        font-size: 16px;  
                        font-weight: bold;
                        color:white;
                        
                        
                    }

                    & span:nth-of-type(2){
                        
                        display:inline-flex;
                        position: absolute;
                        top:4%;
                        right:272px;
                        width:20px;
                        height: 20px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                }
            }


        & #headerdown{

            width: 100%;
            height: 40%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgb(39, 45, 79);
            color: white;
            font-weight: bold;

            & div:nth-of-type(1){
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;

                & nav{

                width: 100%;
                height: 100%;
                display: flex;              
                justify-content: center;
                align-items: center;
                /* margin-left: 300px; */

                    & span{
                        margin: 0px 50px;

                        
                    }
                    & a:nth-of-type(2){
                            color: orange;
                    }

                    & a{
                       margin: 0px 50px; 
                       text-decoration: none;
                       color: white;
                       transition: 0.4s;
                    }
                    & a:hover{
                        color: orange;
                        /* text-decoration: underline; */
                         transform: scale(1.3);
                    }
                }
            }

            

            
        }
    }

    #divergencias{
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    flex-direction: column;

    & >div:nth-of-type(1){
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      
      & p:nth-of-type(1){
        width: 100%;
        height: 30%;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        color: rgb(172, 172, 172);
        
      }

        & p:nth-of-type(2){
        width: 100%;
        height: 50%;
        font-size: 50px;
        text-align: center;
        justify-content: center;
        font-weight: bold; 
        /* margin-top: 30px;  */      
        
      }
      & p:nth-of-type(2)::after {
        content: "";
        display: block;
        width: 10%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
      

        

        & span{
          color: orange;
          margin-right: 17px;
          margin-left: 12px;
          font-weight: bold;
            }
        
        }


        
    }

    #cursodivergencias{
        width: 100%;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        /* margin-top: 50px; */
        margin: 50px 0px;

                & article:nth-of-type(1){

                    width: 30%;
                    height: 95%;
                    display: flex;
                    justify-content: end;
                    align-items: end;
                    flex-direction: column;
                    border: 2px solid black;
                    background-image: url(../../../todosCursos/img/cursobolsa3.jpg);
                    background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;

                    & >p{
                        width: 100%;
                        height: 25%;
                        display: flex;
                        justify-content: center;
                        align-items:center;
                        font-size: 25px;
                        font-weight: bold;
                        background-color: rgb(219, 224, 75);
                        
                    }
                }

                & article:nth-of-type(2){

                    width: 55%;
                    height: 80%;
                    display: flex;
                    justify-content: start;
                    align-items: flex-start;
                    flex-direction: column;
                    margin-left: 50px;

                    & >p:nth-of-type(1){
                        width: 100%;
                        height: 15%;
                        display: flex;
                        justify-content: start;
                        align-items:center;
                        font-size: 25px;
                        font-weight: bold;
                        text-align: start;
                    }

                    & >p:nth-of-type(2){
                        width: 100%;
                        height: 5%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                    }

                    & >p:nth-of-type(3){
                        width: 100%;
                        height: 15%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        font-weight: normal;
                        margin-top: 10px;
                        font-size: 20px;
                    }

                    & >div:nth-of-type(1){
                        width: 100%;
                        height: 50%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        

                        
                     
                        & p:nth-of-type(1){
                            width: 100%;
                            height: 60%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: black;
                            background-image: url(../../../todosCursos/img/nestor.png);
                            background-size: contain;
                            background-position: start;
                            background-repeat: no-repeat;
                            font-weight: bold;

                            

                            & span{
                            width: 60%;
                            height: 30%;
                            display: flex;
                            justify-content: start;
                            align-items: center;
                            padding-left:100px;
                            padding-top: 25px;
                            flex-wrap: wrap;
                            }
                        }

                        & p:nth-of-type(2){
                            width: 50%;
                            height: 20%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: orange;    
                        }

                    }
                }
    }

    & #caracteristicas{

        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 90px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #caracteristicas2{

        width: 100%;
        height: 350px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;

        & article:nth-of-type(1){
            width: 28%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;
            margin-left: 60px;

            & p:nth-of-type(1){
            width: 100%;
            height: 10%;
            font-size: 30px;
            text-align: start;
            justify-content: center;
            margin-top: 50px;
            /* border-bottom: 2px solid rgb(227, 227, 227); */
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
        
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(6){
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(7) {
            width: 100%;
            height: 5%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & span{
                margin-right:20px; 
                color: orange;
            }

       
        

        }
        & article:nth-of-type(2){
            width: 24%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;

            & p:nth-of-type(1){
            width: 100%;
            height: 20%;
            font-size: 30px;
            text-align: start;
            justify-content: center;
            margin-top: 50px;
            
            }
            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 10%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 10%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 10%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 10%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            

       
        

        }

        & article:nth-of-type(3){
            width: 20%;
            height: 80%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 100px;
            border: 2px solid rgb(227, 227, 227);
            margin-right: 60px;

            & button{
            width: 350px;
            height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 23px;
            font-weight: bold;
            border: 2px solid black;
            border-radius: 10px;
            background-color: rgb(60, 124, 60);
            color: white;
            &:hover {
                background-color:  rgb(1, 33, 74);
                color: white;
            }
            
            
            }
            & p:nth-of-type(1){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;
            & span{
                    margin-left:160px; 
                    
                }
            }
            & p:nth-of-type(2){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;

                & span{
                    
                    margin-left:120px; 
                    
                }
            
            }
        }
    }
            
          
        
    
    /* Estilo para la navegación principal */
    a.nav-link {
        margin: 3px;
        width: 350px;
        height: 80px;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        font-size: 23px;
        /* padding: 35px 100px; */
        /* border: 2px solid black; */
        border-bottom: 2px solid rgb(177, 177, 177);
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        color: black;
        background-color: #ffffff;
        /* margin-top: 20px; */

        &:hover {
            background-color: rgb(1, 33, 74);
            color: white;
            cursor: pointer;
        }
    }


    /* Resaltar en la página actual */
    a.nav-link.active {
        background-color: rgb(253, 253, 174);
        font-weight: bold;
    }

    & #aprendizaje{

        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 120px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #aprendizaje2{

        width: 100%;
        height: 220px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;

        & article{

            width: 26%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;

            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(1){
            width: 100%;
            height: 15%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 15%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 15%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 15%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            

       
        

        }

        
        
    }

    & #opiniones{

        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 120px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    #estrellas{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    /* border: 2px solid rgba(0, 0, 0, 0.15); */

    & div:nth-of-type(1){

      width: 10%;
      height: 10%;
      display: flex;
      justify-content: center;
      align-items: center;
      

    }

    & >p:nth-of-type(1){
      width: 80%;
      height: 60%;
      font-size: 40px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-top: 30px;
    }
    & >p:nth-of-type(2){
      width: 80%;
      height: 20%;
      font-size: 15px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-bottom: 30px;
    }


        /* Estilo contenedor, si quieres centrar o alinear */
    #comment-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    /* Estilo común para todos los círculos */
    .circle {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px;           /* Tamaño fijo en alto para círculo perfecto */
        background-color: #a9a9a9; /* Color de fondo */
        border-radius: 50%;     /* Hace la forma redonda */
        margin: 0 8px;          /* Espaciado entre círculos */
        cursor: pointer;        /* Cursor de puntero */
        display: inline-block;  /* Para que sean en línea y tengan tamaño fijo */
        transition: background-color 0.3s;
    }

    /* Si quieres que el primer círculo tenga un estilo diferente, usa :first-child */
    #comment-controls .circle:first-child {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px; 
    }

    /* Estilo para el círculo activo (opcional) */
    .circle.active {
        background-color: rgb(36, 36, 36);
    }
    }

    & #footer{
            width: 100%;
            height: 300px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            /* margin-top: 20px; */
            border-top: 2px solid rgb(227, 227, 227);
            /* border-bottom: 2px solid rgb(227, 227, 227); */

            & >div:nth-of-type(1){
                
                width: 40%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                
                

                & div:nth-of-type(1){
                    width: 10%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    background-image: url(../../../img/flechas.png);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    /* padding-left: 30px; */
                    margin-right: 20px;
                }

                & div:nth-of-type(2){

                    width: 80%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                 

                    & p:nth-of-type(1){

                        width: 100%;
                        height: 57%;
                        align-items: center;           
                        justify-content: center;
                        font-size: 80px;
                        color: rgb(23, 23, 103);
                        font-weight: bold;
                        /* padding-right: 40px; */
                        padding-top: 90px;

                    }

                    & p:nth-of-type(2){

                        width: 100%;
                        height: 40%;
                        align-items: center;           
                        justify-content: center;
                        color: gray;
                        font-size: 25px;
                        
                        

                    }
                }               
                
            }

            & >div:nth-of-type(2){
                width: 18%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                flex-direction: column;
                margin-top: 120px;
               

                & p:nth-of-type(1){
                    width: 100%;
                    height: 15%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 28px;
                    color: black;
                    font-weight: bold;
                    
                }
                & p:nth-of-type(2){
                    width: 100%;
                    height: 85%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 20px;
                    color: grey;
                    font-weight: bold;
                    
                }
                
            }

            & >div:nth-of-type(3){
            width: 22%;
            height: 100%;
            display: flex;
            align-items: flex-start;           
            justify-content: center;            
            flex-direction: column;
            /* border: 2px solid rgb(227, 227, 227); */
            padding: 10px;
            margin-top: 30px;

            & >div:nth-of-type(1){
                width: 100%;
                height: 10%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-bottom: 20px;
                /* border: 2px solid rgb(227, 227, 227); */

                & > p{
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: start;
                    font-size: 28px;
                    color: black;
                    font-weight: bold;
                    background-color: white;
                }
            }

            & >div:nth-of-type(2){
                width: 100%;
                height: auto; /* ajusta la altura automáticamente */
                display: flex;
                flex-wrap: wrap; /* para que las etiquetas pasen a la siguiente línea */
                gap: 5px; /* espacio entre etiquetas */
                margin-top: 0px; /* un poco de margen superior */
                margin-bottom: 25px;

                & > a{
                    display: inline-block;
                    padding: 5px 10px;
                    margin: 2px;
                    background-color: rgb(23, 23, 103);
                    color: white;
                    font-size: 16px;
                    border-radius: 4px;
                    cursor: pointer; /* opcional, si quieres que parezca clickable */
                    text-decoration: none;
                }
            }
            }


            & >div:nth-of-type(4){
                
                width: 12%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                

                & a{
                    width: 140px;
                    height: 75%;
                    background-image: url(../../../img/youtube2.jpg);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    padding-left: 0px;
                    border-color: transparent;
                    background-color: transparent;
                    
                }

                
            }
    }


     /* Botón Arriba */
    #btnArriba {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: orange;
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    }

    #btnArriba:hover {
    background-color: darkorange;
    transform: scale(1.1);
    }

    
}


@media (max-width: 431px) and (orientation: portrait){

    *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body{

    background-color: WHITE;


    & header{

        width: 100%;
        height: 800px;
        display: flex;
        


        & #headerup{
                width: 100%;
                height: 30%;
                display: flex;
                justify-content: space-around;
                align-items: center;
                flex-wrap: wrap;
                
                
                
                /* background-image: url(./img/stock.jpg); */

                & >a:nth-of-type(1){

                    width: 100%;
                    height: 55%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    text-decoration: none; /* Esto elimina el subrayado */
                    margin-right: 0px;
                    
                    


                    /* & div:nth-of-type(1){
                    
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: center;           
                        justify-content: center; */
                        
                    
                    


                    & div:nth-of-type(1){
                        width: 12%;
                        height: 90%;
                        display: flex;
                        align-items: center;           
                        justify-content: center;
                        background-image: url(../../../img/flechas.png);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        margin-left: 0px; 
                      margin-right: 0px; 
                    }
                    

                    & div:nth-of-type(2){

                        width: 88%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        

                    

                        & p:nth-of-type(1){

                            width: 100%;
                            height: 38%;
                            align-items: center;           
                            justify-content: center;
                            font-size: 44px;
                            color: rgb(23, 23, 103);
                            font-weight: bold;
                            margin-left: 15px;
                            margin-right: 0px;
                            padding-top: 6px;

                        }

                        & p:nth-of-type(2){

                            width: 100%;
                            height: 15%;
                            align-items: center;           
                            justify-content: center;
                            color: gray;
                            font-size: 14px;
                            margin-right: 0px;
                            margin-left: 15px;
                            margin-bottom: 7px;
                            
                            
                            

                        }
                    }               
                    
                }

                

                

                & >div:nth-of-type(1){
                    
                    width: 15%;
                    height: 40%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    
                    

                    & >a{
                        width: 60px;
                        height: 70%;
                        background-image: url(../../../img/youtube2.jpg);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        padding-left: 0px;
                        border-color: transparent;
                        background-color: transparent;
                        
                    }

                    
                }

                & div:nth-of-type(2){
                    
                    width: 46%;
                    height: 40%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    
                    
                    

                    & button{
                        width: 200px;
                        height: 50%;
                        background-color: red;
                        display: inline-flex;
                        justify-content: center;
                        align-items: center;
                        margin: 10px 10px;
                        border-radius: 10px;
                        color: white;
                        font-weight: bold;
                        border-color: transparent;
                        text-decoration: none;
                        
                        
                        

                        
                    }
                    /* & button:nth-of-type(2){
                            background-color: blue;
                            border-color: transparent;
                        } */
                }

                & >a:nth-of-type(2){
                    width: 28%;
                    height: 28%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    flex-direction: column;
                    text-decoration: none; 
                    cursor: pointer; 
                    transition: color 0.3s; 
                    background-color: rgb(39, 45, 79);
                    margin-right: 0px;
                    margin-top: 0px;

                    & span:nth-of-type(1){
                        
                        display:none;
                        position: absolute;
                        top:27%;
                        right:117px;
                        width:15px;
                        height: 14px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                    

                    

                    

                    & p:nth-of-type(1){
                        width: 100%;
                        height: 40%;
                        align-items: center;  
                        text-align: center;         
                        justify-content: center;
                        font-size: 20px;  
                        font-weight: bold;
                        
                        color:white;
                        
                       
                    }

                    & p:nth-of-type(2){
                        width: 100%;
                        height: 40%;
                        text-align: center;
                        align-items: center;           
                        justify-content: center;
                        font-size: 16px;  
                        font-weight: bold;
                        color:white;
                        
                        
                    }

                    & span:nth-of-type(2){
                        
                        display:none;
                        position: absolute;
                        top:21%;
                        right:5px;
                        width:12px;
                        height: 12px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                }
            }


        & #headerdown{

            width: 100%;
            height: 70%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgb(39, 45, 79);
            color: white;
            font-weight: bold;
            flex-direction: column;
            margin-top: 10px;

            & div:nth-of-type(1){
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;

                & nav{

                width: 100%;
                height: 100%;
                display: flex;              
                justify-content: center;
                align-items: center;
                flex-direction: column;
                /* margin-left: 300px; */

                    & span{
                        margin: 0px 20px;

                        
                    }
                    & a:nth-of-type(2){
                            color: orange;
                    }

                    & a{
                       margin: 18px 30px; 
                       text-decoration: none;
                       color: white;
                       transition: 0.4s;
                       font-size: 24px;
                    }
                    & a:hover{
                        color: orange;
                        /* text-decoration: underline; */
                         transform: scale(1.3);
                    }
                }
            }

            

            
        }
    }

    #divergencias{
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    flex-direction: column;

    & >div:nth-of-type(1){
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      
      & p:nth-of-type(1){
        width: 100%;
        height: 30%;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        color: rgb(172, 172, 172);
        
      }

        & p:nth-of-type(2){
        width: 100%;
        height: 50%;
        font-size: 32px;
        text-align: center;
        justify-content: center;
        font-weight: bold; 

        /* margin-top: 30px;  */      
        
      }
      & p:nth-of-type(2)::after {
        content: "";
        display: block;
        width: 30%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
      

        

        & span{
          color: orange;
          margin-right: 17px;
          margin-left: 12px;
          font-weight: bold;
            }
        
        }


        
    }

    #cursodivergencias{
        width: 100%;
        height: 550px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        /* margin-top: 50px; */
        margin: 20px 0px;
        flex-direction: column;

                & article:nth-of-type(1){

                    width: 99%;
                    height: 55%;
                    display: flex;
                    justify-content: end;
                    align-items: end;
                    flex-direction: column;
                    border: 2px solid black;
                    background-image: url(../../../todosCursos/img/cursobolsa3.jpg);
                    background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;

                    & >p{
                        width: 100%;
                        height: 25%;
                        display: flex;
                        justify-content: center;
                        align-items:center;
                        font-size: 22px;
                        font-weight: bold;
                        background-color: rgb(219, 224, 75);
                        
                    }
                }

                & article:nth-of-type(2){

                    width: 99%;
                    height: 45%;
                    display: flex;
                    justify-content: start;
                    align-items: flex-start;
                    flex-direction: column;
                    margin-left: 1%;
                    margin-right: 1%;

                    & >p:nth-of-type(1){
                        width: 100%;
                        height: 35%;
                        display: flex;
                        justify-content: start;
                        align-items:center;
                        font-size: 24px;
                        font-weight: bold;
                        text-align: start;
                        margin-top: 10px;
                    }

                    & >p:nth-of-type(2){
                        width: 100%;
                        height: 0%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        font-size: 20px;
                        
                    }

                    & >p:nth-of-type(3){
                        width: 100%;
                        height: 45%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        font-weight: normal;
                        margin-top: 20px;
                        font-size: 18px;
                       
                    }

                    & >div:nth-of-type(1){
                        width: 100%;
                        height: 35%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        margin-top: 15px;
                        

                        
                     
                        & p:nth-of-type(1){
                            width: 50%;
                            height: 80%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: black;
                            background-image: url(../../../todosCursos/img/nestor.png);
                            background-size: contain;
                            background-position: start;
                            background-repeat: no-repeat;
                            font-weight: bold;
                            margin-top: 50px;
                            margin-left: 20px;

                            

                            & span{
                            width: 50%;
                            height: 100%;
                            display: flex;
                            justify-content: start;
                            align-items: center;
                            padding-left:100px;
                            padding-top: 5px;
                            flex-wrap: wrap;
                            }
                        }

                        & p:nth-of-type(2){
                            width: 50%;
                            height: 20%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: orange;   
                            margin-top: 40px; 
                            margin-left: 120px;
                        }

                    }
                }
    }

    & #caracteristicas{

        width: 100%;
        height: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 80px;
        


        & p{
            font-size: 32px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            text-align: center;
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 30%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #caracteristicas2{

        width: 100%;
        height: 1200px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;
        flex-direction: column;
        margin-right: 1%;
        margin-left: 1%;

        & article:nth-of-type(1){
            width: 100%;
            height: 33%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 10px;
            margin-left: 0px;

            & p:nth-of-type(1){
            width: 100%;
            height: 10%;
            font-size: 26px;
            text-align: start;
            justify-content: center;
            margin-top: 10px;
            font-weight: bold;
            /* border-bottom: 2px solid rgb(227, 227, 227); */
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 9%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            margin-top: 20px;
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 9%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 15%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
        
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 15%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(6){
            width: 100%;
            height: 9%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(7) {
            width: 100%;
            height: 8%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            }
            & span{
                margin-right:20px; 
                color: orange;
            }

       
        

        }
        & article:nth-of-type(2){
            width: 100%;
            height: 36%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 30px;

            & p:nth-of-type(1){
            width: 100%;
            height: 10%;
            font-size: 26px;
            text-align: start;
            justify-content: center;
            margin-top: 30px;
            font-weight: bold;
            
            }
            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 16%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 16%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 16%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 10%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            

       
        

        }

        & article:nth-of-type(3){
            width: 98%;
            height: 30%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 60px;
            border: 2px solid rgb(227, 227, 227);
            margin-right: 3%;
            margin-left: 1%;

            & button{
            width: 350px;
            height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 23px;
            font-weight: bold;
            border: 2px solid black;
            border-radius: 10px;
            background-color: rgb(60, 124, 60);
            color: white;
            &:hover {
                background-color:  rgb(1, 33, 74);
                color: white;
            }
            
            
            }
            & p:nth-of-type(1){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;
            & span{
                    display: none;
                    
                }
            }
            & p:nth-of-type(2){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;

                & i{
                    
                   display: none;
                    
                }
            
            }
        }
    }
            
          
        
    
    /* Estilo para la navegación principal */
    a.nav-link {
        margin: 3px;
        width: 350px;
        height: 80px;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        font-size: 23px;
        /* padding: 35px 100px; */
        /* border: 2px solid black; */
        border-bottom: 2px solid rgb(177, 177, 177);
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        color: black;
        background-color: #ffffff;
        /* margin-top: 20px; */

        &:hover {
            background-color: rgb(1, 33, 74);
            color: white;
            cursor: pointer;
        }
    }


    /* Resaltar en la página actual */
    a.nav-link.active {
        background-color: rgb(253, 253, 174);
        font-weight: bold;
    }

    & #aprendizaje{

        width: 100%;
        height: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        


        & p{
            font-size: 32px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            text-align: center;
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 30%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #aprendizaje2{

        width: 100%;
        height: 600px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;
        flex-direction: column;
        margin-left: 1%;
        margin-right: 1%;

        

        & article{

            width: 100%;
            height: 32%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 0px;

            

            

            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(1){
            width: 100%;
            height: 30%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 30%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 30%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 15%;
            font-size: 20px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }

            

            &:nth-of-type(2) > p:nth-of-type(1) {
            height: 30%;
            }

            &:nth-of-type(2) > p:nth-of-type(2) {
            height: 30%;
            }
            &:nth-of-type(2) > p:nth-of-type(3) {
            height: 30%;
            }

            &:nth-of-type(3) > p:nth-of-type(1) {
            height: 30%;
            }
            &:nth-of-type(3) > p:nth-of-type(2) {
            height: 30%;
            }

            &:nth-of-type(3) > p:nth-of-type(3) {
            height: 30%;
            }
                        

       
        

        }

        
        
    }

    & #opiniones{

        width: 100%;
        height: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        


        & p{
            font-size: 32px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            text-align: center;
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 30%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    #estrellas{
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 40px;
    margin-left: 2%;
    margin-right: 2%;
    /* border: 2px solid rgba(0, 0, 0, 0.15); */

    & div:nth-of-type(1){

      width: 100%;
      height: 10%;
      display: flex;
      justify-content: center;
      align-items: center;
      

    }

    & >p:nth-of-type(1){
      width: 80%;
      height: 60%;
      font-size: 30px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-top: 30px;
    }
    & >p:nth-of-type(2){
      width: 80%;
      height: 20%;
      font-size: 25px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-bottom: 30px;
    }


        /* Estilo contenedor, si quieres centrar o alinear */
    #comment-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    /* Estilo común para todos los círculos */
    .circle {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px;           /* Tamaño fijo en alto para círculo perfecto */
        background-color: #a9a9a9; /* Color de fondo */
        border-radius: 50%;     /* Hace la forma redonda */
        margin: 0 8px;          /* Espaciado entre círculos */
        cursor: pointer;        /* Cursor de puntero */
        display: inline-block;  /* Para que sean en línea y tengan tamaño fijo */
        transition: background-color 0.3s;
    }

    /* Si quieres que el primer círculo tenga un estilo diferente, usa :first-child */
    #comment-controls .circle:first-child {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px; 
    }

    /* Estilo para el círculo activo (opcional) */
    .circle.active {
        background-color: rgb(36, 36, 36);
    }
    }

    & #footer{
            width: 100%;
            height: 900px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: 50px;
            border-top: 2px solid rgb(227, 227, 227);
            flex-direction: column;
            /* border-bottom: 2px solid rgb(227, 227, 227); */

            & >div:nth-of-type(1){
                
                width: 100%;
                height: 14%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                
                

                & div:nth-of-type(1){
                    width: 12%;
                    height: 90%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    background-image: url(../../../img/flechas.png);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    /* padding-left: 30px; */
                    margin-left: 0px;
                    margin-right: 0px;
                }

                & div:nth-of-type(2){

                    width: 88%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    margin-left: 5px;
                   /*  margin-right: 10px; */
                   /* padding-right: 10px; */
                   padding-bottom:3px;
                 

                    & p:nth-of-type(1){

                        width: 100%;
                        height: 57%;
                        align-items: center;           
                        justify-content: center;
                        font-size: 44px;
                        color: rgb(23, 23, 103);
                        font-weight: bold;
                        /* padding-right: 40px; */
                        padding-top: 25px;

                    }

                    & p:nth-of-type(2){

                        width: 100%;
                        height: 20%;
                        align-items: center;           
                        justify-content: center;
                        color: gray;
                        font-size: 14px;
                        margin-left: 2px;
                        /* padding-bottom: 15px; */
                        /* margin-bottom: 5px; */
                        
                        

                    }
                }               
                
            }

            & >div:nth-of-type(2){
                width: 100%;
                height: 28%;
                display: flex;
                align-items: center;           
                justify-content: center;
                flex-direction: column;
                margin-top: 30px;
               

                & p:nth-of-type(1){
                    width: 100%;
                    height: 15%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 26px;
                    color: black;
                    font-weight: bold;
                    
                }
                & p:nth-of-type(2){
                    width: 100%;
                    height: 85%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 18px;
                    color: grey;
                    font-weight: bold;
                    
                }
                
            }

            & >div:nth-of-type(3){
            width: 100%;
            height: 40%;
            display: flex;
            align-items: flex-start;           
            justify-content: center;            
            flex-direction: column;
            /* border: 2px solid rgb(227, 227, 227); */
            padding: 10px;
            margin-top: 0px;
            margin-right: 2%;
            margin-left: 2%;

            & >div:nth-of-type(1){
                width: 100%;
                height: 10%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-bottom: 20px;
                /* border: 2px solid rgb(227, 227, 227); */

                & > p{
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: start;
                    font-size: 30px;
                    color: black;
                    font-weight: bold;
                    background-color: white;
                }
            }

            & >div:nth-of-type(2){
                width: 100%;
                height: auto; /* ajusta la altura automáticamente */
                display: flex;
                flex-wrap: wrap; /* para que las etiquetas pasen a la siguiente línea */
                gap: 5px; /* espacio entre etiquetas */
                margin-top: 0px; /* un poco de margen superior */
                margin-bottom: 25px;

                & > a{
                    display: inline-block;
                    padding: 5px 10px;
                    margin: 2px;
                    background-color: rgb(23, 23, 103);;
                    color: white;
                    font-size: 13px;
                    border-radius: 4px;
                    cursor: pointer; /* opcional, si quieres que parezca clickable */
                    text-decoration: none;
                }
            }
            }


            & >div:nth-of-type(4){
                
                width: 100%;
                height: 10%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                

                & a{
                    width: 140px;
                    height: 75%;
                    background-image: url(../../../img/youtube2.jpg);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    padding-left: 0px;
                    border-color: transparent;
                    background-color: transparent;
                    
                }

                
            }
    }


     /* Botón Arriba */
    #btnArriba {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: orange;
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    }

    #btnArriba:hover {
    background-color: darkorange;
    transform: scale(1.1);
    }

    
}
}

@media (min-width: 1180px) and (max-width: 1930px) {
    *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body{

    background-color: WHITE;


    & header{

        width: 100%;
        height: 150px;
        display: flex;
        flex-direction: column;


        & #headerup{
                width: 100%;
                height: 60%;
                display: flex;
                justify-content: space-around;
                align-items: center;
                flex-wrap: nowrap;
                
                /* background-image: url(./img/stock.jpg); */

                & >a:nth-of-type(1){

                    width: 45%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    text-decoration: none; /* Esto elimina el subrayado */
                    margin-right: 0px;
                    


                    /* & div:nth-of-type(1){
                    
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: center;           
                        justify-content: center; */
                        
                    
                    


                    & div:nth-of-type(1){
                        width: 15%;
                        height: 100%;
                        display: flex;
                        align-items: center;           
                        justify-content: center;
                        background-image: url(../../../img/flechas.png);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        /* margin-left: 50px; */
                        /* margin-left: 200px; */
                    }
                    

                    & div:nth-of-type(2){

                        width: 85%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;

                    

                        & p:nth-of-type(1){

                            width: 90%;
                            height: 60%;
                            align-items: center;           
                            justify-content: center;
                            font-size: 50px;
                            color: rgb(23, 23, 103);
                            font-weight: bold;
                            margin-right: 80px;
                            padding-top: 5px;

                        }

                        & p:nth-of-type(2){

                            width: 100%;
                            height: 40%;
                            align-items: center;           
                            justify-content: center;
                            color: gray;
                            font-size: 15px;
                            margin-right: 25px;
                            
                            

                        }
                    }               
                    
                }

                

                

                & >div:nth-of-type(1){
                    
                    width: 5%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    margin-left: 150px;
                    
                    

                    & >a{
                        width: 60px;
                        height: 70%;
                        background-image: url(../../../img/youtube2.jpg);
                        background-size: contain; /* o contain, según prefieras */
                        background-position: center; /* o top, bottom, left, right, center, etc. */
                        background-repeat: no-repeat;
                        padding-left: 0px;
                        border-color: transparent;
                        background-color: transparent;
                        
                    }

                    
                }

                & div:nth-of-type(2){
                    
                    width: 12%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;

                    & button{
                        width: 200px;
                        height: 50%;
                        background-color: red;
                        display: inline-flex;
                        justify-content: center;
                        align-items: center;
                        margin: 10px 10px;
                        border-radius: 10px;
                        color: white;
                        font-weight: bold;
                        border-color: transparent;
                        text-decoration: none;

                        
                    }
                    /* & button:nth-of-type(2){
                            background-color: blue;
                            border-color: transparent;
                        } */
                }

                & >a:nth-of-type(2){
                    width: 8%;
                    height: 90%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    flex-direction: column;
                    text-decoration: none; 
                    cursor: pointer; 
                    transition: color 0.3s; 
                    background-color: rgb(39, 45, 79);
                    margin-right: 0px;

                    & span:nth-of-type(1){
                        
                        display:none;
                        position: absolute;
                        top:4%;
                        right:175px;
                        width:20px;
                        height: 20px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                    

                    

                    

                    & p:nth-of-type(1){
                        width: 100%;
                        height: 30%;
                        align-items: center;  
                        text-align: center;         
                        justify-content: center;
                        font-size: 20px;  
                        font-weight: bold;
                        color:white;
                        
                       
                    }

                    & p:nth-of-type(2){
                        width: 100%;
                        height: 30%;
                        text-align: center;
                        align-items: center;           
                        justify-content: center;
                        font-size: 16px;  
                        font-weight: bold;
                        color:white;
                        
                        
                    }

                    & span:nth-of-type(2){
                        
                        display:none;
                        position: absolute;
                        top:4%;
                        right:272px;
                        width:20px;
                        height: 20px;
                        background-color: rgb(39, 45, 79);
                        transform:rotate(45deg);
                        
                        }
                }
            }


        & #headerdown{

            width: 100%;
            height: 40%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgb(39, 45, 79);
            color: white;
            font-weight: bold;

            & div:nth-of-type(1){
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;

                & nav{

                width: 100%;
                height: 100%;
                display: flex;              
                justify-content: center;
                align-items: center;
                /* margin-left: 300px; */

                    & span{
                        margin: 0px 0px;

                        
                    }
                    & a:nth-of-type(2){
                            color: orange;
                    }

                    & a{
                       margin: 0px 20px; 
                       text-decoration: none;
                       color: white;
                       transition: 0.4s;
                       font-size: 14px;
                    }
                    & a:hover{
                        color: orange;
                        /* text-decoration: underline; */
                         transform: scale(1.2);
                    }
                }
            }

            

            
        }
    }

    #divergencias{
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    flex-direction: column;

    & >div:nth-of-type(1){
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      
      & p:nth-of-type(1){
        width: 100%;
        height: 30%;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        color: rgb(172, 172, 172);
        
      }

        & p:nth-of-type(2){
        width: 100%;
        height: 50%;
        font-size: 50px;
        text-align: center;
        justify-content: center;
        font-weight: bold; 
        /* margin-top: 30px;  */      
        
      }
      & p:nth-of-type(2)::after {
        content: "";
        display: block;
        width: 10%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
      

        

        & span{
          color: orange;
          margin-right: 17px;
          margin-left: 12px;
          font-weight: bold;
            }
        
        }


        
    }

    #cursodivergencias{
        width: 100%;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        /* margin-top: 50px; */
        margin: 50px 0px;

                & article:nth-of-type(1){

                    width: 30%;
                    height: 95%;
                    display: flex;
                    justify-content: end;
                    align-items: end;
                    flex-direction: column;
                    border: 2px solid black;
                    background-image: url(../../../todosCursos/img/cursobolsa3.jpg);
                    background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;

                    & >p{
                        width: 100%;
                        height: 25%;
                        display: flex;
                        justify-content: center;
                        align-items:center;
                        font-size: 25px;
                        font-weight: bold;
                        background-color: rgb(219, 224, 75);
                        
                    }
                }

                & article:nth-of-type(2){

                    width: 55%;
                    height: 80%;
                    display: flex;
                    justify-content: start;
                    align-items: flex-start;
                    flex-direction: column;
                    margin-left: 50px;

                    & >p:nth-of-type(1){
                        width: 100%;
                        height: 15%;
                        display: flex;
                        justify-content: start;
                        align-items:center;
                        font-size: 25px;
                        font-weight: bold;
                        text-align: start;
                    }

                    & >p:nth-of-type(2){
                        width: 100%;
                        height: 5%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                    }

                    & >p:nth-of-type(3){
                        width: 100%;
                        height: 15%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        font-weight: normal;
                        margin-top: 10px;
                        font-size: 20px;
                    }

                    & >div:nth-of-type(1){
                        width: 100%;
                        height: 50%;
                        display: flex;
                        justify-content: start;
                        align-items:center; 
                        text-align: start;
                        

                        
                     
                        & p:nth-of-type(1){
                            width: 100%;
                            height: 60%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: black;
                            background-image: url(../../../todosCursos/img/nestor.png);
                            background-size: contain;
                            background-position: start;
                            background-repeat: no-repeat;
                            font-weight: bold;

                            

                            & span{
                            width: 60%;
                            height: 30%;
                            display: flex;
                            justify-content: start;
                            align-items: center;
                            padding-left:100px;
                            padding-top: 25px;
                            flex-wrap: wrap;
                            }
                        }

                        & p:nth-of-type(2){
                            width: 50%;
                            height: 20%;
                            font-size: 25px;
                            text-align: start;
                            justify-content: center;
                            color: orange;    
                        }

                    }
                }
    }

    & #caracteristicas{

        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 90px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #caracteristicas2{

        width: 100%;
        height: 450px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;

        & article:nth-of-type(1){
            width: 30%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;
            margin-left: 60px;

            & p:nth-of-type(1){
            width: 100%;
            height: 12%;
            font-size: 30px;
            text-align: start;
            justify-content: center;
            margin-top: 50px;
            /* border-bottom: 2px solid rgb(227, 227, 227); */
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
        
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(6){
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            
            }
            & p:nth-of-type(7) {
            width: 100%;
            height: 8%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            }
            & span{
                margin-right:20px; 
                color: orange;
            }

       
        

        }
        & article:nth-of-type(2){
            width: 25%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;

            & p:nth-of-type(1){
            width: 100%;
            height: 20%;
            font-size: 30px;
            text-align: start;
            justify-content: center;
            margin-top: 50px;
            
            }
            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 16%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 16%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 16%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(5){
            width: 100%;
            height: 16%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            

       
        

        }

        & article:nth-of-type(3){
            width: 20%;
            height: 80%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 100px;
            border: 2px solid rgb(227, 227, 227);
            margin-right: 60px;

            & button{
            width: 300px;
            height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 23px;
            font-weight: bold;
            border: 2px solid black;
            border-radius: 10px;
            background-color: rgb(60, 124, 60);
            color: white;
            &:hover {
                background-color:  rgb(1, 33, 74);
                color: white;
            }
            
            
            }
            & p:nth-of-type(1){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;
            & span{
                     display: none;  
                    
                }
            }
            & p:nth-of-type(2){
            width: 95%;
            height: 12%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            margin-top: 30px;
            color: orange;

                & i{
                    
                    display: none; 
                    
                }
            
            }
        }
    }
            
          
        
    
    /* Estilo para la navegación principal */
    a.nav-link {
        margin: 3px;
        width: 350px;
        height: 80px;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        font-size: 23px;
        /* padding: 35px 100px; */
        /* border: 2px solid black; */
        border-bottom: 2px solid rgb(177, 177, 177);
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        color: black;
        background-color: #ffffff;
        /* margin-top: 20px; */

        &:hover {
            background-color: rgb(1, 33, 74);
            color: white;
            cursor: pointer;
        }
    }


    /* Resaltar en la página actual */
    a.nav-link.active {
        background-color: rgb(253, 253, 174);
        font-weight: bold;
    }

    & #aprendizaje{

        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 120px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    & #aprendizaje2{

        width: 100%;
        height: 250px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;

        & article{

            width: 28%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            margin-top: 50px;

            & span{
                margin-right:18px; 
                color: orange;
            }
            & p:nth-of-type(1){
            width: 100%;
            height: 30%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(2){
            width: 100%;
            height: 30%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            }
            & p:nth-of-type(3){
            width: 100%;
            height: 30%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            & p:nth-of-type(4){
            width: 100%;
            height: 30%;
            font-size: 23px;
            text-align: start;
            justify-content: center;
            border-bottom: 2px solid rgb(227, 227, 227);
            
            }
            

       
        

        }

        
        
    }

    & #opiniones{

        width: 100%;
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 80px;
        


        & p{
            font-size: 40px;
            font-weight: bold;
            display: inline-block; /* se ajusta al texto */
            
            
        }

        & p::after {
        content: "";
        display: block;
        width: 50%;              /* 🔥 aquí controlas el ancho de la línea */
        height: 2px;             /* grosor de la línea */
        background-color: black; /* color de la línea */
        margin: 2px auto 0;      /* la centra debajo del texto */
        margin-top: 20px;
        
        }
        
    }

    #estrellas{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    /* border: 2px solid rgba(0, 0, 0, 0.15); */

    & div:nth-of-type(1){

      width: 20%;
      height: 10%;
      display: flex;
      justify-content: center;
      align-items: center;
      

    }

    & >p:nth-of-type(1){
      width: 80%;
      height: 60%;
      font-size: 30px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-top: 30px;
    }
    & >p:nth-of-type(2){
      width: 80%;
      height: 20%;
      font-size: 15px;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      margin-bottom: 30px;
    }


        /* Estilo contenedor, si quieres centrar o alinear */
    #comment-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    /* Estilo común para todos los círculos */
    .circle {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px;           /* Tamaño fijo en alto para círculo perfecto */
        background-color: #a9a9a9; /* Color de fondo */
        border-radius: 50%;     /* Hace la forma redonda */
        margin: 0 8px;          /* Espaciado entre círculos */
        cursor: pointer;        /* Cursor de puntero */
        display: inline-block;  /* Para que sean en línea y tengan tamaño fijo */
        transition: background-color 0.3s;
    }

    /* Si quieres que el primer círculo tenga un estilo diferente, usa :first-child */
    #comment-controls .circle:first-child {
        width: 20px;            /* Tamaño fijo en ancho */
        height: 20px; 
    }

    /* Estilo para el círculo activo (opcional) */
    .circle.active {
        background-color: rgb(36, 36, 36);
    }
    }

     #footer{
            width: 100%;
            height: 250px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: 120px;
            border-top: 2px solid rgb(227, 227, 227);
            /* border-bottom: 2px solid rgb(227, 227, 227); */

            & >div:nth-of-type(1){
                
                width: 38%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                
                

                & div:nth-of-type(1){
                    width: 10%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: center;
                    background-image: url(../../../img/flechas.png);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    /* padding-left: 30px; */
                    margin-right: 10px;
                }

                & div:nth-of-type(2){

                    width: 88%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                 

                    & p:nth-of-type(1){

                        width: 100%;
                        height: 56%;
                        align-items: center;           
                        justify-content: center;
                        font-size: 60px;
                        color: rgb(23, 23, 103);
                        font-weight: bold;
                        /* padding-right: 40px; */
                        padding-top: 80px;

                    }

                    & p:nth-of-type(2){

                        width: 100%;
                        height: 30%;
                        align-items: center;           
                        justify-content: center;
                        color: gray;
                        font-size: 17px;
                        margin-left: 0px;
                        
                        

                    }
                }               
                
            }

            & >div:nth-of-type(2){
                width: 19%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                flex-direction: column;
                margin-top: 60px;
                /* flex-wrap: wrap; */
               

                & p:nth-of-type(1){
                    width: 100%;
                    height: 4%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 24px;
                    color: black;
                    font-weight: bold;
                    
                }
                & p:nth-of-type(2){
                    width: 100%;
                    height: 96%;
                    align-items: center;           
                    justify-content: center;
                    font-size: 17px;
                    color: grey;
                    font-weight: bold;
                    margin-top: 50px;
                    
                }
                
            }

            & >div:nth-of-type(3){
            width: 28%;
            height: 100%;
            display: flex;
            align-items: flex-start;           
            justify-content: center;            
            flex-direction: column;
            /* border: 2px solid rgb(227, 227, 227); */
            padding: 10px;
            margin-top: 30px;

            & >div:nth-of-type(1){
                width: 100%;
                height: 5%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-bottom: 20px;
                /* border: 2px solid rgb(227, 227, 227); */

                & > p{
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;           
                    justify-content: start;
                    font-size: 24px;
                    color: black;
                    font-weight: bold;
                    background-color: white;
                }
            }

            & >div:nth-of-type(2){
                width: 100%;
                height: auto; /* ajusta la altura automáticamente */
                display: flex;
                flex-wrap: wrap; /* para que las etiquetas pasen a la siguiente línea */
                gap: 3px; /* espacio entre etiquetas */
                margin-top: 10px; /* un poco de margen superior */
                margin-bottom: 0px;

                & > a{
                    display: inline-block;
                    padding: 4px 8px;
                    margin: 2px;
                    background-color: rgb(23, 23, 103);;
                    color: white;
                    font-size: 14px;
                    border-radius: 4px;
                    cursor: pointer; /* opcional, si quieres que parezca clickable */
                    text-decoration: none;
                }
            }
            }


            & >div:nth-of-type(4){
                
                width: 8%;
                height: 100%;
                display: flex;
                align-items: center;           
                justify-content: center;
                margin-top: 20px;
                
                

                & a{
                    width: 140px;
                    height: 75%;
                    background-image: url(../../../img/youtube2.jpg);
                    background-size: contain; /* o contain, según prefieras */
                    background-position: center; /* o top, bottom, left, right, center, etc. */
                    background-repeat: no-repeat;
                    padding-left: 0px;
                    border-color: transparent;
                    background-color: transparent;
                    
                }

                
            }
    }


     /* Botón Arriba */
    #btnArriba {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: orange;
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    }

    #btnArriba:hover {
    background-color: darkorange;
    transform: scale(1.1);
    }

    
}
}