.kocka{
    width: 100px;
    height: 100px;
    background-color: rgb(172, 172, 172);
    position: relative;
}
h1{
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    padding: 14px;
    margin: 20px auto;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    clear: both;
}
h2{
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    background-color: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
    clear: both;
    margin: 16px auto 8px auto;
    width: auto;
    padding: 0 16px;
}

/* ============================
   TARTALOM WRAPPER – KÖZÉPRE
   ============================ */
.tartalom-kozep {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px 40px 12px;
}

/* Facebook sor */
.facebook-sor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.facebook-sor a {
    display: block;
}

.facebook-sor img {
    height: 90px;
    width: 90px;
}

/* ============================
   TÁBLÁZAT DOBOZ
   ============================ */
.tablazatdoboz2 {
    height: auto;
    min-height: 300px;
    width: 100%;
    max-width: 520px;
    border-style: none;
    border-color: black;
    display: block;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 5;
    box-shadow: 5px 5px 10px rgba(45, 23, 3, 0.836);
    box-sizing: border-box;
}

/* ============================
   TÁBLÁZAT
   ============================ */
table {
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: rgb(0, 0, 0);
    width: 100%;
    height: auto;
    border-collapse: collapse;
    table-layout: fixed;
}

table th {
    word-break: break-word;
    padding: 3px 4px;
    vertical-align: middle;
    text-align: center;
}

/* Képek a táblázatban */
table img {
    max-width: 100%;
    height: auto !important;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

/* Képes div elemek (svg/gif logók) */
.kép {
    background-image: url(kepek/30logg.gif);
    width: 70px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}
.kép2 {
    background-image: url(kepek/30loggFB.gif);
    width: 70px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* ============================
   MOBILOS RESZPONZÍV
   ============================ */
@media screen and (max-width: 700px) {

    h1 {
        font-size: 22px;
        height: auto;
        padding: 10px;
    }

    h2 {
        font-size: 18px;
        margin: 12px auto 6px auto;
    }

    .facebook-sor img {
        height: 70px;
        width: 70px;
    }

    .tablazatdoboz2 {
        padding: 10px 8px;
        max-width: 100%;
    }

    table {
        font-size: 11px;
    }

    table th {
        padding: 2px 3px;
        
    }

    table img {
        max-height: 40px;
    }

    .kép,
    .kép2 {
        width: 50px;
        height: 42px;
    }
}

@media screen and (min-width: 700px) {

    h1 {
       font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    padding: 14px;
    margin: 20px auto;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    clear: both;
    }

    h2 {
        font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    background-color: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
    clear: both;
    margin: 16px auto 8px auto;
    width: auto;
    padding: 0 16px;
    }

    .facebook-sor img {
        height: 100px;
        width: 100px;
    }

    .tablazatdoboz2 {
        padding: 10px 8px;
        max-width: 90%;
        margin-bottom: 40px;
    }

    table {
        font-size: 16px;
    }

    table th {
        padding: 2px 3px;
    }

    table img {
        max-height: 200px;
    }

    .kép,
    .kép2 {
        width: 100px;
        height: 84px;
    }
}
/* ============================
   RÉGI STÍLUSOK (menühöz)
   ============================ */
.tablazatdoboz{
    height: 450px;
    width: 500px;
    border-style: none;
    border-color: black;
    background-color: rgb(132, 161, 158);
    display:table;
}
.menufelsosor{
    width: 100%;
    max-height: 1000px;
    height: auto;
    text-align: left;
    vertical-align: middle;
    display: flex;
    position: relative;
    z-index: 999;
}
.menusoroutline{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position : relative;
    z-index: 1000;
}
a{
    text-decoration: none;
    color: white;
}
.lenyilorejtett {
    color: #666;
    line-height: 1.5;
    text-align: center;
   
}
.simagomb:hover{
    cursor: pointer;
    background-color: #6c5c49;
}
.simagomb:active{
    background-color: #cfcfcf;
}
.vazlat-kontener {
    position: relative;
    border: 1px solid #ccc;
    overflow: hidden;
}
.vazlat-hatter {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: rgba(64, 137, 128, 0.3);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    height: fit-content;
}
.vazlat-tartalom {
    position: relative;
    z-index: 2;
}
.simagomb-link1 .simagomb1 {
    color: #f5dfa0 !important;
    border-bottom: 2px solid rgba(220, 185, 130, 0.9);
}
.simagomb-link1 {
    display: block;
}

.simagomb1 {

    font-family:
        'Cinzel',
        'Times New Roman',
        serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    color: #e8d9c4;

    padding: 11px 10px;
    margin-left: 10px;

    cursor: pointer;

    position: relative;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;

    border-radius: 4px;
}
@media screen and (max-width: 1450px) {

    .menufelsosor {

        position: relative;

        justify-content: space-between;

        padding: 10px 16px;

        background:
          rgba(0, 0, 0, 0.39);
    }

    .logo-img {
        height: 72px;
    }

    .hamburger-gomb {

        display: flex;

        flex-direction: column;
        justify-content: space-between;

        width: 28px;
        height: 19px;

        cursor: pointer;

        z-index: 1001;
    }

    .hamburger-gomb span {

        display: block;

        width: 100%;
        height: 2px;

        background-color:
            rgba(235,215,180,0.9);

        border-radius: 2px;

        transition: 0.3s ease;
    }

    .menu-elemek {

        display: none;

        flex-direction: column;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background:
            rgba(0, 0, 0, 0.39);

        box-shadow:
            0 12px 30px rgba(20,10,5,0.6);

        border-top:
            1px solid rgba(200,165,110,0.2);

        max-height:
            calc(100vh - 92px);

        overflow-y: auto;
    }

    .lenyilo-blokk,
    .simagomb1,
    .simagomb-link1 {
        width: 100%;
    }

    .lenyilospacer {

        padding: 14px 20px;

        width: 100%;

        box-sizing: border-box;

        justify-content: space-between;

        font-size: 13px;
    }

    .lenyilospacer::before {
        display: none;
    }

    .simagomb {

        padding: 14px 20px;

        text-align: left;

        font-size: 13px;

        border-radius: 0;
    }

    .simagomb::after {
        display: none;
    }

    .lenyilorejtett {

        display: none;

        background-color: rgba(0, 0, 0, 0.39);
    }

    .lenyilorejtett a {

        padding: 12px 32px;

        color:
            rgba(225,205,175,0.85);

        font-family:
            'Lato',
            Arial,
            sans-serif;

        font-size: 14px;

        border-bottom:
            1px solid rgba(200,165,110,0.08);
    }

    .menu-checkbox:checked ~ .menu-elemek {
        display: flex;
    }

    .submenu-checkbox:checked ~ .lenyilorejtett {
        display: block;
    }

    .submenu-checkbox:checked ~ .lenyilospacer {

        color: #fff;

        background-color:
            rgba(200,160,90,0.15);
    }

    .submenu-checkbox:checked ~ .lenyilospacer::after {
        transform: rotate(180deg);
    }

    .menu-checkbox:checked ~ .hamburger-gomb span:nth-child(1) {

        transform:
            translateY(8.5px)
            rotate(45deg);
    }

    .menu-checkbox:checked ~ .hamburger-gomb span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked ~ .hamburger-gomb span:nth-child(3) {

        transform:
            translateY(-8.5px)
            rotate(-45deg);
    }
}
