* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
  }
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: black !important;
  }
  nav {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5),transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    height: 10%;
    padding: 0 20px;
    position: fixed;
    z-index: 3;
    width: 100%;
  }
  nav .mainMenu {
    display: flex;
    list-style: none;
  }
  nav .mainMenu li a {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    font-size: 16px;
    transition: 0.2s ease;
  }
  nav .mainMenu li a:hover {
   text-decoration: underline;
   text-decoration-thickness: 2,5px;
   text-underline-offset: 4px;
  }

  
  nav .openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
    color: white;
  }
  nav .mainMenu .closeMenu,
  .icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
    color: white;
  }
  .fa-facebook:hover {
    color: rgb(0, 110, 255);
  }
  .fa-instagram:hover {
    color: rgb(255, 0, 68);
  }
  nav .logo {
    margin: 6px;
    cursor: pointer;
    text-transform: uppercase;
  }

  .navinstalogo {
    color: white;
    padding-top: 2%;
    font-size: 30px;
  }

  .navinstalogo i {
    padding: 2px;
  }


  @media (max-width: 800px) {
    .csomagok,h1{
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    nav .mainMenu {
      height: 100vh;
      position: fixed;
      top: 0px;
      right: 0px;
      left: 0px;
      z-index: 10;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: rgb(0, 0, 0);
      transition: top 1s ease 0s;
      display: none;
    }
    nav .mainMenu .closeMenu {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
    }
    nav .openMenu {
      display: block;
      margin-left: 80%;
    }
    nav .mainMenu li a:hover {
      background: none;
    }
    .icons i {
      display: inline-block;
      padding: 12px;
      color: white;
    }
    .navinstalogo {
      display: none;
    }
    .Logo {
      display: none;
    }

  }
  /*NAVBAR VÉGE*/

  /*logó + első oldal a képekkel */

  @keyframes elotuntetes {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      
    }
  }
  
  .elotuntetes {
    opacity: 0;
    animation: elotuntetes 2s ease-in-out 2s forwards;
  }

.gallery {
    margin: 0;
    background: black;
    overflow: hidden;
    animation: moveUpAndRestart 100s linear infinite normal;
}
@keyframes moveUpAndRestart {
    0% {
        transform: translateY(0);
       
    }
    50% {
        transform: translateY(-50vh);
    }
    100% {
        transform: translateY(-100vh);
    }

}

img {
    max-width: 100%;
    height: auto;
}

.gallery {
    margin:  0 0.1rem;
}

.gallery-item {
    height: auto;
    margin: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: row;
    }

    .gallery > *:nth-child(2),
    .gallery > *:nth-child(5),
    .gallery > *:nth-child(8), 
    .gallery > *:nth-child(11), 
    .gallery > *:nth-child(14), 
    .gallery > *:nth-child(17), 
    .gallery > *:nth-child(20), 
    .gallery > *:nth-child(23), 
    .gallery > *:nth-child(26), 
    .gallery > *:nth-child(29) {
        transform: translateY(-150px); /* Középső sor lejjebb tolása */
    }

    .logo {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 2;
    }

    @media (max-width: 640px) {
        .gallery {
            margin: 0;
            background: black;
            overflow: hidden;
            animation: moveUpAndRestart 100s linear infinite normal;
        }
        @keyframes moveUpAndRestart {
            0% {
                transform: translateY(0);
               
            }
            50% {
                transform: translateY(-50vh);
            }
            100% {
                transform: translateY(-100vh);
            }
        
        }
    }
  
