@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700display=swap');
*{
    margin: 0px;
    padding: 5px;
    box-sizing: border-box;
}
body{
    font-family: 'Montserrat', sans-serif;
}

a{
    text-decoration: none;
}

.margen-interno{
    padding: 0 50px;
}
.contenedor{
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    scroll-snap-type: x mandatory;

}

    .header{
        background: url(../imagenes/servicios-sac1.jpg);
        background-position: center;
        background-attachment: contain;
        background-size: cover;
        display: flex;
        flex-flow: column nowrap;
    }
        .menu{
            background: rgba(0,0,0,0.3);
            display: flex;
            flex-flow: row nowrap;
            height: 50px;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.5);
        }

            .logo{
                flex: 1 1 auto;
                background: rgba(247, 243, 243, 0.5);
                background-size: cover;
                height: 49px;
                padding: 0;
                margin: 0;
                
            }

                .logo a{
                    color: #fff;
                    font-size: 22px;
                }

                .logo a:hover{
                    color:#343434;
                }

            .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: #343434;
                }
            .social{
                display: flex;
                flex: 1 1 auto;
                
            }

                .social a{
                    font-size: 18px;
                    color:#fff;
                    padding: 0 5px;
                }

                .social a:hover{
                    color:#343434;
                }
        
            .texto-ppal{
                /* background: #f07b3f; */
                height: 580px;
                display:flex;
                align-items: center;
                
            }

                .titulo{
                    background: rgb(0,0,0,0.5);
                    font-family: 'lato' serif;
                    font-size: 22px;
                    color: #ababaf;
                    font-weight: 600;
                    text-align: center;
                    line-height: 1.6;
                    width: 100%;
                }

    .section{
        background: #f7f7f7;
        display: flex;
    }

        .articulos{
            background: #f7f7f7;
            flex: 2 1 auto;
            display: flex;
            flex-flow: row wrap;
        }

            .article{
                /* background: #1f6cb0; */
                flex:1 1 40%;
                color:#444;
                font-size: 13px;
                letter-spacing: 1px;
                margin: 10px 10px 0 0;
                flex: 1 1 45%;
                background: #ececec;
                
            }

            .article p{
                text-align: justify;
            }

            .article img{
                    width: 100%;
                    align-items: center;
            }

            .article a{
                color: #fff;
                font-size: 13px;
                padding: 10px;
                background: #000;
                margin: 10px, 0;
                display:inline-block;
            }

            .article a:hover{
                background: #546cc3;
            }

            .servicios{
                font-size: 25px;
                text-transform: uppercase;
                padding: 0 0 10px 0;
                color: #000;
            }

            .navegacion{
                background: #70a3c4;
                flex:1 1 100%;
                height: 10px;
                flex-flow: column nowrap;
            }

        .aside{
            /* background: pink; */
            flex: 1 1 auto;
        }

            .publicidad{
                color:#000;
                
            }

            .widgets{
                
                padding: 10px 0;
                margin: 20px 0;
            }
            .calendar{
                padding: 10px 0;
                margin: 20px 0;
            }
        
        /* .aside img{
            width: 100%;
        } */

    .footer{
        background: #f7f7f7;
        display: flex;
        justify-content: center;
        color:#000; 
    }

        .foot1{
            flex:1 1 auto;
            font-size: 10px;
            /* background: #e6af2e; */

        }
        .pie{
            /* background: #e6af2e; */
            width: 500px;
                       
        }

        .pie a{
            color:#000;
            text-decoration: none;
            font-size: 15px;
        }

        .pie a:hover{
            color:#444;
        }
    
    

    @media all and (max-width:800px){
        .section{
            flex-direction: column;
        }

        .menu{
            flex-direction: column;
            height: auto;
        }
        .aside{
            
            justify-content: center;
        }
    }

    @media all and (max-width:600px){
        .articulos{
            flex-direction: column;
        }
    }

    @media all and (max-width:400px){
        .aside{
            
            flex-direction: column;
        }
    }
    
