html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}
h1 {
  text-align: center;
  color: white;
  font-size: 4rem;
}
h2 {
  color: #f8f8f7;
  text-align: center;
}

ul li {
  list-style: none;
}

.s1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../images/bg.webp);
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 100vh; /* Példa: a div teljes magasságot elfoglalja */
}
#pd {
  background-color: rgba(0, 0, 0, 0.8);
}

.s1 h1 {
  font-size: 6rem;
  background-color: rgba(0, 0, 0, 0.5);
}
.s1 h2 {
  font-size: 3rem;
  background-color: rgba(0, 0, 0, 0.5);
}
.s2 {
  background: url(../images/2.webp);
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 100vh; /* Példa: a div teljes magasságot elfoglalja */
}
.s3 {
  background: url(../images/3.webp);
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 100vh; /* Példa: a div teljes magasságot elfoglalja */
}

.s4 {
  background: url(../images/4.webp);
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 100vh; /* Példa: a div teljes magasságot elfoglalja */
}
.s5 {
  background: url(../images/5.webp);
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 100vh; /* Példa: a div teljes magasságot elfoglalja */
  z-index: 2;
}
.s6 {
  background-color: black;
  background-size: cover; /* A kép kitölti a teljes divet arányosan */
  background-position: center; /* A kép középre igazítása */
  background-repeat: no-repeat; /* Nem ismétlődik a kép */
  width: 100%; /* Biztosítja, hogy a div teljes szélességben jelenjen meg */
  height: 110%; /* Példa: a div teljes magasságot elfoglalja */
  color: white;
}
.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.fp-warning,
.fp-watermark a {
  display: none;
}
.slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.abus {
  width: 60%;

  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin-left: 20%;

  background-color: rgba(0, 0, 0, 0.8);
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.logo img {
  width: 18%;
  height: auto;
}
.video {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.video2 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logoszeles {
  width: 300px;
  height: auto;
}
.logonegyzet {
  width: 300px;
  height: auto;
}

.cookies {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 80vw;
  height: 60vw;
  perspective: 1000px;
}

.card {
  width: 50%;
  height: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  bottom: 5%;
}
.card img {
  width: 350px;
  height: 300px;
}

.card-container:hover .card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
}

.card-front {
  background: rgba(0, 0, 0, 0.6);
}

.card-back {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
}

.footer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 20%;
}
.media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.developer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.media img {
  width: 90px;
}
.endlogo img {
  width: 100px;
}

/*cookies*/
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 70%;
  font-size: 14px;
}

#cookie-banner a {
  color: #90caf9;
  text-decoration: underline;
}

#accept-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 20px;
  flex: 1 1 20%;
}

#accept-btn:hover {
  background-color: #45a049;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  #accept-btn {
    margin: 15px 0 0 0;
    width: 100%;
  }
}
/* Extra nagy képernyők (asztali monitorok, max 1400px) */
@media (max-width: 1400px) {
  /* Ide írd a stílusokat */
}

/* Nagy képernyők (laptopok, max 1200px) */
@media (max-width: 1200px) {
  /* Ide írd a stílusokat */
}

/* Közepes képernyők (tabletek, max 992px) */
@media (max-width: 992px) {
  /* Ide írd a stílusokat */
}

/* Kis képernyők (mobilok, max 768px) */
@media (max-width: 768px) {
  /* Ide írd a stílusokat */

  .section h1 {
    font-size: 3rem;
  }
  .section h2 {
    text-align: center;
    color: white;
    font-size: 1rem;
  }
  
  .section h3 {
    text-align: center;
    color: white;
    font-size: 0.5rem;
	padding: 1rem;
  }
  
  .section h4 {
    text-align: center;
    color: white;
    font-size: 0.5rem;
	padding: 1rem;
  }
  .card{
	  display: flex;
	  flex-direction:row;
	  flex-wrap:wrap;

	  justify-content:center;
	  align-items:center;
	  min-width:max-content;
	  height: max-content;
	  padding: 1rem;
  }
}

/* Extra kis képernyők (kis mobilok, max 576px) */
@media (max-width: 576px) {
  /* Ide írd a stílusokat */

  .section h1 {
    font-size: 2rem;
  }

  .card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 80vw;
    height: 80vw;
    perspective: 1000px;
  }

  .card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }

  .card-container:hover .card {
    transform: rotateY(180deg);
  }

  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
  }

  .card-front {
    background: url("https://via.placeholder.com/200x300") no-repeat
      center/cover;
  }

  .card-back {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
  }
}
