

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--azul);
    padding: 32px;
    box-sizing: border-box;
    h2{
        color: var(--azul_claro);
        font-size: 32px;
        text-align: center;
        font-weight: 400;
        letter-spacing: 1px;
    }
    h3{
        margin-top: 64px;
        width: 95%;
    }
}

.searchRow{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    gap: 8px;
    button{
        border: unset;
        border-radius: 3px;
        border: 1px solid var(--azul_claro);
        background-color: var(--azul_claro);
        height: 40px;
        aspect-ratio: 1/1;
        color: #fff;
        transition: all 0.2s ease-in-out;
    }
    button:hover{
        background-color: var(--azul_muy_claro);
        border-color: var(--azul_muy_claro);
        cursor: pointer;
    }
}

#searchHard{
    padding: 8px;
    width: 90%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid lightblue;
    border-radius: 3px;
}

#searchHard:focus{
    outline: none;
    border: 1px solid var(--azul_claro);
}

.listCats{
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.boxCat{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 300px;
    border: 1px solid lightblue;
    border-radius: 1px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.boxCat:hover{
    transform: scale(104%);
    cursor: pointer;
    box-shadow: 20px 20px 5px rgba(0, 0, 0, 0.1);
}

.imgCat{
    height: auto;
    width: 80%;
    aspect-ratio: 1/1;
    background-image: url(../Images/keyboard.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.boxCat:nth-child(1) .imgCat{
    background-image: url(../Images/pc.webp);
}

.boxCat:nth-child(3) .imgCat{
    background-image: url(../Images/mouse.webp);
}

.boxCat:nth-child(4) .imgCat{
    background-size: 150px;
    background-image: url(../Images/procesador.webp);
}

.sectionItems{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 32px;
}

.leftItems{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 300px;
    width: 20%;
    background-color: var(--azul);
}

.listItems{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    .boxItem{
        display: flex;
        flex-direction: row;
        align-items: center;
        height: auto;
        width: 90%;
        border: 1px solid lightblue;
        text-decoration: none;
        color: var(--azul);
    
        .imgItem{
            height: 200px;
            width: 200px;
            background-image: url(../Images/keyboard.webp);
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }
        
    }

}    

@media(max-width:1300px){
    .boxCat{
        width: 20%;
    }

    .boxCat:nth-child(4) .imgCat{
        background-size: 100px;
    }
}

@media(max-width:800px){
    .boxCat:nth-child(4) .imgCat{
        background-size: 60%;
    }
}