@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    box-sizing: border-box;

}
html{
    scroll-behavior: smooth;
}
h1{ font-size: 2.5em;
color:rgb(21, 158, 28);
font-style: oblique;
display: flex;
align-items: center;
justify-content:center;
text-align: center;
}
h2{font-size: 2.7em;
text-align: center;}
h3{font-size: 2em;}
p{font-size: 1.2em;
text-align: justify;}
ul{list-style: none;}

body{
    margin: 0;
    font-family:"montserrat";

}

a{
    font-size: 1em;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    background-color: rgb(224, 224, 224);
    display: flex;
    justify-content: center;
    align-items: center;
}
a:hover{
    background-color: rgb(117, 179, 56);
}
.container{
    max-width: 1400px;
    margin: auto;
    
}
header {
    background-color: rgb(236, 235, 235);
    
}
header .logo{
margin: 0;
justify-content: center;
text-align: center;
padding: 25px 30px;
font-size: 2em;
font-weight: bold;
color: rgb(4, 116, 4);

}
header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
    
}
header a{
    padding: 5px 12px ;
    text-decoration: none;
    font-weight: bold;
    color: rgb(87, 86, 86);
}
header a:hover{
    color: green;
}
#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 50vh;
    color: rgb(233, 0, 0);
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ) ,url("Assets/reciclador.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

}
#recoleccion .container-r{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-recoleccion{
    background-image: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0),
        rgba(209, 255, 200, 0)
    ),url("Assets/reciclador.jpg");
    background-size: cover;
    background-position: center center;
    height: 300px;
    width: 300px;
    text-decoration: none;
    color: black;
}
#rutas .container-rutas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-rutas{
    background-image: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0),
        rgba(209, 255, 200, 0)
    ),url("Assets/carton.jpeg");
    background-size: cover;
    background-position: center center;
    height: 300px;
    width: 300px;
    text-decoration: none;
    color: black;
}
#capacitacion .container-c{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-capacitacion{
    background-image: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0),
        rgba(209, 255, 200, 0)
    ),url("Assets/pesa.jpg");
    background-size: cover;
    background-position: center center;
    height: 300px;
    width: 300px;
    text-decoration: none;
    color: black;
}
#jornadas .container-j{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-jornadas{
    background-image: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0),
        rgba(209, 255, 200, 0)
    ),url("Assets/reciclador2.jpeg");
    background-size: cover;
    background-position: center center;
    height: 300px;
    width: 300px;
    text-decoration: none;
    color: black;
}
#redes{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 60vh;
    background-color: black;
    color: rgb(255, 255, 255);   
    }
#redes a{
    text-decoration: none;
    color: black;
    gap: 30px;
    
}

footer{
    background-color: rgb(230,230,230);
}
footer p{
    margin: 0;
    padding: 5px;
    color: (100.100,100);
}
footer .container{
    height: 40px;
    display: flex;
    justify-content:center ;
    align-items: flex-end;
}
@media(min-width: 720px){
    header{
        position: fixed;
        width: 100%;
    }
    header .container{
        flex-direction: row;
        justify-content: space-between;
    }
    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }
    #hero {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #recoleccion .container-r{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }
    #recoleccion .texto{
        width: 30%;
    }
    #rutas .container-rutas{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }
    #rutas .texto{
        width: 30%;
    }
    #capacitacion .container-c{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }
    #capacitacion .texto{
        width: 30%;
    }
    #jornadas .container-j{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }
    #jornadas .texto{
        width: 30%;
    }
    #redes{
        height: 30vh;
        
    }
    #redes .container{
        padding: 0px;
        margin: 0;
        
    }
    #redes .img-container{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-color: black;
        color: rgb(255, 255, 255);
        gap: 50px;
    }
    #redes a{
        gap: 30px;
        text-decoration: none;
        color: black;
    }
}