#case {
    background: #e8dfd0;
    padding-top: 80px;
    padding-bottom: 40px;
}

#case .serviceContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#case .serviceH2 {
    font-weight: 400;
    letter-spacing: -1px;
    margin: 0 0 15px 0;
    text-align: center;
    text-transform: uppercase;
    color: rgb(81, 72, 66);
}

@media (max-width: 576px) {
    #case .serviceH2 {
        font-size: 20px;
    }
}

#case .serviceH3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 400;
    color: rgb(81, 72, 66);
}

#case .serviceH6 {
    font-size: 16px;
    color: #888888;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0 0 60px 0;
}

@media (max-width: 576px) {
    #case .serviceH6 {
        padding-left: 5%;
        padding-right: 5%;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    #case .serviceH2 {
        font-size: 24px;
    }

    #case .serviceH3 {
        font-size: 16px;
    }

    #case .serviceH6 {
        font-size: 14px;
    }
}

#case .serviceRowOne{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#case .caseImage{
    width: 70%;
    transition: all 0.3s ease-in-out;
    margin-bottom: 50px;
    background: white;
    border: 5px solid white;
}

@media (max-width: 1024px) {

    #case .caseImage{
        width: 90%;
    }
}

#case .caseImage:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#case .filter-item {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

#case .filter-item.hide {
    opacity: 0;
}

#case .Portfolio-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%;
    justify-content: space-around;
}

@media (max-width: 1500px) {

    #case .Portfolio-nav {
        width: 90%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

#case .classButton {
    text-decoration: none;
    background: white;
    color: #e8dfd0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-size: 16px;
    margin-bottom: 50px;
}


#case .classButtonSelect {
    background: rgb(81, 72, 66);
    color: white;
}

@media (max-width: 1500px) {

    #case .classButton {
        margin-bottom: 15px;
        margin-left: 8px;
        margin-right: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media (max-width: 576px) {
    #case .classButton {
        margin-bottom: 10px;
        margin-left: 4px;
        margin-right: 4px;
        padding: 2px 10px 3px;
        min-width: 60px;
    }

    #case .classTitle{
        display: none;
    }
}