@charset "UTF-8";

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype'),
         url('data:font/ttf;base64,Roboto-Regular.base64') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-SemiBold.ttf') format('truetype'),
         url('data:font/ttf;base64,Roboto-SemiBold.base64') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-SemiBold.ttf') format('truetype'),
         url('data:font/ttf;base64,Roboto-SemiBold.base64') format('truetype');
    font-weight: 600;
    font-style: normal;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* Body hátterek */
.pargramm-background { 
    background-image: url("../img/parMAN_Pek.jpg");
}
.tapos-background { 
    background-image: url("../img/TAP.jpg");
}
.tapos-background-2 { 
    background-image: url("../img/TAP_3.jpg");
}
.cukis-background {  
    background-image: url("../img/parMAN_Cukrasz_2.jpg");
}
.parpak-background { 
    background-image: url("../img/parPAK.jpg");
}

a { 
    text-decoration: none;
    color: #000;
}

/* Header */
.header-pargramm { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 15px;
    position: relative;
    height: 58px;
    position: fixed;    
    top: 0px;     
    left: 0;
    right: 0;
    z-index: 1000;
}
.header-tapos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #17447D;
    color: white;
    padding: 15px;
    /* position: relative; */
    height: 58px;
    position: fixed;    
    top: 0px;     
    left: 0;
    right: 0;
    z-index: 1000;
}
.header-tapos-cukis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #DB9694;
    color: white;
    padding: 15px;
    /* position: relative; */
    height: 58px;
    position: fixed;    
    top: 0px;     
    left: 0;
    right: 0;
    z-index: 1000;
}
.header-parroi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #897145;
    color: white;
    padding: 15px;
    position: relative;
    height: 58px;
    position: fixed;    
    top: 0px;     
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-logo {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.title {
    font-weight: 500;
    text-align: left;
    font-size: 18px;
    flex-grow: 1;
}
.hamburger {
    width: 25px;
    height: 25px;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Láthatatlan gomb az oldal tetején, középen */
#toggle-button {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Középre igazítás */
    width: 150px;
    height: 58px;
    background: transparent;
    border: none;
    /* cursor: pointer; */
    z-index: 1000;
    color: rgba(0,0,0,0);
}

/* Bezáró gomb (X ikon) */
#close-button {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #ddd;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transition: background 0.2s ease-in-out;
    opacity: 0;
}

/* Hover effekt a bezáró gombra */
#close-button:hover {
    background: #fff;
}


.hidden-buttons-container.show {
    opacity: 1;
    visibility: visible;
}

/* Rejtett gombok az oldal tetején */
.hidden-buttons-container {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    gap: 20px;
    width: 91%;
    min-height: 58px;
    margin: 0 auto;
    padding-bottom: 0px;
    align-items: flex-start;
    /*
    position: relative;
    top: -58px;
    margin-bottom: -58px;
    z-index: 1001;
    */


    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 1000;

    /* opacity: 0;  EZT VISSZAKAPCSOLNI, HA AZ OLDAL MEGNYITÁSKOR REJTVE LEGYEN A TITKOS MENÜ
    visibility: hidden;          */
    transition: opacity 0.3s ease-in-out, visibility 0.2s ease-in-out;
}

.hidden-buttons-container-groups {
    flex-grow: 1;
    max-width: calc(100% - 80px); 
    column-count: 3; /* 3 hasáb alapértelmezetten */
    column-gap: 20px;
    display: flex;
}

.hidden-buttons-container-groups ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Két gomb egymás mellett */
    gap: 20px;
    width: 100%;
    align-items: flex-start; /* Oszlopok tetejére igazítás */
    display: flex;
    height: 58px;
}

.hidden-buttons-container-groups ul li {
    width: 100%; /* A gomb teljes oszlopot foglaljon */
    height: 44px;
    position: relative;
    top: 58px;
}

.hidden-buttons-container-groups ul li a {
    background-color: #ddd;
    color: #555;
    padding: 5px 9px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    text-align: center;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    height: 58px; 
    opacity: 0;

    display: fixed;
    top: 0px;
}

.hidden-buttons-container-groups ul li a:hover {
    background-color: #fff;
    color: #222;
}

/* FŐMENÜ */
.menu {
    position: absolute;
    top: 58px;
    right: 0px;
    background: white;
    width: 340px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out;
    padding: 0;
    opacity: 0;

}
.menu.open {
    max-height: 700px; 
    opacity: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 5px;
    color: #444;
    height: 55px;
}
/*
@supports (-webkit-touch-callout: none) {
    .menu-item:hover {
        background-color: #f2f2f2;
        color: #000;
        font-weight: 600;
    }
}
*/



