/*
Template Name: Sliim - Personal Portfolio
Author: celtano
Author URI: http://themeforest.net/user/celtano
Description: Sliim - Personal Portfolio
Version: 1.0
*/

/*------------------------------------------------------------------
[Table of contents]
	+ General
	    - Miscellaneous
	    - Buttons
	    - Dark Skin
		- Transition Block
		- Loader
		- Navigation
	+ Sections
		+ Home
		    - Home Animated Background
		+ About
		    - Personal Infos
		    - Resume
		    - Skills
		    - Badges
		+ Portfolio
		    - Grid
		    - Preview
        + Contact
            - Boxes
            - Social Media Icons
            - Contact Form
		- Blog
	- Responsive Design
-------------------------------------------------------------------*/

/* [ GENERAL ] */

/*================================================== */

/*** Miscellaneous ***/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    font-family: "IBM Plex Mono", monospace;
    height: 100%;
    color: #404854;
}

body p {
    font-size: 17px;
    line-height: 34px;
}

.section {
    height: auto;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    background: #fff;
}

#wrapper {
    height: 100%;
    overflow: hidden;
}

body:not(.index) #wrapper {
    overflow: auto;
}

.right-dotted-shape {
    position: absolute;
    left: -190px;
    top: -90px;
    height: 300px;
    width: 260px;
    transform: rotate(22deg);
    z-index: 1;
}

.heading h2 {
    margin: 100px 0;
    font-size: 80px;
    line-height: 80px;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    z-index: 0;
    display: inline-block;
    font-family: "Playfair Display", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/*** Buttons ***/

.btn {
    font-weight: 600;
    padding: 13px 40px;
    border-radius: 0;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 0;
    box-shadow: none !important;
    outline: none !important;
    transition: 0.3s;
    color: #fff !important;
}

/*** Dark Skin ***/

body.dark,
body.dark .section,
body.dark .work-section .preview::before {
    background-color: #292929;
}

body.dark .badges,
body.dark .about-section .resume-item,
body.dark .contact-section .box,
body.dark .social li a,
body.dark .contact-section input[type="text"],
body.dark .contact-section input[type="email"],
body.dark .contact-section textarea,
body.dark .blog-section .post-content,
body.dark .meta {
    background-color: #383838;
}

body.dark .about-section .chart-bar,
body.dark .about-section .resume-header p:first-child:after,
body.dark .contact-section .separator {
    background-color: #444;
}

body.dark .meta > span:not(:last-child):after {
    background-color: #555;
}

body.dark .navigation-close-line {
    background-color: #fff;
}
body.dark p,
body.dark .home-section .hero-section p,
body.image .home-section .hero-section p,
body.image .home-section .home-contact p,
body.image .home-section .home-social .social li a,
body.video .home-section .hero-section p,
body.video .home-section .home-contact p,
body.video .home-section .home-social .social li a,
body.dark .heading h2,
body.dark .about-section h4.subtitle,
body.dark .about-section .personal-info li p,
body.dark .badges h3,
body.dark .badges p,
body.dark .about-section .resume-item h5,
body.dark .about-section .resume-item .company,
body.dark .work-section .description h3,
body.dark .work-section .details,
body.dark .contact-section .box p,
body.dark .contact-section h4,
body.dark .social li a,
body.dark .contact-section input[type="text"],
body.dark .contact-section input[type="email"],
body.dark .contact-section textarea,
body.dark .blog-section .entry-header a,
body.dark .single-post-container h2,
body.dark .link-blog,
body.dark .home-section .hero-section h2,
body.image .home-section .hero-section h2,
body.video .home-section .hero-section h2,
body.dark .about-section .personal-info li p span {
    color: #fff;
}

body.dark .home-section .hero-section h4,
body.dark .home-section .hero-section h2 span,
body.dark .about-section .personal-info li p span,
body.dark .about-section .skill-text,
body.dark .about-section .resume-item p,
body.dark .contact-section p,
body.dark .blog-section .entry-header p,
body.dark .meta > span,
body.dark .single-post-container p {
    color: #eee;
}

body.dark .about-section .personal-info li a {
    color: inherit;
    text-decoration: none;
}

body.dark .navigation-trigger {
    box-shadow: none;
}

body.dark #navigation.is-fixed ul {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

body.dark .about-section .photo {
    border: 4px solid #444;
}

body.dark .about-section .resume-header p:not(.active) {
    color: #999;
}

body.dark ::placeholder {
    color: #777;
    opacity: 1;
}

body.dark :-ms-input-placeholder {
    color: #777;
}

body.dark ::-ms-input-placeholder {
    color: #777;
}

body.dark .contact-section input[type="text"],
body.dark .contact-section input[type="email"],
body.dark .contact-section textarea {
    border: 1px solid #292929;
}

body.dark .simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    background-color: #666;
}

