body {
    font-family: Arial, sans-serif;
    background: white;
}

#keret{
    max-width: 1000px;
   
    margin: auto;
}

header img{
    width: 100%;
}

nav {   
    position: relative;
}

.content{
    display: flex;
    max-width: 1000px;
}
#ksz{
    float: right; 
    width: 10%;
}
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    
}

.menu-item {
    position: relative;
    padding: 15px 20px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid black;
    background-color: #ffd866;
}

.menu-item:hover .submenu, .menu-item.active .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #ffd866;
    
    
    list-style: none;
    margin: 0;
    padding: 0;
    width: 200px;
}

.submenu-item {
    padding: 10px 20px;
    color: black;
    font-weight: bold;
    cursor: pointer;

    
}

.submenu-item:hover {
    background-color: #542d0d;
    color: #ffd866;
}

.content {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
}

.menu-toggle {
    display: none;
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}


.munkatarsak td{
    text-align: center;
}

.arcok{
    width: 50%;
    text-align: center;
}





@media (min-width: 769px) {
    .left {
        flex: 1; /* 1 rész az összesen 4-ből (25%) */
        max-width: 25%; /* Maximális szélesség 25% */
        padding: 20px;
        box-sizing: border-box;
    }
    .right {
        flex: 3; /* 3 rész az összesen 4-ből (75%) */
        max-width: 75%; /* Maximális szélesség 75% */
        padding: 20px;
        box-sizing: border-box;
    }
    .left img{
    float: left;
    width: 100%;
    margin: 5px;
    padding: 5px;
    } 
}



@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        display: none;
    }
    .menu.show {
        display: flex;
    }
    .menu-item {
        padding: 10px 15px;
    }
    .submenu {
        position: static;
        width: 100%;
    }
    .menu-toggle {
        display: block;
    }
    #ksz{
        float: none;
        width: 100%;
    }
    .arcok{
        width: 100%;
    }
    .content {
        flex-direction: column-reverse; /* Stack the content divs with right on top */
    }

    .left, .right {
        flex: 1 0 100%; /* Full width for both divs on mobile */
    }

    .left {
        max-width: 25%; /* Ensure left container is at most 25% wide on mobile */
        margin: 0 auto; /* Center the left container */
    }

    .right {
        width: 100%; /* Right container should take full width */
    }

    .left img{
        width: 80%;
        margin: auto;
    }

}
