@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.inactive {
    display: none !important;
}

/* Video Parallax Section*/
.ParallaxVideo {
    height: 300px;
}

.ParallaxVideo video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Mobil eszközökre színátmenetes háttér */
@media (max-width: 768px) {
    .ParallaxVideo {
        display: none;
        /* Videó elrejtése mobilon */
    }

    body {
        background: rgb(34, 40, 49) !important;
        background: linear-gradient(90deg, rgba(34, 40, 49, 1) 29%, rgba(4, 13, 18, 1) 50%) !important;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
}

/* Teljes szélesség a fő section-nek */
section.transformed-box {
    width: 100%;
    padding: 7em 5em;
    margin-top: 5em;
    /* Mobil nézetben csökkentett */
    background: linear-gradient(146deg, rgba(255, 255, 255, 1) 61%, rgba(61, 68, 73, 1) 90%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

.transformed-box .text-muted {
    font-family: "EthnoCentricFont", serif;
    color: #C62E2E !important;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 50px;
    /* Csökkentett padding */
}

.transformed-box h2 {
    color: #C62E2E;
    -webkit-text-stroke: 1px #000;
    text-shadow:
        rgba(0, 0, 0, 1) 0px 5px 10px,
        rgba(255, 255, 255, 0.5) 0px 5px 15px;
    opacity: 1;
}

/* Központozott container */
.transformed-box .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 0px 50px 0px;
    justify-content: center;
    align-items: center;
}

/* Sor (row) stílus */
.transformed-box .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Bal oldali div (links és text-box) */
.transformed-box .left-section {
    display: flex;
    flex: 0 0 49.99%;
    padding: 10px 20px;
    justify-content: flex-start;
    gap: 10px;
    align-items: flex-start;
    flex-direction: row;
    /* Ez biztosítja, hogy a két div egymás mellett legyen */
}

/* Jobb oldali div (kép) */
.transformed-box .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Új tulajdonság a függőleges elrendezéshez */
    justify-content: center;
    align-items: center;
}

/* Kép stílus */
.transformed-box .right-section img {
    max-width: 100%;
    height: auto;
    border: 5px solid #3C3D37;
    border-radius: 30px;
    margin-top: 10px;
    transition: transform 0.5s ease-in-out;
}

.transformed-box .right-section img:hover {
    transform: scale(1.1);
}

.transformed-box .right-section p {
    color: #222831;
    font-weight: 500;
    text-align: justify;
    hyphens: auto;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}


/* Linkek és szövegek stílusa */
.transformed-box .links {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.transformed-box .link-item {
    background: transparent;
    position: relative;
    padding: 5px 15px;
    margin-bottom: 10px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #3C3D37;
    border-radius: 25px;
    outline: none;
    overflow: hidden;
    color: #222831;
    transition: color 0.3s 0.1s ease-out;
    box-shadow: -10px 8px 15px rgba(0, 0, 0, 0.5);
}

.transformed-box .link-item::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    border-radius: 50%;
    display: block;
    width: 20em;
    height: 20em;
    left: -5em;
    text-align: center;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}

.transformed-box .left-section .links .link-item:hover {
    color: #fff !important;
    border: 1px solid #3C3D37;
}

.transformed-box .link-item:hover::before {
    box-shadow: inset 0 0 0 10em #3C3D37;
}

.transformed-box .text-box {
    flex: 0 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    padding: 20px;
    border: 5px solid #3C3D37;
    border-radius: 30px;
    height: 100% !important;
    box-shadow: -10px 8px 15px rgba(0, 0, 0, 0.5);
}

.transformed-box .text-box p {
    margin: 40px;
    text-align: justify;
    hyphens: auto;
    color: #222831;
    font-weight: 600;
    opacity: 0;
    transition: opacity 1.9s ease;
    /* Fokozatos átmenet az átlátszóságra */
}

.transformed-box .text-box p.visible {
    opacity: 1;
    /* Végső állapot - erősebb */
}

.transformed-box .text-box strong {
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.transformed-box .text-box span {
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    display: block;
    /* Új sorba helyezi */
    margin-top: 60px;
    /* Kicsit távolabb helyezi az előző sortól */
    font-size: 18px;
    margin-bottom: 15px;
}

#text-display {
    font-size: 16px;
    color: #333;
}

/* Asztali nézet (1280px és nagyobb) */
@media (min-width: 1280px) {
    .transformed-box .row {
        justify-content: center;
    }

    .transformed-box .left-section,
    .transformed-box .right-section {
        padding: 15px;
    }

    .transformed-box .left-section {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-right: 20px;
    }

    .transformed-box .right-section {
        margin-left: 20px;
    }

    .transformed-box .links {
        margin-bottom: 20px;
    }

    .transformed-box .text-box {
        padding: 20px;
        height: 480px;
        box-shadow: -10px 8px 15px rgba(0, 0, 0, 0.5);
    }

    .transformed-box .text-box strong {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .transformed-box .text-box span {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    #text-display {
        font-size: 16px;
        margin: 0;
    }

}

/* Tabletta és mobil nézet (1280px alatt) */
@media (max-width: 1279px) {
    section.transformed-box {
        padding: 4em 3em;
        margin-top: 1em;
        background: linear-gradient(146deg, rgba(255, 255, 255, 1) 61%, rgba(61, 68, 73, 1) 90%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
    }

    .transformed-box .row {
        flex-direction: column;
    }

    .transformed-box .left-section,
    .transformed-box .right-section {
        padding: 15px;
        width: 100%;
    }

    .transformed-box .links {
        margin-bottom: 20px;
    }

    .transformed-box .text-box {
        margin-top: 20px;
    }

    .transformed-box .text-box strong {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .transformed-box .text-box span {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    #text-display {
        font-size: 14px;
        margin: 0;
    }
}

/* Mobil nézet (768px alatt) */
@media (max-width: 768px) {

    .transformed-box h2 {
        color: #C62E2E;
        -webkit-text-stroke: 1px #000;
        text-shadow:
            rgba(0, 0, 0, 1) 0px 4px 8px,
            rgba(255, 255, 255, 0.5) 0px 5px 3px;
        opacity: 1;
    }

    section.transformed-box {
        width: 100%;
        padding: 5em 10px;
        margin-top: 2em;
        /* Csökkentett margin */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
        /* Enyhébb dőlés */
    }

    .transformed-box .row {
        flex-direction: column;
        align-items: center;
        /* Középre igazítja az elemeket */
    }

    .transformed-box .left-section {
        display: flex;
        flex-direction: row;
        /* Horizontális elrendezés a links és a text-box számára */
        gap: 10px;
        /* Térköz a links és a text-box között */
        padding: 10px;
        width: 100%;
        justify-content: space-between;
        margin-top: 0;
        /* Eltávolítva a negatív margin */
    }

    .transformed-box .links {
        flex: 0 0 30%;
        /* Megtartja az arányokat a text-box mellett */
        margin-bottom: 20px;
        align-self: flex-start;
        /* Felső igazítás */
    }

    .transformed-box .link-item {
        font-size: 12px;
        width: 100px;
        margin-bottom: 10px;
    }

    .transformed-box .text-box {
        flex: 1;
        margin-left: 5px;
        padding: 10px;
        min-height: auto;
    }

    .transformed-box .text-box strong {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .transformed-box .text-box span {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    #text-display {
        font-size: 13px;
        margin: 0;
    }
}

/* Kaucsuk section */

.s-kaucsuk {
    min-height: 60vh;
}

.s-kaucsuk .container {
    padding-top: 60px;
    align-items: center;
}

.s-kaucsuk h2 {
    color: #C62E2E;
    -webkit-text-stroke: 1px white;
    text-shadow:
        rgba(255, 255, 255, 1) 0px 5px 10px,
        rgba(255, 255, 255, 0.5) 0px 5px 15px;
    opacity: 1;
}

.s-kaucsuk .text-muted {
    font-family: "EthnoCentricFont", serif;
    color: #C62E2E !important;
    -webkit-text-stroke: 0.1px white;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 80px;
}

.s-kaucsuk p {
    color: #FBFBFB;
    font-size: 16px;
    font-weight: 500;
    text-align: justify;
    hyphens: auto;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

.s-kaucsuk span {
    color: #C62E2E !important;
    font-weight: 600;
}

.s-kaucsuk strong {
    font-family: "Montserrat", sans-serif;
    color: #FA4032;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 800;
}

.s-kaucsuk img {
    max-width: 100%;
    height: auto;
    border: 3px solid #C62E2E;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.5);
    transition: transform 0.5s ease-in-out;
}

.s-kaucsuk img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .s-kaucsuk h2 {
        text-shadow:
            rgba(255, 255, 255, 1) 0px 2px 3px,
            rgba(255, 255, 255, 0.5) 0px 2px 5px;
        opacity: 1;

    }
}


/* Kemikália */

.s-kemikal {
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 45%, rgba(61, 68, 73, 1) 86%);
    height: 120vh;
}

.s-kemikal .text-muted {
    font-family: "EthnoCentricFont", serif;
    color: #C62E2E !important;
    -webkit-text-stroke: 0.1px black;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 80px;
}

.s-kemikal h2 {
    color: #C62E2E;
    -webkit-text-stroke: 1px #000;
    text-shadow:
        rgba(0, 0, 0, 0.8) 0px 5px 10px,
        rgba(255, 255, 255, 0.9) 0px 5px 15px;
    opacity: 1;
}

.s-kemikal p {
    color: #222831;
    font-weight: 500;
    text-align: justify;
    hyphens: auto;
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-bottom: 30px;
}

.kemi-card .container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kemi-card .container .glass {
    position: relative;
    width: 180px;
    height: 200px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid #000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
}

.kemi-card .container:hover .glass {
    transform: rotate(0deg);
    margin: 0 10px;
}

.kemi-card .container .glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
}

.kemi-card .container .glass img {
    margin-bottom: 60px !important;
    max-width: 90%;
}

.modal {
    display: none;
    /* Alapértelmezett rejtett */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Háttér áttetsző fekete */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 580px;
    height: auto;
}

.modal.show {
    display: flex;
    /* Látható, amikor aktív */
}


.modal-content {
    width: 42%;
    /* Maximum szélesség az asztali nézetben */
    max-width: 800px;
    /* Maximális méret korlátozása */
    height: auto;
    /* Arányok megtartása */
    border-radius: 10px;
    /* Esztétikus sarkok */
    box-shadow: 10px 14px 10px rgba(224, 217, 217, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

@media (max-width: 1428px) {
    .kemi-card .container .glass {
        width: 170px;
        height: 250px;
        margin: 0 -35px;
    }

    .kemi-card .container .glass::before {
        margin-bottom: 20px;
        width: 95%;
        height: 40px;
    }

    .kemi-card .container .glass img {
        margin-bottom: 120px !important;
        max-width: 90%;
    }

    .modal-content {
        width: 40%;
        /* Mobilnézetben kisebb szélesség */
    }

    .s-kemikal {
        clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
        height: 130vh;
    }

    .s-kemikal img {
        margin: 60px 0px -50px 0px;
    }

}


@media (max-width: 998px) {
    .kemi-card .container .glass {
        width: 150px;
        height: 200px;
        margin: 0 -35px;
    }

    .kemi-card .container .glass::before {
        margin-bottom: 20px;
        width: 90%;
        height: 40px;
    }

    .kemi-card .container .glass img {
        margin-bottom: 120px !important;
        max-width: 90%;
    }

    .modal-content {
        width: 40%;
        /* Mobilnézetben kisebb szélesség */
    }

    .s-kemikal {
        clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
        height: 130vh;
    }

    .s-kemikal img {
        margin: 60px 0px -50px 0px;
    }

    .s-kemikal .container {
        padding-bottom: 0px;
        margin-bottom: 30px;
    }
}


@media (max-width: 768px) {

    .s-kemikal h2 {
        text-shadow:
            rgba(255, 255, 255, 1) 0px 2px 3px,
            rgba(255, 255, 255, 0.5) 0px 2px 5px;
        opacity: 1;
    }

    .kemi-card .container .glass {
        width: 100px;
        height: 170px;
        margin: 0 -5px;
    }

    .kemi-card .container .glass::before {
        margin-bottom: 20px;
        width: 90%;
        height: 40px;
        font-size: 10px;
    }

    .kemi-card .container .glass img {
        margin-bottom: 120px !important;
        max-width: 70%;
    }

    .modal-content {
        width: 60%;
        /* Mobilnézetben kisebb szélesség */
    }

    .s-kemikal {
        clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
        height: 190vh;
    }

    .s-kemikal img {
        margin: 60px 0px -50px 0px;
    }

    .s-kemikal .container {
        padding-bottom: 0px;
        margin-bottom: 30px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* áttetsző fekete */
    z-index: 1000;
}

#imageModal.show {
    /* Amikor aktív */
    display: block;
}




/*---------------------------------------
  MAP               
-----------------------------------------*/
.world-map-section {
    background-color: #000;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    margin-top: -90px;
}

.world-map-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 10px 50px 10px;
}

#map {
    width: 100%;
    max-width: 100%;
    /* A szélességet ne haladja meg */
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

#map svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hover effektus a térképre */
#map:hover {
    transform: scale(1.1);
    transform-origin: center center;
}

/* Országok stílusa */
#map path {
    fill: #ECDFCC;
    stroke: #000;
    stroke-width: 0.5;
    transition: fill 0.3s ease-in-out, stroke-width 0.2s ease;
}

#map path.default-highlighted.hovered {
    fill: #1E3E62;
}

#map path.default-highlighted {
    fill: #C62E2E;
    cursor: pointer;
}