/*** Transition Block ***/

#transitionblock {
    position: fixed;
    transform: translateX(-100%);
    height: 100vh;
    width: 100%;
    z-index: 1111;
    background: #383838;
    pointer-events: all;
    display: none;
    animation: slide 1.7s cubic-bezier(0.84, 0, 0.08, 0.99);
}

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    25% {
        transform: translateX(0%);
    }
    75% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/*** Loader ***/

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #383838;
    z-index: 111111;
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

#loader {
    z-index: 1001;
}

.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.5s 0.5s ease-out;
    transition: all 0.5s 0.5s ease-out;
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.5s 0.5s ease-out;
    transition: all 0.5s 0.5s ease-out;
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
}

/*** Navigation ***/

#navigation ul {
    position: fixed;
    width: 90%;
    max-width: 400px;
    right: 5%;
    bottom: 20px;
    box-shadow: 0 0 10px rgba(232, 74, 100, 0.4);
    visibility: hidden;
    overflow: hidden;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    transform-origin: 100% 0;
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
    transition: transform 0.3s, visibility 0s 0.3s;
}

#navigation ul li {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#navigation ul.is-visible li:nth-child(1) {
    -webkit-animation: cd-slide-in 0.2s;
    -moz-animation: cd-slide-in 0.2s;
    animation: cd-slide-in 0.2s;
}

#navigation ul.is-visible li:nth-child(2) {
    -webkit-animation: cd-slide-in 0.3s;
    -moz-animation: cd-slide-in 0.3s;
    animation: cd-slide-in 0.3s;
}

#navigation ul.is-visible li:nth-child(3) {
    -webkit-animation: cd-slide-in 0.4s;
    -moz-animation: cd-slide-in 0.4s;
    animation: cd-slide-in 0.4s;
}

#navigation ul.is-visible li:nth-child(4) {
    -webkit-animation: cd-slide-in 0.5s;
    -moz-animation: cd-slide-in 0.5s;
    animation: cd-slide-in 0.5s;
}

#navigation ul.is-visible li:nth-child(5) {
    -webkit-animation: cd-slide-in 0.6s;
    -moz-animation: cd-slide-in 0.6s;
    animation: cd-slide-in 0.6s;
}

#navigation.is-fixed ul {
    position: fixed;
    width: 100%;
    max-width: 200px;
    bottom: auto;
    top: 40px;
    right: 40px;
    background: #383838;
    padding: 15px;
    visibility: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    overflow: hidden;
    z-index: 2;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: 100% 0;
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
    transition: transform 0.3s, visibility 0s 0.3s;
}

#navigation.is-fixed ul li {
    display: block;
    cursor: pointer;
}

#navigation.is-fixed ul li a {
    padding: 12px 17px 11px 48px;
    margin-left: 0;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    transition: 0.15s;
    font-size: 17px;
    display: block;
    color: #fff;
}

#navigation.is-fixed ul li a:before {
    position: absolute;
    content: "";
    left: -18px;
    top: 14px;
    background-color: #fff;
    width: 4px;
    height: 18px;
    border-radius: 0 10px 10px 0;
    transition: 0.1s;
    opacity: 0;
}

