@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,300;1,400;1,700&display=swap'); 
/* LO GENERAL */
* {position: 0;
    margin:0;
    padding: 0%;
    box-sizing: border-box;
}
body {font-family:"roboto", sans-serif;}

img {max-width: 100%;
    height: auto;}

/* menu desplegable*/

.contenedora{
    max-width: 100%;
    background-color: white;
}

#menubolsa{
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    position: relative;
    z-index: 9999;
}

#menubolsa:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

#menubolsa i { 
    padding: 0;
    margin: auto;
}

header{
    position: sticky;
    top: 0;
    z-index: 5000;
    padding: 2em;
    background-color: white;
}
header .contenedora{ 
    display: flex;
    justify-content: space-between;
    align-items: center;

}

#logo{
    padding: .35em;
    width: 8em;
}

header nav{
    color: white;
}
header nav ul{
    position: fixed;
    background-color: rgba(0,0,0,0.85);
    left: 0;
    top: 100%;
    height: 100%;
    right: 0;
    padding-top: 5em;
    transition: all 1s ease;
    
}

.visible{
    top: 0;
    transition: all .3s ease;
}


header nav ul li{
    min-width: 4em;
    margin: .25em 0 .25em .25em;
    list-style: none;
}

header nav ul li a {
    color: white;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    display: block;
    text-decoration: none;
}

header nav .visible a {
    justify-content: flex-start;
    padding: 1em 0 1em 50%;
}

header nav ul li a:hover {
    background-color: white;
    color: #2af058;
}


/* MAIN parte 1*/

#merlorecicla img {
    width: 100%;
    }

#merlorecicla p {
    background-color: #2af058; 
    color: #3e3e3e;
    text-align: center;
    padding: 3em;
    font-size: 1em;
}

#app{
    padding-top:2em;
    padding-bottom: 2em;
    text-align: center;
    font-size: 80%;
    
}


#app a {padding-left: 0em;
    padding-top: 1em;
    text-align: center;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    background-color: #3e3e3e;
    border-radius: 0.5em;
    padding: 0.5em;
}

#app a:hover{
    background-color: #2af058;
}



/* MAIN parte 2*/

#reciclemosjuntos {background-color: #3e3e3e; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1rem;
}
#reciclemosjuntos article {
    background-color: rgba(122, 79, 144, 0.1);
    margin: .5em 0;
    padding: 1em;
    width: 49%;
    border-radius: .25em;
    display: flex;
    flex-direction: column;}

#reciclemosjuntos h1 {color:white;
text-align: center;
padding-top: 1em;
}
#reciclemosjuntos h3 {color: white;
text-align: center;
padding-top: 1em;
padding-bottom: 1em;
}


.imagenes h2{
    width: 100%;
}

#reciclemosjuntos img{
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2),
        0 5px 5px rgba(0, 0, 0, .2) inset;
    max-width: 100%;
    height: auto;
}

#reciclemosjuntos article{
    background-color: white;
    margin-bottom: 1em;
    width: 49%;
    border-radius: .25em;
    display: flex;
    flex-direction: column;
}
h1 {width: 100%;}
h3 {width: 100%;}
.tituloreciclemos h1 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}
.tituloreciclemos h3 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

#reciclemosjuntos article > *:not(p) {
    display: block;
    text-align: center;
    margin: 0 auto;
}

#reciclemosjuntos article h4{
    margin-top: 1em;
}

#reciclemosjuntos p {font-size: 14px; padding-top: 1em;}

/*Main parte3*/

#jornadasrecoleccion h2 {background-color: #2af058;
padding: 1em;
text-align: center;
color: #3e3e3e;
}

#jornadasrecoleccion img {width: 100%;
height: 100%;
}

.textobolsa {padding: 1em}
.textobolsa h3 {padding-bottom: 0.5em;}

.textobolsa2 {padding: 1em;}
.textobolsa2 h4 {padding-bottom: 0.5em;}

.botonbolsa {padding-left: 0em;
padding-top: 1em;
text-align: center;}
.botonbolsa a {text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    background-color: #3e3e3e;
    border-radius: 0.5em;
    padding: 0.5em;
    font-size: 100%;
    
}
.botonbolsa a:hover{
    background-color: #2af058;
}
/*MAIN parte 4*/

#nosotros {background-color: #2af058;
margin-top: 2em;
color: white;
}




#contacto {background-color: #3e3e3e;
color: white;
padding: 1em;
margin-top: 2em;
}
#contacto h3 {padding-bottom: 1em;}

#contacto div img {
    width: 10%;
    max-width: 5%;}


footer {background-color: #a8a8a8;
padding: 1em;
font-size: 12px;}


/*responsive*/


@media (min-width: 40em) {

   
    #menubolsa {
        display: none;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        position: unset;
        height: auto;
        padding-top: 0;
    }

    header nav ul li{ 
    margin-right: 1em;}
    header nav ul.visible {
        background-color:#3e3e3e;
    }

    header nav .visible a {
        justify-content: center;
        padding: .5em 1em;
    }

/* media */

/* imagenes reciclables */
    @media screen and (min-width:600px)
    {#reciclemosjuntos 
        {background-color: #3e3e3e; 
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
        padding: 1rem;
    }
    
    #reciclemosjuntos article{
        background-color: white;
        margin-bottom: 1em;
        max-width: 100%;
        width: 23%;
        border-radius: .25em;
        display: flex;
        flex-direction: column;
    }
    
}
}