@charset "utf-8";
/* CSS Document */


@import url('fonts.css');

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

* {
    box-sizing: border-box;
    transition: all linear 0.5s;
}


p {
    line-height: 150%;
    font-weight: 400;
}

section p {
    color: #666;
}

h1 {
   color: #666;
    font-size: 40px !important;
    text-transform: uppercase;
}


h1, h2, h3, h4, nav li {
        font-family: 'Poppins', sans-serif;
}

/***COOKIEBANNER***/
.cookie-banner {
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: #f8f8f8;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 9999999;
    border-radius: 10px;
}

.cookie-banner p {
    display: inline-block;
    margin: 0 10px 0 0;
}

.cookie-banner button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    background-color: #95c11f;
    color: white;
    cursor: pointer;
    border-radius: 10px;
}

.cookie-banner button:hover {
    background-color: #666;
}

.cookie-banner a {
    color: #95c11f;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #666;
}


#open_ppolicy_cb {
    pointer-events: all;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 9;
    box-sizing: border-box;
}

header img {
    width:300px;
}


a {
   color: #95c11f;
    font-weight: normal;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #666;
    scroll-behavior: smooth;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}


nav ul li a.active {
    color: #95c11f;
    border-radius: 4px;
}


	
.toggle-topnavi{
	padding: 5px;
	position: absolute;
	pointer-events: all;
	cursor: pointer;
	top: 10px;
    right:30px;
	width: 55px;
	height: 55px;
	display: none;
    background: #95c11f;
	border-radius: 100px;
    text-align:center;
}

.menu-line {
	height: 4px;
	width:35px;
	background: #fff;
	border-radius: 100px;
	transform: rotate();
	transition: all linear 0.75s;
	display: block;
	position:absolute;
	right: 0px;
	transform-origin: center;
    margin: 10px 10px 0 0;
}
	
.sticky .menu-line {
	background: #2A4582;
}
	
.toggle-topnavi .menu-line:nth-of-type(1) {
	top: 0px;
}

.toggle-topnavi .menu-line:nth-of-type(2) {
	top: 15px;
}

.toggle-topnavi .menu-line:nth-of-type(3) {
  top: 30px;
}


.toggle-topnavi.show .menu-line:nth-of-type(1) {
	transform: translateY(15px) rotate(-45deg);
}

.toggle-topnavi.show .menu-line:nth-of-type(2) {
	opacity: 0;
}

.toggle-topnavi.show .menu-line:nth-of-type(3) {
	transform: translateY(-15px) rotate(45deg);
}


.sidenav {
	position: fixed;
	top:50%;
	right:0px;
	transform: translateY(-50%);
	z-index: 99999;
	pointer-events: none;
}

.sidenav ul {
    margin: 0;
	padding: 0;
	list-style: none;
}


.sidenav li  {
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
	background: rgba(255,255,255,1);
	position: relative;
	transform: translateX(340px);
	transition: all linear 0.5s;
	pointer-events: all;
}

.sidenav li:hover  {
	background: rgba(255,255,255,1);
		transform: translateX(0px);
}


.sidenav li a {
	display:block;
	color:#95c11f !important;
	font-size:20px;
	line-height: 40px;
	padding: 10px;
	margin-bottom: 10px;
	width: 400px;
	font-weight: 400 !important;
	text-decoration: none;
	border: 0px solid #eee;
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
	box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.sidenav_info {
	margin-top:-30px;
	transform: translateX(60px);
	background: rgba(255,255,255,1);
	position:absolute;
	opacity:1;
	transition: all linear 0.5s;
	border-bottom-left-radius: 30px;
	padding: 30px 20px 30px 20px;
	pointer-events: none;
  color: #2A4582 !important;
	width: 350px;
	border: 0px solid #2A4582;
	z-index: -1;
}


.sidenav_info p {
	font-weight: 400 !important;
}


.sidenav_info table  {
	width:100%;
}


.sidenav_info table td  {
	padding: 2px;
	vertical-align: top;
	border-top: 1px solid #666140;
}

.sidenav_info table td:nth-of-type(1) {
	width: 35%;
}

.sidenav_info table td:nth-of-type(2)  {
	width: 75%;
}

li:hover .sidenav_info {
	opacity:1;
}

.sidenav li i {
	font-size:30px;
	padding: 5px 30px 5px 5px;
}

.sidenav li a:hover {
	background: rgba(255,255,255,1);
}

.sidenav li:nth-of-type(3){
	z-index: 1;
	pointer-events: all;
}



/***CONTENT***/


section {
    position: relative;
}

section:not(.hero, #contact)::after {
    content:"";
    display: block;
    background-image: url(../images/logo_pixelcrafts_sign_outline.svg);
    background-size: 100%;
    width:80px;
    height:80px;
    background-repeat: no-repeat;
    margin: 100px auto 0;
}



    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: none; /* Versteckt das Overlay initial */
      align-items: center;
      justify-content: center;
      transition: opacity 0.5s ease; /* Smooth Transition */
      opacity: 0;
        z-index: 999;
        backdrop-filter: blur(5px);
    }

    .overlay.show {
      display: flex;
      opacity: 1;
    }

    /* Inhalt des Overlays */
    .overlay-content {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      text-align: left;
      width:90%;
        max-width: 1024px;
        height:90%;
        overflow-y: scroll;
    }


    .overlay-content h2 {
    text-align: center;
    }

    button#closeBtn_imprint, button#closeBtn_ppolicy {
      margin-top: 20px;
        position:absolute;
        top:0;
        right:50px;
        border: 1px solid #999;
        border-radius: 10px;
        padding:10px;
        background:#fff;
        font-weight: bold;
        cursor: pointer;
    }

