
header nav div a img {
    width: 70px;
    height: auto;
    cursor: pointer;
    outline: none;
}

.barra .logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    padding: 10px 0 10px 0;;
    z-index: 1000;
    background-color: #141414;
    background: linear-gradient(to bottom, black, transparent 100%);
}

nav .div1 {
    display: none;
}

nav .div2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 5px;
}

nav .listaNav {
    width: 100%;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 10px;
    justify-content: center;
    padding: 0;
    align-items: center;
}

.categoriaYbuscar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    justify-content: center;
}

.categoriaYbuscar div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .listaNav li a {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: large;
}

.barras {
    display: none;
    cursor: pointer;
    text-align: right;
}

.fa-bars {
    color: white;
    font-size: x-large;
    margin: 10px;
}


@keyframes efectoNav {
    100%{
        background-color: #141414;
    }
}

@keyframes efectoNav2 {
    0%{
        background-color: #141414;
    }
    100%{
        background: linear-gradient(to bottom, black, transparent 100%);
    }
}

nav .listaNav li a {
    color: rgb(228, 228, 228);
    text-decoration: none;
}

select {
    background-color: #141414;
    border: none;
    color: white;
    border-radius: 3px;
    outline: none;
    padding: 5px;
    font-size: medium;
    width: 90%;
}

select option {
    background-color: #141414;
    color: white;
}

.busqueda form {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.busqueda input {
    width: 100%;
    outline: none;
    height: 25px;
    background-color: #22222249;
    color: white;
    border: none;
    border-radius: 7px;
    border-bottom: 1px solid wheat;
    font-size: medium;
    margin-left: 15px;
}

.busqueda input::placeholder{
    color: rgba(255, 255, 255, 0.897);
}

@media screen and (max-width:580px){
    .busqueda .buscarInput {
        background-color: #222222e7;
    }
    .busqueda label {
        margin-left: 10px;
    }
}

.nameNav .nombrePage {
    color: #3dadff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: x-large;
}

@media screen and (max-width:640px) {
    .barras {
        display: block;
    }
    nav .listaNav {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    nav .div2 {
        display: none;
    }
    .categoriaYbuscar {
        order: 1;
    }
    nav .listaNav {
        order: 2;
    }
    .busqueda .busquedas {
        position: relative;
        top: 0;
    }
}