*{margin: 0; padding: 0; border: 0; text-decoration: none; list-style: none; box-sizing: border-box;}

:root{
    /*Colores*/
	--celeste-c:#b0e6ff;
	--celeste:#67cfff;
	--verde-mas-c:#82f3d5;
	--verde-c:#23d7a7;
	--verde:#009D7F;
	--verde-o:#117d66;
    --asd-mas-c-2:#e1f4ff;
    --asd-mas-c:#b6e0f2;
    --asd-c:#459ec1;
	--asd:#004a6e;
	--asd-o:#093248;
	--asd-mas-o:#001f28;
	--issd: #008393;
    --issd-mas-c: #c0e7fc;
    --issd-c: rgb(16, 164, 184);
    --issd-o: #005a66;
    --issd-mas-o: #00414a;
	--cesd:#5F9E82;
	--sd:#154194;
	--negro:#000;
	--blanco:#fff;
    --gris-30:rgb(30, 30, 50);
    --gris-70:rgb(70, 70, 90);
    --gris-100:rgb(100, 100, 120);
    --gris-130:rgb(130, 130, 150);
    --gris-170:rgb(170, 170, 190);
    --gris-210:rgb(210, 210, 230);
    --gris-230:rgb(230, 230, 245);
    --gris-240:rgb(240, 240, 255);
    --gris-250:rgb(250, 250, 255);

	/*Tipografías*/
	--Rubik:'Rubik Dirt', sans-serif;
	--Roboto-Slab:'Roboto Slab', sans-serif;
    --iconos: 'Material Icons';
}

html{text-rendering: optimizeLegibility; font-size: 15px; font-family: 'Rubik Dirt', sans-serif;}

h1{
    font-size: 46px;
    color: var(--asd-c);
    font-weight: 400;
}
h2{
    font-size: 24px;
    color: var(--asd-o);
    font-weight: 400;
}
h3{
    font-size: 24px;
    font-weight: 700;
    font-family: var(--Roboto-Slab);
    color: var(--asd-mas-c);
    margin-bottom: 10px;
    text-align: center;
}

