* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;

    display: flex;
    flex-direction: column;
}

.fejlec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2f3b52;
    color: #fff;
    padding: 10px 20px;
}

h2 {
    font-size: 0.95rem !important;
    font-style: italic;
}

.kozep-gorgetto {
    height: 100%;
    overflow-y: auto;
    text-align: justify;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
}

.fejlec-menu a {
    display: inline-block;
    padding: 8px 14px;
    margin-left: 5px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    background-color: #3d4c68;
}

.fejlec-menu a:hover {
    background-color: #506299;
    text-decoration: none;
}

.fejlec-menu .belepes {
    background-color: #d37c2a;
}

.fejlec-kep {
    width: 1200px;
    height: 180px;
    margin: 0 auto;
    overflow: hidden;
	    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.22);
}

.fejlec-kep img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

}

.fo-layout {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;

    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.22);
}

.oldalmenu {
    background-color: #e0e0e0;
    padding: 15px;
}

.oldalmenu h2 {
    font-size: 1rem;
    margin: 10px 0 5px;
}

.oldalmenu ul {
    list-style: none;
    margin-bottom: 10px;
    padding: 0;
}

.oldalmenu li {
    margin: 6px 0;
    position: relative;
    padding: 5px 0;
}

.oldalmenu.bal li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;    
    height: 100%;
    width: 100%;

    background: linear-gradient(
        to right,
        #349899,
        rgba(52,152,153,0)
    );

    opacity: 0.7;
    border-radius: 4px;

    transition: 
        width 0.3s ease-in-out,
        left 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
}

.oldalmenu.bal li:hover::before {
    width: 110%; 
    left: -20%; 
    opacity: 1;
}

.oldalmenu.jobb li::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;

    background: linear-gradient(
        to left,
        #349899, 
        rgba(52,152,153,0)
    );

    opacity: 0.7;
    border-radius: 4px;

    transition:
        width 0.3s ease-in-out,
        right 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
}

.oldalmenu.jobb li:hover::before {
    width: 110%;
    right: -20%;
    opacity: 1;
}

.oldalmenu a {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.oldalmenu a:hover {
    text-decoration: none;
    color: #ffffff;
}

.oldalmenu.jobb {
    text-align: right;
}

.oldalmenu.jobb a {
    text-align: right;
    padding-right: 8px;
}

.oldalmenu.jobb h2 {
    text-align: right;
}

.tartalom {
    background-color: white;
    padding: 20px;
}

.oldalcim {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.kep-racs {
    float: right;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-left: 20px;
    margin-bottom: 15px;
    max-width: 200px;
}

.kep-racs img {
    width: 100%;
    display: block;
    border: none;
}

.szoveg p {
    margin-bottom: 14px;
    line-height: 1.5;
}

.lablec {
    padding: 0px 0 10px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-top: auto;
}

.lablec-vonal {
    height: 2px;
    width: 1200px;
    margin: 0 auto 6px auto;
    background: linear-gradient(
        to right,
        rgba(52,152,219,0),
        #3498db,
        rgba(52,152,219,0)
    );
    opacity: 0.75;
}

.lablec-szoveg a {
    text-decoration: none;
    color: #3498db;
    text-transform: lowercase;
}

.lablec-szoveg a:hover {
    text-decoration: none;
}
