/*Table of content
---------
font
general
button
navbar
home intro
about resume
portfolio
blog
contact
footer
comment
---------*/


/*general*/



.title-resume {
    text-align: left;
}

.title-resume h3 {
    color: #db8523e0;
    font-size: 22px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.title-resume h2 {
    font-size: 50px;
    font-weight: 900;
}

.title-resume h2 span {
    color: #c6843898;
}

.box-content {
    background: #262626;
    padding: 40px;
    border-radius: 3px;
}


/*button default*/

.button {
    background: #c0833ca7;
    background: -moz-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: -webkit-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: linear-gradient(135deg, #d8903e 0%, #673218 100%);
    color: #fff;
    border: 0;
    margin-top: 50px;
    border-radius: 2px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    z-index: 99;
}

.button:hover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #262626;
    animation: titles 0.4s cubic-bezier(0.25, 0.61, 1, 0.47) forwards;
    transform: translateY(100%);
    animation-delay: .1s;
    z-index: -1000;
}

@keyframes buttons {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}



/*portfolio*/

.portfolio .row .col-md-4 {
    padding: 15px;
}

.portfolio .portfolio-filter-menu {
    margin-bottom: 30px;
    text-align: center;
}

.portfolio .portfolio-filter-menu ul li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    transition: .4s ease-in-out;
}

.portfolio .portfolio-filter-menu ul li span {
    z-index: 99;
    position: relative;
}

.portfolio .portfolio-filter-menu ul li span::after {
    content: "";
    height: 0;
    left: 0;
    bottom: -2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1000;
}

.portfolio .portfolio-filter-menu ul li span:hover {
    color: #ff8c05;
}

.portfolio .portfolio-filter-menu ul li span:hover::after {
    height: 10px;
    background: #525252;
}

.portfolio .portfolio-filter-menu ul li.active {
    color: #ff8c05;
}

.portfolio .content-image {
    width: 85%;
    height: 35%;
    position: relative;
}

.portfolio .content-image:hover .image-overlay {
    opacity: 1;
}

.portfolio .content-image:hover .portfolio-caption .title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 35%;
    background: #ff8c05;
    background: -moz-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: -webkit-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: linear-gradient(135deg, #d8903e 0%, #673218 100%);
    animation: titles 600ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .1s;
}

.portfolio .content-image:hover .portfolio-caption .title h4 {
    opacity: 1;
}

.portfolio .content-image:hover .portfolio-caption .subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 35%;
    background: #ff8c05;
    background: -moz-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: -webkit-linear-gradient(-45deg, #d8903e 0%, #673218 100%);
    background: linear-gradient(135deg, #d8903e 0%, #673218 100%);
    animation: titles 500ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .5s;
}

.portfolio .content-image:hover .portfolio-caption .subtitle span {
    opacity: 1;
}

.portfolio .content-image img {
    width: 80%;
    height: 35%;
    border-radius: 3px;
}

.portfolio .content-image .portfolio-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
}

.portfolio .content-image .portfolio-caption .title {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}

.portfolio .content-image .portfolio-caption .title h4 {
    font-size: 20px;
    font-weight: 700;
    transition-duration: .1s;
    transition-delay: 750ms;
    opacity: 0;
    line-height: 24px;
}

.portfolio .content-image .portfolio-caption .subtitle {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}

.portfolio .content-image .portfolio-caption .subtitle span {
    transition-duration: .1s;
    transition-delay: 700ms;
    opacity: 0;
}

.portfolio .content-image .image-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    opacity: 0;
    transition: all .5s ease;
}

@keyframes titles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}

@keyframes subtitles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}


/*responsive*/

