

:root {
  --font-size-h4: 18px;
  --font-size-p: 22px;
	--clr-bg-pg2: #fafad2 ;/*linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);*/
  --font-family-page: 'Lora';
  --clr-nav-item-main: #ffff;
	
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth; 
    font-family: 'Lora';
    
}


body {
  min-height: 100vh;
  width: 100%;
  font-size: 12px;
  font-family: var(--font-family-page);
	background: #FFFDD0;
  margin: 0;
  padding: 0;
}




.layout-helper {
  width: 1140px;
  max-width: 80%;
  height: 100%;
  display: grid;
  place-content: center;
  margin-inline: auto;
  padding-block: 3rem;
  text-align: justify;
}

/*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);
  
}

#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;
  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;
  }
  
/*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*/

/*NAVBAR*/

nav, .footer-container {
  width: min(90%, 1180px);
  display: flex;
  position: relative;
}

nav {
  justify-content: space-between;
  
}

nav ul {
  display: flex;
  gap: 1rem;
  margin-top: 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: 20px;
  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;
}




.main-page {
	min-height: 600px;
  margin-top: 60px;
  width: 100%;
  min-height: 400px;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  padding-left: 30px;
  padding-right: 30px;
  background-color: rgba(249, 198, 26, 0.88);
  border: 2px solid yellow;
}


.text {
text-align: justify;
}



h1 {
text-align: center;
margin: 40px 0 40px;
font-size: 50px;
color: #000;


}

h2::not(#GDPR, #cookie, #impressum) {
text-align: center;
margin: 40px 0 40px;
font-size: 40px;
color: #000;
}

#impressum h2, #cookie h2, #GDPR h2 {
  color: #fff;
  font-size: 20px;
}

#references {
text-align: center;
margin: 40px 0 40px;
font-size: 40px;
color: #000;
}




p {
    text-align: justify;
    font-family: 'Roboto Mono', 'sans-serif';
    font-size: 20px;
    line-height: 2.5rem;
    text-align: justify;
}



img {
  max-width: 500px;
  max-height: 500px;
}

/*GALLERY*/


input {
  width: 450px;
  border: 2px solid rgb(207, 207, 207);
  border-radius: 6px;
  height: 50px;
  padding-left: 10px;
}

.input-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

input::placeholder {
  font-size: 16px;
  opacity: 0.4;
}

input:focus {
  outline-color: rgb(124, 176, 236);
}


/* GALLERY*/

.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0px 60px 0px;
  overflow: hidden;
}

h2 {
  margin: 10px 0px 30px 0px;
  font-size: 50px;
}

.gallery {
  display: grid;
  width: 90%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(auto-fit, min-height(300px));
  grid-gap: 10px;
  place-items: center;
  background-color: rgba(249, 198, 26, 0.88);
  overflow: hidden;
  border: 2px solid yellow;
  
}

.gallery__item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  width: 300px;       /*a width és a height nem volt benne most 100% widht és 300px height*/
  height: 300px;
}

.gallery__item img {   /*a width és a height is 100% volt  most 300px mindkettő*/
  width: 300px;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  transition: 0.3s ease-in-out;
  border: 2px solid #000;
  
}

.gallery__item img:hover {
  transform: scale(1.1);
}

/*Image modal*/

.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.733);
  margin-top: -1px;
  animation: zoom 0.3s ease-in-out;
}

@keyframes zoom {
  from {
      transform: scale(0);
  }
  to {
      transform: scale(1);
  }
}
.modal img {
  width: 50%;
  object-fit: cover;
  z-index: 1;
  
}

.closeBtn {
  background-color: #ff0000;
  color: rgba(255, 255, 255, 0.87);
  font-size: 35px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.closeBtn:hover {
 
  color: rgb(255, 255, 255);
}


/*NAV BUTTONS*/

.btn-box-bigbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-transform: unset;
  justify-content: space-between;
  margin-inline: auto;
  margin-bottom: 2rem;
  width: 100%;
  font-size: 5px;
  
}

.btn-box {
  display: flex;
  flex-direction: column;
  max-width: fit-content;
  height: auto;
  margin-inline: auto;
}

#rollarrowleft, #rollarrowup, #rollarrowright {
  width: fit-content;
  overflow: hidden;
}

button {
  background-color:orange;
  color: black;
  padding: 10px;
  border: 3px solid black;
  font-size: 12px;
  text-transform: uppercase;
  width: fit-content;
  transition: all 0.3s linear;
}

button a {
  text-decoration: none;
  color: #000;
}

button:hover {
  background-color:yellow;
  color: black;
  transform: scale(1.2);
  border-radius: 14px;

}


/*FOOTER STYLE*/

footer {
  width: 100%;
  background-color: #000;
  padding-block: 4rem;
  color: var(--clr-nav-item-main);
}

.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;
  grid-column: span 2;
}

.footer-top {
  width: 100%;
  display: flex;
  margin-bottom: 1rem;
  gap: 2rem;
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  margin-inline: auto;
}

/*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;
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;
  }

  .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;
    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 {
      /*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: 1280px) {

  .hamburger {
    display: block;
  }
  
  #desktop-menu {
    display: none;
  }

  .gallery {

    grid-template-columns: repeat(3, 1fr);
}

}

@media (max-width: 1024px) {
 

 /* .floating-btn {
    margin-right: 5rem;
  }*/

}




@media (max-width: 900px) {


	footer nav ul {
    flex-direction: column;
		
	}

  footer nav ul li a {
    font-size: 15px;
    padding: 15px;
  }
}

@media (max-width: 750px) {

  .gallery {

    grid-template-columns: repeat(2, 1fr);
}


  
  .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: 600px) {

  .section-top img {
    width: 100%;

  }

  article {
    overflow: hidden;
  }

 

  p {
    line-height: 1.5rem;
    font-size: 16px;
  }
  .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) {




  .gallery {
    grid-template-columns: repeat(1, 1fr);
}
.gallery .gallery__item {
  width: 100%;
}


  .input-container {
    width: 80%;
  }

  .policies {
        display: flex;
        flex-direction: column;
        justify-content: unset;
        margin-inline: auto;
      }

      

}




@media (max-width: 480px) {

  .gallery {
    display: flex;
    flex-direction: column;
  }
  .modal img {
    width: 100%;
    object-fit: cover;
    
  }

    input::placeholder {
      font-size: 13px;
    }
      
}




@media (max-width: 400) {
  .gallery {
    display: flex;
    flex-direction: column;
  }

  .modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
  }

  @keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(2);
    }
  }
  .modal img {
    width: 100%;
    object-fit: cover;
    
  }

}

@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;
  }
}

/*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;
  }
}

