/*-----------------------------------------------------------
* Template Name    : Riddick - Personal Portfolio Template
* Author           : pavloff-studio
* Version          : 1.0.0
* Created          : March 2020
* File Description : Main css file of the template
*------------------------------------------------------------
*/


/***********************
    1.FONTS
    2.BASIC
    3.HELPER
    4.HEADER
    5.MAIN MENU
    6.INTRO 
    7.PORTFOLIO
    8.FOOTER
    9.ABOUT
    10.BLOG
    11.CONTACT
    12.SKILL
    13.SERVICES
    14.TEAM
    15.RESUME
    16.RESPONSIVE
************************/
/*======================
        0. eigenes Zeugs
========================*/


.impressum *{
  font-size: 12px;
  color: #979797;
  line-height: 1.8;
}

/*======================
        1.FONTS
========================*/

@import url('../icon-fonts/arsenal/arsenal-v4-latin-regular.eot');

/*======================
        2.BASIC
========================*/

html,
body {
  height: 100%;
  font-family: 'Arsenal', sans-serif;
  scroll-behavior: smooth;
}

/* ScrollBar */


/* width */

::-webkit-scrollbar {
  width: 5px;
}


/* Track */

::-webkit-scrollbar-track {
  border-radius: 20px;
}


/* Handle */

::-webkit-scrollbar-thumb {
  background: #20505d;
  ;
  border-radius: 10px;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #20505d;
}

@media screen and (max-width: 992px) {
   ::-webkit-scrollbar {
    display: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #001418;
  margin: 0;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  margin: 0 0 20px;
}

p {
  font-size: 18px;
  color: #979797;
  line-height: 1.8;
}


img {
  max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a{
  color: #000;
}

a:hover,
a:focus {
  color: #20505d;
  text-decoration: none;
  outline: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/*======================
        3.HELPER
========================*/
.body-pad {
  padding: 0 40px;
}

.spad {
  padding: 100px 0;
}

.pt100 {
  padding-top: 100px;
}

.mt-40 {
    margin-top: 40px!important;
}
.mb-40 {
    margin-bottom: 40px!important;
}

.mt-30 {
    margin-top: 30px!important;
}
.mb-30 {
    margin-bottom: 30px!important;
}

.mt-100{
  margin-top: 100px;
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
}

.header-title{
  font-size: 60px;
  font-weight: 700;
}

.section-title {
  font-size: 38px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

.section-title-sub{
  text-align: center;
  font-size: 72px;
  font-weight: 900;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  text-transform: uppercase;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #eee;
  z-index: 0;
}

.section-title span {
  color: #979797;
  position: relative;
  display: inline-block;

}

.section-title span {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    color: #20505d;
}

.section-line-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 40px;
    background: #20505d;
}

.section-line-border {
    position: relative;
    overflow: hidden;
    height: 4px;
    width: 80px;
    border: none;
    background: #eee;
    margin: 0 auto 20px auto;
}
.section-sub-line {
    margin-bottom: 80px;
    text-transform: capitalize;
}

.inner {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 0px 20px rgba(0,0,0,.1);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 4px solid transparent;
}

.inner:hover{
    border-bottom: 4px solid #20505d;
    transition: all 1s;
}

.inner i {
    color: #20505d;
    margin-bottom: 30px;
    font-size: 38px;
}

.hero-content{
  position:relative;
  z-index: 9999;
}

.intro-section::after {
    content: "";
    bottom: 0;
    display: block;
    position: absolute;
    margin-bottom: 0;
    height: 100%;
    width: 50%;
    /*background-image: url('../img/dot.png')!important;
    */
    background-position: 0 0px!important;
    background-repeat: repeat!important;
    left: 0;
    z-index: 0;
}

.about-title:after{
  content: "";
  position: absolute;
  top: 7px;
  height: 4px;
  width: 40px;
  background: #20505d;
  margin-left: 15px;
}


/* back to top button */

#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  color: #fff;
  background: #000;
  padding: 10px 15px;
  border: 1px solid #000;
  display:none;
}

#back-to-top:hover {
  position: fixed;
  bottom: 25px;
  right: 25px;
  color: #fff;
  background: #000;
  padding: 10px 15px;
  border: 1px solid #000;
}

.block-blog-nav ul {
  padding: 0;
  margin: 0; 
}

.block-blog-nav  ul li {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 400; 
}

.block-blog-nav  ul li a, .block-blog-nav  ul li span {
  color: #000;
  text-align: center;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
}

.block-blog-nav  ul li.active a, .block-blog-nav  ul li.active span {
  background: #000;
  color: #fff;
}


.heading-block{
  position: relative;
  display: inline-block;
  z-index: 10;
  margin-bottom: 30px;
}

.heading-block h2:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    height: 20px;
    width: 100%;
    z-index: -1;
    background: #20505d;
}