body{
    background-image: url(../img/fondo.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
    header{
        text-align: center;
        display: grid;
        grid-template-columns: 1fr;
        border-top: solid 10px var(--asd-mas-c);
    }
        header img{
            position: relative;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            width: 180px;
        }
    main{
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        padding: 10px;
    }
        #contenedor-promos{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            padding: 5px;
            text-align: center;
            justify-items: center;
            position: relative;
        }
            #contenedor-promos h2,
            #contenedor-promos h1{
                grid-column: 1/-1;
            }
                #contenedor-promos > div{
                    position: relative;
                    width: 100%;
                    height: 10px;
                }
                    #contenedor-promos img{
                        position: relative;
                        z-index: 1;
                        width: 110px;
                    }
                        #contenedor-promos img[src*="promo-1"]{
                            top: -60px;
                        }
                        #contenedor-promos img[src*="promo-2"]{
                            top: -5px;
                        }
                        #contenedor-promos img[src*="promo-3"]{
                            top: -100px;
                        }
                    #contenedor-promos div > span{
                        height: 500px;
                        min-height: 100%;
                        width: 3px;
                        position: absolute;
                        left: 50%;
                        transform: translateX(-50%);
                        z-index: 3;
                        border-radius: 25px;
                    }
                        #contenedor-promos div:nth-of-type(1) > span{
                            background-color: var(--asd);
                            top: -530px;
                        }
                        #contenedor-promos div:nth-of-type(2) > span{
                            background-color: var(--asd-c);
                            top: -465px;
                        }
                        #contenedor-promos div:nth-of-type(3) > span{
                            background-color: var(--asd-o);
                            top: -565px;
                        }

                        #contenedor-promos div{
                            z-index: 5;
                        }

                        #contenedor-promos div,
                        #contenedor-promos img {
                        opacity: 0;
                        position: relative;
                        animation: slideDown 1s forwards;
                        }

                        @keyframes slideDown {
                            from {
                                transform: translateY(-100%);
                                opacity: 0;
                            }
                            to {
                                transform: translateY(0);
                                opacity: 1;
                            }
                        }

                        #contenedor-promos img:nth-child(4) {
                        animation-delay: 0.2s;
                        }
                        #contenedor-promos img:nth-child(5) {
                        animation-delay: .4s;
                        }
                        #contenedor-promos img:nth-child(6) {
                        animation-delay: .6s;
                        }
                        #contenedor-promos div:nth-child(1) {
                        animation-delay: 0.8s;
                        }
                        #contenedor-promos div:nth-child(2) {
                        animation-delay: 1s;
                        }
                        #contenedor-promos div:nth-child(3) {
                        animation-delay: 1.2s;
                        }
    #listado-cursos{
        grid-column: 1/-1;
        width: 100%;
        display: flex;
        grid-gap: 20px;
        grid-auto-flow: row;
        overflow: hidden;
        margin-top: 20px;
        position: relative;
        border-left: solid 1px var(--asd-c);
        border-right: solid 1px var(--asd-c);
        padding: 20px 0;
    }
             #listado-cursos::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 20px;
                height: 100%;
                background: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent);
                filter: blur(10px);
                z-index: 10;
            }
             #listado-cursos::after {
                content: "";
                position: absolute;
                top: 0;
                right: 0;
                width: 20px;
                height: 100%;
                background: linear-gradient(to left, rgba(0, 0, 0, 0.35), transparent);
                filter: blur(10px);
                z-index: 10;
            }
        @media screen and (min-width:960px) {
            #listado-cursos{
                grid-template-columns: 1fr 1fr ;
            } 
        }
            #listado-cursos article{
                background: white;
                padding: 10px 15px;
                border-radius: 10px;
                text-align: left;
                min-width: 300px;
                animation: 45s slider ease infinite;
                position: relative;

            }
                #listado-cursos article h4{
                    font-weight: 400;
                    color: var(--asd);
                    margin-bottom: 10px;
                    font-size: 18px;

                }
                    #listado-cursos article ul li{
                        font-family: var(--Roboto-Slab);
                        font-weight: 400;
                        list-style: circle;
                        margin-left: 18px;
                    }
                    @keyframes slider {
                        from{
                            left: 0;
                        }
                        to{
                            left:-2200px
                        }
                    }
    /*formulario*/
    #contenedor-formulario{
        width: 100%;
        position: relative;
        top: 0;
        text-align: center;
    }
        .formulario{
            background-color: var(--asd-o);
            padding: 15px;
            border-radius: 25px;
            align-self: center;
            width: 100%;
            max-width: 380px;
            margin: 30px auto;
            position: relative;
            top: 0;
        }
        form input{
            height: 44px;
            width: 100%;
            background: var(--blanco);
            margin-bottom: 8px;
            padding: 6px 12px;
            border-radius: 50px;
        }
            form input{
                color: var(--gris-30);
            }
            form input::placeholder{
                font-size: 16px;
                color: var(--asd-c);
                font-family: var(--Roboto-Slab);
            }

            form input[type='submit'],
            form input[type='submit']:visited{
                background: var(--asd-c);
                color: var(--blanco);
                box-shadow: none;
                font-weight: 700;
                font-size: 16px;
                letter-spacing: .05em;
                margin-top: 5px;
                border-radius: 5px;
                text-shadow: 0 0 2px var(--asd-o);
                padding: 20px 0;
                cursor: pointer;
                height: auto;
                transition: all .2s ease;
                font-family: var(--Roboto-Slab);
            }
                form input[type='submit']:hover,
                form input[type='submit']:active{
                    background: var(--asd-mas-o);
                    border-radius: 50px;
                }
                    #btn-form:disabled{
                        background: var(--gris-30);
                    }
    footer{
        background-color: var(--asd-o);
        text-align: center;
        padding: 30px;
        width: 100%;
        border-bottom: solid 10px var(--asd-mas-c);
    }
        footer p{
            font-family: var(--Roboto-Slab);
            font-weight: 400;
            color: var(--blanco);
        }

@media screen and (min-width:480px) {
    h1{
        font-size: 56px;
        color: var(--asd-c);
        font-weight: 400;
    }
    h2{
        font-size: 28px;
        color: var(--asd-o);
        font-weight: 400;
    }
    h3{
        font-size: 24px;
        font-weight: 700;
        font-family: var(--Roboto-Slab);
        color: var(--asd-mas-c);
        margin-bottom: 10px;
    }
    header img{
        width: 205px;
    }
    #contenedor-promos img{
        width: 150px;
    }
    #contenedor-promos img[src*="promo-1"]{
        top: -70px;
    }
    #contenedor-promos img[src*="promo-2"]{
        top: -20px;
    }
    #contenedor-promos img[src*="promo-3"]{
        top: -110px;
    }
}

@media screen and (min-width:960px) {
    header{
        grid-template-columns: 1fr 500px;
    }
    main{
        grid-template-columns: 1fr minmax(500px,1fr);
        min-height: calc(100dvh - 90px - 210px);
    }
        #contenedor-promos{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            padding: 30px;
            text-align: center;
            justify-items: center;
            position: relative;
        }
    #contenedor-formulario{
        margin: auto;
        top: -150px;
        padding: 30px;
    }
}
@media screen and (min-width:1080px) {
    main{
        grid-template-columns: 1fr 400px;
    }
    #contenedor-promos{
        padding: 50px;
    }
        #contenedor-promos img{
            width: 200px;
        }
        #contenedor-promos img[src*="promo-1"]{
            top: -80px;
        }
        #contenedor-promos img[src*="promo-2"]{
            top: -30px;
        }
        #contenedor-promos img[src*="promo-3"]{
            top: -120px;
        }
}
@media screen and (min-width:1200px) {
    main{
        grid-template-columns: 1fr 500px;
    }
}