/* Controls
---------------------------------------------------------------------- */

.controls {
    padding: 20px;
    font-size: 1.7em;
    font-family: 'Work Sans', sans-serif;
}

.control {

    position: relative;
    display: inline-block;
    transition: background 150ms;
    font-size: 0.6em;
    border: none;
    background: transparent;
}
.control:hover {
    cursor: pointer;
    color: #fa3848;
}
button.control:focus {
    outline: none;
}

.control[data-sort*=":desc"]:after {
    transform:  translateY(-4px) rotate(-135deg);
}

.mixitup-control-active {
    color: #fa3848;
}
.mixitup-control-active:hover {
    color: #fa3848;
}


.mixitup-control-active[data-filter]:after {
    background: transparent;
}

/* Container
---------------------------------------------------------------------- */

.container {
    padding: 1rem;
    text-align: justify;
}

.container:after {
    content: '';
    display: inline-block;
    width: 100%;
}

/* Target Elements
---------------------------------------------------------------------- */

.mix,
.gap {
    display: inline-block;
    vertical-align: top;
}
.mix {
    margin-bottom: 1rem;
    position: relative;
    float:left;
    margin: 0px;
    overflow: hidden;
}
.mix img {
    width: 100%;
    background: #fa3848;
    float: left;
}
.mix a {
    background: #F75141;
    background: linear-gradient(135deg, #F75141 0%, #801562b8 100%);
    background: -moz-linear-gradient(135deg, #F75141 0%, #801562b8 100%);
    background: -webkit-linear-gradient(135deg, #F75141 0%, #801562b8 100%);
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    text-align: center;
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%; 
    opacity: 0; 
    padding: 30% 10px 0 10px;
    text-decoration: none;
    font-weight: 400;
    font-size: 2em;
    z-index: 99;
    letter-spacing: -0.02em;
    box-sizing: border-box;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    transition: all .2s ease-in-out;
}
.mix a:hover {
    display: block;
    opacity: 1;
}

.mix a span {
    font-size: 0.5em;
    padding-top: 10px;
    font-weight: 500;
    text-transform: uppercase;
}
.mix a img {
    transition: all .2s ease-in-out;
}
.mix a:hover + img {
    filter: blur(3px);
    transform: scale(1.05);
    box-shadow: none;
}





/* Grid Breakpoints
---------------------------------------------------------------------- */

/* 2 Columns */

.mix,
.gap {
    width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
    float: none;
}

/* 3 Columns */

@media screen and (min-width: 768px) {
    .mix,
    .gap {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
    }
}

/* 4 Columns */

@media screen and (min-width: 961px) {
    .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

/* 5 Columns */

@media screen and (min-width: 1281px) {
    .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

