.kocka{
    width: 100px;
    height: 100px;
    background-color: rgb(179, 179, 179);
}
h1{
    font-size: 40px;
    font-family: 'Arial', Times, serif;
    font-weight: bold;
    padding: 12px;
    border-style: none;
    margin: 0 auto;
    height: 50px;
    text-align: center;
    vertical-align: middle;
}
table{
    margin: 0 auto;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    float: left;
    color:rgb(0, 0, 0);
    width: auto;
    height: auto;
    max-width: 100%;
}
.tablazatdoboz{
    height: 450px;
    width: fit-content;
    box-shadow: 5px 5px 10px rgba(45, 23, 3, 0.836);
    background-color:  rgb(209, 204, 204);
    display:table;
    margin: 20px auto 0;
    clear: both;
}
html{
    align-content: center;
}
/* ==========================================================
   MENÜSOR
   A menüsor és lenyíló elemek stílusát a 0menü.css adja.
   ========================================================== */

p{
    margin-left: 1cm;
    margin-right: 1cm;
    text-align: justify;
    font-size: medium;
}

/* ==========================================================
   CÍMKÉP (reszponzív)
   ========================================================== */

.cim-kep-kontener{
    text-align: center;
}

.cim-kep{
    height: 70px;
    width: auto;
    max-width: 90%;
}

@media screen and (max-width: 600px) {
    .cim-kep-kontener{
        margin-top: 1.2cm;
    }
    .cim-kep{
        height: 50px;
    }
}

/* ==========================================================
   SZÖVEG KÖRÉ FUTTATOTT KÉP (reszponzív)
   ========================================================== */

.korbefuttatott-kep1{
    float: left;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 470px;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
}
.korbefuttatott-kep1 img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.korbefuttatott-kep1 figcaption{
    font-style: italic;
    font-size: 0.9em;
    margin-top: 10px;
}

@media screen and (max-width: 900px) {
    .korbefuttatott-kep1{
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
.korbefuttatott-kep2{
    float: right;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 450px;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
}
.korbefuttatott-kep2 img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.korbefuttatott-kep2 figcaption{
    font-style: italic;
    font-size: 0.9em;
    margin-top: 10px;
}

@media screen and (max-width: 900px) {
    .korbefuttatott-kep2{
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==========================================================
   TÁBLÁZAT + KÉPGALÉRIA SOR (flex, reszponzív)
   Normál nézetben: táblázat + 2 kép egy sorban, teljes szélességen.
   Telefonos nézetben: egymás alatt, középre igazítva.
   ========================================================== */

.kep-tablazat-sor {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 16px;
    margin: 20px 1cm 30px;
    box-sizing: border-box;
    width: calc(100% - 2cm);
}

/* A tablazatdoboz flex itemként nyúlik */
.kep-tablazat-sor .tablazatdoboz {
    flex: 1 1 0;
    margin: 0;
    height: auto;
    box-sizing: border-box;
    overflow: auto;
}

/* A galéria két képet tartalmaz, szintén flex item */
.meotis-galeria {
    flex: 2 1 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
    min-width: 0;
}

/* Minden kép egyenlő szélességen tölti ki a rendelkezésre álló teret, arányok megtartásával */
.meotis-galeria-kep {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 5px 5px 10px rgba(45, 23, 3, 0.836);
}

@media screen and (max-width: 900px) {
    .kep-tablazat-sor {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 20px auto 30px;
        gap: 20px;
    }
    .kep-tablazat-sor .tablazatdoboz {
        margin: 0 auto;
        width: fit-content;
        height: 450px;
    }
    .meotis-galeria {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .meotis-galeria-kep {
        flex: none;
        width: 100%;
        height: auto;
    }
}

.vazlat-kontener {
  position: relative; /* Ez a viszonyítási pont */
  border: 1px solid #ccc;
  overflow: hidden;   /* Hogy a kilógó nagy betűk ne rontsák el az oldalt */
}

.vazlat-hatter {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%); /* Középre teszi */
  font-size: 24px;
  font-weight: bold;
  color: rgba(64, 137, 128, 0.3); /* Nagyon halvány szürke (0.1 az átlátszóság) */
  z-index: 1;             /* Alulra kerül */
  pointer-events: none;   /* Átlátszó az egérnek: kijelölhető marad alatta a szöveg */
  white-space: nowrap;
  user-select: none; 
  height: fit-content;     /* Nem lehet véletlenül kijelölni a háttérszöveget */
}

.vazlat-tartalom {
  position: relative;
  z-index: 2;             /* Felülre kerül */
}
.aktiv-menu .lenyilospacer {
    color: #f5dfa0 !important;
    border-bottom: 2px solid rgba(220, 185, 130, 0.9);
}