body {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  text-align: center;
  color: black;
  margin: 0;
  background-color: #F9FAFB;
}

#header {
  background-color: #999;
}

#main {
  background-color: #F9FAFB;
}

#error {
  background-color: red;
}

#footer {
  background-color: #999;
}


/* Dropdown menu CSS elemek*/
.topnav {
  overflow: hidden;
  background-color: #008dd2;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
  padding: 12px 8px;
  text-decoration: none;
  font-size: 15px;
}

.active img {
  height: 22.5px;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 15px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 8px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-lang {
  float: left;
  overflow: hidden;
}

.dropdown-lang .dropbtn-lang {
  font-size: 15px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 8px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content-lang {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 8px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content-lang a {
  float: none;
  color: black;
  padding: 12px 8px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn,
.dropdown-lang:hover .dropbtn-lang {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover,
.dropdown-content-lang a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content,
.dropdown-lang:hover .dropdown-content-lang {
  display: block;
}

.three-nav {
  display: flex;
  float: right;
}



@media screen and (max-width: 600px) {

  .topnav a:not(:first-child, .dropdown a, .dropdown-lang a, .icon),
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .dropdown,
  .topnav.responsive .dropdown-lang {
    float: none;
  }

  .topnav.responsive .dropdown-content,
  .topnav.responsive .dropdown-content-lang {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn,
  .topnav.responsive .dropdown-lang .dropbtn-lang,
  .topnav.responsive .menu-news,
  .topnav.responsive .menu-shop {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* Sötét mód kapcsoló */
.dark-mode-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 12px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 18px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: #2563eb;
}

input:checked+.toggle-slider:before {
  transform: translateX(10px);
}

/* Sötét mód stílusok */
.dark-mode {
  background-color: #1a202c;
  color: #e2e8f0;
}

.dark-mode #header,
.dark-mode #footer,
.dark-mode .topnav {
  background-color: #1a202c;
}

.dark-mode header,
.dark-mode .about-section {
  background-color: #2d3748;
  color: #e2e8f0;
}

.dark-mode #about,
.dark-mode #service,
.dark-mode #production,
.dark-mode #bar2021,
.dark-mode #szechenyi2020,
.dark-mode #contact,
.dark-mode #company,
.dark-mode #development {
  background-color: #1a202c;
}

.dark-mode .service-title h2,
.dark-mode .about-title h2 {
  color: #e2e8f0;
}

.dark-mode .development-box {
  background-color: #10618a;
}

.dark-mode .contact-bar {
  border-color: #4a5568;
  color: #a0aec0;
}

.dark-mode .company-info h1 {
  color: #e2e8f0;
}

.dark-mode .company-info p {
  color: #a0aec0;
}

.dark-mode .nav-link {
  color: #e2e8f0;
}

.dark-mode .service-card,
.dark-mode .lang-dropdown-content,
.dark-mode .project-card {
  background-color: #2d3748;
  color: #e2e8f0;
}

.dark-mode .service-card:hover {
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.dark-mode .service-icon,
.dark-mode .feature-icon,
.dark-mode .tag {
  background-color: #4a5568;
  color: #cbd5e0;
}

.dark-mode .service-card h3,
.dark-mode #about h3,
.dark-mode .project-content h3 {
  color: #e2e8f0;
}

.dark-mode .service-card p,
.dark-mode .about-text p,
.dark-mode .project-content p,
.dark-mode .feature-item p {
  color: #cbd5e0;
}

.dark-mode .shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dark-mode .lang-dropdown-content a {
  color: #e2e8f0;
}

.dark-mode .lang-dropdown-content a:hover {
  background-color: #4a5568;
}

.dark-mode .social-link {
  color: #a0aec0;
}

.dark-mode .social-link:hover {
  color: #e2e8f0;
}

.dark-mode .contact-social-content img {
  filter: invert(100%);
}

/* Tartalomhoz stílusok*/
/* Hero section */
.hero-main-gradient {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.hero-gradient {
  color: #ffffff;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.hero-main-container {
  display: flex;
  padding-left: 32px;
  padding-right: 32px;
  flex-direction: column;
  align-items: center;
}

.hero-container {
  display: flex;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}


.hero-main-title {
  margin-bottom: 2.5rem;
}

.hero-main-title h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.hero-main-title p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.hero-main-logo-title {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

.hero-main-logo-title h2 {
  display: flex;
}

.hero-buttons {
  display: flex;
  justify-content: center;
}

.hero-button-contact {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
  margin-right: 10px;
  border-width: 2px;
  font-weight: 700;
  color: #111827;
  background-color: #ffffff;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-duration: 300ms;
}

.hero-button-contact:hover {
  background-color: #999;
}

.hero-button-service,
.hero-button-production {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
  margin-right: 10px;
  border-width: 2px;
  border-color: #ffffff;
  font-weight: 700;
  color: #ffffff;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-duration: 300ms;
}

.hero-button-service:hover,
.hero-button-production:hover {
  color: #111827;
  background-color: #ffffff;
}

.hero-vertical-line {
  display: none;
  width: 2px;
  height: 200px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #ffffff;
}

.hero-vertical-line-2 {
  display: none;
  width: 2px;
  height: 200px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #ffffff;
}

.hero-palyazatok {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-palyazatok-logo {
  display: flex;
  width: 50%;
  align-items: center;
  justify-content: center;
}

.hero-logo-title,
.hero-tel-mail {
  display: flex;
  align-items: center;
}

.hero-logo-title h2 {
  padding-left: 10px;
  font-weight: bold;
}

.hero-tel-mail h2 {
  padding-left: 5px;
  padding-right: 10px;
}

.hero-tel-mail img {
  filter: invert(100%);
}

.hero-palyazatok-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-palyazatok-lista img {
  margin-top: 20px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 10px #aaaaaa;
  border-radius: 5px;
}

.hero-palyazatok-lista h3 {
  font-size: 14px;
}

@media (min-width: 1024px) {
  .hero-palyazatok {
    flex-direction: row;
  }

  .hero-vertical-line-2 {
    display: flex;
  }

}

@media (min-width: 768px) {

  .hero-main-container,
  .hero-container {
    flex-direction: row;
  }

  .hero-main-title {
    margin-bottom: 0;
    width: 50%;
  }

  .hero-palyazatok {
    width: 50%;
  }

  .hero-main-title h2 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-vertical-line {
    display: flex;
  }
}

/* About section */
#about {
  padding-top: 40px;
  padding-bottom: 20px;
  background-color: #F9FAFB;
}

.about-container {
  padding-left: 30px;
  padding-right: 30px;
}

.about-title {
  margin-bottom: 32px;
  text-align: center;
}

.about-title h2 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #111827;
}

.about-title-line {
  width: 96px;
  height: 4px;
  background-color: #6B7280;
  margin-inline: auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 16px;
}

.about-video {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.about-video img {
  padding-bottom: 50px;
  padding-right: 50px;
}

.about-text {
  text-align: left;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}


@media (min-width: 768px) {

  .about-video,
  .about-text {
    width: 50%;
  }

  .about-content {
    flex-direction: row;
  }
}

/* Funding section */
#bar2021,
#szechenyi2020 {
  padding-top: 80px;
  background-color: #F9FAFB;
}

.funding-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.funding-text {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  text-align: left;
  width: 100%;
}

.funding-text-data,
.funding-text h3,
.funding-text p {
  display: flex;
  padding-bottom: 7px;
  padding-top: 7px;
  padding-left: 5px;
  padding-right: 5px;
}

.funding-text h3 {
  font-weight: bold;
}

/* @media (min-width: 768px) {
  .funding-text {
    width: 100%;
  }
} */

/* Copmany section  */
#company {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #F9FAFB;
}

.company-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-text {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  text-align: left;
  width: 100%;
}

/* Service section */
#service,
#production,
#contact {
  padding-top: 40px;
  padding-bottom: 20px;
  background-color: #F9FAFB;
}

.service-container {
  padding-left: 16px;
  padding-right: 16px;
  margin-inline: auto;
}

.service-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  text-align: center;
  align-items: center;
}

.service-title h2 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #111827;
}

.service-title-line {
  width: 96px;
  height: 4px;
  margin-bottom: 40px;
  background-color: #6B7280;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 36px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  position: relative;
  padding: 32px;
  border-radius: 8px;
  background-color: #ffffff;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-duration: 300ms;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.service-card-number {
  display: flex;
  margin-bottom: 1.5rem;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  width: 4rem;
  height: 4rem;
  background-color: #E5E7EB;
  color: #111827;
  font-size: 30px;
  font-weight: bold;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #111827;
}

.service-card p {
  color: #374151;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer section */

.footer-gradient {
  color: #ffffff;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.footer-container {
  display: flex;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 20px;
  padding-left: 20px;
  flex-direction: column;
  align-items: center;
}

.footer-container h3 {
  font-weight: bold;
  padding-bottom: 10px;
}

.footer-information {
  display: flex;
  padding-bottom: 30px;
  flex-direction: column;
  text-align: left;
  width: 300px;
}

.footer-qrcode {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  width: 300px;
}

.footer-social-icons {
  display: flex;
  padding-bottom: 40px;
  justify-content: center;
}

.footer-social-icons img {
  width: 50px;
  padding-left: 10px;
  padding-right: 10px;
  filter: invert(100%);
}

@media (min-width: 1024px) {

  .footer-container {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }
}

/* Contact section */

.contact-social-container {
  display: flex;
  flex-direction: column;
}

.contact-social-content {
  padding-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact-social-content-text {
  align-items: center;
  text-align: left;
}

.contact-social-content-text p {
  font-weight: bolder;
}

.contact-social-content-text a {
  color: #2563eb;
  text-decoration: underline;
}

.contact-social-content img {
  width: 50px;
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

#development {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #F9FAFB;
}

.development-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: 40%;
}

.arrow-container svg {
  transform: rotate(90deg);
}

.development-box-container-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.development-box-container-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.development-box-container-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.development-box {
  display: flex;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  background-color: #8ad8ff;
  width: 200px;
  height: 300px;
  border-radius: 10%;
}

.development-box h2 {
  font-size: 20px;
  font-weight: bold;
}


.development-box-line {
  width: 80px;
  height: 4px;
  background-color: #000000;
  margin-inline: auto;
  margin-top: 5px;
  margin-bottom: 30px;
}

.development-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 16px;
}

.development-text {
  padding-bottom: 40px;
  text-align: left;
  max-width: 1200px;
}

.development-img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {

  .development-figure {
    flex-direction: row;
  }

  .development-box-container-left {
    align-items: end;
  }

  .development-box-container-center {
    align-items: center;
  }

  .development-box-container-right {
    align-items: start;
  }

  .arrow-container {
    display: flex;
    flex-direction: column;
  }

  .arrow-container svg {
    transform: rotate(0deg);
  }
}

/* References section */

.references-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 36px;
}

.reference-card-img {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  border-bottom: 20px;
}

.reference-card-date {
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  bottom: 5px;
  right: 10px;
}

@media (min-width: 960px) {
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}