h2 {
    font-size: 1.3em
}

h3 {
    font-size: 1.1em
}

button {
    background: -o-#fff;
    background: #fff;
    text-fill-color: transparent;
    border-radius: 9em
}

button:hover,
button:hover:after {
    background-position: 0;
    border: 1px #707070 solid;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0;
    -o-transition: 0;
    transition: 0
}

.main {
    margin-top: 120px;
    padding: 6em;
}

.main-area {
    width: 100%;
    height: 100%;
    min-height: 61vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}
.main-area h1{
    margin-left: 5%;
}

.work_tag {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: space-between;
    top: 10%;
    margin: 3rem 0 0rem 0rem;
    align-items: center;
    padding-left: 5%;
}

.tag-btn {
    font-size: 1.2em;
    font-weight: 400
}

.open>.btn .caret {
    transform: rotate(180deg)
}

.active {
    background-color: #f4b522;
    color: #fff !important
}

.tag-btn {
    cursor: pointer;
    position: relative;
    justify-self: center;
    transition: .3s
}

.tag-btn:hover {
    transform: scale(1.1);
    color: #3C3C3C;
    transition: .3s
}

.tag-btn:hover h2 {
    color: #3C3C3C
}

.work_container:hover img {
    transform: scale(1.02);
    box-shadow: 0 0 15px -7px #6E6E6E;
    -webkit-box-shadow: 0 0 15px -7px #6E6E6E;
    -moz-box-shadow: 0 0 15px -7px #6E6E6E;
    -o-box-shadow: 0 0 15px -7px #6E6E6E;
    transition: .5s
}

.tag-option {
    width: 100%;
    height: 3em;
    display: none
}

.option-title {
    height: 100%;
    justify-content: flex-start
}

.container {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.work_container {
    position: relative;
    top: 15%;
    width: 32rem;
    height: 24rem;
    margin: 2rem;
    padding: 2rem 0rem;
}

.work_container img {
    z-index: 1;
    transition: .3s;
    border-radius: 5px;
}

.work_photo {
    width: 100%;
    height: 82%;
    object-fit: cover;
    object-position: center;
    position: relative;
    overflow: hidden;
    top: 0
}

.work_title {
    position: relative;
    left: 0
}

.work_subtitle {
    position: relative;
    width: 100%;
    margin-top: 1%
}

.work_focus {
    position: absolute;
    right: 0;
    transform: translateY(-72%);
    display: flex
}

.work_focus1 {
    height: 2em;
    padding: 0 .5em 0 0
}

.work_focus2 {
    padding: 0 .5em
}

.work_focus3 {
    width: fit-content;
    padding: 0 0 0 .5em
}

@media (max-width: 1500px) {
    h2 {
        font-size: 1em
    }

    h3 {
        font-size: .8em
    }

    .main {
        margin-top: 90px
    }

    /* .main-area {
        max-width: 60em
    } */
    .work_tag{
        width: 70%;
    }
}

@media (max-width: 900px) {
    .main {
        padding: 3em 0
    }

    .tag-btn {
        display: none
    }

    .tag-option {
        display: block
    }
    .work_tag{
        width: 80%;
    }
    .work_container {
        width: 100%;
        height: auto
    }

    .work_focus {
        position: relative;
        width: 100%;
        transform: inherit;
        margin-top: .5em;
        display: flex;
        justify-content: space-between
    }
}