h1 {
  text-align: center;
  font-size: 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, sans-serif;
}
h3{
  font-size: 1.5rem;

}



html {
  background-image: url("../kepek/kep1.png");
  background-attachment: fixed;
  background-size: cover;
  background-color: #272822;
}

body {
  font-family: Arial, sans-serif;
  margin: 20px auto;
  padding: 10px 5vw;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  border-radius: 10px;
  border: 2px solid black;
  max-width: 1000px;
  box-shadow: 5px 5px 10px black;
  box-sizing: border-box;
  font-size: 1rem;
}
a {
  text-decoration: underline;
}
#link1,
#link2,
#link3,
#link4 {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  margin: 5px;
}
a:link{
  color: black;
}
a:visited {
  color: #003366;
}

#jatekmodok {
  width: 100%;
  height: auto;
}

#caption2,
#logocaption,
#classcap {
  text-align: center;
}

table,
td,
th {
  border: 1px solid gray;
  padding: 5px;
}

table {
  border-collapse: collapse;
  background-color: lightgray;
  caption-side: bottom;
  width: 100%;
  overflow-x: auto;
}

#logo1 {
  width: 100%;
  height: auto;
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.text h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.text p {
  line-height: 1.6;
  margin-top: 15px;
}

.text ul {
  padding-left: 20px;
  margin: 10px 0;
}

.text li {
  margin-bottom: 5px;
}

.text a {
  color: #ff4d4d;
  text-decoration: none;
  border-bottom: 1px dotted #ff4d4d;
}

.image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  border: 2px solid #444;
}

#natcap {
  font-size: 1.2rem;
}

#kep3 {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}



body.large {
  font-size: 2rem !important;
}

body.large .container-lg {
  max-width: 95% !important;
}



@media (max-width: 600px) {
  main {
      flex-direction: column;
  }

  .video-container, video {
      width: 100%;
  }
}

/* Tablet nézet */
@media (min-width: 601px) and (max-width: 1024px) {
  main {
      flex-direction: row;
      flex-wrap: wrap;
  }

  aside {
      flex: 1 1 100%;
  }

  .video-container, video {
      width: 80%;
  }
}

/* Nagy képernyő (desktop) */
@media (min-width: 1025px) {
  main {
      flex-direction: row;
  }

  article, aside {
      flex: 1;
  }

  .video-container, video {
      width: 60%;
  }
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 képarány (9 / 16 * 100) */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
  border: 2px solid #444;
  border-radius: 8px;
  background: #000;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




body.large-font {
  font-size: 2rem;
  
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

#styleswitch{
  text-align: right;
  margin: 20px;
}

#cap{
  color: black;
}
.nav-item{
    
    text-decoration: none;
    
}


.container {
  display: flex;
  align-items: flex-start;
  gap: 2rem; /* Távolság a két oszlop között */
}

.text {
  flex: 2; /* nagyobb arányban jelenik meg */
}

.flags {
  flex: 1; /* kisebb arányú, mint a szöveg */
}

img {
  max-width: 100%;
  height: auto;
}