#navigation.is-fixed ul li a:hover:before,
#navigation.is-fixed ul li a.active:before {
    opacity: 1;
    left: -15px;
}

#navigation.is-fixed ul li a.active {
    pointer-events: none;
}

#navigation.is-fixed ul li a span {
    position: absolute;
    left: 9px;
    top: 13px;
    font-size: 21px;
}

#navigation ul.has-transitions {
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
    transition: transform 0.3s, visibility 0s 0.3s;
}

#navigation ul.is-visible {
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
    transition: transform 0.3s, visibility 0s 0s;
}

#navigation ul.is-hidden {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.navigation-trigger {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 52px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    z-index: 3;
    border-radius: 0;
    height: 52px;
    background-color: #383838;
}

.navigation-trigger span {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    top: 50%;
    margin-top: -1px;
    left: 50%;
    margin-left: -12px;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
}

.navigation-trigger span::before,
.navigation-trigger span::after {
    content: "";
    position: absolute;
    left: 0;
    background: inherit;
    width: 100%;
    height: 100%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s, background 0s;
    -moz-transition: -moz-transform 0.3s, background 0s;
    transition: transform 0.3s, background 0s;
}

.navigation-trigger span::before {
    top: -7px;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.navigation-trigger span::after {
    bottom: -7px;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.navigation-trigger.menu-is-open span {
    background: rgba(232, 74, 100, 0);
}

.navigation-trigger.menu-is-open span::before,
.navigation-trigger.menu-is-open span::after {
    background: #fff;
}

.navigation-trigger.menu-is-open span::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.navigation-trigger.menu-is-open span::after {
    bottom: 0;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
}

.is-fixed .navigation-trigger {
    visibility: visible;
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-animation: cd-bounce-in 0.3s linear;
    -moz-animation: cd-bounce-in 0.3s linear;
    animation: cd-bounce-in 0.3s linear;
}

/* [ SECTIONS ] */

/*================================================== */

/*** Home  ***/

.home-section {
    height: 100%;
    width: 100%;
    display: block;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.home-section .home-content {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.image .home-section .home-content {
    background-image: url("./../images/home.jpeg");
    background-size: cover;
    background-position: center;
}

body.image .home-section .home-content:before,
body.video .home-section .home-content:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

body.video #videobg {
    position: fixed;
    z-index: -1;
}
@media (min-aspect-ratio: 16/9) {
    body.video #videobg {
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    body.video #videobg {
        width: auto;
        height: 100%;
    }
}

.home-section .home-social {
    position: absolute;
    right: 30px;
    bottom: 24px;
}

.home-section .home-social .social li a {
    background: transparent !important;
    margin-right: 0;
    font-size: 16px;
    width: 33px;
}

.home-section .home-contact {
    position: absolute;
    left: 40px;
    bottom: 30px;
}

.home-section .home-contact p {
    margin: 0;
    font-size: 13px;
    line-height: 23px;
}

.home-section .home-contact a {
    font-weight: 500;
}

.home-section .hero-section {
    height: 100%;
}

.home-section .hero-section h2 {
    font-size: 130px;
    line-height: 130px;
    text-transform: capitalize;
    margin: 0;
    font-weight: 400;
    font-family: "Playfair Display", serif;
}

.home-section .hero-section h2 span {
    font-weight: 500;
}

.home-section .hero-section p {
    margin: 30px 0 42px;
    color: #666;
    font-family: "IBM Plex Mono", monospace;
}

/* Home Animated Background */

.home-section .circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-section .circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.home-section .circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.home-section .circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.home-section .circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.home-section .circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.home-section .circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.home-section .circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.home-section .circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.home-section .circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.home-section .circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.home-section .circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/*** About ***/

.about-section h4.subtitle {
    text-transform: capitalize;
    font-weight: 700;
    font-size: 38px;
    line-height: 38px;
    font-family: "Playfair Display", serif;
}

.about-section h4.subtitle span {
    font-size: 33px;
    vertical-align: bottom;
    margin-right: 10px;
}

/* Personal Infos */

.about-section ul {
    margin: 9px 0 26px;
}

.about-section .personal-info li p {
    font-size: 17px;
    margin: 12px 0;
    font-weight: 600;
}

.about-section .personal-info li p span {
    color: #666;
    font-weight: 400;
}

.about-section .personal-info li p span.material-icons {
    display: inline-flex;
    vertical-align: text-bottom;
    padding-right: 10px;
}

.about-section .photo {
    border: 4px solid #ddd;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Resume */

.about-section .resume {
    padding: 100px 0;
}

.about-section .owl-stage {
    display: flex;
}

.about-section .resume-item {
    position: relative;
    background: #f7f7f7;
    padding: 30px;
    border-radius: 0;
    cursor: grab;
    width: auto;
    height: 100%;
}

.about-section .resume-item h5 {
    font-size: 21px;
    font-weight: 600;
    font-family: "Playfair Display", serif;
    margin-top: -7px;
}

.about-section .resume-item h6 {
    padding: 7px 7px 6px;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 5px;
    color: #fff;
}

.about-section .resume-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 28px;
}

.about-section .resume-header {
    margin: 13px auto;
}

.about-section .resume-header p {
    font-size: 22px;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    transition: 0.15s;
    font-weight: 600;
    padding: 27px;
}

.about-section .resume-header p:first-child:after {
    position: absolute;
    content: "";
    right: -4px;
    top: 34px;
    height: 21px;
    width: 1px;
    background-color: #ddd;
    pointer-events: none;
}

.about-section .resume-header p:not(.active) {
    color: #ddd;
}

.owl-theme .owl-dots .owl-dot span {
    background: #e9ecef;
    margin: 5px 10px;
}

.owl-dots {
    text-align: center;
    margin-top: 60px;
}

.owl-carousel {
    overflow-y: hidden;
}

.owl-carousel.visiblecarousel {
    opacity: 1;
    height: auto;
    visibility: visible;
}

.owl-carousel.hiddencarousel {
    opacity: 0;
    height: 0;
    visibility: hidden;
}

.owl-theme .owl-dots .owl-dot {
    outline: none;
}

.owl-theme .owl-dots .owl-dot span {
    transition: 0.15s;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 40px;
}

/* Skills */

.about-section .skills {
    padding: 100px 15px 55px;
}

.about-section .skills h4 {
    margin-bottom: 50px;
}

.about-section .skill-text {
    display: block;
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}

.about-section .chart-bar {
    display: block;
    height: 7px;
    position: relative;
    width: 100%;
    background: #e9ecef;
    margin-bottom: 45px;
}

.about-section .chart-bar > .item-progress {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1%;
}

.about-section .chart-bar > .percent {
    height: 32px;
    margin-top: -48px;
    position: absolute;
    right: calc(100% - 40px);
    width: 46px;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 33px;
    top: 50%;
    text-align: center;
    margin-right: -24px;
}

.about-section .arrow {
    display: inline-block;
    padding: 4px;
    transform: translateY(33.5px) rotate(45deg) skew(3deg, 3deg) translateX(-27px);
    bottom: 10px;
    position: absolute;
}

/* Badges */

.badges {
    padding: 100px 0;
    position: relative;
    background-color: #f7f7f7;
}

.badges:after {
    position: absolute;
    left: -210px;
    bottom: 60px;
    height: 300px;
    width: 260px;
    transform: rotate(22deg);
    z-index: 1;
    content: "";
}

.badges span {
    display: inline-block;
    color: #fff;
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    font-size: 30px;
}

.badges h3 {
    letter-spacing: 2px;
    display: block;
    color: #444;
    font-size: 55px;
    font-weight: 800;
    line-height: 55px;
    margin: 25px 0 18px;
}

.badges p {
    font-weight: 600;
    color: #444;
    font-size: 21px;
    text-transform: capitalize;
    margin: 0;
}

/*** Portfolio ***/

.work-section #work-content {
    padding-bottom: 85px;
    min-height: 100vh;
    overflow-y: auto;
}

.work-section .portfolio-container {
    margin-top: -15px;
}

/* Grid */

.work-section .grid {
    position: relative;
    margin: 0 auto;
}

.work-section .grid::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-size: 60px auto;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.work-section .grid--loaded::after {
    opacity: 0;
}

.work-section .grid__item {
    padding: 15px;
}

.work-section .grid__item a {
    position: relative;
    transition: 0.3s;
}

.work-section .grid__item a:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 1;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.3);
}

