/* Global Styles */
body {
  margin: 0;
  font-family: 'Rockwell Nova', sans-serif;
  background: #121212;
  color: #ffffff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1e1e1e;
  height: 180px;
  padding: 20px;
  transition: all 0.5s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s ease;
}

.logo {
  font-size: 2em;
  font-family: 'Chakra Petch', sans-serif;
  margin: 0;
  transition: font-size 0.5s ease;
}

.tagline {
  margin: 0;
  line-height: 1.2;
  transition: opacity 2s ease-in-out;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: opacity 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1em;
  transition: color 2s;
  margin: 5px 0;
}

.nav-links a:hover {
  color: #00bcd4;
}

.lang-button {
  margin-bottom: 10px;
  transition: opacity 1s ease;
}

/* Shrink effect - amikor görgetünk */
header.shrink {
  height: 60px;
  padding: 10px 20px;
}

header.shrink .logo {
  font-size: 1.5em;
  line-height: 60px; /* A sáv közepén helyezkedik el a felirat */
}

header.shrink .tagline,
header.shrink .nav-links,
header.shrink .lang-button {
  opacity: 0;
  pointer-events: none; /* Nem zavarják a kattinthatóságot */
}

/* Main Content */
.main-container {
  /* Eltolás a sticky header miatt */
  padding: 200px 20px 100px;
  text-align: center;
}

.main-heading {
  font-size: 3em;
  font-family: 'Chakra Petch', sans-serif;
  margin-bottom: 20px;
}

.main-container p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto;
}

/* Video element optimalizálása */
.main-container video {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* Footer */
footer {
  position: sticky;
  bottom: -40px;
  height: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  text-align: center;
  padding:  20px ;
  background: #1e1e1e;
}

/* Responsive Design for smaller screens */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 15px;
  }

  .header-left {
    align-items: center;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: row;
    justify-content: center;
  }

  .nav-links a {
    margin: 0 10px;
  }

  .main-container {
    padding: 150px 15px 80px;
  }

  .main-heading {
    font-size: 2em;
  }

  .main-container p {
    font-size: 1em;
    max-width: 90%;
  }
}

@media screen and (max-width: 480px) {
  header {
    padding: 10px;
  }

  .logo {
    font-size: 1.8em;
  }

  .main-heading {
    font-size: 1.8em;
  }

  .nav-links a {
    font-size: 0.9em;
    margin: 0 5px;
  }
}