#map path.clicked {
    fill: #1E3E62 !important;
}

/* Tooltip stílusa */
#tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
    white-space: nowrap;
    z-index: 10;
    display: none;
    /* Alapértelmezetten rejtve */
    max-width: 450px;
    text-align: center;
    transition: opacity 0.3s ease;
}

#tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent;
}

#tooltip .tooltip-content div {
    margin-bottom: 5px;
    /* A div-ek közötti távolság */
}

#tooltip b {
    color: white;
}

.world-map-section .tooltip-content {
    font-size: 14px !important;
}


@media (max-width: 600px) {
    .world-map-section {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
        margin-top: -90px;
    }

    #tooltip {
        margin-top: 15vh;
    }

    #tooltip::after {
        display: none;
        /* A tooltip nyíllal való kijelzése eltüntetve */
    }

    .world-map-section .container {
        max-width: 90%;
        margin: 0 auto;
        padding-bottom: 1vh !important;
    }

    .world-map-section {
        height: 55vh;
    }

    #tooltip b {
        color: white;
        font-size: 10px;
        font-weight: bolder;
        text-transform: uppercase;
    }

    #tooltip .tooltip-content div {
        margin-bottom: 3px;
        font-size: 8px;
    }

    .world-map-section .tooltip-content {
        width: 200px;
    }

    #map {
        transform: scale(1.1);
        /* Kisebb nagyítás mobilon */
        transform-origin: center center;
        max-width: 95%;
        /* Ne lépje túl az 95%-ot */
    }

    #map:hover {
        transform: none;
        /* Mobilon nincs hover-effektus */
    }

}