.page-section{
  padding: 100px 0;
  position: relative;
}


/*------------------------
  Common Elements
--------------------------*/
.element {
  margin-bottom: 100px;
}

.element:last-child {
  margin-bottom: 0;
}

/*=== Preloder ===*/
#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #fff;
}

.loader {
  width: 30px;
  height: 30px;
  border: 3px solid #000;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 60px;
  border-left-color: transparent;
  animation: loader 0.8s linear infinite;
  -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

/*=== Buttons ===*/
.btn {
  display: inline-block;
  font-size: 14px;
  min-width: 140px;
  text-align: center;
  padding: 13px 10px;
  position: relative;
  color: #fff;
  border: 2px solid #20505d;
  background-color: #20505d;
  margin-right: 15px;
  z-index: 1;
  border-radius: 0px;
  vertical-align: bottom;
}

.btn span {
  color: #fff;
  display: block;
  transform-origin: center left;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;  
}

.btn:before,
.btn:after {
  content: '';
  background: #fff;
  height: 50%;
  width: 0;
  position: absolute;
  transition: .3s cubic-bezier(.785, .135, .15, .86);
}

.btn:before {
  top: 0;
  left: 0;
  right: auto;
}

.btn:after {
  bottom: 0;
  right: 0;
  left: auto;
}

.btn:hover:before {
  width: 100%;
  right: 0;
  left: auto;
}

.btn:hover:after {
  width: 100%;
  left: 0;
  right: auto;
}

.btn:hover span {
  color: #20505d!important;
}

.site-btn {
  display: inline-block;
  font-size: 14px;
  min-width: 140px;
  text-align: center;
  padding: 15px 10px;
  position: relative;
  color: #fff;
  border: none;
  background-color: #20505d;
  margin-right: 15px;
  z-index: 1;
}

.site-btn.btn-fade {
  background-color: #979797;
}

.site-btn.btn-line {
  background: #fff;
  border: 2px solid #20505d;
  color: #20505d;
  padding: 13px 10px;
}

.site-btn.btn-line:hover {
  color: #20505d;
}

.site-btn.btn-line-fade {
  background: none;
  border: 2px solid #979797;
  color: #979797;
  padding: 13px 10px;
}

.site-btn.btn-line-fade:hover {
  color: #979797;
}

.site-btn:hover {
  color: #fff;
}


/*======================
        4.HEADER
========================*/

.header-section {
  padding-top: 20px;
  padding-bottom: 10px;
  position: fixed;
  width: 100%;
  z-index: 10000;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0,0,0,.04);
}

.site-logo {
  font-size: 24px;
  padding-top: 20px;
}
.logo {
   width: 85%;
}



/*======================
        5.MAIN MENU
========================*/

.main-menu ul {
  list-style: none;
}

.main-menu ul li {
  display: inline;
}

.main-menu ul li a {
  display: inline-block;
  font-size: 18px;
  color: #20505d;
  margin-left: 15px;
  margin-right: 10px;
  padding: 20px 0 5px;
  position: relative;
}

.main-menu ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  border-bottom: 2px solid;
  border-color: currentColor;
  left: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.21, 1.1), opacity 0.2s cubic-bezier(0.4, 0, 0.21, 1.1);
  -moz-transition: -moz-transform 0.2s cubic-bezier(0.4, 0, 0.21, 1.1), opacity 0.2s cubic-bezier(0.4, 0, 0.21, 1.1);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.21, 1.1), opacity 0.2s cubic-bezier(0.4, 0, 0.21, 1.1);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}

.main-menu ul li a:hover:after,
.main-menu ul li a.selected:after {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}


.header-btn {
  margin-top: 5px;
  float: right;
  margin-right: 0;
}

.nav-switch {
  display: none;
}



/*======================
        6.INTRO
========================*/

