h1 {
    font-size: 8vw;
    margin-bottom: 2.25rem;
    text-transform: uppercase;
}

.main h2 {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
}

.main h2:after {
    content: '';
    width: 100%;
    height: 1px;
    flex: 1;
    background-color: #bababa;
    margin-left: 2rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.category-item {
    flex: 0 0 auto;
    display: flex;
}

.category-link {
    flex: 1;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    background-color: #f0f0f0;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}

.category-link:active,
.category-link:hover,
.category-link:focus {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    background-color: #e0e0e0;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3vw;
    }
    h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .category-item {
        flex: 1;
    }
}