.work-section .grid__item a:hover:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
}

.work-section .grid__item a img {
    width: 100%;
}

.work-section .grid__item--current {
    opacity: 0 !important;
}

.work-section .item-title-hover {
    white-space: nowrap;
    font-size: 21px;
    padding: 5px 15px;
    font-weight: 700;
    color: #fff;
    border-radius: 5px 5px 5px 0;
    position: fixed;
    z-index: 1000;
    opacity: 0;
    text-transform: uppercase;
    visibility: hidden;
}

.work-section .item-title-hover .item-category {
    position: absolute;
    top: 100%;
    border-radius: 0 5px 5px 5px;
    left: 0;
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 5px 15px;
}

.work-section .item-title-hover.visible {
    opacity: 1;
    visibility: visible;
}

/* Preview */

.work-section .preview {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.work-section .preview::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: #fff;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.work-section .preview--open {
    pointer-events: auto;
}

.work-section .preview--open::before {
    opacity: 1;
}

.work-section .clone {
    position: fixed;
    z-index: 110;
    -webkit-transition: -webkit-transform 0.7s;
    transition: transform 0.7s;
    -webkit-backface-visibility: hidden;
}

.work-section .original {
    position: relative;
    z-index: 120;
    display: block;
    object-fit: contain;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    -webkit-backface-visibility: hidden;
}