/* Specifikációk */

.specif {
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 45%, rgba(61, 68, 73, 1) 86%);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -90px;
    padding-top: 90px !important;
    padding-bottom: 120px !important;
}

#spec1 .bg-light {
    background-image: url('/images/spec//1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #eee;
}

#spec2 .bg-light {
    background-image: url('/images/spec/2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #eee;
}

#spec3 .bg-light {
    background-image: url('/images/spec/3.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #eee;
}

#spec1 .bg-light:hover,
#spec2 .bg-light:hover,
#spec3 .bg-light:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* Átlátszósági réteg */
#spec1 .bg-light::before,
#spec2 .bg-light::before,
#spec3 .bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* 60% átlátszóságú fekete */
    z-index: 1;
}

/* A szöveg láthatóságának biztosítása */
#spec1 .bg-light h6,
#spec2 .bg-light h6,
#spec3 .bg-light h6 {
    position: relative;
    z-index: 2;
    color: white;
    /* Szöveg színe fehér */
    font-size: 22px;
}

.specif h2 {
    color: #C62E2E;
    -webkit-text-stroke: 1px white;
    text-shadow:
        rgba(255, 255, 255, 1) 0px 5px 10px,
        rgba(255, 255, 255, 0.5) 0px 5px 15px;
    opacity: 1;

}