.menu-item:hover {
    background-color: #f2f2f2;
    color: #000;
    font-weight: 600;
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-divider {
    border-bottom: 1px solid #bbb;
    margin: 0;
}
.menu-icon-35 {
    width: 35px;
    height: 35px;
    margin-left: 8px;
    margin-right: 10px;
}
.menu-icon-25 {
    width: 25px;
    height: 25px;
    margin-left: 13px;
    margin-right: 19px;
}


/* Fő konténer */
.container {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    gap: 20px;
    width: 91%;
    min-height: 700px;
    margin: 35px auto;
    align-items: flex-start;
    padding-bottom: 20px;
    position: relative;
    top: 58px;
}

/* Menükártya csoportok három hasábban */
.container-groups {
    flex-grow: 1;
    max-width: calc(100% - 80px); 
    column-count: 3; /* 3 hasáb alapértelmezetten */
    column-gap: 20px;
}

.container-groups-parpak {
    flex-grow: 1;
    max-width: calc(100% - 80px); 
    column-count: 1; /* 3 hasáb alapértelmezetten */
    column-gap: 20px;
}

/* Ikonokat tartalmazó oszlop - jelenleg csak a videó ikon*/
.container-icons {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

/* Ikonok a jobb oldali oszlopban */
.icons-column {
    display: flex;
    flex-direction: column;
    align-items: center; /* A tartalom középre igazítása */
    justify-content: flex-start;
    width: 80px;
    height: 80px;
    gap: 10px;
    position: relative;
    /* Előző margó és pozicionálás eltávolítása */
    margin-left: 0;
    top: 0;
}

/* Jobb oldali ikon sávban az ikon */
.icon-box {
    width: 60px;
    height: 60px;
    justify-content: center;    /* Kép vízszintes középre igazítása */
    align-items: center;        /* Kép függőleges középre igazítása */
    position: relative;
    top: 10px;
}

.icon-box img {
    max-width: 100%;
    max-height: 100%; 
    object-fit: contain;  /* A kép megtartja az arányait, de nem torzul */
    max-width: 100%;      /* A kép szélességét korlátozzuk a szülőelem szélességére */
    max-height: 100%;     /* A kép magasságát korlátozzuk a szülőelem magasságára */
    
}

.icon-box-pulse {
    position: relative;
    top: -10px;
}


@keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.icon-box-pulse img {
    animation: pulsate 1.5s infinite ease-in-out; /* Pulzálás folyamatosan */
}



/* Menükártya elemek stílusa */
.menu-item-group {
    width: 100%;
    background-color: #fff;
    break-inside: avoid;
    margin-bottom: 20px; 
}

.menu-item-group-title { 
    font-size: 18px;
    font-weight: 500;
    background-color: #ddd;
    color: #555;
    padding: 15px 10px;
}

.menu-item-group ul {
    font-size: 14px;
    list-style: none;
    width: 100%;
    padding: 0;
}
.menu-item-group ul li {
    padding: 0;
    border-bottom: 1px solid #bbb;
    width: 100%;
}
.menu-item-group ul li a {
    display: block; 
    padding: 0px 0px 0px 10px;
    text-decoration: none;
    color: #000;
}
.menu-item-group ul li a:hover {
    background-color: #f2f2f2;
    font-weight: 600;
    color: #000;
}
.menu-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0; /* Flexbox miatt szükséges, hogy az ellipsis működjön */
}


/* tápos menükártyákhoz a bal oldali 2 hasábba fix méretű doboz, ami egyvonbalban tartja az első 2 hasáb tattalmát */
.tapos-doboz {
    height: 190px;
}

/* Gombok a menükártyák között */
.menu-item-button {
    background-color: #fff;
    height: 140px;
    text-align: center;
    font-size: 14px;
    padding: 20px 0px;
    margin-bottom: 60px;
}
.menu-item-button:hover {
    font-weight: 500;
}

/* KIKÉNYSZERÍTETT HASÁBTÖRÉS */
/*
.force-column-break {
    break-after: column; 
    width: 100%;
    display: block;
}
*/


/* Menükártya nevek */
.list-title {
    flex: 1;
    flex-shrink: 0;
    display: block;
    text-align: left;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 10px;
    height: 35px;
    min-width: 0; 
}
.list-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.list-icon-pen {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/ikon-modositas.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 3px;
}
.list-icon-eye {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/ikon-megtekintes.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.list-icon-printer {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/ikon-nyomtatas.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.list-icon-refresh {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/ikon-feldolgozas.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.list-icon-settings {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/ikon-beallitas.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}



/* Reszponzív nézetek 
@media (max-width: 1200px) {
    .container-groups, .hidden-buttons-container-groups {
        column-count: 2; /
    }
}

@media (max-width: 850px) {
    .container-groups {
        column-count: 1; 
    }
    .menu-item-group {
        margin-bottom: 20px !important;
    }
}

*/