/* Reseteo general de las
características de la página general */
*{
    margin: 0;
    padding: 0;
}
/* Esto es para reestablecer los estilos
de enlace */
a{
    text-decoration: none;
    color: inherit;
}

/* Esto es para reestablecer los estilos
de las listas */
ul, ol{
    list-style: none;
}

body{
    font-family: Helvetica, Arial, sans-serif;
    color: midnightblue;
    background-color:bisque;
}
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: darkblue;  
    height: 6em;
    color: bisque;
}
#home {
    margin-right: 4em;
}
#home img {
    height: 85%;
    margin-top: 5%;
    width: auto;
    background-color: bisque;
}

.boton{
    padding: 15px 20px;
    margin: 10px;
    background-color: blueviolet;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    height: 20px;
    width: 50%;
    text-align: center;
    transition:all 0.5s;
}

.boton:hover{
    background-color: rgb(188, 115, 224);
}

footer{
    background-color: darkblue;
    color: white;
    font-size: 15px;
    padding: 20px 20px 60px 20px;
}
.portada {
    width: auto;
    background-color:blue;

}
.portada img{
    width: 100%;
    filter: opacity(80%) grayscale(100%);
    object-fit: cover;
    
}
h1 {
    font-family: 'Notable', sans-serif;
    font-size: 10em;
    text-align: center;
    color: #2dadd8;

}
h2 {
    text-align: center;
    font-family: "roboto", sans-serif;
    font-size: 3em;
}
p {
    margin: 1em 15em 5em 20em;
}
/* voy a copipegar el codigo de la hamburguesita */

header{
    width: 100%;
    background: #4E94AB;
}
/*IMPORTANTE: Los estilos están diseñados en Web responsive NO Mobile First */


/*desaparecer la casilla de verificación*/
#btn-menu{display: none;}

/*desaparecer la img del menú hamburguesa*/
header label{
    display: none; 
    width: 3rem; 
    height: 4rem; 
    padding: 2rem; 
}

/*convierto el cursor en mano porque tengo una img y no un vínculo*/
header label:hover{
    cursor: pointer; 
    background: rgba(0,0,0,0.3);
}
.menu {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu ul{
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    
}

@media (max-width:768px){
    /*hago visible la img del menú hamburguesa*/
    header label{
        display: block;
    }
 
    /*saco del flujo de cajas a menú para poder ubicarlo fuera del plano*/
    .menu {
        position: absolute;
        top: 90px;
        background: rgb(0, 0, 99);
        width: 100%;
        margin-left: -110%;
        transition: all .3s;
        z-index: 100;
    }
    .menu ul{
        flex-direction: column;
        align-items: center;
    }
    .menu li{
        border-top: 1px solid white;
    }

   /*uso el pseudo selector :checked para identificar cuando  la casilla de verificación está marcada.
    Y para que esto ejecute otro elemento necesito el combinador de hermanos (~)*/
    #btn-menu:checked ~ .menu{
        margin: 0;  
    }
    #home {
        height: 85%;
        margin-top: auto;
        margin-right: 30%;
    }
    h1 {
        font-family: 'Notable', sans-serif;
        font-size: 6em;
        text-align: center;
        color: #2dadd8;
    
    }
    h2 {
        text-align: center;
        font-family: "roboto", sans-serif;
        font-size: 1.6em;
    }
    p {
        margin: .6em 1.31em 2em 2.3em;
    }
}
/* aqui termina el copipegue del codigo de la amburguesita */