.specif .table-responsive {
    overflow-x: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #393E46;
}

.table-responsive::-webkit-scrollbar {
  height: 12px; 
}
.table-responsive::-webkit-scrollbar-track {
  background: #c0e7f4;  
  border-radius: 12px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #C62E2E;   
  border-radius: 12px;
}

.highlighted-row {
  background-color: #C62E2E;
  color: white; /* opcionális, hogy jól látszódjon a szöveg */
}

.specif .table-responsive table {
    border-collapse: collapse;
    width: 100%;
    min-width: 1400px;
}

.specif .table-responsive th,
td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: left;
    white-space: nowrap;
}

.specif th {
    background-color: #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
/* ===== Alap cellák ===== */
#myTable th,
#myTable td {
  min-width: 70px;
  background: #393E46;
  white-space: nowrap;
}

/* ==== Fejlécek: sticky a tetején és a bal 3 oszlopban is külön z-index ==== */
#myTable thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #222;
  color: #fff;
}

/* Első oszlop fejléce - legmagasabb z-index, hogy semmi se kerüljön fölé */
#myTable thead th:first-child {
  left: 0;
  z-index: 30;
  background: #000 !important;
}

/* Második fejléccella */
#myTable thead th:nth-child(2) {
  left: 340px;
  z-index: 25;
  background: #000 !important;
}

