/*HEADER*/
header{
    width: 100% !important;
    max-width: 1920px !important;
    height: auto;
    margin-bottom: 15px;
}

#bannertop{
    width: 100%;
    height: 300px;
    background-image: url(../img/cursos/bannercurso.webp);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;    
}

#line1{
    width: 95%;
    margin: auto;
    border-color: rgba(255, 255, 255, 0.5);}

main{
    width: 100%;
    height: auto;
    padding: 10px;
    margin-bottom: 75px;
}
 
h1{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #2193b7;
    margin-top: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

main p{
    font-size: 1.05rem;
    text-align: left;
    margin-bottom: 70px;
    color: #fff;
}

main h2{
    font-size: 1.55rem;
    font-weight: bold;
    text-align: left;
    color: #fff;
    margin-top: 20px;
    margin-bottom: -5px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: -1px;
}


/*CURSOS*/
.cursos{
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 30px;
}

.cursos a{text-decoration: none;}

.cardCurso{
    width: 100%;
    height: 170px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 10px;
    padding-top: 55px;
    margin-bottom: 25px;
    position: relative;
}

#html-css{background-image:url(../img/cursos/html-background.webp);}
#Responsive{background-image:url(../img/cursos/responsive.webp);}
#dwp{background-image:url(../img/cursos/dwp.webp);}
#js{background-image:url(../img/cursos/js.webp);}
#uxUi{background-image:url(../img/cursos/ux.webp);}
#iaWeb{background-image:url(../img/cursos/ia.webp);}
#cursoPhotosohop{background-image:url(../img/cursos/photoshop.webp);}
#cursoIllustrator{background-image:url(../img/cursos//illustrator.webp);}
#cursoInDesign{background-image:url(../img/cursos/indesign.webp);}
#cursoPremire{background-image:url(../img/cursos/premier-pro.webp);}
#cursoAfterInicial{background-image:url(../img/cursos/after1.webp);}
#cursoAdfterAvanzado{background-image:url(../img/cursos/after2.webp);}  

.cardCurso h3{
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    font-family: 'Roboto', sans-serif;
    letter-spacing: -0.5px;
}

/* //////////////////////////////////////////////////// */

/*MEDIA QUERIES*/
@media screen and (orientation:landscape){}

@media screen and (min-width:768px){  
    #bannertop{
    width: 100%;
    height: 300px;
    background-image: url(../img/cursos/bannercurso.webp);
    background-repeat: no-repeat;
    background-position: center bottom -10px;
    background-size: cover;    
    }
    
    main{width: 95%; margin: auto; margin-bottom: 75px;}    
    main p{text-align: left; font-size: 1.1rem;}
    main h2{text-align: left;}
    
    /*CURSOS*/
    .cursos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;     }
    
    .cursos a{text-decoration: none;}
    .cardCurso{width: 49%;}     
    #redes{width: 20%;}    
}


@media screen and (min-width:1024px){
    #navBottom{display: none;}   

    /*MENU NAVBAR*/
    .container-fluid{padding: 8px 0;}
    
    .navbar-brand{
    width: 175px;
    margin-left: 50px;}

    .navbar{
    width: 100%;
    height: 90px;
    max-width: 1920px !important;
    background-color: #000 !important;    
    position: fixed !important;
    z-index: 101 !important;
    top: 0;
    /*left: 0;*/
    box-shadow: 0 3px 5px rgba(0,0,0,0.7);
    position: relative;
    }

    .navbar-nav{
    position: absolute;
    right: 50px;
    height: 90px;
    padding: 0 !important;
    }

    .nav-link{
    width: 100%;    
    height: 90px !important;
    display: block !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 15px !important;
    line-height: 90px;
    font-size: 1rem !important;
    }

    .navbar-nav .nav-item{
    margin: 0 !important;
    padding: 0 !important;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: none !important;}

    .navbar-nav .nav-item:last-child{border-right: none;}

    h1{font-size: 2.5rem;}

    #lineTres{display: block;}
    #redes{width: 15%;}   
}

