@font-face {
  font-family: 'Basic Sans'; /* Ezt a nevet használjuk a CSS-ben */
  src: url('./fonts/BasicSans-RegularIt.ttf') format('truetype'), /* TTF formátum */
       url('./fonts/fonts.com-Basic_Sans_Regular.otf') format('opentype'), /* OTF formátum */
       url('./fonts/FontsFree-Net-fbb2db09-ad15-4458-b437-c5e9dba2d145.ttf') format('truetype'); /* Másik TTF fájl */
  font-weight: normal;
  font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
  }
  body {
     font-family: 'Bebas Neue', sans-serif;
     background-image: url('/img/Réteg\ 2.jpg');
     background-size: cover;
     height: 100vh;
     margin: 0;
  }

  .Logo img {
    height: 80px;
    margin: 20px 0 0 0;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: normal;
    height: 10%;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    width: 100%;
  }
  nav .mainMenu {
    display: flex;
    list-style: none;
    color: white;
    margin-top: 0px;
  }
  nav .mainMenu li a {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    font-size: 20px;
    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: rgb(0, 0, 0);
  }
  nav .mainMenu .closeMenu,
  .icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
    color: rgb(0, 0, 0);
  }
  .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: rgb(0, 0, 0);
    padding-top: 2%;
    font-size: 30px;
  }

  .navinstalogo i {
    padding: 2px;
  }

  .main-title {
    font-size: 62px;
    text-transform: uppercase;
    text-align: center;
    margin: 46px 0;
}

.header {
    display: flex;
    background-color: #ffffff;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 36px;
    text-transform: uppercase;
    margin-left: 16px;
    letter-spacing: 2px;
}

.header__nav ul {
    display: flex;
    list-style-type: none;
    font-size: 18px;
    gap: 16px;
}

.header__nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 14px;
    border-radius: 6px;
}

.header__nav a:hover {
    text-decoration: underline;
}

a.header__nav--active {
    background-color: #cbe300;
    color: #0c1014;
    pointer-events: none;
}



  @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(255, 255, 255);
      transition: top 1s ease 0s;
      display: none;
    }
    nav .mainMenu .closeMenu {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
    }
    nav .openMenu {
      display: block;
      margin-left: 90%;
    }
    nav .mainMenu li a:hover {
      background: none;
    }
    .icons i {
      display: inline-block;
      padding: 12px;
      color: rgb(0, 0, 0);
    }
    .navinstalogo {
      display: none;
    }
    .Logo {
      display: none;
    }

    .pricing {
      flex-direction: column;
    }
  }
  /*NAVBAR VÉGE*/

.container {
  color: rgb(0, 0, 0);
  z-index: 2;
  margin-top: 50px;
}

h1, h2, p, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.hero {
  height: calc(100vh - 80px); /* Header levonásával teljes képernyő */
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 50px;
}

.hero .text-container {
  max-width: 500px;
  text-align: left;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #5a3d3c;
}

.hero h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #5a3d3c;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5a3d3c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/*Hero 2*/

.hero2 {
  height: calc(100vh); /* Header levonásával teljes képernyő */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 50px;
  background-image: url('/img/Rajztábla 2.jpg');
  background-size: cover;
}

.hero2 .text-container {
  max-width: 500px;
  text-align: right;
  margin-left: auto;
  flex: 1;
}

.hero2 h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #5a3d3c;
}

.hero2 h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #5a3d3c;
}

.hero2 p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero2 .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5a3d3c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/*****************************/


/*Hero 3*/

.hero3 {
  height: calc(100vh - 80px); /* Header levonásával teljes képernyő */
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 50px;
}

.hero3 .text-container {
  max-width: 500px;
  text-align: left;
}

.hero3 h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #5a3d3c;
}

.hero3 h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #5a3d3c;
}

.hero3 p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero3 .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5a3d3c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}


/*Hero 4*/

.hero3 {
  height: calc(100vh - 80px); /* Header levonásával teljes képernyő */
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 50px;
}

.hero3 .text-container {
  max-width: 500px;
  text-align: left;
}

.hero3 h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #5a3d3c;
}

.hero3 h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #5a3d3c;
}

.hero3 p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero3 .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5a3d3c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/************************/
/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.9rem;
}

/* Contact container */
.contact {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(2, auto); /* Két oszlop */
  gap: 10px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.9); /* Fehér háttér */
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact item */
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #5a3d3c; /* Sötétbarna */
}

/* Ikonok stílusa */
.contact-item i {
  font-size: 1.2rem;
  color: #5a3d3c; /* Ikonok színe */
}

