#categories{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 8rem; /* Adjust the gap between images as needed */
    row-gap: 1rem;
    max-width: 98vw;
}

.category {
    /* background-color: var(--secondary); */
    text-align: center;
    color: var(--terciary);
    font-size: 1.2em;
    border-radius: 5%;
    margin: 0.5rem;
    display: flex;
    text-decoration: none;
}

 /* .emoji{
    font-size: 2rem;
    margin: 1rem;
} */
.emoji-img{
    width: 3rem;
    height: 3rem;
    align-self: center;
    margin: 1.3rem;
} 
.title{
    text-decoration:underline;
    align-self: center;
    text-align: left;
}
#browseAll{
    text-align: center;
    font-size: 2rem;
    margin: 2rem;
}
#search-form{
    margin-bottom: 2rem;
}
@media only screen and (max-width: 1400px){
    #categories{
        grid-template-columns: repeat(4, 1fr);
        column-gap: 2rem; /* Adjust the gap between images as needed */
        row-gap: 1rem;
    }
}

@media only screen and (max-width: 1000px) {
    #categories{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem; /* Adjust the gap between images as needed */
        row-gap: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    main{
        font-size: 12px;
    }
    #categories{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem; /* Adjust the gap between images as needed */
        row-gap: 1rem;
    }

}