/* ===== Alap beállítások ===== */
html, body {
  background-color: #404040;
  font-family: 'Alegreya Sans SC';
  font-size: 22px;
  color: #777;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

/* ===== Videó konténer ===== */
.container {
  position: relative;
  width: 75%;
  border: 1px solid black;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  padding-bottom: 56.25%;
  margin: 0 auto;
  z-index: 1;
}
.video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Layout ===== */
.row::after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* ===== Képek ===== */
.kep img {
  width: 100%;
  height: auto;
  border: 1px solid black;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  display: block;
  margin-bottom: 10px;
}

.screenshot img {
  width: 80%;
  height: auto;
  border: 1px solid black;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  display: block;
  margin: 0 auto;
}

/* ===== Fejléc és tartalom ===== */
.top-container {
  background-color: #5d594f;
  text-align: center;
  height: 100px;
}

.header {
  background: #5d594f;
  color: #f1f1f1;
  height: 31px;
}

.content {
  padding: 16px;
  background: linear-gradient(#404040 0%, #404040 90%, #000000 95%);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  height: 33px;
  z-index: 10;
  box-shadow: 0 0 16px rgba(0,0,0,0.9);
  border-bottom: 1px solid #777;
  background: rgba(93, 89, 79, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sticky + .content {
  padding-top: 50px;
}

/* ===== Képkivágás ===== */
.cropped {
  overflow: hidden;
}
.cropped img {
  float: left;
  height: 30px;
  width: 100%;
  object-fit: cover;
  object-position: right top;
}

/* ===== Táblázat ===== */
table.darkTable {
  font-family: 'Alegreya Sans SC';
  border: 2px solid #000;
  background-color: #4A4A4A;
  width: 80%;
  text-align: center;
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  margin: 0 auto;
  max-width: 80%;
  overflow-x: auto;
  display: block;
}
table.darkTable td, table.darkTable th {
  border: 1px solid #646464;
  padding: 6px;
  word-wrap: break-word;
}
table.darkTable tbody td {
  font-size: 20px;
  color: #E6E6E6;
}
table.darkTable tr:nth-child(even) {
  background: #404040;
}
table.darkTable thead {
  background: #000;
}
table.darkTable thead th {
  font-size: 20px;
  font-weight: bold;
  color: #919CAC;
  text-align: center;
}

/* ===== Szövegblokkok ===== */
.tartalom {
  text-align: justify;
  font-size: 19px;
}
.nevsor {
  text-align: justify;
  font-size: 14px;
}

/* ===== Menü és dropdown ===== */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #5d594f;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  z-index: 1;
  font-size: 12px;
  background-image: linear-gradient(to right, rgba(93,89,79,0.4), rgba(73,90,100,0.4));
  border-left: 1px solid #3d391f;
  border-bottom: 1px solid #3d391f;
}
.dropdown-content a {
  color: black;
  padding: 4px 8px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  color: black;
  background-color: #b9b8b3;
  box-shadow: 4px 4px 10px #2d291f;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #999;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== Linkek ===== */

a {position: static}

a:link, a:visited {
  color: #E6E6E6;
  background: transparent;
  text-decoration: none;
}

a:hover {
background-color: #000000;
}

a:active {
  color: yellow;
  text-decoration: underline;
}

/* ===== Videó háttér ===== */
#myVideo {
  position: fixed;
  right: 0;
  top: 0;
  min-width: 60%;
}

/* ======= Reszponzív mód ======= */
@media screen and (max-width: 1000px) {
  .container, table.darkTable {
    width: 90%;
  }
}

@media screen and (max-width: 800px) {
  .column {
    float: none;
    width: 100%;
    padding: 5px;
  }
  .content {
    padding: 10px;
  }
  table.darkTable {
    font-size: 16px;
  }
  .top-container {
    height: auto;
    padding: 10px;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 18px;
  }
  .header {
    height: auto;
    padding: 6px 0;
  }
  .darkTable td, .darkTable th {
    font-size: 16px;
  }
  .kep img, .screenshot img {
    width: 100%;
    height: auto;
  }
}
/* ===== Mobil korrekció az inline stílusokra ===== */
@media screen and (max-width: 800px) {
  /* A táblák tényleg töltsék ki a .column szélességét */
  .column {
    float: none;
    width: 100% !important;
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;
  }

  .column table.darkTable {
    display: table;
    table-layout: fixed;
    width: 100% !important;
    margin: 0 auto;
    height: auto !important;
    box-sizing: border-box;
  }

  .column table.darkTable th,
  .column table.darkTable td {
    word-wrap: break-word;
    padding: 6px 8px;
  }
  
  /*Itt állítod az info méretét!*/
  .infoo{
	width: 10% !important;
	font-size: 20px;
	}
}








.table-wrapper {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.darkTable {
  display: grid;
  grid-template-columns: 1fr 1fr; /* két oszlop */
  background-color: #4A4A4A;
  border: 2px solid #000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  width: 100%;
  font-family: 'Alegreya Sans SC';
  max-width: 100%;
  display: block;
}

.table-header {
  grid-column: 1 / -1; /* fejléc átnyúl mindkét oszlopon */
  background-color: #000;
  color: #919CAC;
  font-weight: bold;
  font-size: 20px;
  padding: 6px;
  }



.table-row {
  display: flex; /* így a .cell elemek a gridbe kerülnek */
	width: 100%;
}




.cell {
  border-top: 1px solid #646464;

  padding: 6px;
  color: #E6E6E6;
  font-size: 20px;
}



.label {
  background-color: #404040;
  text-align: right;
  padding-right: 10px;
 flex: 0 0 30%;
}

.label2 {
  background-color: #404040;
  padding-right: 10px;
 	flex: 0 0 10%;
	

}

.value {
  background-color: #4A4A4A;
  text-align: left;
  padding-left: 10px;
 flex: 1;
}

/* Reszponzív */
@media screen and (max-width: 800px) {
  .darkTable {
    grid-template-columns: 1fr; /* egymás alá */
  }
  .label {
    text-align: center;
    padding: 6px;
/*font-size: 14px;*/
  }
  .value {
    text-align: center;
    padding: 6px;
/*font-size: 14px;*/
  }
}



