html {
    scroll-behavior: smooth;
  }

body{
    background-color: #000000 !important;
    overflow: hidden;
}

#fondo{
    background-image: url(./fondo-revolucion-digital.png);
    background-repeat: no-repeat;
    background-size: 100%; /*ACUERDATE: SOLO COLOCAMOS UN 100% PARA EL ANCHO, PARA EL ALTO NOS DEFORMA LA IMAGEN*/
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -100;
}

#contenedor-header-logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

#logo-header-revolucion-digital{
    max-width: 500px;
    width: 100%;
    height: auto;
    padding: 0 20px;
    margin-top: 250px;
}

#boton-cursos:hover, #boton-cursos:visited, #boton-cursos:active{
    text-decoration: none;
    color: white;
}

/* From cssbuttons.io by @ShadowShahriar */
#boton-cursos {
    margin-top: 100px; /*120px*/
    margin-bottom: 410px; /*50px*/

    --border-radius: 15px;
    --border-width: 4px;
    appearance: none;
    position: relative;
    padding: 1em 2em;
    border: 0;
    background-color: #212121;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    z-index: 2;

    border-radius: 15px;
   }
   
   #boton-cursos::after {
    --m-i: linear-gradient(#000, #000);
    --m-o: content-box, padding-box;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: var(--border-width);
    border-radius: var(--border-radius);
    background-image: conic-gradient(
           #488cfb,
           #29dbbc,
           #ddf505,
           #ff9f0e,
           #e440bb,
           #655adc,
           #488cfb
       );
    -webkit-mask-image: var(--m-i), var(--m-i);
    mask-image: var(--m-i), var(--m-i);
    -webkit-mask-origin: var(--m-o);
    mask-origin: var(--m-o);
    -webkit-mask-clip: var(--m-o);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    filter: hue-rotate(0);
    animation: rotate-hue linear 1500ms infinite;
    animation-play-state: paused;
   }
   
   #boton-cursos::after {
    animation-play-state: running;
   }
   
   @keyframes rotate-hue {
    to {
     filter: hue-rotate(1turn);
    }
   }
   
   #boton-cursos,
   #boton-cursos::after {
    box-sizing: border-box;
   }
   
   #boton-cursos:active {
    --border-width: 5px;

   }

   /*---------------------*/

#contenedor-boton{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

footer{
    width: 100%;
    height: 55px;
    /* background-color: #1d1d1d; */
    color: white;
    font-size: 15px;

    margin-top: 40px;
}

#texto-footer{
    height: fit-content;
    text-align: center;
    margin: 0;
}

.item-curso{
    margin: 18px;
}

.enlace-titulo-curso, .enlace-titulo-curso:hover, .enlace-titulo-curso:visited, .enlace-titulo-curso:active{
    text-decoration: none;
    color: #212529;
}

@media (max-width: 913px) {
    #fondo{
        background-image: url(./fondo-revolucion-digital-vertical.png);
        background-repeat: no-repeat;
        background-size: 100%; /*ACUERDATE: SOLO COLOCAMOS UN 100% PARA EL ANCHO, PARA EL ALTO NOS DEFORMA LA IMAGEN*/
    }

    #logo-header-revolucion-digital{
        margin-top: 600px;
    }  

    #boton-cursos{
        margin-bottom: 650px;
    }
}

@media (max-width: 821px) {
    #logo-header-revolucion-digital{
        margin-top: 500px;
    }
}

@media (max-width: 769px) {
    #logo-header-revolucion-digital{
        margin-top: 400px;
    }
}

@media (max-width: 541px) {
    #que-deseas-aprender-hoy{
        font-size: 33px;
        margin-bottom: 25px !important;
        line-height: 1.7;
    }

    #logo-header-revolucion-digital{
        margin-top: 320px;
    }
}

@media (max-width: 415px) {
    #fondo{
        background-image: url(./fondo-revolucion-digital-celular.png);
        background-repeat: no-repeat;
        background-size: 100%; /*ACUERDATE: SOLO COLOCAMOS UN 100% PARA EL ANCHO, PARA EL ALTO NOS DEFORMA LA IMAGEN*/
    }

    #logo-header-revolucion-digital{
        margin-top: 280px; /*390px*/
    }

    #boton-cursos{
        margin-top: 150px; /*al inicio no tenia este estilo*/
        margin-bottom: 450px;
    }
}

@media (max-width: 394px) {
    #logo-header-revolucion-digital{
        margin-top: 280px; /*350px*/
    }
}

@media (max-width: 376px) {
    #logo-header-revolucion-digital{
        margin-top: 280px;
    }

    #boton-cursos{
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 361px) {
    #logo-header-revolucion-digital{
        margin-top: 320px;
    }

    #boton-cursos{
        padding-left: 20px;
        padding-right: 20px;
    }
}