body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    margin-left: 330px;
    margin-left: 330px;
    margin-right: 15px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Oldalsó menü stílusa és elhelyezkedése*/

.sidebar {
    height: 100vh;
    /* Teljes magasságú */
    width: 300px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #24292e;
    background: linear-gradient(#525174, #513B56);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-x: hidden;
    transition: 0.4s ease;
    padding-top: 20px;
    border-right: 1px solid #333;
    user-select: none;
    touch-action: none;
    overflow-y: auto;
    /* Görgetés engedélyezése */
    -webkit-overflow-scrolling: touch;
    /* Gördülékeny görgetés iOS-en */
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* Alapértelmezett scrollbar szélesség */

.sidebar::-webkit-scrollbar {
    width: 6px;
}

/* Görgetősáv háttér */

.sidebar::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* Világosszürke háttér */
}

/* Görgetősáv "fogó" része */

.sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Sötétszürke "fogó" */
    border-radius: 2px;
    border: 2px solid #A8A7C2;
    /*Scrollbar háttér színe*/
    /* "Fogó" körüli keret */
}

/* Hover effekt a "fogóra" */
.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Sötétebb szürke hover alatt */
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #A8A7C2;
    /*Scrollbar szine*/
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #A8A7C2;
    /*Scrollbar szine*/
}

.sidebar a {
    padding: 10px 25px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: 0.3s;
    letter-spacing: 1px;
    border-radius: 10px;
    margin: 10px;
}

.sidebar img.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 160px;
    /* Állítsd be a logó méretét szükség szerint */
}

.sidebar a:hover {
    background-color: #50575e;
    transform: translateX(10px);
}

.sidebar .closebtn {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

#main {
    transition: margin-left 0.3s;
    padding: 16px;
}

/* Menü gomb */

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background: linear-gradient(45deg, #525174, #513B56);
    color: #67D49E;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    user-select: none;
}

.openbtn:hover {
    background-color: #3a3f44;
}

.openbtn:hover {
    background: linear-gradient(45deg, #513B56, #525174);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.openbtn:active {
    transform: scale(0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

h2 {
    font-weight: 600;
    color: #333;
}

p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Telefonos nézet */
@media screen and (min-width: 768px) {
    nav {
        justify-content: space-around;
    }


    .felulet_kep {
        width: 650px;
    }


    .uzenet_kep {
        width: 650px;
    }


    .szamla_kep {
        width: 650px;
        vertical-align: middle;
    }


    .regiszt_kep {
        width: 250px;
        vertical-align: middle;
    }


    .munka_kep {
        width: 450px;
    }


    .adat_kep {
        width: 650px;
    }


    .egyedi_kep {
        width: 650px;
    }


    .bej_kep {
        width: 575px;

    }


    .meghiv_kep {
        width: 575px;
    }


    #FloatableButtons {
        bottom: 75px;
    }


    #mk {
        width: 1000px;
    }

    .summary {
        margin-left: 15px;
    }

    .stilus {
        margin-left: 55px;
    }
}

/* Legögdülő menüben a címek stílusa*/

.fejezetek {
    text-decoration: none;
    color: black;
}

/* A tartalomban a legördülő menü stílusa */

.summary {
    font-size: large;
    font-weight: bold;
}

/* Az éppen aktív oldal színe */


.aktiv {
    color: #67D49E;
}

/* Menüben az oldal linkek színe */
/* Menüben az oldal linkek színe */


.inaktiv {
    color: #A8A7C2;
}

/* Főoldalon üdvözlőszöveg */

.focim {
    font-size: xx-large;
}

/* Menüben minden icon stílusa */


.icon {
    margin-left: -15px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Menüben egyik oldalhos stílus */


span {
    margin-left: 20px;
}

/* Menta 4D logo stílusa*/


.logo {
    width: 200px;
    margin-left: 15px;
    margin-top: -35px;
    cursor: pointer;
}

/* Icon stílus */

.big {
    height: 25px;
}

/* Vissza a tetejére gomb stílusa */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #525174, #513B56);
    color: #67D49E;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    display: flex;
    justify-content: center;
}

/* Hover effektus */
.back-to-top:hover {
    background: linear-gradient(45deg, #513B56, #525174);
}

/* Gomb láthatóvá válik */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}


html {
    touch-action: manipulation;
}

.menu {
    display: flex;
    overflow-y: auto;
    /* Görgethetővé teszi a menüt */
    -webkit-overflow-scrolling: touch;
    /* Sima görgetés Safariban */
}

.menu-item {
    margin: 10px;
}

/* Alap CSS reset */
* {
    margin: 15;
    padding: 0;
    box-sizing: border-box;
}

.menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Biztosítja a teljes magasságú görgetést */
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Safariban sima görgetés */
}