.work-section .preview--open .animate {
    -webkit-transition: -webkit-transform 0.6s, opacity 0.2s;
    transition: transform 0.6s, opacity 0.2s;
}

.work-section .animate {
    -webkit-transition: -webkit-transform 0.7s, opacity 0.2s;
    transition: transform 0.7s, opacity 0.2s;
}

.work-section .description--grid {
    display: none;
}

.work-section .description--preview {
    position: absolute;
    z-index: 140;
    width: 100%;
    left: 100%;
    top: 0;
    height: 100%;
    padding: 0 30px;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    opacity: 0;
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
}

.work-section .description--preview > a {
    pointer-events: none;
}

.work-section .preview--open .description--preview {
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.work-section .description h3 {
    text-transform: capitalize;
    position: relative;
    font-weight: 700;
    font-size: 38px;
    line-height: 38px;
    font-family: "Playfair Display", serif;
    margin: 0;
}

.work-section .details {
    width: 100%;
}

.work-section .details > a:not(.main-btn) {
    pointer-events: none;
}

.work-section .details ul {
    margin: 35px 0;
}

.work-section .details ul li {
    position: relative;
    display: block;
    opacity: 0;
    -webkit-transition: -webkit-transform 1s, opacity 1s;
    transition: transform 1s, opacity 1s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
    text-transform: capitalize;
    margin: 20px 0;
}

.work-section .details ul li {
    position: relative;
}

.work-section .details ul li span:nth-child(2) {
    font-weight: 600;
    left: 100px;
    position: absolute;
    top: 0;
}

.work-section .details .main-btn {
    opacity: 0;
    -webkit-transition: -webkit-transform 1s, opacity 1s;
    transition: transform 1s, opacity 1s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}

.work-section .preview--open .details ul li,
.work-section .preview--open .details .main-btn {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.work-section .preview--open .details ul li:nth-child(1) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.work-section .preview--open .details ul li:nth-child(2) {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.work-section .preview--open .details ul li:nth-child(3) {
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.work-section .preview--open .details ul li:nth-child(4) {
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.work-section .preview--open .details ul li:nth-child(5) {
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.work-section .preview--open .details .main-btn {
    -webkit-transition-delay: 0.7s;
    transition-delay: 0.7s;
}

.work-section .action {
    font-size: 24px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    vertical-align: top;
    border: none;
    background: none;
}

.work-section .action:hover,
.work-section .action:focus {
    outline: none;
}

.work-section .action--close {
    position: fixed;
    z-index: 150;
    top: 40px;
    right: 40px;
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: scale3d(0.6, 0.6, 1);
    transform: scale3d(0.6, 0.6, 1);
}

.work-section .action--close > span {
    height: 55px;
    width: 55px;
}

.work-section .preview--image-loaded .action--close {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.navigation-close-line {
    height: 45px;
    width: 4px;
    border-radius: 10px;
    background: #383838;
    position: absolute;
    transform: rotate(-45deg);
    top: 5px;
    left: 26px;
    transition: 0.15s;
}

.work-section .action--close > span:hover .navigation-close-line {
    background-color: #999;
}

.navigation-close-line:nth-child(2) {
    transform: rotate(45deg);
}

.navigation-close {
    position: absolute;
    right: 43px;
    top: 30px;
    cursor: pointer;
    opacity: 0;
}

/*** Contact ***/

.contact-section #contact-content {
    padding-bottom: 100px;
}

/* Boxes */

.contact-section p {
    margin: 10px 0 25px;
}

.contact-section .box {
    background: #f7f7f7;
    padding: 48px 30px 30px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
}

.contact-section .box p {
    margin: 0;
    font-weight: 500;
    font-size: 21px;
    width: 100%;
    text-align: center;
    color: #383838;
}

.contact-section .box > span, .contact-section .box a > span {
    width: 54px;
    height: 54px;
    text-align: center;
    line-height: 54px;
    border-radius: 50%;
    font-size: 23px;
    color: #fff;
    position: absolute;
    top: -27px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.contact-section .separator {
    height: 1px;
    width: 250px;
    background-color: #ddd;
    margin: 15px auto 45px;
}

/* Social media Icons */

.contact-section h4 {
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 18px;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 28px;
}

.social li a {
    border-radius: 50%;
    text-align: center;
    display: block;
    font-size: 17px;
    margin-right: 16px;
    transition: 0.3s;
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #f7f7f7;
}

.social li:last-child a {
    margin-right: 0;
}

.social li a:hover {
    color: #fff;
}

/* Contact Form */

.contact-section input[type="text"],
.contact-section input[type="email"] {
    border: 1px solid #ddd;
    width: 100%;
    background: #fff;
    padding: 13px 28px;
    margin-bottom: 30px;
    outline: none !important;
    transition: 0.15s;
}

.contact-section textarea {
    border: 1px solid #ddd;
    background: #fff;
    width: 100%;
    padding: 13px 28px;
    margin-bottom: 30px;
    height: 150px;
    overflow: hidden;
    outline: none !important;
    transition: 0.15s;
    display: block;
}

.contact-section .form-message {
    margin: 30px 0 0;
}

.contact-section .output_message {
    display: block;
    color: #fff;
    height: 46px;
    line-height: 46px;
    border-radius: 30px;
    font-weight: 600;
}

.contact-section .output_message.success {
    background: #3fd38c;
}

.contact-section .output_message.error {
    background: #f73a43;
}

/*** Blog ***/

.blog-section .post-container {
    max-width: 850px;
    margin: 0 auto 93px;
}

.blog-section .post-thumb {
    position: relative;
    overflow: hidden;
}

.blog-section .post-thumb a {
    position: relative;
    overflow: hidden;
}

.blog-section .post-thumb a img {
    transform: scale(1);
    transition: 0.3s;
}

.blog-section .post-container .post-thumb:hover {
    cursor: pointer;
}

.blog-section .post-container:hover .post-thumb img {
    transform: scale(1.1);
}

.blog-section .post-date {
    height: 60px;
    right: 15px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 4px;
    flex-direction: column;
    margin-right: 30px;
    color: #fff;
    font-weight: 600;
}

.blog-section .post-content {
    background: #f7f7f7;
    padding: 27px 25px 22px;
    display: flex;
}

.blog-section .entry-header a {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    line-height: 27px;
    margin: 30px 0 9px;
    text-decoration: none;
    font-weight: 700;
}

.blog-section .entry-header a:hover {
    color: initial;
}

.blog-section .entry-header p {
    margin: 14px 0 0;
    color: #666;
}

.blog-section .allposts {
    margin-bottom: 93px;
}

.single-post-container {
    margin-top: 80px !important;
}

.single-post-container h2 {
    text-transform: capitalize;
    font-size: 27px;
    line-height: 27px;
    margin: 10px 0 22px;
    text-decoration: none;
    font-weight: 700;
    font-family: "Playfair Display", serif;
}

.single-post-container img {
    margin: 30px 0 25px;
    border-radius: 5px;
}

.single-post-container p {
    color: #666;
}

.meta {
    font-size: 13px;
    border-radius: 5px;
    background: #f7f7f7;
}

.meta > span {
    border-radius: 5px;
    padding: 12px 14px 5px;
    margin: 0 7px 7px 0;
    display: inline-block;
    position: relative;
}

.meta > span:not(:last-child):after {
    position: absolute;
    right: -7px;
    height: 15px;
    width: 1px;
    content: "";
    top: 14px;
    background-color: #ddd;
}

.meta > span span {
    font-size: 16px;
    vertical-align: text-bottom;
    display: inline-flex;
    margin-right: 7px;
}

.link-blog {
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.link-blog span {
    font-size: 18px;
    vertical-align: text-bottom;
}

.link-blog:hover,
.link-blog:focus {
    text-decoration: none !important;
    color: #212529;
}

/* [ RESPONSIVE DESIGN ] */

/*================================================== */

@media (min-width: 992px) and (max-width: 1199px) {
    .home-section .hero-section h2 {
        font-size: 90px;
        line-height: 90px;
    }
}

@media (max-width: 991px) {
    .about-section .photo {
        margin-bottom: 40px;
    }
    .home-section .hero-section {
        width: 100%;
        padding: 0 100px;
    }
    .home-section .hero-section h2 {
        font-size: 60px;
        line-height: 60px;
    }
    .navigation-close-line {
        height: 25px;
        width: 2px;
    }
    .contact-section form {
        margin-top: 10px;
    }
    .contact-section .box {
        margin-bottom: 60px;
        padding: 40px 25px 22px;
    }
    .contact-section .box.last-box {
        margin-bottom: 30px;
    }
    .contact-section .leftside {
        display: flex;
        flex-direction: column;
    }
    .contact-section .leftside > div:first-child {
        order: 2;
    }
    .contact-section .leftside > div:nth-child(2) {
        order: 1;
    }
    .contact-section .box > span {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        top: -25px;
    }
    .contact-section .box p {
        font-size: 19px;
    }
    .badges:after {
        left: -230px;
    }
}

@media (max-width: 767px) {
    body.video #videobg {
        display: none;
    }
    body.video .home-section .home-content:before {
        display: none;
    }
    .navigation-trigger {
        top: 25px;
        right: 25px;
    }
    #navigation.is-fixed ul {
        top: 25px;
        right: 25px;
    }
    .contact-section .box {
        max-width: 100%;
    }
    .home-section .hero-section {
        padding: 0;
    }
    .home-section .hero-section h2 {
        font-size: 45px;
        line-height: 45px;
    }
    .work-section .grid__item a {
        pointer-events: none;
        padding: 0 25px;
    }
    .work-section .description--grid {
        position: relative;
        display: block;
    }
    .work-section .details ul li {
        opacity: 1;
    }
    .work-section .grid__item a:after {
        display: none;
    }
    .owl-dots {
        max-width: 100vw;
        text-align: center;
        margin-left: -25px;
        margin-top: 30px;
    }
    .about-section h4.subtitle {
        font-size: 35px;
        line-height: 35px;
    }
    .about-section h4.subtitle span {
        font-size: 23px;
    }
    .work-section .grid {
        overflow: hidden;
    }
    .work-section .portfolio-container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    .work-section .details .main-btn {
        opacity: 1;
    }
    .work-section #work-content {
        padding-bottom: 20px;
        min-height: 100vh;
        overflow-y: auto;
    }
    .work-section .grid__item {
        position: relative !important;
        top: initial !important;
        padding: 0 !important;
    }
    .work-section .grid__item > span.btn {
        margin: 15px 0 50px 25px;
    }
    .work-section .description h3 {
        margin-top: 30px;
        font-size: 26px;
        line-height: 26px;
        pointer-events: none;
        margin-left: 0;
    }
    .work-section .details {
        pointer-events: none;
    }

    .meta > span:not(:last-child):after {
        display: none;
    }
    .work-section .details ul,
    .work-section .details ul li:first-child {
        margin-top: 0;
    }
    .about-section .resume-item {
        margin-bottom: 5px;
        padding: 25px;
    }
    .heading h2 {
        font-size: 35px;
        line-height: 35px;
        display: block;
        margin: 31px 0 70px 25px;
    }
    .heading h2:after {
        position: absolute;
        left: -25px;
        content: "";
        top: 2px;
        height: 100%;
        width: 5px;
        border-radius: 0 10px 10px 0;
    }
    .contact-section .heading h2 {
        margin-bottom: 100px;
    }
    .about-section .infos,
    .blog-section .post-container,
    .blog-section .allposts {
        margin-bottom: 70px;
    }
    .about-section .resume {
        padding: 0 0 70px;
    }
    .about-section .skills {
        padding: 70px 15px 25px;
    }
    .badges {
        padding: 70px 0;
    }
    .badges > .container > .row > div:not(:last-child) {
        margin-bottom: 70px;
    }
    .about-section .resume-header h2 {
        font-size: 26px;
    }
    .about-section .image-container img {
        max-width: 250px;
        margin: 0 auto;
    }
    .blog-section .post-content {
        padding-top: 21px;
    }
    .blog-section .entry-header a,
    .single-post-container h2 {
        font-size: 21px;
        line-height: 26px;
    }
    .about-section .resume-header p {
        font-size: 20px;
    }
    .about-section .resume-item h5 {
        font-size: 18px;
        font-weight: 500;
    }
    .about-section .resume-header {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .col-12 {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    .personal-list-container.col-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .resume-holder {
        padding: 0 25px;
    }
    .row.contactform > .col-12 {
        padding: 0 15px !important;
    }
    .home-section .hero-section h2 {
        font-size: 35px;
        line-height: 35px;
    }
    .right-dotted-shape {
        left: -30px;
        bottom: -240px;
        transform: rotate(112deg);
        top: initial;
        right: initial;
    }
    .home-section .hero-section p {
        margin: 20px 0 25px;
    }
    .personal-list-container.personal-list-container-1 ul {
        margin-bottom: 18px;
    }
    .personal-list-container.personal-list-container-1 ul li:last-child p {
        margin-bottom: 0;
    }
    .personal-list-container.personal-list-container-2 ul li:first-child p,
    .personal-list-container.personal-list-container-2 ul {
        margin-top: 0;
    }
}


/* #navigation.is-fixed ul {
    visibility: visible;
    position: sticky;
    transform: scale(1);
    display: flex;
    max-width: none;
    align-items: center;
    justify-content: flex-end;
    top: 0;
} */
