.kocka{
    width: 100px;
    height: 100px;
    background-color: rgb(179, 179, 179);
}
h1{
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    padding: 12px;
    border-style: none;
    margin: 0 auto;
    width: 200px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
}
table{
    margin: 0 auto;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    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;
}

/* ==========================================================
   SZÖVEG KÖRÉ FUTTATOTT KÉPEK (reszponzívak)
   ========================================================== */

.korbefuttatott-kep1,
.korbefuttatott-kep2,
.korbefuttatott-kep3,
.korbefuttatott-kep4 {
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
}

.korbefuttatott-kep1 img,
.korbefuttatott-kep2 img,
.korbefuttatott-kep3 img,
.korbefuttatott-kep4 img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.korbefuttatott-kep1 figcaption,
.korbefuttatott-kep2 figcaption,
.korbefuttatott-kep3 figcaption,
.korbefuttatott-kep4 figcaption {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 10px;
}

.korbefuttatott-kep1{
    float: left;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 700px;
}
.korbefuttatott-kep2{
    float: right;
    margin-left: 40px;
    margin-top: -10px;
    margin-bottom: 15px;
    width: 250px;
}
.korbefuttatott-kep3{
    float: left;
    margin-right: 40px;
    margin-top: 5px;
    width: 300px;
}
.korbefuttatott-kep4{
    float: right;
    margin-left: 40px;
    margin-top: -15px;
    margin-bottom: 5px;
    width: 320px;
}
.kep-tablazat-sor {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 16px;
    margin: 20px 1cm 30px;
    box-sizing: border-box;
}
.kep-tablazat-sor .tablazatdoboz {
    flex: 1 1 0;
    margin: 0;
    height: auto;
    box-sizing: border-box;
    overflow: auto;
}
.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);
    align-self: stretch;
}

/* Kis képernyőn a táblázat és a kép egymás alatt, középre igazítva jelennek meg */
@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-kep {
        flex: none;
        width: 100%;
        height: auto;
    }
}

/* Kis képernyőn a képek teljes szélességben, egymás alatt jelennek meg */
@media screen and (max-width: 900px) {
    .korbefuttatott-kep1,
    .korbefuttatott-kep2,
    .korbefuttatott-kep3,
    .korbefuttatott-kep4 {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.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);
}