

:root {
    --font-size-h4: 22px;
	/*--clr-bg-pg2: #FFC300;  /* fallback for old browsers */
	--clr-bg-pg2: #fafad2 ;/*linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);*/
  --clr-nav-item-main: #ffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; 
}


body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
	background: 	#FFFFF0; /*#FFFDD0*/
	/*background: #121;*/

}

/*DARK MODE FOR TOGGLE SWITCH*/

.dark-mode {
  background: linear-gradient(to right, #434343, #000000);
  color: #fff;
}

  /*SWITCH BUTTON*/

#btn-2 {
  width: unset;
  height: unset;
  border: 2px dotted #000;
  background: linear-gradient(110deg, #fdcd3b 60%, #fcff4bee 60%);
  width: 50px;
  position: fixed;
  height: 50px;
  margin-right: 1rem;
  bottom: 12vh;
  right: 0;
  border-radius: 80%;
  transition: background-color 2s, color 2s;
  box-shadow: 0 0 5px #FFFF00,
  0 0 20px rgb(255 255 0 / 0.8),
  0 0 35px rgb(255 255 0 / 0.7),
  0 0 50px rgb(255 255 0 / 0.6);
  padding: 10px;
}

#btn-2:hover {
  background-color: orange;
  transform: rotateZ(360deg);
  transition: background-color 2s, color 2s, transform 2s;
  box-shadow: 0 0 5px #FFFF00,
  0 0 20px rgba(0, 217, 255, 0.8),
  0 0 35px rgb(0, 217, 255,  0.7),
  0 0 50px rgb(0, 217, 255,  0.6);
  
}

#btn-2:active {
  background-color: red;
  color: white;
  border-radius: 15px;
}

/*SWITCH BUTTON END*/


.floating-btn {
  position: fixed;
  bottom: 3.5vh;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 100;
  background-color: yellow;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 5px hsla(0, 0%, 0%, hsla(0,0%,0%,0.5));
  cursor: pointer;
  margin-right: 1rem;
  border: 1px solid #000;
}

.show-btn {
  display: block;
}

header {
	width: 100%;
	height: 100px;
  background-color: #000;
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
 
}

/*Srcollbar*/

::-webkit-scrollbar{
	width: 15px;
	background: #000;
  }
  
  ::-webkit-scrollbar-thumb {
	background: yellow;
	border-radius: 10px;
	border: 1px solid black;
  }
  
  ::-webkit-scrollbar-thumb:active {
	background: orangered;
  }
  

section .main-page {
	min-height: 600px;
  margin-top: 60px;
  

}

section .main-page h1 {
 position: relative;
 top: 3rem;

}

section {
    width: 100%;
    min-height: 400px;
}

/*LIGHTBOX*/

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0); 
  color: #000;
  z-index: 10;
  font-size: 20px;
}

.l-box-card {
  width: 60%; /*70%*/
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  box-shadow: 0 0 10px black;
  background-color: #000;
  color: unset;
  transform: scale(0);
  transition: all 0.8s ease;
  transform: translateY(-1500);
  border: 3px solid  #fdcd3b;
  
}

.lightbox:target {
  transform: scale(1); 
}

.lightbox:target .l-box-card {
  transform: scale(1);
}

.lightboxbtn {
  background-color: #fdcd3b;
  color: #000;
  width: fit-content;
  text-decoration: none;
  border: 2px solid #000;
  text-transform: uppercase;
  padding: 10px;
  font-size: 20px;
  font-style: bold;
  transition: all 0.3s linear;
}

.lightboxbtn:hover {
  background-color: #000;
  color: #fdcd3b;
  transform: scale(1.3);
}

#impul, #GDPR, #cookie {
  list-style: none;
  line-height: 2rem;
  font-size: 14px;
  color: #fff;
}

/*LIGHTBOX CSS*/

/*title box*/
.title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

/*FOOTER NAV SETTINGS*/

nav, .footer-container {
  width: min(90%, 1180px);
  display: flex;
  position: relative;
  align-items: center;

}

nav {
  justify-content: space-between;
  
}

nav ul {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-left: 1.5rem;
}

nav ul li {
  font-style: uppercase;
  list-style: none;
}

