@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,400i,600,700');

* {
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    padding: 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    background-color: #a8c3be;
}

#contenedor {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav{
    display: flex;
    align-items: center;
    max-width: 100%;
    width:100vw;
    margin-top: 2em;
    margin-bottom: 2em;
}

nav ul{
    width: 100%;
    list-style: none;
    margin: auto;
    padding: 10px;;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #1b5f5f;
}

nav ul li a{
    color: rgb(189,221,219);
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 0.1em 0;
    background-color: #1b5f5f;

    max-width: 10em;
    min-width: 10em;
}

nav ul li a:hover {
    color: rgb(189,221,219);
    background-color: rgb(235,112,67);
}

.contenidos{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    width: 70%;
}

h1{
    color: #1b5f5f;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

main section{
    margin: 0 0 0.7em 0;
}

main section h2{
    color: white;
    font-size: 1.1em;
    background-color:rgb(235,112,67);
    padding:4px;
    
}

main section p{
    color: rgb(27,95,95);
    padding: 8px;
    font-weight: 600;
}

main section a{
    text-decoration: none;
    color: #44484b;
    padding: 8px;
}
    
main section a:hover{
    background: rgb(20,153,154);
    color: white;
}

header img{
    display: block;
    height: 5em;
    margin: auto;
    margin-bottom: 1em;
    margin-top: 1em;
}

h3 {
    color: rgb(20,153,154);
    font-size: 1.2em;
    text-align: left;
    margin-top: 2em;
    margin-bottom:1em;
}

h4 {
    color: #44484b;
    font-size: 1em;
    text-align: left;
     margin-bottom: 20px;
}

aside ul {
    color: rgb(27,95,95);
    font-size: 0.9em;
   list-style: none;
}

aside ul dt{
    color: #1b5f5f;
     margin-bottom: 10px;
}

aside ul dt:hover{
    color: rgb(235,112,67);
}

footer {
    color:#888888; 
    font-size: 0.9em;
    margin-top: 3em
}

.carta{
    border: none;
    margin-bottom: 2em
}

main ul{
    color: rgb(27,95,95);
}

section{
   padding-bottom: 20px;
    background-color: #84a7aa;
}

main img{
    background-color: white;
}

.panel{
    width: 100%;
}