.recipe-categories-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.recipe-category {
    background-color: #D9D7FF;
    border-radius: 10px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.recipe-category:hover {
    cursor: pointer;
    background-color: #c6c3ff;
}

.recipe-category-design-line {
    border: 2px solid #fff;
    border-radius: 10px;
    height: 80%;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recipe-category-title {
    background-color: #fff;
    color: #000;
    padding: 10px 30px;
    font-size: 1.1rem;
}

@media screen and (max-width: 940px) {
    .recipe-categories-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 680px) {
    .recipe-categories-container {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 530px) {
    .recipe-category {
        height: 160px;
    }
}