*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
}

body{
    background: #f6f6f6;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgb(225, 229, 243);
    box-shadow: 0 4px 25px -22px black;
    z-index: 10;
}
.contenedor-header{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.logo{
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.logo h1{
    font-family: Matura MT Script Capitals;
    font-size: 50px;
}
.logo h1 b{
    font-family: Matura MT Script Capitals;
    font-size: 50px;

    color: rgb(62, 164, 196);
}

.menu{
    height: 80px;
    margin-right: 60px;
}

.menu nav{
    height: 100%;
}

.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
}

.menu nav ul li{
    height: 100%;
    margin: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.seleccionado-Menu:before{
    content: '';
    width: 100%;
    height: 4px;
    background: red;
    position: absolute;
    top: 0;
    left: 0;
}

.menu nav ul li a{
    font-size: 20px;
    color: #000;
    transition: color 300ms;
}

.menu nav ul li a:hover{
    color: rgb(0, 26, 255);
}
.menu .seleccionado{
    color: red;
}

.menu nav ul li a i{
    display: none;
}
#icono-menu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 16px;
    padding: 10px;
    font-size: 20px;
    background: #fafafa;
    border-radius: 100%;
    color: #787878;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#icono-menu:hover{
    opacity: 0.8;
}

/*Buscador Interno de Contenido*/
#contenedorIcono-search{
    position: absolute;
    right: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contenedorIcono-search img{
    cursor: pointer;
    
}
#contenedorIcono-search img:hover{
    transform: scale(1.3);
}

#contenedor-barra-busqueda{
    position: fixed;
    top: -10px;
    width: 100%;
    background: #fff;
    padding: 20px;
    z-index: 9;
    transition: all 600ms;
}

#contenedor-barra-busqueda input{
    display: block;
    width: 1200px;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    outline: 0;
}

#caja-busqueda{
    position: fixed;
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    background: #fff;
    z-index: 8;
    overflow: hidden;
    display: none;
}

#caja-busqueda li a{
    display: block;
    width: 1200px;
    color: #777777;
    padding: 12px 20px;
}

#caja-busqueda li a:hover{
    background: #f3f3f3;
}

#caja-busqueda li a img{
    margin-right: 10px;
    color: #777777;
}

#fondo-search{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 7;
    display: none;
}
/*Portada*/
.contenedor-portada{
    width: 100%;
    height: 300px;
    position: relative;
    margin-top: 80px;
    background-image: url("../Imagenes/portadaPrincipal.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contenedor-textoPortada{
    max-width: 800px;
    height: 300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contenedor-textoPortada h1{
    font-size: 80px;
    font-family: Arial Black;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

/*Contenedor del Contenido*/
.contenedor-contenido{
    width: 1200px;
    margin: auto;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

article{
    width: 100%;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: -10px 0 20px -30px black;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

article:before{
    content: '';
    width: 100%;
    height: 6px;
    position: absolute;
    top: 0;
    left: 0;
    background:rgb(62, 164, 196);
}

article h1{
    margin-top: 20px;
    font-weight: 500;
    font-size: 40px;
}

article p{
    
    margin-top: 20px;
    font-weight:18;
    color: black;
    
}

article img{
 
    margin-top: 20px;
}

/*Aside de Contenido Relacionado*/
.contenedor-aside aside{
    width: 320px;
    box-shadow: 0 0 20px -20px black;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 40px;
    margin-bottom: 40px;
    background: #fff;
}

.contenedor-aside aside video{
    width:100%;
    
}

.contenedor-aside aside h2{
    margin-top: 0px;
    padding: 0px 20px;
    font-size: 18px;
}


.contenedor-aside aside img{
    width:100px;
    height:100px;
    border-radius: 20px;
    padding: 5px;
   
    
   }
.contenedor-aside aside img:hover{
    transform:scale(1.3);
    border-radius: 20px;
  }


.volver-Inicio a img:hover{
    
    background-image: url("../Imagenes/volverAp.png");
}

.comentarios{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10%;
    width: 1200px;
    text-align: left;
   
}

.comentarios input[type = "submit"]{
    border-radius: 20px;
    padding: 15px 50px;
    text-align: center;
    border:0;
    font-size: 15px;
    color: #fff;
    font-family: sans-serif;
    background:rgb(62, 164, 196);
    cursor: pointer;
}


/*Boton de ir hacia arriba*/

#boton-arriba{
    width: 60px;
    height: 60px;
    background: #46a2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 300ms ease;
    transform: scale(0);
}


#boton-arriba:hover{
    transform: scale(1.1);
    border-color: rgba(0,0,0,0.1);
}
/*Footer - Pie de Pagina*/
.contenedor-pie{
    width: 100%;
    padding: 5px;
    background: #17202A;
    margin-top: 40px;
}

.contenedor-pie footer{
    max-width: 1200px;
    margin: auto;
}

.contenedor-pie footer .redes-Sociales{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.contenedor-pie footer .redes-Sociales img{
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

.contenedor-pie footer .redes-Sociales img:hover{
    background-color:darkgray;
    
}

.contenedor-pie footer hr{
    margin-top: 10px;
    border: none;
    height: 2px;
    background: #c0c0c07a;
}
.contenedor-pie footer p{
    text-align: center;
    margin-top: 10px;
    color:gray;
    font-weight: 500;
}

/*Responsive Design - Adaptable a Dispositivos Moviles*/
@media screen and (max-width:1220px){
    .contenedor-header,
    .contenedor-todo,
    .contenedor-contenido,
    .contenedor-pie footer{
        max-width: 1000px;
        padding: 0 20px;
    }

    #contenedor-barra-busqueda,
    #contenedor-barra-busqueda input,
    #caja-busqueda{
        width: 100%;
    }
}

@media screen and (max-width:1020px){
    .contenedor-contenido{
        width: 100%;
        flex-direction: column;
    }

    article{
        box-shadow: 0 0 0 0;
    }

    .contenedor-aside{
        display: flex;
        justify-content: center;
    }

    .contenedor-aside aside{
        max-width: 300px;
        margin: 10px;
    }

    #icono-menu{
        display: flex;
        right: 60px;
    }
}

@media screen and (max-width:800px){

    body{
        overflow-x: hidden;
    }
    

    .mover-contenido-todo{ /*Clase Imaginaria*/
        transform: translateX(300px);
    }
    .menu{
        width: 0px;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        background: #fff;
        overflow: hidden;
        transform: translateX(-350px);
        box-shadow: 10px 0 20px -25px black;
        transition: all 300ms cubic-bezier(1,0,0,1);

    }

    .mostrar-lateral{ /*Clase Imaginaria*/
        width: 300px;
        transform: translateX(0px);

    }
    
    .menu nav ul{
     flex-direction: column;
    }

    .menu nav ul li{
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
    }

    .menu .seleccionado-Menu:before{
        width: 0;
    }

    .menu nav ul li a{
        margin-top: 40px;
        color: #858585;
    }

    .menu nav ul li a i{
        width: 20px;
        display: inline-block;
        margin-right: 10px;
        color: #46a2fd;
    }

    #icono-menu{
        display: flex;
        right: 60px;
    }
    .contenedor-aside{
        flex-wrap: wrap;
    }
    

}

@media screen and (max-width:400px){
    .comentarios {
        display: none;
    }
    .contenedor-header .logo h1{
        font-size: 30px;
        
    }
    .contenedor-header .logo b{
        font-size: 30px; 
    }

    .contenedor-portada{
        width: 100%;
    }

    .contenedor-portada h1{
       font-size: 30px;
    }
    .contenedor-contenido article img{
 
        width:200px;
        margin: auto;

    }

}