.intro-section {
  position: relative;

  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-img{
  background-image: url(../img/sk95.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.bg-overlay{
  background: rgb(255,255,255,0.7);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}



/*======================
        7.PORTFOLIO
========================*/

.portfolio-section {
  padding-top: 80px;
  overflow: hidden;
}

.portfolio-filter {
  list-style: none;
  padding-bottom: 30px;
}

.portfolio-filter li {
  font-size: 16px;
  display: inline-block;
  margin-right: 30px;
  padding-bottom: 10px;
  color: #979797;
  cursor: pointer;
  position: relative;
}

.portfolio-filter li.mixitup-control-active {
  color: #001418;
}

.portfolios-area .gallery-block {
  padding: 0;
}

.gallery-block {
  position: relative;
}

.portfolio-item {
  display: block;
  width: 100%;
  height: 300px;
  background-position: center center;
  position: relative;
  margin-bottom: 30px;
}

.portfolio-item .pi-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: transparent;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.portfolio-item .pi-inner h2 {
  opacity: 0;
  font-size: 22px;
  font-weight: 400;
  position: absolute;
  color: #000;
  padding: 10px 20px;
  background: #fff;
  left: 50px;
  bottom: 50px;
  letter-spacing: 6px;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}


.portfolio-item:hover .pi-inner {
  background: rgba(247,115,88,0.8)
}

.portfolio-item:hover .pi-inner h2 {
  opacity: 1;
  letter-spacing: 0;
}

.portfolio-meta {
  padding-bottom: 45px;
}

.portfolio-meta h2 {
  font-size: 24px;
}

.portfolio-meta p {
  font-size: 14px;
  color: #a6a6a6;
  margin-bottom: 0;
}

.portfolio-intro {
  display: block;
}

.img-popup-warp .mfp-content {
  opacity: 0;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.img-popup-warp.mfp-ready .mfp-content {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.portfolio-filter li:not(:last-child):after {
  background: #d7d7d7 none repeat scroll 0 0;
  content: "";
  height: 15px;
  position: absolute;
  right: 0;
  top: 3px;
  transform: rotate(45deg);
  width: 1px;
  margin-right: -18px;
}



/*======================
        8.FOOTER
========================*/

.footer-section {
  padding: 60px 0;
}

.footer-section .copyright {
  font-size: 14px;
  color: #20505d;
}

.social-links {
  margin-bottom: 40px;
}

.social-links li {
  position: relative;
  display: inline-block;
  margin-right: 30px;
}

.social-links a {
  color: #20505d;
  font-size: 15px;
  margin-right: 30px;
}

.social-links a:hover{
  color: #20505d;
}

.social-links a:last-child {
  margin-right: 0;
}



/*======================
        9.ABOUT
========================*/

.about-title{
  color: #20505d;
}

.pic-frame {
  position: relative;
  padding-left: 25px;
  display: inline-block;
  z-index: 10;
}

@media screen and (max-width: 992px) {
  .pic-frame {
    margin-bottom: 100px;
  }
}

.pic-frame:after {
  position: absolute;
  content: "";
  width: calc(100% - 25px);
  height: calc(100% - 25px);
  bottom: -25px;
  left: 0;
  border: 10px solid #20505d;
  z-index: -1;
}

.pic-frame img{
  box-shadow: -6px 10px 40px rgba(0,0,0,0.15);
}

.milestone {
  margin-top: 15px;
}

.milestone h2 {
  font-size: 60px;
}

.milestone h2 span {
  font-size: 18px;
  color: #979797;
}

h3.about{
  margin-bottom: 30px;
}



/*======================
        10.BLOG
========================*/

.blog-item {
  margin-bottom: 70px;
}

.blog-item .read-more {
  color: #000;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  line-height: 18px;
  font-size: 18px;
}

.blog-item .read-more:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #000;
}

.thumb {
  margin-bottom: 30px;
}

.blog-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.blog-content .blog-meta {
  font-size: 13px;
  color: #979797;
  margin-bottom: 30px;
}

.blog-content p {
  margin-bottom: 30px;
}



/*======================
        11.CONTACT
========================*/

#contact .contact-info {
    margin-bottom: 4em;
    padding: 0;
}

#contact .contact-info li {
    list-style: none;
    margin: 0 0 30px 0;
    position: relative;
    padding-left: 40px;
    color: #979797;
    font-size: 18px;
}

#contact .contact-info li i {
    position: absolute;
    top: .3em;
    left: 0;
    font-size: 22px;
    color: #20505d;
}

.contact-detail{
  background: #20505d;
  color: #fff;
  padding: 20px;
}

.contact-detail p{
  color: #fff!important;
  margin: 0;
}

.contact-detail h5{
  color: #fff!important;
  margin: 10px 0;
}

.contact-detail .icon {
  font-size: 28px;
}

.contect-tect {
  text-align: center;
  margin-bottom: 70px;
}

.contect-tect h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.contect-tect p {
  font-size: 17px;
}

.contact-form {
  display: block;
  width: 100%;
}

.contact-form input {
  padding-left: 25px;
  height: 60px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #979797;
  margin-bottom: 30px;
  font-size: 16px;
  background: transparent;
}

.contact-form textarea {
  padding-left: 25px;
  height: 200px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #979797;
  margin-bottom: 30px;
  font-size: 16px;
  background: transparent;
}

.contact-form ::-webkit-input-placeholder {
  font-style: italic;
}

.contact-form :-ms-input-placeholder {
  font-style: italic;
}

.contact-form ::-ms-input-placeholder {
  font-style: italic;
}

.contact-form ::placeholder {
  font-style: italic;
}



/*===========================
        12.SKILL
=============================*/

.skill-item h6 {
  font-size: 16px;
  margin-bottom: 5px;
  display: inline-block;
}

.skill-item span {
  font-size: 18px;
  margin-bottom: 5px;
  display: inline-block;
  float: right;
}

.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: transparent;
  text-align: center;
  background: #20505d;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-transition: width 0.6s ease;
  -o-transition: width 0.6s ease;
  transition: width 0.6s ease;
}

