html,
body {
  height: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  overflow-x: hidden;
}

p {
  color: #979797;
  font-size: 22px;
  font-weight: 300;
}

o {
  color: #979797;
  font-size: 22px;
  font-weight: 300;
}

z {
  color: #FF0040;
  font-size: 24px;
  font-weight: 400;
}

a:link {
color: #979797;
}

a:visited {
color: #979797;
}

a:hover {
color: #CCCCCC;
text-decoration: none;
}


a:active {
color: #979797;
text-decoration: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

div.linetop {
  background-color: #FF0040;
  text-align: center;
  padding: 2px;
  display: flex;
  justify-content: center;
  text-align: center;
}

div.linebottom {
  background-color: #979797;
  text-align: center;
  padding: 2px;
  display: flex;
  justify-content: center;
  text-align: center;
}


/*------------------------
  Cookieinfo
--------------------------*/

#cookieinfo * {
    margin: 0px;
    padding: 0px;
}

#cookieinfo {
    position: fixed;
    font-size: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: #1D1D1D;
    padding: 20px;
    box-shadow: 0px -1px 3px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#cookieinfo h6 {
    font-size: 20px;
    font-weight: 600;
    color: #979797;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
    margin-bottom: 7px;
}

#cookieinfo p {
    font-size: 16px;
    font-weight: 400;
    color: #979797;
    line-height: 1.5em;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
}

#cookieinfo a {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 0px;
    line-height: 20px;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background-color: #979797;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

#cookieinfo a:hover {
    background-color: #FF0040;
}


/*------------------------
  Flags
--------------------------*/

flags {
  margin-left: 10px;
  cursor: default;
}


/*------------------------
  Language
--------------------------*/

.language {
  color: #979797;
  font-size: 16px;
  font-weight: 400;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.language select {
  color: #979797;
  font-size: 16px;
  font-weight: 400;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}


/*------------------------
  Darkmode
--------------------------*/

nav {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  text-align: center;
  
}

.theme-switch {
  display: inline-block;
  height: 4px;
  position: relative;
  width: 58px;
}

.theme-switch input {
  display: none;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch-wrapper em {
  margin-left: 10px;
  font-size: 1rem;
}

.slider {
  background-color: #FF0040;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.8s;
}

.slider:before {
  background-color: #FFFFFF;
  bottom: 0px;
  content: "";
  height: 4px;
  left: 0px;
  position: absolute;
  transition: 0.4s;
  width: 4px;
}

.slider.round {
  border-radius: 2px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #E3E3E3;
}

input:checked + .slider:before {
  transform: translateX(54px);
}

:root {
  --bg-color: #1D1D1D;

}

html[data-theme="dark"] {
  --bg-color: url('../img/bg.jpg'), #FFFFFF;
}

body {
  
  background: var(--bg-color);
  color: var(--font-color);
  max-width: auto;
 
}

/*=== ScrollBar ===*/

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: #979797; 
  border-radius: 10px;
}

/*=== Preloder ===*/

#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #1D1D1D;
}

.loader {
  width: 30px;
  height: 30px;
  border: 4px solid #FF0040;
  color: #FF0040;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;
  border-radius: 60px;
  border-left-color: transparent;
  animation: loader 0.9s linear infinite;
  -webkit-animation: loader 0.7s 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);
  }
}

/*------------------------
    Logotyp
--------------------------*/

div.logotop {
	margin-top: 100px;
	margin-bottom: 50px;
	text-align: center;
}

.logotop {
    position:relative;
    height:58px;
    width:148px;
    margin:0 auto;
  }
.logotop img {
    position:absolute;
    left:0;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
  }

.logotop img.top {
    -webkit-transform:scale(0,0);
    -moz-transform:scale(0,0);
    -o-transform:scale(0,0);
    transform:scale(0,0);
    opacity:0;

  }

.logotop:hover img.top, .logotop.hover_effect img.top {
    opacity:1;
    -webkit-transform:scale(1,1);
    -webkit-transform-origin: top right;
    -moz-transform:scale(1,1);
    -moz-transform-origin: top right;
    -o-transform:scale(1,1);
    -o-transform-origin: top right;
    transform:scale(1,1);
    transform-origin: top right;
  }

.logotop:hover img.bottom, .logotop.hover_effect img.bottom {
    -webkit-transform:scale(0,0);
    -webkit-transform-origin: bottom left;
    -moz-transform:scale(0,0);
    -moz-transform-origin: bottom left;
    -o-transform:scale(0,0);
    -o-transform-origin: bottom left;
    transform:scale(0,0);
    transform-origin: bottom left;
  }

/*------------------------
    Kategorie
--------------------------*/

div.kategorie {
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: center;
}


/*------------------------
  Portfolio mini
--------------------------*/

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
}


/*------------------------
    Portfolio Section
--------------------------*/

.portfolio-section {
  overflow: hidden;
}

.portfolio-filter {
  list-style: none;
  padding-bottom: 10px;
}

.portfolio-filter li {
  font-size: 24px;
  font-weight: 400;
  display: inline-block;
  margin-right: 40px; /*--*/
  margin-left: 40px; /*--*/
  padding-bottom: 20px;
  color: #979797;
  cursor: pointer;
}

.portfolio-filter li:hover {
  color: #CCCCCC;
}

.portfolio-filter li.mixitup-control-active {
  color: #FF0040;
}

.portfolios-area .gallery-block {
  padding: 0;
}

.gallery-block {
  position: relative;
}

.portfolio-item {
  display: block;
  width: 100%;
  height: 600px;
  background-position: center;
  position: relative;
  margin-bottom: 0px;
}

.portfolio-item .pi-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: transparent;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.portfolio-item .pi-inner h2 {
  opacity: 0;
  font-size: 32px;
  font-weight: 400;
  position: absolute;
  left: 50px;
  bottom: 40px;
  color: #fff;
  letter-spacing: 10px;
  -webkit-transition: all 0.9s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.portfolio-item:hover .pi-inner {
  background: rgba(0, 20, 24, 0.8);
}

.portfolio-item:hover .pi-inner h2 {
  opacity: 1;
  letter-spacing: 0;
}

.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.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.img-popup-warp.mfp-ready .mfp-content {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

/*------------------------
    Kontakt
--------------------------*/

div.kontakt {
	margin-top: 75px;
	margin-bottom: 25px;
	text-align: center;
	
}

/*------------------------
    Footer Section
--------------------------*/
.footer-section {
  padding: 0px;
}

.footer-section .copyright {
  font-size: 16px;
  font-weight: 400;
  color: #979797;
  margin-bottom: 50px;
}

.social-links {
  margin-top: 10px;
  margin-bottom: 75px;
}

.social-links a {
  color: #979797;
  font-size: 16px;
  margin-right: 25px;
}

.social-links a:last-child {
  margin-right: 0;
}

.social-links a:hover {
  color: #FF0040;
}

/* ===========================
  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: #efefef;
    width: 100%;
    z-index: 999;
    left: 0;
    top: 30px;
    padding-top: 15px;
    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;
  }
  .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;
  }
}

