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

body{
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration: none;
}
.padre{
    display: flex;
    flex-flow: column nowrap;
}

.margen-interno{
    padding: 0 50px;
}
    .header{
        background:url(../img/bg.jpg);
        background-position: center;
        background-attachment: contain;
        background-size: cover;
        display: flex;
        flex-flow: column nowrap;
    }
        .menu{
            background: rgb(0,0,0, .5);
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            height: 80px;
            border-bottom: 2px solid rgb(255, 255, 255);
        }
            .logo{
                flex:1 1 auto;
                font-size: 20px;
            }
                .logo a{
                    color: #fff;
                }
                .logo a:hover{
                    color: deepskyblue;
                }
            .nav{
               
                flex:5 1 auto;
            }
                .nav a{
                    color: #fff;
                    font-size: 11px;
                    text-transform: uppercase;
                    padding: 0 10px;
                    letter-spacing: 2px;
                }
                .nav a:hover{
                    color: deepskyblue;
                }
            .social{
                
                flex:1 1 auto;
                display: flex;
            }
                .social a{
                    font-size: 20px;
                    color: #fff;
                    padding: 0 5px;
                }
                .social a:hover{
                    background: #343434;
                    color: deepskyblue;
                }
        
        .texto-principal{
            height: 600px;
            display: flex;
            align-items: center;
            
        }
            h1{
                font-family: 'Segoe UI', sans-serif;
                font-size: 21px;
                color: #fff;
                font-weight: 500;
                text-align: center;
                line-height: 1.6;
                background: rgb(0,0,0, .5);
            }

    .section{
        background: #f7f7f7;
        display: flex;
    }
        .articulos{
            background: #f7f7f7;
            flex:2 1 70%;
            display: flex;
            flex-flow: row wrap;
        }

            .article{
                flex: 1 1 40%;
                color: #444;
                font-size: 13px;
                letter-spacing: 1px;
                margin: 10px 10px 0 0;
                flex: 1 1 45%;
                background: #ececec;
            }
            .article img{
                width: 100%;
            }

            .article a{
                color: #fff;
                font-size: 13px;
                padding: 10px;
                background: #000;
                margin: 10px 0;
                display: inline-block;
            }
            .article a:hover{
                color: #fff;
                font-size: 13px;
                padding: 10px;
                background: deepskyblue;
                font-style: bold;
                margin: 10px 0;
                display: inline-block;
            }
            h3{
                color: #fff;
                font-size: 13px;   
                padding: 10px 0;
                margin-top: -80px;
            }
            h2{
                font-size: 25px;
                text-transform: uppercase;
                padding: 0 0 0 0;
                color: #fff;
            }

            .navegacion{
                flex:1 1 100%;
                background: #000;
                margin: 10px 10px 0 0;
            }

            .navegacion a{
                color: #fff;
                font-size: 11px;
                text-transform: uppercase;
                padding: 0 10px;
                letter-spacing: 2px;
            }

            .navegacion a:hover{
                color: deepskyblue;
            }


        .aside{
            flex:1 1 30%;
            margin: 10px 5px 10px 0;
        }
        .aside img{
            width:100%;
        }
        h4{
            background: #000;
            color: #fff;
            padding: 10px;
            text-transform: uppercase;
        }
            .publicidad{
            }

    .footer{
        margin-top: 20px;
        background: #000;
        display: flex;
        justify-content: center;
    }
        .pie{
            width: 600px;
        }
        .pie a{
            color: rgb(255, 255, 255);
            font-size: 25px;
            text-transform: uppercase;
            padding: 0 10px;
            letter-spacing: 2px;
        }
        .pie a:hover{
            color: deepskyblue;
        }

@media all and (max-width: 990px){
    .section{
        flex-direction: column;
    }
    .menu{
        flex-direction: column;
        height: auto;
    }
    .aside{
        display: flex;
        justify-content: center;
    }
    h1{
        font-size: 15px;
    }
    .texto-principal{
        height: 450px;
    }
}
@media all and (min-width: 618px){
    h2{
        font-size: 18px;
        margin-top: 10px;
    }
    .aside{
        flex-direction: column;
    }

} 
@media all and (max-width: 600px){
    .articulos{flex-direction: column;}
    .off{display: none;}
    h2{font-size: 22px;}
    .aside{flex-direction: column;}
    .nav a{font-size: 25px;}

}

@media all and (max-width: 400px){
    .aside{flex-direction: column;}
    h2{font-size: 10px;}
    .nav a{font-size: 18px;}

}