@media screen and (min-width:1200px){ 
    /*WhatsApp*/
    #ws{
    width: 65px;
    position: absolute;
    right: 85px;
    bottom: 120px;
    z-index: 200;
    position: fixed;
    cursor: pointer;
    }
    
    /*Icono de Contáctenos*/
    #contact{
    width: 50px;
    position: absolute;
    right: 92px;
    bottom: 200px;
    z-index: 200;
    position: fixed;
    cursor: pointer;
    display: none;
    z-index: 100;
    }
        
    /* NavBar */
    .navbar {    
    width: 100%;
    max-width: 1920px !important;
    height: 90px;
    z-index: 200 !important;
    transition: 0.8s;
    background-color: #000 !important;
    box-shadow: 0 6px 5px rgba(0,0,0,0.6);
    }
    
    .navbar-brand{margin-left: 75px;}
            
    /*LISTA UL*/
    .navbar-nav {
    height: 90px;
    border-bottom: none;
    position: absolute !important;
    top: 0;
    right: 90px;
    margin: 0;
    padding: 0;
    }
        
    .nav-link{
    width: 100%;    
    height: 90px !important;
    display: block !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 15px !important;
    line-height: 90px;
    font-size: 0.9rem !important;
    }  
        
    .nav-item{margin: 0; border-right: 1px solid rgba(255,255,255,0.1);}
    
    .navbar-nav .nav-item:last-child{border-right: none;}     
    
    .nav-link:hover{
    color:#a4a4a4 !important;
    font-weight: 900;
    }
        
    .nav-link:first-child :hover{color: #ccc !important;} 

    #bannertop{
    width: 100%;
    height: 300px;
    background-image: url(../img/cursos/bannercurso.webp);
    background-repeat: no-repeat;
    background-position: center bottom -40px;
    background-size: cover;    
    }
    
    main{width: 75%;}  
    main p{width: 100%; margin: 20px auto 65px auto;}  
    main h2{text-align: left;}
    
    /*CURSOS*/
    .cursos{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }  

    .cursos h3{
    background-color: rgba(0, 0, 0, 0.7);
    }

    .cardCurso{
    width: 32%;
    margin-bottom: 30px;
    transition: 0.3s;
    }
    
    .cardCurso:hover{
    box-shadow: 0 8px 10px rgba(0,0,0,0.5);
    transform: translateY(-8px); 
    }       
    
    /*FOOTER*/
    footer{padding-top: 50px;}
    
    footer #container{
    width: 85%;
    height: 610px;
    margin: auto;
    position: relative;
    }   
    
    #loguito{
    width: 180px;
    margin: auto;
    }

    footer hr{
    width: 95%;
    border: 0.1px solid rgba(255,255,255,0.4);
    margin: 30px auto 0 auto;}
    
    #lineUno{display: none;}
    #lineTres{display: block;}
    
    /*SUBMENU*/
    #menu2{
    width: 200px;
    margin-top: 50px;
    margin-left: 50px;
    margin-bottom: 55px;
    display: block;
    }
    
    #lista2{width: 100%; list-style: none;}
    
    #lista2 li a{color: #848484;}
    
    #lista2 li a:hover{
    text-decoration: none;
    color: #2193b7
    }     
    
    #hredes{
    text-align: right;
    margin: 40px 52px 0 0;}
    
    #redes{
    width: 130px;
    height: 45px;
    margin: 20px 50px 0 auto;
    display: flex;
    justify-content: space-around;
    padding-top: 0;
    }
    
    #insta img{width: 42px;}
    
    #you img{width: 44px;}

    #news{
    width: 245px;
    position: absolute;
    right: 50px; 
    top: 225px;    
    }

    #news h3{
    font-size: 1.3rem;
    color: white;
    text-align: right;}

    form{width: 245px; margin: auto;}

    input{
    width: 245px;
    height: 50px;
    border: none;
    outline: none;
    padding: 6px;
    text-align: center;
    }

    #btn{
    background-color: #2193b7; /*#B4045F*/
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 5px;
    }
    
    footer #LineaTres{
    width: 95%;
    display: block;
    margin: auto;
    border: 0.5px solid rgba(255,255,255,0.3);    
    }
    
    #copy{
    width: 100%;
    position: absolute;
    bottom: 0px;
    }    
}