@import url('https://fonts.googleapis.com/css2?family=Kodchasan&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Petrona:ital,wght@1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
body{
    margin: 0;
}

.arriba{
    margin-top: 22px;
    padding: 0.3em 0.3em 0.3em 0.3em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-content: center;
    align-self: center;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    position: fixed;
    width: 100%;
    background-color: white;
    
}

.logos{
    display: inline-flex;
    align-items: center;
}

.logos h1{
   margin: 0;
    font-size: 1.4em;
    color: darkgreen;
    font-weight: 100;
    font-variant: normal;
    font-family: 'Roboto', sans-serif;
}

header img{
    width: 30px;
    box-sizing: border-box;
}

#desplegable{
    order: 1;
    flex-grow: 2;
 }

.logos{
    order: 2;
    flex-grow: 2;
}

#merlo img{
    margin-right: 0.9em;
}

#monedas{
    order: 3;
    align-content: flex-end;
}


.abajo img{
    width: 2em;
}

#casa{
    width: 1.5em;
}

#perfil{
    width: 1.3em;
}

#campana{
    width: 1.3em;
}
.abajo{
    display: flex;
    justify-content: space-around;
    background-color: #9ECCB7;
    align-items: center;
    padding-left: 2em;
    padding-right: 2em;
    padding: 0.5em;
    border-radius: 0em;
 }
.abajo img{
    width: 0.5em;
}
.footer1{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer2{
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contenedorfooter{
    justify-content: center;
    background-color: rgb(219, 219, 217);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    padding: 2em 0.2em 2.8em 0.2em;
    display: flex;
    align-content: center;
    align-items: center;
}
.contenedorfooter img{
    width: 1em;
    padding: 0.4em;
    
}
.contenedorfooter h4{
    font-family: 'Raleway';
    padding: 0;
    margin: 0;
    text-align: end;
}

.contenedorfooter p{
    font-family: 'Roboto';
    font-weight: 400;
    font-style: italic;
    margin: 0;
    padding: 0.2em;
    text-align: end;
}

.unof{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-right: 0.2em;
    border-right-style: solid;
    border-right-width: thin;
    border-right-color: green;

}
.dosf{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
        padding-left: 2em;
    padding-right: 2em;
    }

/*Comienza menu desplegable*/
header nav {
    color: white;
}
header nav a {
    color: #008647;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.4em;
    font-family: "Roboto"
}
header nav .visible a {
    justify-content: center;
}
header nav a:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgba(255, 255, 255, 0.2) inset, 0 -2px rgba(255, 255, 255, 0.2) inset;
}
/* boton que llama al menu */
#llamamenu {
    padding: 0em;
    width: 100%;
    height: auto;
    align-items: center;
    text-align: center;
    font-size: 1em;
    border-color: white;
    font-size: 25px;
    font-weight: bold;
    background-color: #008647;
    color: white;
    cursor: pointer;
    height: 1em;
    width: 1em;
    margin: 0em;
    padding: 0;
    display: flex;
    position: relative;
    z-index: 9999;
    border-radius: 0px;
}
#llamamenu:hover {
    background-color: rgba(0, 0, 0, 0.75);
}
#llamamenu i {
    padding: 0;
    /* centrado en la horizontal y en la vertical */
    margin: auto;
    font-size: 22px;
}
/* el menú propiamente dicho */
header nav ul {
    background-color: rgba(0, 0, 0, 0.25);
    /* el menu sale del flujo de informaciones
    y se oculta a la derecha */
    position: fixed;
    left: 0;
    right: 0;
    top: -115%;
    height: 100vh;
    z-index: 9990;
    padding-top: 5em;
    transition-duration: all .5s;
}
.visible {
    background-color: rgba(255, 255, 255, 0.85);
    /* el menú se muestra
    corriéndose a la izquierda */
    top: -20px;
    transition: all .25s ease;
    list-style: none;
    padding: 6em 0em 0em 0em;s
}
/*termina menu desplegable*/


.botones{
    
    /*box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);*/
    margin-bottom: 2em;
    padding: 2em;
}

.botones div{
    padding: 1em;
}

.botones a{
    font-family: 'Raleway'
}

.botones p{
    color: black;
    background-color: rgba(255, 255, 255, 0.47);
    font-family: 'Raleway';
    font-weight: 500;
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
}

.com h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.video h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.rec h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.tuto h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.eco h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.cont h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}
.punt h2:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
    box-shadow: 0 2px rgb(255 255 255 / 20%) inset, 0 -2px rgb(255 255 255 / 20%) inset;
}






.tuto{
    background-color: rgba(0, 134, 71, 0.42);
    text-align: start;
    margin-top: 3em;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
    }

.tuto a{
    color: white;
    font-style: 'Raleway';
    text-decoration-line: none;
    font-size: 2em;
    
}

