* {
   font-size: 18px;
   margin: 0;
   padding: 0;
   font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   font-weight: 500;
}

:root {
   --color-primary: #01161e;
   --color-primary-light: #eff6e0;    
   --color-secondary: #aec3b0;
   --color-secondary-light: #6998aa;
   --color-secondary-dark: #125b78;
}


/* --- Stíluselemek --- */

body {
   background-color: var(--color-secondary-dark);
   color: var(--color-secondary-light);
}

h1 {
   text-align: center;
   font-size: 4rem;
   padding: 5rem 0;
   margin: auto;
   width: 60%;
}

h2 {
   font-size: 3rem;
   padding: 1rem 0;
   margin: 3rem;
}

h3{
   font-size: 1.3rem;
   padding: 1rem;
}

li {
   list-style: none;
}


/* --- Header --- */

header {
   position: sticky;
   top: 0;
   z-index: 1;
}

.logo {
   position: absolute;
   width: 330px;
   cursor: pointer;
   z-index: 2;
}

.navbar-list {
   display: flex;
   justify-content: flex-end;
   list-style: none;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background-color: var(--color-primary);
   visibility: visible;
}

.navbar-list li {
   padding: 2rem;
}

.navbar-list__data {
   color: var(--color-secondary-light);
   text-decoration: none;
   font-size: 1.2rem;
}

.navbar-list__data:hover {
   color: var(--color-primary);
   text-shadow: 1px 1px 15px var(--color-secondary-dark);
   scale: 1.2;
   transition: .5s;
}


/* --- Main --- */


/* --- About us --- */
.about-us {
   display: flex;
   width: 80%;
   margin: 2rem auto;
   padding: 2rem 0;
   background-color: var(--color-secondary-dark);
}

.main-img {
   width: 300px;
   border: 4px solid var(--color-secondary);
   margin: 0 3rem;
}

.about-us p {
   font-size: 1.5rem;
   text-align: justify;
   align-self: center;
   padding: auto;
   margin: 1rem 3rem;
}


/* Service */

.service-list {
   display: flex;
   justify-content: center;
}

.service-list li {
   padding-left: 1.5rem;
}

.service-list li img {
   width: 70px;
}

.service-p {
   padding-top: 1rem;
}

.service-div {
  text-align: center;
  margin: 1rem;
}

.service-img {
   width: 40vw;
   padding: 1rem;
}

/* --- Gallery --- */
.films {
   display: flex;
   overflow: auto;
   padding: 1rem;
   margin-bottom: 2rem;
   align-items: center;
   scroll-behavior: smooth;
}

main .films::-webkit-scrollbar {
   display: none;
}

.test-img {
   margin: .5rem;
   border-radius: .3rem;
   max-width: 280px;
   max-height: 200px;
   transition: .5s;
}

.test-img:hover {
   scale: 1.1;
   transition: .5s;
}

.backward,
.forward {
   z-index: 1;
   position: absolute;
   height: 5vw;
   min-height: 30px;
   opacity: .9;
   transition: transform .5s;
}

.forward {
   left: 92vw;
}

.backward {
   left: 2vw;
}

.forward:hover,
.backward:hover {
   transform: scale(2);
}

/* --- Contact --- */
form {
   text-align: center;
}

input {
   border-radius: 10px;
   padding-left: .5rem;
}

input::placeholder {
   color: var(--color-secondary);
}

textarea {
   width: 400px;
   height: 300px;
   max-width: 400px;
   max-height: 300px;
   padding-left: .5rem;
}

.form-button {
   font-size: 1.2rem;
   color: var(--color-secondary);
   background-color: var(--color-primary);
   width: 150px;
   height: 70px;
   margin: 1rem 0;
   cursor: pointer;
}

.form-button:hover {
   color: var(--color-primary);
   background-color: var(--color-secondary);
   transition: .8s;
}

/* --- Footer --- */
footer {
  background-color: var(--color-primary); 
  text-align: center;
}

.footer-links {
   display: flex;
   justify-content: center;
}

.footer-logo {
   width: 70px;
   margin: 1rem;
}

.footer-logo:hover {
   scale: 1.2;
   transition: .5s;
}

/* Hamburger Bar */

#menu__toggle {
   visibility: hidden;
}

.hamburger-button {
   display: flex;
   align-items: center;
   position: fixed;
   top: 20px;
   left: 30px;
   width: 40px;
   height: 40px;
   cursor: pointer;
   z-index: 1;
   visibility: hidden;
}

.hamburger-lines,
.hamburger-lines::before,
.hamburger-lines::after {
   display: block;
   position: absolute;
   width: 100%;
   height: 4px;
   background-color: var(--color-primary-light);
   transition-duration: 0.1s;
}

.hamburger-lines::before {
   content: "";
   top: -10px;
}

.hamburger-lines::after {
   content: "";
   top: 10px;
}

#menu__toggle:checked ~ .navbar-list {
   visibility: visible;
   top: 0;
}

#menu__toggle:checked ~ .hamburger-button .hamburger-lines {
   transform: rotate(45deg);
}

#menu__toggle:checked ~ .hamburger-button .hamburger-lines:before{
   display: none;
}

#menu__toggle:checked ~ .hamburger-button .hamburger-lines:after{
   top: 0;
   transform: rotate(90deg);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
}

.lightbox__close:hover {
   background: rgba(255,255,255,.3);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
}

.lightbox__arrow--left {
  left: 20px;
}

.lightbox__arrow--right {
  right: 20px;
}

.lightbox__arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Media queries */

@media (max-width: 480px)  
{ 
   /* kis mobilok felett */
   .about-us p {
      text-align: left;
   }
}

@media (max-width: 600px)  
{ 
   /* mobil → phablet/tablet */
   textarea {
      width: 80%;
   }
}

@media (max-width: 768px)  
{ 
   /* táblagépek álló */

   h2 {
      text-align: center;
   }

   .navbar-list {
      visibility: hidden;
      flex-direction: column;
      align-items: center;
      top: -300px;
      transition-duration: 1s ease;
      z-index: 2;
   }

   .hamburger-lines,
   .hamburger-lines::before,
   .hamburger-lines::after {
      transition-property: none;        
   }

   .hamburger-button {
      visibility: visible;
      z-index: 10;
   }

   .logo {
     visibility: collapse;
   }

   .service-img {
      width: 280px;
   }
}

@media (max-width: 1024px) 
{ 
   /* táblagépek fekvő / kisebb laptopok */
   
   .main-img {
      margin: auto;
   }

   .about-us {
      flex-direction: column;
   }
   
   .service-list {
      flex-direction: column;
      align-items: center;
   }

   .service-list li {
      padding: 0;
   }

   .service-p {
      padding: 0 0 1rem 0;
   }
}

@media (max-width: 1280px) 
{ 
   /* desktop */
}

@media (max-width: 1440px) 
{ 
   /* nagyobb desktop */
   .about-us {
      width: 100%;
   }
}

@media (max-width: 1920px) 
{ 
   /* FHD és felette */ 
}
