@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,400italic,700italic);
@charset utf-8;

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size:62.5%;
}

body{
    background-color: #e6e9db;
}

/* Colores:
Azul Oscuro: #284254
Azul: #3876a3
Celeste: #9fd9f3
Blanco: #e6e9db
Verde: #8fc590
Magenta #d0006e

*/


/* -----------------------------ACA EMPIEZA EL HEADER------------------------------ */
header {
    height: 10rem;
    background-color: #284254;
    color: #e6e9db;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header .titulo {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 100%;
    margin-left: 1rem;
}
header .titulo figure {
    height: 8rem;
    width: 8rem;
    margin-right: rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .titulo figure img {
    height: 9rem;
    width: 9rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color:#8fc590;
}

h2 {
    font-size: 1.4rem;
}

header label {
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
}

#btn-menu {
    display: none;
}

.menu ul {
    background-color: #284254;
    list-style: none;
    display: flex;
}

.menu ul ul {
    display: none;
}

.menu a {
    color: #e6e9db;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 1rem 1.8rem;
    display: block;
}

.menu a span {
    margin-left: 1rem;
}

.menu a:hover {
    background-color: #3876a3;
}

.menu ul li:hover ul {
    display: block;
    position: absolute;
}


@media (max-width:768px) {
    header label {
        display: block;
    }
    .menu {
        position: absolute;
        top: 10rem;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.3s;
    }
    .menu ul {
        flex-direction: column;
    }
    
    .menu ul li:hover ul {
        display: none;
        position: static;
    }
    
    .menu a {
        display: flex;
        padding-left: 2rem;
        padding-right: 2rem;
        justify-content: space-between;
    }
    
    .menu a span {
        display: flex;
        
    }
    
    #btn-menu:checked ~ .menu {
        transform: translateX(0%)
    }
}
    
/* ----------------------------ACA TERMINA EL HEADER--------------------------- */
    
    
    
    
/* ---------------------ACA EMPIEZA EL CUERPO DE LA PAGINA--------------------- */
    main{
        width: 90%;
        display: flex;
        margin: auto;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }
    
    main p {
        font-size: 1.6rem;
    }

/* ---------------------ACA TERMINA EL CUERPO DE LA PAGINA--------------------- */
    
    
    
    
    
/* -----------------------------ACA EMPIEZA EL FOOTER-------------------------- */
    footer{
        background-color: #8fc590;
        display: flex;
        flex-flow: column;
        align-items: center;
    }
footer .primera {
    display: flex;
    flex-flow: column;
    align-items: center;
}

footer .newsletter {
    padding: 2rem;
    display: flex;
    flex-flow: column;
    width: 30rem;
}

footer .newsletter .newstexto {
    font-size: 2rem;
    font-weight: bold;
    color: #d0006e;
    text-align: center;
    margin-bottom: 1rem;
    
}
footer .newsletter .ingresamail{
    display: flex;
    justify-content: center;
    font-size: 3rem;
}

.campodetextomail {
    width: 15rem;
    margin-right: 0.5rem;
    
}

.susbribirse {
    padding: 1rem;
    background-color: #d0006e;
    color: #e6e9db;
    margin-left: 0.5rem;
    cursor: pointer;
    
    
}

.suscribirse:hover {
    background: #b50964;
}
 

    
    footer .redes {
        width:100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        margin-bottom: 2rem;
        margin-top: 3rem;
        max-width: 30rem;
    }
    
   .iconosredes {
       background-color: #d0006e;
       width: 4rem;
       height: 4rem;
        
    }
    
    .iconosredes:hover {
        background: #b50964;
    }
    
    
    .iconosredes a img {
        width: 4rem;
        height: 4rem;
    }
    
    .legales {
        font-size: 1.8rem;
        text-align: center;
        width: 90%;
        margin: 2rem 2rem;
        max-width: 80rem;
    }
    
@media (min-width:768px) {

    footer .primera {
        display: flex;
        flex-flow: row;
        justify-content: center;
    }
    footer .newsletter {
        margin-right: 2rem;
    }
    footer .redes {
        max-width: 30rem;
        margin-left: 2rem;
    }
  
}
    



/* -----------------------------ACA TERMINA EL FOOTER-------------------------- */    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
}