/* Carousel container */
.carousel {
  display: flex; /* Flexbox elrendezés */
  justify-content: center; /* A carousel középre igazítása */
  align-items: center; /* Képek függőleges középre igazítása */
  width: 25%; /* A szélesség 100% */
  height: auto; /* A carousel magassága */
  overflow: hidden; /* A túlcsorduló képek elrejtése */
  position: relative; /* Az absolute pozíciók elkerülése */
  padding: 0; 
  margin: 0 0 0 300px;
  border: 10px solid white;  
}

/* Carousel képek konténere */
.carousel-images {
  display: flex; /* Képek egymás mellé helyezése */
  flex-direction: row; /* Képek vízszintes irányba igazítása */
  width: 300%; /* Három kép elhelyezése egymás mellett */
  transition: transform 1s ease; /* A képek váltakozása animációval */
}

/* Egyedi képek */
.carousel-images img {
  width: 100%; /* Kép szélessége, hogy kitöltse a konténert */
  height: 100%; /* A képek magassága is 100% */
  object-fit: cover; /* A képek arányait megőrzi */
}

/* Animáció: Az első kép kezdő időpontja */
.carousel-images img:nth-child(1) {
  animation: fade 6s infinite 0s;
}

/* Animáció: A második kép kezdő időpontja */
.carousel-images img:nth-child(2) {
  animation: fade 6s infinite 6s;
}

/* Animáció: A harmadik kép kezdő időpontja */
.carousel-images img:nth-child(3) {
  animation: fade 6s infinite 12s;
}

.carousel-images img:nth-child(4) {
  animation: fade 6s infinite 18s;
}

.carousel-images img:nth-child(5) {
  animation: fade 6s infinite 24s;
}

.carousel-images img:nth-child(6) {
  animation: fade 6s infinite 30s;
}

.carousel-images img:nth-child(7) {
  animation: fade 6s infinite 36s;
}

.carousel-images img:nth-child(8) {
  animation: fade 6s infinite 42s;
}

.carousel-images img:nth-child(9) {
  animation: fade 6s infinite 48s;
}

.carousel-images img:nth-child(10) {
  animation: fade 6s infinite 54s;
}

.carousel-images img:nth-child(11) {
  animation: fade 6s infinite 60s;
}


@media (max-width: 800px) {
  .hero h1{
    text-align: left;
  }
  .hero2 h1{
    text-align: right;
  }
  .hero3 h1{
    text-align: left;
  }
  .carousel{
    display: none;
  }
}

.carousel {
  position: relative;
  width: 350px; /* Vagy pl. 600px, ha fix méret kell */
  height: 500px; /* A képméretnek megfelelően */
  overflow: hidden;
}

.carousel-images {
  position: flex;
  width: 100%;
  height: 100%;
}

.carousel-images img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 6s ease-in-out;
}

.carousel-images img.active {
  opacity: 1;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 6s infinite; /* Animáció időtartama itt 10 másodperc */
}


@media (max-width: 768px) {
  .hero, .hero2, .hero3 {
      display: flex;
      flex-direction: column; /* A szöveg és képek egymás alá kerülnek */
      align-items: center; /* Igazítjuk a tartalmat középre */
      justify-content: center; /* Középre igazítjuk a szöveget és képeket */
      text-align: center;
      padding: 20px; /* Kis belső margó */
  }

  .hero{
    height: 120vh;
  }

  .carousel {
      width: 100%;
      height: 600px; /* Korlátozzuk a carousel szélességét */
      margin-top: 20px; /* Kis távolság a szövegtől */
      display: block;
      max-width: 400px;
      margin: 0px; /* Maximális szélesség */
  }

  .carousel-images {
      display: block; /* A képek blokk szinten jelennek meg */
      width: 100%;
      margin: 0px;
      padding: 0px;
      object-fit: cover; /* A képek szélessége teljes szélességben */
  }

  .carousel-images img {
      width: 100%; /* Kép szélesség 100% */
      height: auto;
      margin: 0px;
      padding: 0px;
      object-fit: cover;
      left: 0;  /* Ne toljuk el */
      top: 0;   /* Ne toljuk el */ /* Kép magassága automatikus */
  }

  .text-container {
      width: 100%; /* A szöveg teljes szélességet foglal el */
      margin-bottom: 20px; /* Kis távolság a szövegtől */
  }

  h1{
    font-size: 30px !important;
  }

  h2{
    font-size: 25px !important;
  }

  .text-container{
    margin-top: 40px;
  }

 .emptyspace {
  height: 150px;
 }
 
}

#carousel4 {
 width: 600px;
 height: 400px;
}

#carousel4 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* nem torzul, kitölti a keretet */
  display: block;
}


#carousel4 .carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#carousel4 .carousel-images img.active {
  opacity: 1;
  z-index: 1;
}

/* Mobilra optimalizált */
@media (max-width: 768px) {
  #carousel4 {
      width: 400px;
      height: 270px;
  }
}