/*
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 ***/

/* =================================================================== */
/* Red #F44336
====================================================================== */
.main-btn,
.main-btn:hover,
.main-btn:focus,
.item-title-hover,
.item-title-hover .item-category,
.contact-section .box > span,
.post-date,
.resume-item h6,
.chart-bar>.percent,
.about-section .arrow,
.chart-bar>.item-progress,
.social li a:hover,
body.dark .social li a:hover,
.badges span,
.heading h2:after,
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span,
#navigation.is-fixed ul li a:before,
.work-section .action--close>span:hover .navigation-close-line{
    background-color: #ccc;
}

.btn.main-btn,
.btn.main-btn:focus,
.btn.main-btn:hover,
.btn.second-btn,
.contact-section input[type=text]:focus,
.contact-section input[type=email]:focus,
.contact-section textarea:focus,
body.dark .contact-section input[type=text]:focus,
body.dark .contact-section input[type=email]:focus,
body.dark .contact-section textarea:focus{
    border: 1px solid #ccc;
}
#navigation.is-fixed ul li a.active,
#navigation.is-fixed ul li a:hover,
.home-section .home-contact a,
.home-section .hero-section h2 span,
body.dark .home-section .hero-section h2 span,
.btn.second-btn span,
.about-section .resume-header p,
.heading h2 span,
.about-section .resume-header p.active,
.about-section .resume-header p:hover,
.meta > span span,
.home-section .home-social .social li a:hover,
body.image .home-section .home-social .social li a:hover,
body.video .home-section .home-social .social li a:hover{
    color: #ccc;
}

.right-dotted-shape,
.badges:after{
    background: radial-gradient(circle at center, #ccc 10%, transparent 20%), transparent;
    background-size: 19px 18px;
}
.home-section .circles li {
    background: #ccc /*rgba(244, 67, 54, .2)*/
}

* {
    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;
}

/*** Transition Block ***/

#transitionblock {
    position: fixed;
    transform: translateX(-100%);
    height: 100vh;
    width: 100%;
    z-index: 1111;
    background: #ccc;
    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;
}

/* [ 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("http://via.placeholder.com/1920x1080.jpg");
    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%;
    }
}

/*.profile {
	width: 200px;
	border-radius: 50%;
	border: 3px solid rgba(64, 72, 84);
	padding: 3px;
}*/
.home-section .home-social {
    position: absolute;
    right: 30px;
    top: 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;
    right: 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%;
    }
}


/* Personal Infos */

.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;
}



/* [ 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;
    }
}
