/*Reset*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
}
ul{
    list-style: none;
}
/*End reset*/
@media screen and (max-width:640px) {
    

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: grid;
    grid-template-areas: 
    "header"
    "main"
    "footer";
    grid-template-columns: 1fr;
    grid-template-rows: 100vh 1fr 10rem;
    gap:2rem;
}
/*Header*/
header{
    grid-area:header;
    background-image: url("../img/Foto\ almacen\ perfil.jpeg");
    background-color: grey;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}
header img{
    margin-left: auto;
    margin-right: auto;
}
header h1{
    color:white;
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 7px #404040;
    order: 2;
}
header p{
    color: rgb(219, 160, 12);
    font-size: 2rem;
    font-weight: bolder;
    order: 1;
}
header nav{
    order: 3;
    margin-top: 3rem;
}
header nav ul{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
header nav ul a{
    color: wheat;
    text-decoration: none;
    padding: 0.5rem;
    text-transform: uppercase;
    background-color: grey;
}
header nav ul li ul{
    display: none;
}
#servicios:hover > ul{
    display:block;
}
#inicio:hover > a{
    position: static;
    background-color: hwb(0 29% 69%);
    border: .5px solid hwb(0 16% 83%);
}
#servicios:hover > a{
    position: static;
    background-color: hwb(0 29% 69%);
    border: .5px solid hwb(0 16% 83%);
}
#about:hover > a{
    position: static;
    background-color: hwb(0 29% 69%);
    border: .5px solid hwb(0 16% 83%);
}
header nav ul li ul li a{
    display:flex;
    color:goldenrod;
    
}
header nav ul li ul li a:hover{
    background-color: hwb(0 29% 69%);
    border: .5px solid hwb(0 16% 83%);
}
/*Fin construccion header y nav*/

/*Construccion main*/
main{
    grid-area: main;
}
main .banner{
    background-color: grey;
    display: flex;
    padding: 10rem 0;
    margin: auto;
    
    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    animation: banner 10s infinite;
    animation-direction: alternate;

}
@keyframes banner {

    0%,30%{
        background-image: url(../img/Productos/corneta.jpg);
        opacity: 1;
    }
    31%,34%{
        opacity: 0.4;
    }
    
    35%, 65%{
        background-image: url(../img/Productos/Patos\ plateados\ delgados.jpg);
        opacity: 1;
    }
    66%,69%{
        opacity: 0.4;
    }

    70%,100%{
        background-image: url(../img/Productos/Patos\ verdes.jpg);
        opacity: 1;
    }

    }


/*Fin banner*/
/*Inicio primer-section */

main h2{
    text-align: center;
    text-transform: uppercase;
    text-shadow:2px 2px 7px #404040 ;
    padding:1rem 0;
}
main .trabajo-calidad{
    text-align: justify;
}
main .info{
    list-style-type: square;
    color: #463838;
    padding-left: 5rem ;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
main #Redes{
    text-align: center;
    padding-bottom: 1rem;
}
main #Redes a{
    padding: 0 10px;
}

/*fin primer-section*/

/*Inicio segundo-section*/
    
main .apartados a{
    text-decoration: none;
}
main .apartados span{
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #808080a2;
    display: inline;
    
}
    /*Inicio imagen productos*/
main #link-imagen-tienda{
    padding: 10rem 0;
    background-image: url(../img/Productos/Protectores\ zapato.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 1rem;
}
    /*Fin imagen productos*/
    /*Inicio imagen pintura*/
main #link-imagen-pintura{
    padding: 10rem 0;
    background-image: url(../img/Pintura/Pintura\ amarillo.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 1rem;
}
/*Fin imagen pintura*/
    /*Inicio imagen taller*/
main #link-imagen-mantenimiento{
       padding: 10rem 0;
       background-image: url(../img/Foto\ Taller.jpeg);
       background-repeat: no-repeat;
       background-size: cover;
       background-position: center;
       text-align: center;
       margin-bottom: 1rem;
    }
    /*Fin imagen taller*/
/*Fin segundo-section*/
/*Inicio tercer-section*/
main .rot{
    display: flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}
main .rot #envio{
    border-radius: 50px;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    padding: 2rem;
}
main .rot #Ubicacion{
    border-radius: 50px;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    padding: 2rem;    
}

main .rot #Ubicacion p{
    color: white;
}

/*Fin tercer-section*/
/*Fin main*/

/*Inicio footer*/
footer{
    grid-area: footer;
    /* border: 3px solid red; */
    background-color: black;
    color: white;
    text-align: center;
    
}
footer #Medios_pago{
    /* border: 2px solid green; */
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}
footer #Nequi{
    padding-top: 0.5rem;
}
footer #Daviplata{
    padding-top: 0.5rem;
}
footer #Cootraentrega img{
    background-color: white;
    border-radius: 50px;
}
/*Fin footer*/
}