body {
    margin: 0px;
    max-width: 100%;
    overflow-x: hidden;
}

.navmobil {
    display: none;
}

.logo {
    width: 87px;
    height: 38px;
    margin-top: 6px;
    margin-bottom: 12px;
    margin-left: 104px;
}

.nav {
    background-color: black;
    position: relative;
    max-height: 50px;
}

.nav a {
    float: right;
    color: #f2f2f2;
    margin-right: 20px;
    margin-top: 15px;
    text-decoration: none;
    font-size: 100%;
    font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width: 960px) {
    .nav a {
        font-size: 80%;
        margin-top: 18px;
    }
}

@media screen and (max-width: 865px) {
    .nav a {
        font-size: 60%;
        margin-top: 20px;
    }
}

.nav a:nth-child(2) {
    margin-right: 150px;
}

.nav a:hover {
    color: #96C11E;
}

.fejfb {
    position: absolute;
    top: 25%;
    right: 120px;
    margin-top: -10px;
    margin-right: 5px;
    width: 39px;
    height: 39px;
}

.fejemail {
    position: absolute;
    top: 25%;
    right: -30px;
    margin-top: -10px;
    margin-right: 104px;
    width: 39px;
    height: 39px;
}

@media screen and (max-width: 767px) {
    .fejemail {
        display: none;
    }

    .fejfb {
        display: none;
    }

    .logo {
        width: 10%;
        height: 10%;
        margin-left: 45%;
        margin-right: 45%;
        margin-top: 2%;
    }

    .nav {
        display: none;
    }

    .navmobil {
        overflow: hidden;
        background-color: black;
        position: relative;
        display: block;
    }

    .navmobil #oldalak {
        display: none;
    }

    .navmobil a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 18px;
        display: block;
        font-family: 'Montserrat', sans-serif;
    }

    .navmobil a.icon {
        width: 15px;
        height: 19px;
        background: black;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navmobil a:hover {
        background-color: #96C11E;
        color: black;
    }

    .active {
        color: white;
    }
}

.tartalom {
    position: relative;
    width: 100%;
    height: auto;
}

.tartalom h1 {
    font-size: 1.84vw;
    color: #575756;
    font-family: 'Montserrat', sans-serif;
    margin-top: 2.62%;
    margin-left: 6%;
}

.tartalom h2 {
    position: absolute;
    margin-top: 2%;
    margin-left: 54%;
    font-size: 1.84vw;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: black;
}

.tartalom h3 {
    position: absolute;
    margin-top: 5%;
    margin-left: 54%;
    color: #96C11E;
    font-weight: 400;
    font-size: 1.57vw;
    font-family: 'Montserrat', sans-serif;
}

.szoveg {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.94vw;
    margin-top: 8%;
    margin-left: 54%;
    margin-right: 6%;
    text-align: justify;
}

.kep {
    width: 43.06%;
    height: auto;
    margin-left: 6%;
    margin-top: 2.4%;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .tartalom h1 {
        font-size: 5.83vw;
        margin-left: 7%;
    }

    .tartalom h2 {
        position: none; 
        font-size: 3.88vw;
        margin-left: 7%;
        margin-top: 70%;
    }

    .tartalom h3 {
        position: none;
        font-size: 3.88vw;
        margin-left: 7%;
        margin-top: 76%;
    }

    .szoveg {
        position: none;
        font-size: 3.88vw;
        margin-left: 7%;
        margin-top: 79%;
        text-align: left;
    }

    .kep {
        margin-left: 7%;
        margin-right: 7%;
        width: 86%;
        height: auto;
    }
}

 .lablec {
    width: 100%;
    height: auto;
    margin-top: 75px;
    margin-bottom: -1px;
 }

 .lablecmobil {
    display: none;
 }

 :root {
     scroll-behavior: smooth;
 }

.fel {
    width: 5%;
    height: auto;
    float: right;
    margin-right: 104px;
    position: relative;
    margin-top: -13%;
}

@media screen and (max-width: 767px) {
    .lablec {
        display: none;
    }

    .lablecmobil {
        margin-top: 150%;
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: -1px;
    }

    .fel {
        width: 15%;
        height: auto;
        margin-top: -25%;
        margin-right: 4%;
    }
}