@charset "utf-8";

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

body {    
    display: flex;
    flex-direction: column;
    align-content: center;
    font-size: 15px;
    font-family:'open_sansregular', Arial;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulototal {
    display: flex;
    align-items: center;
    flex-direction: column; 
    background-image: url(../img/logofadu.jpg);
    background-size: 50px;
    background-repeat: repeat;
    width: 100%;
    padding: 15px;
}

header .titulototal figure img { 
    display: flex;
    align-content: center;
    align-content: center;
    max-width: 340px;
    width: 100%;
}

header .nombre {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

header nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    
}

header nav ul {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    
}

header nav ul li {
    list-style: none;
    padding: 10px;
    width: 100%;
}

header nav ul li a {
    text-decoration: none;
    font-size: 0.8rem;
}

header .titulo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    height: auto;
}

header .titulo .integrantes {
    background-color: #add6d8; /* Yellow */
    border: none;
    padding: 10px;
    text-align: center;
    text-decoration:none;
    text-decoration-line: none;
    display: inline-block;
    width: 100%;
}

.titulo1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    border: 2px solid #add6d8;
}


header .titulo nav { 
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 75%;
    max-width: 320px;
}

header .titulo nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .titulo nav ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    list-style: none;
    padding: 20px;
}

header .titulo nav ul li a {
    text-decoration: none;
    margin-top: 10px;
    
}

header .titulo nav ul li img {
    width: 100%;    
}

h1 {        
    font-size: 1.2rem;
}

h2 {        
    font-size: 1rem;
}

hr { 
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    margin-bottom: 10px;
}

h3 {
    font-size: 0.9rem;
}

h4 {
    font-size: 0.6rem;
}

.button {
    background-color: #add6d8; /* Yellow */
    border: none;
    padding: 10px;
    margin: 2px;
    text-align: center;
    text-decoration:none;
    text-decoration-line: none;
    display: inline-block;
    font-size: 0.8rem;
}

section { 
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: center;
    width: 100%;
}



section article {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    border-bottom: 2px solid #add6d8;
}

section article h2 {   
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background-color: #add6d8;
    display: inline-block;
    text-align: center;
    text-decoration:none;
    text-decoration-line: none;
}

section article p {
    padding: 20px;
}

footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

footer article {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}


footer article a {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background-color: #add6d8;
    display: inline-block;
    text-align: center;
    text-decoration:none;
    text-decoration-line: none;
}

footer article p {
    text-align: center;
}

.fotonom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

header .nombre .hlogo img {
        display: none;
    }




/*----------------@media all-----------------------*/

@media all and (min-width:500px) {
    
    .titulototal {
    background-image: url(../img/img-05.png)
}
    
    header .nombre .hlogo img {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40%;
    }
    
    .fotonom {
        flex-direction: row;
        align-items: flex-start;
        max-width: 600px;
    }
    
    header nav {
        flex-direction: row;
        width: 100%;
    }
    
    header nav ul {
        flex-direction: row;
    }
    
    header .titulo nav ul {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    header nav ul li {
        width: 25%;
    }
    
    header .nombre {
        margin: 20px;
        align-items: flex-start;
        }
    
}/*----------------fin de @media all-----------------------*/