@media (max-width: 768px) {
    .box-content {
        padding: 30px;
    }
    .section-title {
        margin-bottom: 30px;
    }
    .section-title h3 {
        font-size: 22px;
    }
    .button {
        margin-top: 30px;
    }
    .navbar {
        padding: 8px 30px;
    }
    .navbar.navbar-dark .navbar-toggler {
        border: 0;
        background: #333;
    }
    .navbar.navbar-dark .navbar-toggler:focus {
        outline: 0;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        padding-left: 0;
    }
    .home-intro .intro-content .intro-caption span {
        display: inline-block;
        margin-bottom: 20px;
        font-size: 22px;
    }
    .home-intro .intro-content .intro-caption h2 {
        font-size: 40px;
        line-height: 60px;
    }
    .about .content-left .content h2 {
        font-size: 40px;
    }
    .resume .content-left .title-resume h2 {
        font-size: 40px;
    }
    .portfolio .content-image .portfolio-caption {
        position: absolute;
        left: 10px;
        bottom: 10px;
        right: 10px;
        text-align: center;
    }
    .blog .content .blog-title h4 {
        font-size: 22px;
    }
    .contact .content-left h2 {
        font-size: 40px;
    }
    .contact .content-right .button {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .home-intro .intro-content .intro-caption {
        display: contents;
    }
    .home-intro .intro-content .intro-image {
        display: none;
    }
    .about .content-right {
        display: none;
    }
    .resume .timeline::before {
        position: absolute;
        left: 7px;
    }
    .resume .timeline li::before {
        position: absolute;
        left: 0;
    }
    .resume .content-left {
        margin-bottom: 30px;
    }
    .portfolio .content-image .portfolio-caption {
        display: inline-table;
        margin: 0 auto;
    }
    .portfolio .content-image .portfolio-caption .title {
        display: block;
        margin-bottom: 10px;
    }
    .blog .content {
        margin-bottom: 30px;
    }
    .blog .content.no-mb {
        margin-bottom: 0;
    }
    .contact .content-left {
        margin-bottom: 30px;
    }
    .contact .content-left h2 {
        margin-bottom: 40px;
    }
}

@media (max-width: 630px) {
    .home-intro .intro-content .row {
        text-align: center;
    }
    .home-intro .intro-content .row .intro-caption h2 {
        font-size: 32px;
    }
    .about .content-left {
        text-align: center;
    }
    .about .content-left .section-title-left {
        text-align: center;
    }
    .about .content-left .content h2 {
        font-size: 32px;
    }
    .resume .content-left .title-resume h2 {
        font-size: 32px;
    }
    .contact .content-left h2 {
        font-size: 32px;
    }
}

.work_area .container {
    margin-bottom: -30px;
}

.work_area .section_title_area {
    padding-bottom: 55px;
}


/* [8.1 Portfolio Navigation] */

.recent_work_nav {
    margin: -10px 2px 65px;
    position: relative;
    right: 0;
    text-align: center;
    top: 0;
    padding-left: 0;
}

.recent_work_nav>li {
    display: inline-block;
    margin: 0 -2px;
    overflow: hidden;
}

.recent_work_nav>li>a {
    display: block;
    font-weight: 700;
    padding: 5px 20px;
    text-transform: capitalize;
    color: #222;
    position: relative;
}

.recent_work_nav>li>a.dots_effect>.dot_effect {
    bottom: 0;
}


/* [8.2 Singel Work] */

.work_item {
    margin-bottom: 30px;
    min-height: 200px;
    position: relative;
    display: inline-block;
}

.work_item .work_hover_mask {
    align-items: center;
    background-color: rgba(49, 49, 49, 0.705);
    display: flex;
    height: 100%;
    left: 0;
    opacity: 0;
    padding: 20px;
    position: absolute;
    top: 0;
    transition: opacity 0.5s ease 0s;
    width: 100%;
}

.work_item .work_hover_mask:before,
.work_item .work_hover_mask:after {
    content: "";
    height: calc(100% - 40px);
    left: 20px;
    position: absolute;
    top: 20px;
    transition: transform 0.5s ease 0s;
    width: calc(100% - 40px);
    z-index: 1;
}

.work_item .work_hover_mask:before {
    border-bottom: 1px dashed #fff;
    border-top: 1px dashed #fff;
    transform: scale(0, 1);
}

.work_item .work_hover_mask:after {
    border-left: 1px dashed #fff;
    border-right: 1px dashed #fff;
    transform: scale(1, 0);
}

.work_item .work_hover_mask>span {
    bottom: 30px;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    position: absolute;
    right: 30px;
    z-index: 3;
}

.work_item .work_hover_mask .mask_container {
    width: 100%;
    position: relative;
    z-index: 5;
}

.work_item .work_hover_mask .mask_container>h3 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 50px;
    padding-bottom: 5px;
    position: relative;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
}

.work_item .work_hover_mask .mask_container>h3:before {
    background-color: #fff;
    bottom: -8px;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 0px;
    transition: all 0.5s ease 0s;
}

.work_item .work_hover_mask .mask_container>p {
    color: #fff;
    transition: all 0.5s ease 0s;
    padding-top: 30ox;
}

.work_item:hover .work_hover_mask {
    opacity: 1;
}

.work_item:hover .work_hover_mask::before {
    transform: scale(1, 1);
}

.work_item:hover .work_hover_mask::after {
    transform: scale(1, 1);
}

.work_item:hover .mask_container>h3 {
    margin-bottom: 15px;
}

.work_item:hover .mask_container>p {
    padding-top: 0;
}

.work_item:hover .mask_container>h3::before {
    width: 50px;
}

@media only screen and (max-width: 991px) {
    .recent_work_nav {
        margin: -10px 2px 45px;
    }
}

@media only screen and (max-width: 767px) {
    .work_area .section_title_area {
        padding-bottom: 40px;
    }
    #masonry>.grid {
        text-align: center;
    }
    .recent_work_nav {
        margin: -20px 2px 30px;
    }
    .recent_work_nav>li>a {
        font-size: 13px;
        padding: 5px 15px;
    }
    .work_item .work_hover_mask .mask_container>h3 {
        font-weight: 600;
    }
}

@media only screen and (max-width: 450px) {
    .recent_work_nav>li>a {
        padding: 5px 11px;
    }
}


/*------------------------------------