nav ul li a:hover {
  color: yellow;
}
 
/**/
.nav-item a {
  color: var(--clr-nav-item-main);
  list-style: none;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px;
  text-decoration: none;

}


nav a {
	/*line-height: 50px;*/
	height: 100%;
	font-size: 20px;
	justify-content: space-evenly;
	position: relative;
	z-index: 1;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	color: var(--clr-nav-item-main);
	cursor: pointer;
	margin: .5em .8em;
	padding: 10px;
}

nav a::before,
nav a::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}

nav a::before {
  content: '';
  right: 0;
  top: 0;
  border-top: 3px solid #ffed4b;
  border-right: 3px solid #fdcd3b;
  transform: translate(-100%, 50%); /*-100%, 50%*/
}

nav a:after {
  content: '';
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #fdcd3b;
  border-left: 3px solid #ffed4b;
  transform: translate(100%, -50%);  /*100%, -50%*/
}

nav a:hover:before,
nav a:hover:after{
  transform: translate(0,0);
  opacity: 1;
}

nav a:hover {
	color: yellow;
}

/*Layout help for fixed positions and sizes*/

.layout-helper {
  width: 1140px;
  max-width: 80%;
  height: 100%;
  display: grid;
  place-content: center;
  margin-inline: auto;
  padding-block: 3rem;
}



h1 {
	text-align: center;
	margin: 40px 0 40px;
	text-align: center;
	font-size: 60px;
	color: #000;
	text-shadow: 2px 2px 4px #000000;
  font-family: 'Roboto Mono', 'sans-serif';
}


p {
    width: 100%;
    text-align: justify;
    font-size: 24px;
    font-family: 'Roboto Mono', 'sans-serif';
}



/*SERVICE IMAGES*/

.services {
	max-height: 100%;
  display: grid;
  place-content: center;
  background-color: #F4DD08;
  margin-top: 2rem;

}

img {
	display: block;
	height: 100%;
  max-width: 380px;
  height: auto;
  box-sizing: border-box;
}


/*new style cards*/

.card-container {
  display: flex;
  
}


.card {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 20px;
  transition: transform 0.6s;
  border: 3px solid black;
  
}

.card:hover .back {
  transform: translateY(100%);  
}   /*100%*/

.card .front,
.card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: transform 0.6s;
}

.card .front {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  z-index: 10;
  position: absolute;
 
}

.card .front:hover {
  opacity: 0.7;
  z-index: 10;
}

.card .front p {
  text-align: center;
}


.card .front img {
  width: 80%;
  height: 100%;
}

.card .front p {
  margin: 0;
}

.card .back {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transform: translateY(0%); /*-100%*/
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);
  border-top: none;
  border-right: 4px solid black;
  border-bottom: 4px solid black;
  border-left: 4px solid black;
 
}



.card .back p {
  margin: 0;
  text-align: center;
}

.card .back .button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #fdcd3b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.card .back .button:hover {
  background: #2980b9;
  box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}



/*FOOTER STYLE*/

footer {
  width: 100%;
  background-color: #000;
  padding-block: 4rem;
  color: var(--clr-nav-item-main);
  position: relative;
  z-index: 1;
}

.footer-container {
  flex-direction: column;
  margin-inline: auto;
  gap: 2rem;

  
}

.footer-container nav ul {
  flex-direction: column;
  z-index: 0;
 
  
}

.footer-top {
  width: 100%;
  display: flex;
  gap: 2rem;
  text-align: justify;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  margin-inline: auto;
}

#impressum h2 {
  color: #ffff;
}



/*POLICIES LINKS*/

.policies {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  gap: 2rem;
}

.policies a {
  color: yellow;
  font-size: 16px;
  line-height: 2rem;
  text-decoration: none;
}

.policies a:hover {
 color: orangered;
}

/*social media icons*/

.social-media-icons {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;

}

.sm-container {
display: flex;
justify-content: center;
flex-direction: row;
gap: 2rem;
padding:1rem;
border: 1px black;
}

.sm-container a {
  text-decoration: none;
}

.fa {
border-radius: 50%;
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: 20px;
}

.fa-instagram {
background: #125688;
color: white;
padding: 1rem;

}

.fa-skype {
  background: #00aff0;
  color: white;
  padding: 1rem;
  }

