body{
    display: flex;
    font-size: 1rem;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-right: 1px solid rgb(168, 167, 167);
    background-image: url("../images/fondo.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-size: 100% 150%;*/
    background-size: cover;
    background-position: center;
}


#titulo{
    font-size: 3rem;
    text-shadow: 2px  2px  10px black;
}

#titulo_h2{
    color: white;
    font-size: 1.5rem;
    text-shadow: 2px  2px  10px black;
}

.titulo_sec{
    color: white;
    font-size: 1rem;
    text-shadow: 2px  2px  10px black;
}

header{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    background-color:rgb(86, 86, 88, 0.8);
    color: white; 
    min-height: 100px;   
}

.img_head{
    width: 170px; /*x1.7 el alto*/
    height: 100px;
    padding: 10px;
}

#ubicacion{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px; 
    padding: 20px;
}

#clima{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px; 
    padding: 10px;
}

#datCli{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#imgFlag{
    max-width: 100px;
    max-height: 50px;
}

#img{
    max-width: 200px;
    max-height: 100px;
}

nav{
    padding: 5px;
    background-color: rgba(86, 86, 88, 0.4);
}

nav ul{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    justify-content: flex-end;
    padding: 0;
    margin: 10px 0px;
}

nav ul li a{
    min-width: 150px;
    text-align: center;
    text-decoration: none;
    color: aqua;
    text-shadow: 2px  2px  10px black;
    padding:10px;
    display: block;
    background-color: rgba(86, 86, 88, 0.75);
    border-radius: 15px;
}

nav ul li a:hover, .seleccionado{
    border-radius: 15px;
    background-color: rgba(86, 86, 88, 1);
    box-shadow: 3px  3px  10px black;
}

main{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    min-height: 700px;
    width: 100%;
} 

#contenedor{
    width: 100%;
}

#articulos{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 50px;
    width: 80%;
}

#menuLat{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    gap: 10px;
}

#menuLat >*{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    margin: 25px;
    color: aqua;
    font-size: 1.5rem;
    text-shadow: 2px  2px  10px black;
    padding:10px;
    background-color: rgba(86, 86, 88, 0.75);
    border-radius: 15px;
}

#botonUno, #botonDos, #botonTres, #botonCuatro{
    display: flex;
    flex-direction: column;
    justify-content:space-around;
    align-items: center;
    align-content: center;
    width: 100%;
}

#tituloUno, #tituloDos, #tituloTres, #tituloCuatro{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 25px;
    border-bottom-style: none;
    width: 100%;
    padding: 5px;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    background-color: rgba(86, 86, 88, 0.4);
    color: white;
    padding: 30px 0;
}

#redes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.img_red{
    width: 40px;
    height: 40px;
    padding: 10px;
}

#pie{
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px  2px  10px red;
}

@media screen and (max-width: 700px){

    nav ul{
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
    }
       
    #productos{
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
    }

    nav ul li a{
        text-align: center;
    }

    .img_art{
        max-width: 350px;
    }

}

@media screen and (max-width: 600px){

    header{
        align-items: center;
        justify-content: center;
    }

    #ubicacion{
        padding: 10px;
    }

    #clima{
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    main{
        min-height: 550px;
    }

    #imgFlag{
        max-width: 80px;
        max-height: 40px;
    }
    
    #img{
        max-width: 40px;
        max-height: 20px;
    }

    nav ul{
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
    }
       
    #productos{
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
    }

    #articulos{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
    }

    #menuLat{
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
    }

    #menuLat div{
        font-size: 1rem;
    }
    #parrafoUnoE{
        font-size: 0.75rem;
    }
}

@keyframes eng1 { 
        0% { transform: rotate(0deg)} 
        20% {transform: rotate(35deg)} 
        40% {transform: rotate(70deg)} 
        60% {transform: rotate(105deg)} 
        80% {transform: rotate(140deg)}     
        100% {transform: rotate(180deg)} 
    }
    #animacioneng1 {
        animation-name: eng1; /* El nombre del efecto que estamos agregando */
        animation-duration: 1.5s; /* Tiempo que durará la animación */
        animation-iteration-count: infinite; /* Las veces que queremos reproducir la animación */
        animation-timing-function: ease-in-out;
        position: absolute;
        margin-top: 25px;
        height:100px;
        width:100px;
        }

        @keyframes eng2 { 
                0% {transform: rotate(0deg)} 
                20% {transform: rotate(-40deg)} 
                40% {transform: rotate(-75deg)} 
                60% {transform: rotate(-115deg)} 
                80% {transform: rotate(-150deg)} 
                100% { transform: rotate(-180deg);} 
            }
            #animacioneng2 {
                animation-name: eng2; /* El nombre del efecto que estamos agregando */
                animation-duration: 1.5s; /* Tiempo que durará la animación */
                animation-iteration-count: infinite; /* Las veces que queremos reproducir la animación */
                animation-timing-function: ease-in-out;
                height:100px;
                width:100px;
                margin-top: 75px;
                margin-left: 75px;
            }