/*CSS RESET*/

*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-size: 18px;
    --bg-color-flt-btn: yellow;
}


body {
    width: 100%;
    height: 100%;
}

.floating-btn {
  position: fixed;
  bottom: 3.5vh;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 100;
  background-color: var(--bg-color-flt-btn);
  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;
} 


a {
    text-decoration: none;
    color: inherit;
}

/*HEADER STYLE*/

header {
    width: 100%;
    height: 100px;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    
}



/*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;
  }
  
  /*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*/

/*NAV-FOOTER*/

nav, .footer-container {
    width: min(90%, 1200px);
    display: flex;
    margin-inline: auto;
    position: relative;
}

nav {
    margin-inline: unset;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
    left: 2.5rem;
    gap: 1rem;
    margin-top: -2.5rem; 
    margin-left: 2rem;
}


.nav-item a {
    color: var(--clr-nav-item-main);
    list-style: none;
    text-transform: uppercase;
    font-size: 20px;
    height: 100%;
    text-decoration: none;
    position: relative;
    margin: .5em .8em;
    padding: 10px;
}



nav ul {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    margin-top: 3.5rem;
}

nav ul li {
    text-transform: uppercase;
    list-style: none;
}

.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 ul li a:hover {
    color: yellow;
}



/*Logo*/

.logo {
  top: 0;
  left: 0;
  width: 140px;
  height: 90px;
  position: absolute;
}

.logo img {
  
  position: absolute;
  width: fit-content;
  height: 90px;
  
    
}

/*CAROUSEL SSTYLE*/
/*ha négy képünk van akkor ez 200 vw lesz*/

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
   

}

.carousel-images {
    transition: all 0.8s ease;
    width: 600vw; /*700-zal és 800-zal is működik*/
    display: flex;
    height: 100%;
    
    /*transform: translateX(-200vw);*/

}

.carousel-images img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.btn-container {
    position: absolute;
    display: flex;
    width: 100px;
    justify-content: space-between;
    bottom: 10vh;
    left: calc(50% - 75px);
}

.btn {
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;

}

.btn:hover {
    cursor: pointer;
}

.btn img {
    width: 100%;
    height: 100%;
}

/*FOOTER STYLE*/

footer {
    width: 100%;
    background-color: #000;
    padding-block: 4rem;
    color: white;
    font-size: 20px;
}

footer h4 {
  margin-bottom: 1rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  gap: 2rem;
    
}

.footer-container nav ul {
    flex-direction: column;
}

.footer-container nav ul li a:hover {
  color:#fdcd3b;
}

.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;
  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%;
}

.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;
}

/*MOBILE MENU*/
.mobile-menu {
	display: none;
}

.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;
    z-index: 100;
  }

  .mobile-menu-on {
    display: flex; /**/
    transform: translate(0);
  }

  .m-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    font-size: 1.4rem;
     list-style: none;
  }

  .m-menu li a {
    line-height: 2;
    font-size: 24px;
    text-transform: uppercase;
  }



   /*hamburger icon*/
   
  
   .hamburger {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    left: 0;
    margin-left: 2rem;
    margin-top: -2rem;
    
  
    
  }

  .hamburger:hover {
    border: 6px solid;
    border-color: yellow;
    width: 43px;
  }
    .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;
  }

  /*RESPONSIVE VERSION*/

@media (max-width: 1200px) {

  nav {
    max-width: 100%;
    
  }

  nav ul li {
    padding: 15px;
    font-size: 20;
  }
	

  .hamburger {
    display: block;
  }
  
  #desktop-menu {
    display: none;
  }


}

@media (max-width: 900px) {
  
	footer nav ul {
    flex-direction: column;
		
	}

  footer nav ul li a {
    font-size: 15px;
    padding: 15px;
  }
}

@media (max-width: 750px) {
  .footer-container {
    display: flex;
    flex-wrap: wrap;
  }



  footer nav ul li a {
    font-size: 10px;
    padding: 15px;
  }


  .text-container p {
    font-size: 10px;
  }
}




@media (max-width: 500px) {
	.policies {
        display: flex;
        flex-direction: column;
        justify-content: unset;
        margin-inline: auto;
      }
   
}




