
:root {
  --header-clr: #000;
  --nav_a_clr: #ffff;
  --nav-height: 100px; /*80%*/
  --header-height: 100px;
  --footer-img: url(assets/images/mainpage/blackyellowdots.jpg);
  --w:600px;
  --c:calc(100vw - var(--w));
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; 
}

body {
min-height: 100vh;
width: 100%;
font-size: 20px;
font-family: 'Roboto Mono', 'sans-serif';
background:	#FFFFF0; /*#F4DD08*//*rgb(250,250,210)*//*rgba(249, 198, 26, 0.88)*/ /*#f7e98e*/
}

.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;
}

/*SWITCH BUTTON*/

#btn-2 {
  width: unset;
  height: unset;
  border: 2px dotted yellow;
  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);
  border: 2px dotted #000;
}

#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*/

/*SHOW BUTTON FOR MOBILE*/
.show-btn {
  display: block;
}

/*LOGO*/
.logo {
  display: none;
}

/*DARK MODE FOR TOGGLE SWITCH*/

.dark-mode {
  background: linear-gradient(to right, #434343, #000000);
  color: #fff;
}

/*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;
}

img:not(
  #btn-2 img,
  .floating-btn img,
  .card-image img,
  .testimonial img){

  width: 300px;
  height: 250px;
}



header {
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--header-clr);
  position: fixed;
  z-index: 1;
  border: 1px solid black;
  
}

/*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 {
  list-style: none;
  line-height: 2rem;
  font-size: 14px;
  color: #fff;
}

#impul, #GDPR, #cookie {
  list-style: none;
  line-height: 2rem;
  font-size: 14px;
  color: #fff;
}

#impressum h2, #cookie h2, #GDPR h2 {
  color: #fff;
  font-size: 20px;
}

/*LIGHTBOX CSS*/



/*NAVBAR*/

nav {
  display: flex; 
  width: min(90%, 1200px);
  height: inherit; 
  align-items: center; 
  justify-content: flex-start; 
  font-size: 20px;
  position: relative;
  color: #fff;
  left: 2.5rem;
  gap: 1rem;
}

.header-right-gap {
  color: inherit;
}

nav ul {
  display: flex; 
  gap: 1rem;
  justify-content: center;
  list-style: none;
}


.nav-item a {
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 10px;
}

.nav-item a::before,
.nav-item 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-item a:after {
  content: '';
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #fdcd3b;
  border-left: 3px solid #ffed4b;
  transform: translate(100%, -50%);  /*100%, -50%*/
}

.nav-item a:hover:before,
.nav-item a:hover:after{
  transform: translate(0,0);
  opacity: 1;
}



.nav-item 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;
}

/*Title box for fixed title and paragraph settings*/

.title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 2rem;
  margin-top: 8rem;
  margin-bottom: 6rem;
  gap: 3.5rem;
}

/*WHY US SECTION*/

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 2px solid black;
    background-color: rgba(249, 198, 26, 0.88); /*rgba(249, 198, 26, 0.88)*/
    font-size: 14px;
    border: 2px solid yellow;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: 10px;
 /* filter: drop-shadow(0 0 0.75rem black);  /*crimson*/
  transition: ease 0.3 ease-in-out;
  gap: 1rem;
  
}

.card .card-image:hover {
  transform: scale(1.2);
  transform: rotate(360deg);
  transition: background-color 2s, color 2s, transform 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);
 
}

.card-image {
  width: 5rem;
  height: 5rem;
  background-color: #000;
  border-radius: 20px;
  display: flex;
  margin-inline: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 0.75rem black);
}

.card-image:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 0.75rem #fdcd3b);
  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);
  
}

.card-image img {
  width: 5rem;
  height: 5rem;
  filter: invert(87%) sepia(35%) saturate(2190%) hue-rotate(12deg) brightness(113%) contrast(107%);
  padding: 15px;
}

.card h4 {
  font-size: 23px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  
}

.card p {
  font-size: 20px;

}

/*OUR PARTNERS SECTION*/

