/*CARGANDO FUENTES MEDIANTE CSS*/
@import url("https://fonts.googlapis.com/css?family=Lobster");
@import url('https://fonts.googleapis.com/css?family=Amatic+SC|Lobster');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC|Lobster|Wire+One');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: black;
}
/*APLICA FORMATO A PÁRRAFOS Y ENCABEZADOS*/
p{
    line-height: 30px;
    font-size: 18pt;
    font-family: 'Lobster', cursive;
    font-family: 'Amatic SC', cursive;
    font-family: 'Wire One', sans-serif;
    column-count: 1;
}
h1, h2, h3{
    font-family: 'Lobster', cursive;
    font-family: 'Amatic SC', cursive;
}
/*CONTENIDO TOTAL DEL SISIO + BREADCRUMB*/
.contenedor{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
}
.contenedor .breadcrumb{
    color: white;
}
/*AGREGA FONDO Y TAMAÑO A LOS CONTENEDORES HEADER Y FOOTER*/
footer,header{
    /*background-color: dimgray;*/
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-image: url(../IMGS/banner7.jpg);
    background-position: center;
    background-size:auto;
}

footer .links{
    /*background-color: bluelight;*/
    display: flex;
    flex-wrap: wrap;
}
footer .links a{
    flex-grow: 1;
    color:white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}
footer .links a:hover{
    background-color: transparent;
}
footer .social a{
    color:white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
    margin-top: 5px;
}
.social a{
    background-color: blue;
}
/*APLICA FORMATOS Y ORIENTACIÓN AL HEADER Y MENÚ*/
header{
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
}
header .logo{
    color: white;
    font-size: 30px;
    text-decoration: none;
}
header nav{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}
/*APLICA EL EFECTO REDONDEADO A LOS BOTONES DE MENU*/
header nav a, footer a{
    background-color: #1A5F7A;
    /*box-shadow: 0px 0px 5px #888888;*/
    border-style:outset;
    border-radius: 30px 50px;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    flex-grow: 1;
}
header nav a:hover{
    background-color: blue;
}
.main, .mainHome, .main1{
    text-align: justify;
    background-color: #BFCCB5;
    padding: 20px;
    flex: 1 1 70%;
    /*flex: 1;*/
}
.main1{
     flex: 1 1 60%;   
    background-color: lightgray;
}
.main1 p{
    column-count: 1;
}
.mainHome{
     flex: 1 1 100%;   
    background-color: solid black;
}
.main article, .mainHome article{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
}
.mainHome article{
    border-bottom: 3px solid black;
}
.main article:nth-last-child(1), .mainHome article:nth-last-child(1){
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
aside, .aside-left, .aside-right{
    background-color: white;
    /*background-image: url(../IMGS/banner6.jpg);
    background-size: cover;*/
    padding: 20px;
    flex: 1 1 20%;
    /*flex: 0 0 300px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    border-left: dotted;
    border-color: darkgray;
}
.aside-left{
    border-left: hidden;
    border-right: dotted;
    border-color: darkgray;
}
.asaid_footer{
    width: 100%;
    background-color: #1A5F7A;
    flex-direction:row;
    justify-content:space-around;
    border-style: hidden;
}

/*APLICA COLOR Y TIPOGRAFÍA A LAS CAJAS ASIDE LEFT-RIGHT-FOOTER*/
.asaid_footer .widget a, .aside-left .widget a, .aside-right .widget a, aside .widget a{
    color: white;
    text-align: center;
    font-size: 20px;
    font-family: 'Lobster', cursive,bold;
}
/*COLOCAMOS ANCHO Y ALTO A LAS CAJAS CONTENEDORAS DEL FOOTER*/
.asaid_footer .widget{
    height: 150px;
    width: 20%;
}
.asaid_footer .widget:hover, .aside-left .widget:hover, .aside-right .widget:hover, aside .widget:hover{
    border-color: white;
}
.widget{
    background-color: #1A5F7A;
    border-style:outset;
    border-radius: 20px;
    border-color: black;
    font-size: 10px;
    background-color: #0C134F;
    /*background-image: url(../IMGS/asaid.jpg);*/
    background-size: cover;
    background-position: center;
    height: 150px;
    margin: 10px;
    display: flex;
    align-items:center;
    align-content: center;
    justify-content: center;
}

.widget a{
    color: black;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

.destacado{
    background-color: bluelight;
    border-color: gray;
    opacity: 0.6;
}
.ok{
    background-color: black;
    border-color: bluelight;
}
@media screen and (max-width: 800px){
        #foto5{
            height: 400px;
        }
        .contenedor{
            flex-direction: column;
        }
        header{
            flex-direction: column;
            padding: 0;
        }
        header .logo{
            margin: 20px 0;
        }
        header nav{
            width: 100%;
            margin-top:5px;
        }
        aside{
            flex-direction: row;
            flex: 0;
        }
        aside .widget{
            flex-grow: 1;
        }
    }
    @media screen and (max-width: 600px){
        #foto5{
            height: 200px;
        }
        aside, .asaid_footer{
            flex-direction: column;
            align-content: center;
            align-items: center;
        }
        .asaid_footer .widget, .aside-left .widget, .aside-right .widget, aside .widget{
            width: 100%;
        }
         footer{
            justify-content: space-around;
            justify-content: center;
            height: 200px;
        }
        footer section a{
            display: inline-block;
            margin-top: 5px;
        }
        header nav a{
            width: 100%;
            margin-top:5px;
        }
        header{
            padding-bottom: 10px;
        }
        p{
            column-count: 1;
        }
    }
