/* https://codepen.io/wbeeftink/pen/dIaDH */

.tags-list {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgb(212, 194, 194);
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px 0 23px;
    position: relative;
    margin: 0 10px 10px 0;
    text-decoration: none;
    -webkit-transition: color 0.2s;
}

.tag::before {
    background: rgba(255,243,243, 0.7);
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: "";
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}

.tag:hover {
    background-color: #A66378;
    color: white;
}

.tag:hover::after {
    border-left-color: #A66378;
}

@media (max-width: 750px) {
    .tags {
        order: 5;
    }
    .tag::before {
        background: #fff;
    }
    .tag::after {
        background: #fff;
    }
}