.fa-facebook {
background: #4267B2;
color: white;
padding: 1rem;
}

.fa-linkedin {
background: #3B5998;
color: white;
padding: 1rem;
}

.sm-icon {
  transition: all 0.3s linear;
}

.sm-icon:hover {
  transform: scale(1.2);

}

.fa:hover {
 background-color: #fdcd3b;
}

/*CSS FOR ANIMATIONS TO ACTIVATE*/
.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 2s all ease;
}
.reveal.active{
  transform: translateY(0);
  opacity: 1;
}

/*MOBILE MENU*/
.mobile-menu {
	display: none;
}

.mobile-menu {
    display: flex;
    width: 100%; 
    height: calc(100vh - 80px);
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: black;
    transform: translate(-100%);
    transition: all 0.4s ease;
    z-index: 100;
    font-size: 30px;
  }

  .mobile-menu-on {
    display: flex; /**/
    transform: translate(0);
  }

  .m-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    font-size: 1.4rem;
  }

  .m-menu .nav-item a {
    line-height: 2;
    font-size: 26px;
  }

   /*hamburger icon*/
  
   .hamburger {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    top: 0;
    left: 1;
    margin-top: 1.5rem;
  }

  .hamburger:hover {
    border: 6px solid;
    border-color: yellow;
    width: 43px;
    margin-left: 4px;
    transform: scale(1.2);
  }
    .hamburger:hover .line.line-1 {
      transform: rotate(45deg) translateY(7.5px);
      background-color: yellow;
      
    }
    
    .hamburger:hover .line.line-2 {
      display: none;
    }
    
    .hamburger:hover .line.line-3 {
      transform: rotate(-45deg) translateY(-7.5px);
      background-color: yellow;
      
      
    }
    
    .line {
    transition: all .4s ease;
    width: 40px;
    height: 5px;
    background-color: white;
    margin-block: 5px;
    border-radius: 10px;
  }


/*RESPONSIVE VERSION*/

@media (max-width: 1200px) {
	.img-services {
    grid-template-columns: repeat(3, minmax(min-content, 300px));
    grid-template-columns: repeat(3, minmax(min-content, 300px));
    grid-template-columns: repeat(3, minmax(min-content, 300px));
	} 

  .hamburger {
    display: block;
  }
  
  #desktop-menu {
    display: none;
  }

}



@media (max-width: 912px) {
	footer nav ul {
    flex-direction: column;
		
	}

  footer nav ul li a {
    font-size: 15px;
    padding: 15px;
  }

  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }


}

@media (max-width: 750px) {

  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
  }



  .text-container p {
    font-size: 20px;
    text-align: center;
  }


}




@media (max-width: 600px) {


  .services .card-container .card {
    display: grid;
    grid-template-columns: 1fr minmax(min-content, 300px);
  }
	.img-services {
  display: grid;
  grid-template-columns: 1fr minmax(min-content, 300px);
	}
  .card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-inline: auto;
    gap: 12rem;
    
  }

  .card {
    width: 100%;
  }

  .card img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    overflow: hidden;
  }

 
}



@media (max-width: 500px) {

  

  #btn-2 {
    margin-left: 18rem;
    margin-top: 5rem;
  }

  h1 {
    font-size: 30px;
  }

  .policies {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    margin-inline: auto;
  }

}

@media (max-width: 360px) {
  #btn-2 {
    bottom: 14vh;
  }
}

/*ANIMATIONS*/

    /*PUFF IN HORIZONTALLY FOR IMAGES*/

    .puff-in-hor {
	-webkit-animation: puff-in-hor 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	        
          
  animation: puff-in-hor 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2023-1-27 10:30:22
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation puff-in-hor
 * ----------------------------------------
 */
@-webkit-keyframes puff-in-hor {
  0% {
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-hor {
  0% {
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

/*BOUNCE IN TOP FOR TEXTS*/

.bounce-in-top {
	-webkit-animation: bounce-in-top 1.1s both;
	        animation: bounce-in-top 1.1s both;
}

/* ----------------------------------------------
 * Generated by Animista on 2023-1-27 10:35:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation bounce-in-top
 * ----------------------------------------
 */
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}