/* Harmadik fejléccella */
#myTable thead th:nth-child(3) {
  left: 420px;
  z-index: 25;
  background: #000 !important;
}

/* ==== Sticky tartalom cellák (TD) ==== */
#myTable td:first-child {
  position: sticky;
  left: 0;
  z-index: 20;
  width: 340px;
  min-width: 340px;
  max-width: 340px;
  background: #000;
}

#myTable td:nth-child(2) {
  position: sticky;
  left: 340px;
  z-index: 15;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  background: #000;
}

#myTable td:nth-child(3) {
  position: sticky;
  left: 420px;
  z-index: 15;
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  background: #000;
}

/* Box-shadow opció a kiemeléshez */
#myTable th:first-child, #myTable td:first-child,
#myTable th:nth-child(2), #myTable td:nth-child(2),
#myTable th:nth-child(3), #myTable td:nth-child(3) {
  box-shadow: 2px 0 2px -1px #111a;
}

/* ===== Mobil nézet ===== */
@media (max-width: 600px) {
    .specif .container{
    width: 97%;
    margin: 0 auto;
    padding: 0;
}

  .specif th, td {
    border: 1px solid #ccc;
    padding: 2px 3px;
    text-align: left;
    white-space: nowrap;
    font-size: 8.4px;
    font-weight: 500;
  }

  /* Sticky fejlécek mobilon */
  #myTable thead th:first-child {
    left: 0;
    z-index: 30;
    background: #000 !important;
  }
  #myTable thead th:nth-child(2) {
    left: 180px;
    z-index: 25;
    background: #000 !important;
  }
  #myTable thead th:nth-child(3) {
    left: 210px;
    z-index: 25;
    background: #000 !important;
  }

  /* Sticky tartalom cellák mobilon */
  #myTable td:first-child {
    left: 0;
    z-index: 20;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }
  #myTable td:nth-child(2) {
    left: 180px;
    z-index: 15;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
  }
  #myTable td:nth-child(3) {
    left: 210px;
    z-index: 15;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
  }
}


@media (max-width: 600px) {
    .specif h2 {
        color: #C62E2E;
        -webkit-text-stroke: 0.5px white;
        text-shadow:
            rgba(255, 255, 255, 1) 0px 2px 3px,
            rgba(255, 255, 255, 0.5) 0px 2px 5px;
        opacity: 1;
        margin-top: 1.5em;
    }
}