body {
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-family: Verdana, sans-serif;
  position: relative;
}

@media (max-width: 768px) {
  body {
    background-image: url(../akku/akku.webp);
  }
}

@media (min-width: 769px) {
  body {
    background-image: url(../akku/akku.webp);
  }
}

h1, h2, h3 {
  line-height: 20px;
  margin-top: 0;
  font-weight: 700;
  color: #000000; /* Fekete */
  font-size: 12px;
}

h1 {
  margin-bottom: 0;
}

h2, h3 {
  margin-bottom: 1em;
}

.image-block, .text-block {
  line-height: 1.6;
  color: #333333; /* Sötétszürke */
  font-size: 12px;
}

.blue-line {
  width: 100%;
  max-width: 811px; /* a wrapper max szélessége */
  margin: 0 auto;
  background-color: #439BBC; /* Világoskék */
  color: white;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 6px 0;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.blue-line a {
  color: white !important;
  text-decoration: none; /* vagy amit szeretnél, pl. none, ha nem akarod aláhúzva */
}

.blue-line a:hover,
.blue-line a:focus {
  color: #e0e0e0 !important; /* opcionális: világosabb fehér szín hoverre */
  text-decoration: underline;
}

.wrapper {
  max-width: 811px;
  margin: 0 auto;
  background-color: #FFFFFF; /* Fehér */
}

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 20px;
}

.image-block {
  flex: 1 1 300px;
}

.image-block figure {
  margin-bottom: 30px;
}

.image-block figure:last-child {
  margin-bottom: 0;
}

.text-block {
  flex: 2 1 400px;
}

.horizontalcssmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  background: #800000; /* Sötétvörös */
  align-items: stretch;
}

.horizontalcssmenu ul li {
  flex: 1 1 0;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
}

.horizontalcssmenu ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 12px 16px;
  color: #FFFFFF; /* Fehér */
  text-decoration: none;
  font: bold 12px Verdana, sans-serif;
  border-right: 1px solid #FFFFFF; /* Fehér */
  background: #800000; /* Sötétvörös */
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease; /* HOVER ANIMÁCIÓ */
}

.horizontalcssmenu ul li a:hover,
.horizontalcssmenu ul li ul li a:hover {
  background: #EECC99; /* Világossárga */
  color: #000000; /* Fekete */
}

.horizontalcssmenu ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 999;
  background: #EECC99; /* Világossárga */
  border: 1px solid #FFFFFF; /* Fehér */
}

.horizontalcssmenu ul li:hover > ul,
.horizontalcssmenu ul li ul li,
.horizontalcssmenu ul li:focus-within > ul {
  display: block;
}

.horizontalcssmenu ul li ul li a {
  padding: 10px 12px;
  font-size: 12px;
  background: #EECC99; /* Világossárga */
  color: #800D0D; /* Sötétvörös */
  border-bottom: 1px solid #FFFFFF; /* Fehér */
  text-align: left !important;
  display: block !important;
  justify-content: normal !important;
  align-items: normal !important;
}

.horizontalcssmenu ul li ul li a:hover {
  background: #800D0D; /* Sötétvörös */
  color: #FFFFFF; /* Fehér */
}

@media (max-width: 768px) {
  body {
    background-image: url(../akku/accu.webp);
  }

  .horizontalcssmenu ul {
    flex-direction: column;
    background: #800000; /* Sötétvörös, mint az asztali menü */
  }

  .horizontalcssmenu ul li {
    flex: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    display: block;
    position: static;
  }

  .horizontalcssmenu ul li a {
    padding: 8px 12px;
    color: #FFFFFF; /* Fehér, mint az asztali menü szövege */
    border-right: none;
    background: #800000; /* Sötétvörös, mint az asztali menü háttér */
    width: auto;
    white-space: normal;
  }

  .horizontalcssmenu ul li a:hover {
    background: #EECC99; /* Világossárga hover, mint az asztali menü */
    color: #000000; /* Fekete szöveg hover, mint az asztali menü */
  }

  .horizontalcssmenu ul li ul {
    position: static;
    display: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
  }

  #cssmenu1 > li > ul {
    display: none;
    position: absolute;
    left: -9999px;
  }

  #cssmenu1 > li:focus-within > ul,
  #cssmenu1 > li:hover > ul,
  .horizontalcssmenu ul li:focus-within > ul,
  .horizontalcssmenu ul li:hover > ul {
    display: block;
    position: static;
    left: auto;
    height: auto;
    overflow: visible;
  }

  #cssmenu1 li.open > ul,
  .horizontalcssmenu ul li:hover > ul {
    display: block;
  }

  .main-content {
    flex-direction: column;
  }
}