@media (max-width: 575px) {
  .skill-item {
    margin-bottom: 30px;
    margin-left: 0px;
  }
}

.progress {
  width: 100%;
  overflow: hidden;
  height: 2px;
  margin-bottom: 30px;
  background-color: #e9ecef;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar,
.progress {
  transition: all 4s;
}



/*======================
        13.SERVICES
========================*/

.service {
  position: relative;
  margin-bottom: 40px;
}

.service.left-icon .service-icon {
  position: absolute;
}

.service.sm .service-icon i {
  font-size: 35px;
  line-height: 32px;
}

.service .service-icon i {
  color: #20505d;
  display: block;
}

.service.left-icon .service-content {
  padding-left: 65px;
}



/*======================
        14.TEAM
========================*/

.team-thumb {
  width: 100%;
  margin-bottom: 32px;
  position: relative;
}

.team-overlay {
  border-top: 4px solid #20505d;
  color: #ffffff;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 90px;
  overflow: hidden;
  transition: height 450ms;
  opacity: 0;
  text-align: center;
}

.team-thumb:hover .team-overlay {
  height: 100%;
  background-color: #ffffff;
  color: #222;
  padding-top: 30%;
  opacity: 0.9;
}

.team-thumb:hover h4 {
  color: #000000;
}

.team-social ul li {
    display: inline-block;
    margin-right:10px;
    margin-left:10px;
}



/*======================
        15.RESUME
========================*/

.resume-desc-icon {
  margin-right: 10px;
  margin-bottom: 5px;
  font-size: 16px;
  display: inline-block;
}

.resume-desc-icon {
  margin-right: 10px;
  margin-bottom: 5px;
  font-size: 16px;
  display: inline-block;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background-color: #e9ecef;
    display: inline-block;
    position: absolute;
    left: 9px;
    top: 30px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 40px;
}

ul.timeline > li:before {
    content: ' ';
    background: #ffffff;
    display: inline-block;
    border-radius: 50%;
    border: 3px solid #20505d;
    left: -40px;
    width: 20px;
    height: 20px;
    z-index: 400;
    top: 29px;
    position: relative;
}

.resume h6{
  font-size: 16px;
  margin-bottom: 5px;
  display: inline-block;
}



/* ===========================
  Responsive
==============================*/
@media only screen and (max-width: 1448px) {
  .home-2.container {
    width: auto;
  }
}

/* Medium screen : 992px. */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .portfolio-item {
    height: 450px;
  }
}

/* Tablet :768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .body-pad {
    padding: 0 30px;
  }
  .portfolio-item {
    height: 350px;
  }
}

/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
  .body-pad {
    padding: 0 15px;
  }
  .main-menu {
    position: absolute;
    background: #fff;
    width: 100%;
    z-index: 999;
    left: 0;
    top: 30px;
    display: none;
  }
  .main-menu ul li a {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: block;
  }

  .main-menu ul li {
    display: block;
  }
  .main-menu ul li:last-child a {
    border-bottom: none;
  }
  .home-2 {
    text-align: left;
  }
  .home-2 .main-menu {
    top: 99px;
  }
  .nav-switch {
    position: absolute;
    right: 25px;
    font-size: 30px;
    color: #333;
    top: 35px;
    display: block;
  }
  .header-btn {
    display: none!important;
  }
  .section-title {
    font-size: 45px;
  }
  .portfolio-filter {
    text-align: center;
  }
}

/* small Mobile :320px. */
@media only screen and (max-width: 479px) {
  .section-title {
    font-size: 30px;
  }
}