.partners-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border: 2px solid black;
  justify-content: center;
  background: rgba(249, 198, 26, 0.88);
  border: 2px solid yellow;
}

.partnerd-container img {
  width: 300px;
  height: 250px;

}



.partners-card {
  padding: 15px;
  align-items: center;
  justify-content: center;
 filter: grayscale(100%);
}

.partners-card:hover {
 filter:grayscale(50%);
}




/*FOOTER STYLE*/

footer {
  width: 100%;
  background-color: #000;
  padding-block: 4rem;
  color: white;
}



.footer-container {
  width: min(90%, 1200px);
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  gap: 2rem;
  font-size: 20px;
}

.footer-container nav ul {
  flex-direction: column;

}

.footer-container nav ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
}



.footer-top {
  width: 100%;
  display: flex;
  gap: 2rem;
  text-align: justify;
  margin-bottom: 1rem;

}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  
}

/*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;
}

.sm-container {
display: flex;
justify-content: center;
gap: 2rem;
padding:1rem;
border: 1px black;

}

.sm-container a {
  text-decoration: none;
}

.fa {
border-radius: 50%;
 font-size:20px;
 
}

.sm-icon {
  transition: all 0.3s linear;
}

.sm-icon:hover {
  transform: scale(1.2);

}

.fa:hover {
 background-color: #fdcd3b;
}


.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;
}

/*CSS FOR ANIMATIONS TO ACTIVATE*/
.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 2s all ease;
}
.reveal.active{
  transform: translateY(0);
  opacity: 1;
}



/* STYLING THE COUNTER CARD */
.card-project {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #fdcd3b;
  color: #000;
  border-radius: 14px;
  transition: all 0.3s linear;
}




/* LINING UP COLUMNS NEXT TO EACH OTHER/ RESULTS*/
.column {
  float: left;
  width: 25%;
  padding: 0 5px;
}


.row {
  margin: 0 -5px;
  
}

#meeting {
  overscroll-behavior: unset;
}

.card-project p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  transition-duration: 3s ease-out;

}

.card-project:hover {
  background-color: navy;
  color: white;
  transform: scale(1.1);
  color: #ffee10;
  box-shadow: 0 0 5px #ffee10;
  text-shadow: 0 0 5px #ffee10;
}


/*TIMELINE*/

