html {
    font-size: 1rem;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    overflow: hidden;
}

.menu li {
    float: left;
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
}

.menu li a:hover {
    background-color: #111;
}

.menu li a.active {
    background-color: #4CAF50;
    font-weight: bold;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    font-size: 1rem;
}

main {
    padding: 1.25rem;
}

.keptarolo {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem;
}

.keptarolo img {
    width: 48%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.szovegblokkok {
    display: flex;
    gap: 1.875rem;
    padding: 1.25rem;
    flex-wrap: nowrap;
}

.szovegblokk {
    background-color: #f9f9f9;
    padding: 1.25rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.1);
    height: 13.75rem;
    overflow: auto;
}

.szovegblokkok .szovegblokk:first-child {
    flex: 0 1 32%;
}

.szovegblokkok .szovegblokk:last-child {
    flex: 0 1 63%;
}

.szovegblokk h2 {
    margin-top: 0;
    color: #2c3e50;
}

.szovegblokk p {
    line-height: 1.6;
    color: #333;
}

.tartalom-blokk {
  padding-left: 2.5rem;
  line-height: 1.5;
}

.video-container {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
}

.video-container video {
    width: 75%;
    height: auto;
    display: block;
}

.skip-link {
  position: absolute;
  top: -70000px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* 2.oldal */

.csapatok-szekcio {
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.csapatok-szoveg {
  flex: 1 1 250px;
}

.csapatok-kepek {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 75%;
  margin: 0 auto;
}

.csapatok-kepek img {
  object-fit: cover;
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 80%;
}

.tovabbi-csapatok {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.tovabbi-kep {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tovabbi-kep img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 300px;
}

.jelenlegi-allas {
    margin-top: 40px;
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

thead {
    background-color: #f2f2f2;
    font-weight: bold;
}

td, th {
    border: 1px solid #ccc;
    padding: 8px;
}

summary {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

main a:link {
  color: #0000EE;
  text-decoration: underline;
}

main a:visited {
  color: #551A8B;
  text-decoration: underline;
}

.h1 {
  text-align: center;
}

/* 3.oldal */

.kerdoiv-h1 {
    color: white;
    text-align: center;
}

.bevezeto-sor {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  color: white;
}

.bevezeto-bal {
  max-width: 70%;
}

.torles-gomb {
  height: fit-content;
  padding: 10px 15px;
  margin-top: 50px;
  background-color: #e74c3c;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.torles-gomb:hover {
  background-color: #c0392b;
}

.kerdesek {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.875rem;
  color: white;
}

.kerdes-blokk {
  flex: 1;
  min-width: 12.5rem;
}

.kerdes-blokk h3 {
  margin-bottom: 0.625rem;
}

.kerdesek section {
  flex: 1;
}

input[type="radio"],
input[type="checkbox"] {
  margin-bottom: 0.625rem;
}

.adatlap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
  color: white;
}

.adatlap section {
  flex: 1;
}

textarea, input[type="text"], input[type="email"], input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.gomb {
  text-align: center;
}

.kuldes-gomb {
  background-color: #28a745;
  color: white;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 0.3125rem;
  cursor: pointer;
  font-weight: bold;
}

.kuldes-gomb:hover {
  background-color: #218838;
}

html.kerdoiv-page body{
    background-image: url('KepHatter.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

@media (min-width: 600px) {
  .kerdesek {
    grid-template-columns: 1fr 1fr;
  }

  .adatlap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .kerdesek {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .adatlap {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.kerdoiv-hatter {
  background-color: rgba(0, 0, 0, 0.5); 
}

@media print {
  .menu,
  .video-container,
  .torles-gomb,
  .kuldes-gomb,
  .kerdoiv-h1,
  .h1,
  header,
  footer {
    display: none !important;
  }

  img {
    max-width: 60% !important;
    height: auto !important;
  }

  body {
    color: black !important;
    background: white !important;
    font-size: 12pt;
  }

  .szovegblokk,
  .kerdes-blokk,
  .adatlap,
  .kerdoiv-hatter {
    background: none !important;
    box-shadow: none !important;
  }

  a {
    color: black !important;
  }
}