.eco{
    background: white;
    text-align: end;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
}

.eco a{
    color: darkgreen;
    font-style: 'Petrona';
    text-decoration-line: none;
    font-size: 2em;
    
}

.eco p{
    padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 900;
    background-color: rgba(244, 244, 244, 0.56);
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
}


.video{
    background-color: rgba(0, 128, 0, 0.15);
    text-align: center;
    z-index: -1000;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
}

.video h2{
    font-family: 'Raleway';
    font-weight: 900;
    border-radius: 1em;
    margin: 0.5em;
    font-stretch: extra-expanded;
}

.video p{
    padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 900;
    background-color: rgba(244, 244, 244, 0.56);
    margin: 1em;
    padding: 0.5em;
    border-radius: 1em;
}




.rec{
    background-color: white;
    background-image: url(../imagenes/impolitesnappybumblebee-small.gif);
    background-position: right;
    background-size: auto;
    text-align: center;
    background-repeat: no-repeat;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
}

.rec a{
    color: black;
    text-decoration-line: none;
    font-size: 2em;
    margin-top: 0;
    padding-top: 0;
}

.rec p{
    padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 900;
    background-color: rgba(244, 244, 244, 0.56);
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
}

.com{
    text-align: center;
    align-content: center;
    align-items: center;
    font-stretch: expanded;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
}


.com a{
    color: black;
    font-style: 'Petrona';
    text-decoration-line: none;
    font-size: 1.5em;
    font-variant: inherit;
}

.com p{
    padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 900;
    background-color: rgba(244, 244, 244, 0.56);
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
}


.com button{
    background-image: url(../imagenes/card-trophy.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: space;
    height: 10em;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0.5, 0.3, 0.3);
    border-radius: 100px;
    align-items: center;
    text-align: center;
    font-size: 1em;
    margin: 0.5em;
    padding: 0.5em;
    font-weight: bolder;
}




.cont{
    background-color: rgba(0, 134, 71, 0.42);
    text-align: center;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
}



.cont a{
    color: white;
    font-style: 'Petrona';
    text-decoration-line: none;
    font-size: 2em;
    padding-top: 0px;
    margin-top: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
}

.cont p{
        padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 900;
    background-color: rgba(244, 244, 244, 0.56);
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
}


.punt{
    align-items: center;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
    box-shadow: 0px 10px 10px 0.8px rgba(0, 0, 0, 0.08);
    }

.punt img{
    width: 13em;
}

.punt a{
    
    color: black;
    font-style: 'Petrona';
    text-decoration-line: none;
    font-size: 1.5em;
    margin-bottom: -1em;
    
}
.punt p{
    color: white;
    position: relative;
    background-color: rgba(0, 0, 0, 0.47);
    padding: 0.2em;
    font-family: 'Raleway';
    font-weight: 500;
    margin: 1em;
    padding: 0.5em;
    border-radius: 1em;
}

.dosf{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around; 
}
.contenedorfooter img{
    width: 2em;
    padding: 0.4em
}
.abajo2{
    display: none;
    }
.abajo{
    visibility: visible;
    }



















/*-------------------------------------------*/


@media (min-width: 1024px){
    .botones{
        margin-top: 20px;
    }
    #llamamenu {
        display: none;
    }
#monedas{
        display: none;
    }
.abajo2{
    display: flex;
    }
    #perfil, #casa, #campana{
    width: 2em
    }
    .abajo{
    display: none;
    }
    .abajo img{
    width: 0.5em;
}
    header nav ul {
    background-color: white;
    }
/*menu de arriba*/
    .arriba{
        margin-top: -9px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        text-align: center;
    }
    header nav ul a{
        margin: 0;
        padding: 0.4em;
    }
     header nav ul{
        order: 2;
        display: flex;
        flex-wrap: wrap;
        position: unset;
        height: auto;
        padding-top: 0;
        padding: 0;
        margin: 0;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13px;
        grid-column: 1/3;
        align-items: center;
        flex-grow: 2;
    }
    .arriba{
        border-radius: 0px;
    }
    .logos{
        order: 1;
        flex-grow: 1;
        align-items: center;
        justify-content: center;
    }
   #llamamenu {
        display: none;
    }
    #monedas{
        display: none;
    }
    
    /*termina menu arriba*/


    .botones{
        display: flex;
        flex-wrap: wrap;
        padding-top: 3em;
        justify-content: space-evenly;
        align-items: center;
        
    }


    
    .botones div{
        display: flex;
        flex-direction: column;
        width: 20em;
        height: 20em;
        max-width: 30em;
        margin: 1em;
    }

   


    .tuto{
        margin-top: 0em;
        align-items: center;
    }
    .eco{
        align-items: center;
        text-align: center;
    }

}