*{
    margin: 0px;
    box-sizing: border-box;
}
/*desplazamiento*/
html{
    scroll-behavior: smooth;
}

/*bottom de whatsapp*/
.wsp{
    position: fixed;
    color: #fff;
    background: green;
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
    line-height: 55px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px black;
    z-index: 100;
}
.wsp i{
    margin: auto;
}
.wsp:hover{
    color: green;
    background-color: white;

}
/* aca termine el bottom whatsapp*/

header{
    display: flex;
    flex-wrap: wrap;
}

.logos{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    width: 100%;
}

.logoepsur{
    height: 150px;
    mix-blend-mode: multiply;
    margin: auto 30px;
    
}

.epsur{    
    height: 100px;
    mix-blend-mode: multiply;
    margin: auto 30px;
}
.contactos{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;

}
.contactos i{
    color: green;
}
.contactos a{
    color: black;
    font-size: 30px;
    margin: 0 20px;
    font-family: sans-serif;
    text-align: justify;
    border-radius: 25px;
    padding: 10px;
}

.contactos :hover{
    box-shadow: 5px 5px 5px 5px rgb(0, 92, 230);
}

/*nav*/
nav{
    width: 100%;
    background-image: url(../imagenes/barra_imprenta.jpg);
    padding: 10px 0;


}
li{
    margin: 10px;
    display: flex;

}

ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-right: 2%;
}
a{
    text-decoration: none;
    color: white;
    transition: 0.5s;
}
i{
    margin-right: 10px;
}
nav a:hover{
    color: black;
}


/*section1*/
.section1{
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    padding: 0 5%;
}
.section1 .caja1 img:nth-child(1){
    width: 100%;
    margin-bottom: 20px;
}
.section1 .caja1 img:nth-child(2){
    width: 100%;
    border-radius: 30px;
    box-shadow: black 5px 5px 20px;
}
.section1 .caja2 img:nth-child(1){
    width: 150px;
}
.caja1{
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 90%;
    padding: 5%;
}
.caja2, .caja3, .caja4{
    display: flex;
    flex-direction: column;
    padding: 5%;
    margin: 10px 0;
    text-align: center;
}

.caja3 img, .caja4 img{
    width:  80px;  
}


/*section2*/
.section2{
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 5%;

  
}

.c1{
    grid-column: 1/ span 3;
    display: flex;
    flex-direction: column;
    padding: 2%;
    text-align: center;
}

.caja>img{
    width: 80px;
}
.c2, .c3, .c4, .c5, .c6, .c7{
    display: flex;
    flex-direction: column;
    padding: 5%;
    text-align: center;

}
h2{
    color: rgb(204, 143, 0)
}
p{
    font-size: 20px;
    margin-top: 40px;
}

/*footer*/
footer{
    background-image: url(../imagenes/imprenta_footer.png);
    background-size: cover;
    width: 100%;
}

.superior{
    display: flex;
    justify-content: center;
}
.superior div{
    width: 100%;
    padding: 0 2%;
    margin: 15px 0;
}
.superior img{
    width: 200px;
}

.superior div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.superior h2{
    color: white;


}
.superior p{
    color: white;
    font-size: 18px;
    margin-top: 15px;
}

.inferior{
    display: flex;
    background-color: #003D99;
    width: 100%;
}
.inferior p:nth-child(1){
    margin: 5px 20% 0px 10px;
    color: white;
}
.inferior p:nth-child(2){
    color: yellow;
    margin: 5px 10% 0px 10px;
}

.inferior i{
    margin: 5px 20px 20px 5px;
}

/*resto de secciones*/
.imprenta_parrafo{
    display: flex;
    text-align: initial;
}
.imprenta_parrafo p{
    margin-right: 20px;
}
.parrafo_gigantografia p, .parrafo_merchandising p{
    text-align: initial;
    
}





/*dispositivos mobiles*/
@media (max-width: 600px) {
    .section1 {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .caja1 {
        width: 100%;
        padding: 4%;
    }

    .section2 {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .c1 {
        padding: 4% 5%;
    }

    .caja > img {
        width: 60px;
    }
    
    .section1 .caja2 img,
    .caja3 img,
    .caja4 img {
        width: 60px;
    }
    
    h2 {
        font-size: 18px;
    }
    p{
        font-size: 16px;
    }


}

@media (max-width: 1000px){
    ul {
        flex-direction: column; /* Cambia a columna en dispositivos pequeños */
        align-items: center; /* Centra los elementos */
        width: 90%; /* Elimina el margen derecho */
    }

    li {
        margin: 2% 0; /* Margen vertical entre elementos */
    }

    nav {
        padding: 1% 0px; /* Aumenta el padding en móvil */
        background-image: url(../imagenes/fuego_mobile.png);
        background-size: cover;
        background-position: center;
        
    }
    .logoepsur{
        height: 100px;         
    }  
    .epsur{    
        height: 50px;
    }
    .contactos a{
        color: black;
        font-size: 20px;
        margin: 0 20px;
        font-family: sans-serif;
        text-align: center;
        margin: 0 auto;
    }
    .contactos{
        display: grid;
        grid-row: 1fr 1fr 1fr;
        width: 100%;
        justify-content: center;
    }
    .superior{
        display: grid;
        grid-template-columns: 1fr;
    }
    .superior p{
        font-size: 15px;
    }
    .inferior{
        display: flex;
        flex-direction: column;
        text-align: justify;
    }


    .row_reverse{
        display: flex;
        flex-direction: column-reverse;

    }
    
}