.hero {
    text-align: center;
    padding: 100px 20px;
}


.hero::before {
    min-width:100%;
    min-height:100%;
    padding:0;
    left: 0;
    top:0;
    position: absolute;
        width:100%;
   height:100px;
    display:block;
    content:"";
    background-image: url(../images/Code_wood.webp);
        background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    min-width:100%;
    min-height:100%;
    padding:0;
    left: 0;
    top:0;
    position: absolute;
     width:100%;
   height:100px;
    display:block;
    content:"";
    background:rgba(255,255,255,0.8);
    backdrop-filter: blur(1px);
    z-index: -1;
}

.hero h1 {
    font-size: 48px;
    color: #88C057;
}
    
    .hero img {
        display: block;
        max-width:600px; 
        margin:auto;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
    }

.hero p {
    font-size: 22px;
    color: #95c11f;
    font-weight:600;
    text-transform:uppercase;
}

section:not(.hero) {
    max-width: 1024px;
    margin: auto;
}


#matrix-wrapper {
  font-family: courier;
  background: transparent;
  overflow: hidden;
  margin: auto;
  padding: 0;
  text-align: center;
    top:0;
    z-index: -2;
  position:absolute;
  width: 100%;
}

.about, .services, .portfolio, .contact {
    padding: 50px 0px;
    text-align: center;
}

.services h2, .about h2, .portfolio h2, .contact h2, h2 {
    font-size: 36px;
    color: #95c11f;
    text-transform:uppercase;
}

.service-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-template-rows: repeat(3, auto);
    justify-content: center;
}


blockquote {
    font-size: 35px;
    font-style: italic;
    color: #95c11f;
    font-weight: bold;
     font-family: 'Oooh Baby';
}


.service-box {
    margin: 20px 0;
    padding: 20px;
    margin: 0 15px;
    text-align: left;
    border: 1px solid #f0f0f0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.service-box h3 {
    color: #95c11f;
    text-align: center;
    text-transform:uppercase;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #95c11f;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #76A045;
}

.cta-button::after {
    display: inline-block;
    content:"\f0e0";
    padding-left: 10px;
    font-family: "Font Awesome 5 Free";
    font-weight:900;
}

.portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
    align-items: center;
    justify-content: center;  
}

.portfolio-item {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-item-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top:50%;
    transform: translateY(100%);
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-item-content {
    top:50%;
    transform: translateY(-50%);
}

.portfolio-item-content p {
    margin: 5px;
}


.portfolio-item-content a {
   color: #95c11f;
    font-weight: bold;
}


footer {
    background-color: #666;
    color: white;
    padding: 20px 20px 50px;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer img {
    width: 200px;
    margin: auto;
    display: block;
}

footer a:hover {
    text-decoration: underline;
}

    .footernavi-mobile {
	display: none;
}

@media screen and (max-width:992px) {
  
    
header {
    flex-direction: column;
    justify-content: center;
    }
    
    
    nav {
       position: relative;
       width: 100%;
    }
    
    
    
    nav ul {
        opacity: 0;
       display: flex;
        flex-direction: column;
       justify-content: center;
       align-items: center;
       transform: scaleY(0);
        height:0;
        transition: transform linear 0.5s;
    }
    
     nav ul#menu.show {
         opacity: 1;
        height: auto;
        transform: scaleY(1);
         transition: opacity linear 0.5s;
            
    }
    
    
    
    nav ul li {
        text-align: center;
       padding: 10px 0;
        margin: auto;
    }
    
    
    .toggle-topnavi {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    .portfolio-wrapper {
  grid-template-columns: repeat(2, 30%);
}
    
}







@media screen and (max-width:768px) {
    
    section {
        padding: 20px !important;
    }
    
    .service-wrapper, .portfolio-wrapper {
  grid-template-columns: repeat(1, 100%);
  grid-template-rows: repeat(1, auto);
}
  
    .service-box {
        margin: 20px 0;
    }
    
}

@media screen and (max-width:600px) {
    
    
    header  {
    width: 100%;
    justify-content: left;
    align-items: start;
    max-width: 600px;
}

    
    
    header img {
    width:200px;
}

    .sidenav {display: none;}
    
    .footernavi-mobile {
	position: fixed;
	z-index: 9999999;
	width:100%;
	bottom:0;
	display: block;
	text-align: center;
	background:#95c11f;
}
	
.footernavi-mobile ul {
	 list-style: none;
	 margin:0;
	 padding:0;
}
	
.footernavi-mobile ul li {
	 display: inline-block;
}

	
.footernavi-mobile ul li a {
	 display: block;
	 color:#fff;
	 padding:10px 20px;
	font-size:30px;
}	

    
}

