.work-button {
    position: relative;
    display: block;
    width: 100%;
    height: 252px;
    overflow: hidden;
    background-color: #B8C9D1;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.16);
}

.work-button__img {
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
       max-width: 100%;
       display: block;
       margin: 0 auto;
}

.work-button__hover {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 0 20px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #264B5B;
    font-size: 28px;
    font-weight: 500;
    font-family: 'Khand', sans-serif;
    background-color: rgba(184,201,209,0.75);
    text-transform: uppercase;
   opacity: 0
}

/* .mobile.col-sm-6:nth-child(odd) .work-button {
    background-color: #FFD9C6;
}

.mobile.col-sm-6:nth-child(odd) .work-button__hover {
    background-color: rgba(255,217,198,0.75);
} */

.work-title {
    padding-bottom: 20px;
}

.work-title h2 {
    color: #264B5B;
}

.work-bttn .btn {
    margin-bottom: 5px;
    margin-right: 15px;
}

@media (min-width: 768px) {
    .work-button {
        height: 264px;
        margin-bottom: 32px;
    }

    .work-title {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .work-bttn .btn {
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 15px;
    }

    /* .mobile.col-sm-6:nth-child(3n+1) .work-button {
        background-color: #FFD9C6;
    }

    .mobile.col-sm-6:nth-child(3n+1) .work-button__hover {
        background-color: rgba(255,217,198,0.75);
    }

    .desktop.col-sm-6:nth-child(3n+1) .work-button {
        background-color: #FFD9C6;
    }

    .desktop.col-sm-6:nth-child(3n+1) .work-button__hover {
        background-color: rgba(255,217,198,0.75);
    } */
    
}

@media (min-width: 1200px) {
    .work-button {
        height: 407px;
        margin-bottom: 32px;
    }

    .work-button__hover {
        opacity: 0;
        transition: all .3s;
    }

    .work-button:hover .work-button__hover {
        opacity: 1;
        transition: all .3s;
    }
}