.timeline {
  list-style:none;
  max-width:900px;
  margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(clamp(100%/3 + 0.1%,(var(--w) - 100vw)*1000,100%),1fr));
  grid-gap:20px 45px;
  position:relative;
}
.timeline:before {
  content:"";
  position:absolute;
  inset:0 calc(50% - 1px) 0;
  background:repeating-linear-gradient(#0000 0 6px,#000 0 12px);
}
.timeline li {
  border-radius:15px;
  padding:10px;
  background:#fdcd3b;
  color: #000;
  position:relative;
  border: 1px solid #000;
}
.timeline li * {
  margin:0;
}
.timeline li h4 {
  font-size:23px;
  margin-bottom:5px;
}
.timeline li:before {
  content:"";
  position:absolute;
  top:25px;
  left:100%;
  width:10px;
  height:15px;
  background:inherit;
  clip-path:polygon(0 0,100% 50%,0 100%);
}
.timeline li:after {
  content:"";
  position:absolute;
  border-radius:50%;
  top:27px;
  width:11px;
  height:11px;
  left:calc(100% + 17px);
  background:#000;
}
.timeline li:nth-child(even):before {
  right:100%;
  left:auto;
  bottom:25px;
  top:auto;
  transform:scaleX(-1);
}
.timeline li:nth-child(even):after {
  bottom:27px;
  top:auto;
  right:calc(100% + 17px);
  left:auto;
}

*:before,
*:after {
  max-width: clamp(0px,(100vw - var(--w))*1000,100%);
  max-height:clamp(0px,(100vw - var(--w))*1000,1000px);
}

.timeline li:nth-child(4n + 1) {
  background:#fdcd3b;
}
.timeline li:nth-child(4n + 2) {
  background:#b7b9b6;
}
.timeline li:nth-child(4n + 3) {
  background:
    linear-gradient(#b7b9b6,#b7b9b6) 0/max(0px,100vw - var(--w)) 1px,
   #fdcd3b;
}
.timeline li:nth-child(4n + 4) {
  background:
    linear-gradient(#fdcd3b,#fdcd3b) 0/max(0px,100vw - var(--w)) 1px,
    #b7b9b6;
}


/*MOBILE MENU*/
  
.mobile-menu {
  display: flex;
  width: 100%; /*.line a szülő tehát 40px a width*/
  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;
}

.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: 24;
}

 /*hamburger icon*/

 .hamburger {
  display: none;
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  background-color: transparent;
  margin-top: -2.5rem;
}

.hamburger:hover {
  border: 6px solid;
  border-color: yellow;
  width: 43px;
  margin-left: 4px;
  transform: scale(1.2);
}
  .hamburger:hover .line.line-1 {
    /*display: none;*/
    transform: rotate(45deg) translateY(7.5px);
    background-color: yellow;
    
  }
  
  .hamburger:hover .line.line-2 {
    display: none;
    
  }
  
  .hamburger:hover .line.line-3 {
    /*display: none;*/
    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;
}

/*MEDIA QUERIES*/
  
    /*1280px*/
  
    @media (max-width: 1280){

      .hamburger {
        display: none;
      }

      .desktop-menu {
        display: none;
      }

      #btn-2 {
        margin-left: 72rem;
      }
  
    }
  
    
  
    /*1024px*/
  
     @media (max-width: 1024px) {

      nav {
        width: 90%;
      }

      .hamburger {
        display: block;
      }
    

      .desktop-menu {
        display: none;
      }

      #btn-2 {
        margin-left: 64rem;
      }
  
  
  
    }

    @media (max-width: 900px) {

      .logo {
        display: block;
      }

      .timeline {
        display: flex;
        flex-direction: column;
        list-style: none;
      }
      
      footer nav ul {
        flex-direction: column;
        
      }
    
      footer nav ul li a {
        font-size: 15px;
        padding: 15px;
      }

      #btn-2 {
        margin-left: 40rem;
      }
    }
    
    @media (max-width: 750px) {

      .timeline {
        display: flex;
        flex-direction: column;
      }

      .footer-container {
        display: flex;
        flex-wrap: wrap;
      }
    
    
    
      footer nav ul li a {
        font-size: 10px;
        padding: 15px;
      }
    
    
      .text-container p {
        font-size: 10px;
      }

        .column {
          width: 100%;
          display: block;
          margin-bottom: 10px;

        }

        .card-container {
          grid-template-columns: repeat(2, 1fr);
        }
    }

    #btn-2 {
      margin-left: 72rem;
    }
    
    
    @media (max-width: 500px) {
     

      #btn-2 {
        margin-left: 14rem;
        margin-top: -2rem;
      }

      .title-box {
        overflow: hidden;
      }

      #partners {
        overflow: unset;
      }

      .policies {
        display: flex;
        flex-direction: column;
        justify-content: unset;
        margin-inline: auto;
      }
      .card-container {
        display: flex;
        flex-direction: column;
      }


    
  }

  @media (max-width: 300px) {
     

    .policies a {
      display: flex;
      flex-direction: column;
      justify-content: unset;
      margin-inline: auto;
    }

  
}
      
    

    

     /*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;
      }
    }
    
    /*FADE IN FOR TEXTS*/
    
    .fade-in {
      -webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
              animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }
    /* ----------------------------------------------
     * Generated by Animista on 2023-1-27 12:9:52
     * Licensed under FreeBSD License.
     * See http://animista.net/license for more info. 
     * w: http://animista.net, t: @cssanimista
     * ---------------------------------------------- */
    
    /**
     * ----------------------------------------
     * animation fade-in
     * ----------------------------------------
     */
     @-webkit-keyframes fade-in {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    @keyframes fade-in {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    
      