body {
    margin: 0;
    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;
}

.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: 15%;
        height: 15%;
        margin-left: 45%;
        margin-right: 45%;
    }

    .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: 15px;
        background: black;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

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

    .active {
        color: white;
    }
}

.fejlec {
    position: relative;
    margin-top: -10px;
    width: 100%;
    height: auto;
}

.fejlecmobil {
    display: none;
}

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

    .fejlecmobil {
        display: initial;
        position: relative;
        height: auto;
        width: 100%;
    }
}

.bemutatkozas {
        position: relative;
        margin-top: 50px;
        margin-left: 7%;
        width: 86.7%;
        height: auto;
}

.rolamkep {
        position: absolute;
        width: 40%;
        height: auto;
        margin-top: 2.5%;
        margin-left: -94%;
}

.rolamszoveg h1 {
        position: absolute;
        margin-top: -34.7%;
        margin-left: 48%;
        font-size: 1.84vw;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        color: white;
}

.rolamszoveg h2 {
        position: absolute;
        margin-top: -31.5%;
        margin-left: 48%;
        color: #96C11E;
        font-weight: 400;
        font-size: 1.57vw;
        font-family: 'Montserrat', sans-serif;
    }

.rolamszoveg p {
        position: absolute;
        margin-top: -26%;
        margin-left: 48%;
        margin-right: 6%;
        color: white;
        font-weight: 200;
        font-size: 0.94vw;
        font-family: 'Montserrat', sans-serif;
        text-align: justify;
    }

.rolamgomb {
        position: absolute;
        margin-top: -6.3%;
        margin-left: 48%;
        background-color: #96C11E;
        padding: 1% 2% 1% 2%;
        border-radius: 10px;
        text-decoration: none;
        color: white;
        font-size: 1.2vw;
        font-family: 'Montserrat', sans-serif;
        transition: background-color 0.5s ease-in-out;
    }

.rolamgomb:hover {
    color: black;
}

.bemutatkozashattermobil {
    display: none;
}

@media screen and (max-width: 767px) {
    .bemutatkozas {
        width: 100%;
        margin-left: 0;
    }

    .bemutatkozashatter {
        display: none;
    }

    .bemutatkozashattermobil {
        display: initial;
        position: relative;
        height: auto;
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
    }
    
    .rolamkep {
        position: absolute;
        width: 85%;
        height: auto;
        margin-top: 2.5%;
        margin-left: -92.5%;
    }
    
    .rolamszoveg h1 {
        margin-top: -133%;
        margin-left: 7.5%;
        font-size: 5.83vw;
    }

    .rolamszoveg h2 {
        margin-top: -124%;
        margin-left: 7.5%;
        font-size: 5vw;
    }

    .rolamszoveg p {
        margin-top: -105%;
        margin-left: 7.55%;
        margin-right: 7.5%;
        text-align: start;
        font-size: 3.88vw;
    }

    .rolamgomb {
        margin-left: 25%;
        font-size: 3.88vw;
        bottom: 3%;
        padding-top: 18px;
        padding-bottom: 18px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.mts h1 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 75px;
    font-size: 1.84vw;
    font-weight: bold;
}

.mtskep {
    margin-top: 50px;
    margin-left: 6.65%;
    margin-right: 6.65%;
}

.logoterv, .web, .nevjegy, .online {
    display: none;
}

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

    .mts h1 {
        font-size: 5.83vw;
    }

    .logoterv {
        display: block;
        width: 60%;
        height: auto;
        margin-top: 10%;
        margin-left: 20%;
    }

    .web {
        display: block;
        width: 48%;
        height: auto;
        margin-top: 10%;
        margin-left: 26%;
    }

    .nevjegy {
        display: block;
        width: 60%;
        height: auto;
        margin-top: 10%;
        margin-left: 20%;
    }

    .online {
        display: block;
        width: 48%;
        height: auto;
        margin-top: 10%;
        margin-left: 26%;
    }
}

.ar {
    background-color: #575756;
    padding: 1% 2% 1% 2%;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: 1.2vw;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.5s ease-in-out;
}

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

.mts p {
    text-align: center;
    margin-top: 5%;
}

@media screen and (max-width: 767px) {
    .ar {
        font-size: 3.88vw;
        padding-top: 18px;
        padding-bottom: 18px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .mts p {
        margin-top: 15%;
    }
}

.idezet h2 {
    font-size: 1.57vw;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 100px;
    margin-bottom: -20px;
}

.idezet h3 {
    font-size: 1.57vw;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #575756;
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .idezet h2 {
        font-size: 3.88vw;
        margin-left: 7%;
        margin-right: 7%;
        margin-top: 15%
    }

    .idezet h3 {
        font-size: 3.88vw;
        margin-left: 7%;
        margin-right: 7%;
    }
}

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

.iz {
    font-size: 1.84vw;
    color: #96C11E;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    margin-top: -45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mySlides {
    display: none;
}

.slideshow-container {
    width: 60%;
    height: auto;
    position: relative;
    margin: auto;
    margin-top: -40%;
    margin-bottom: 75px;
}

    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }

    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .numbertext {
        color: #ffffff;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
    }

    .dot {
        cursor: pointer;
        width: 1vw;
        height: 1vw;
        margin: 0vw 0.2vw;
        background-color: #999999;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }

    .active,
    .dot:hover {
        background-color: #111111;
    }

    .fade {
        -webkit-animation-name: fade;
        -webkit-animation-duration: 1.5s;
        animation-name: fade;
        animation-duration: 1.5s;
    }

    @-webkit-keyframes fade {
        from {
            opacity: .4
        }

        to {
            opacity: 1
        }
    }

    @keyframes fade {
        from {
            opacity: .4
        }

        to {
            opacity: 1
        }
    }

    .portfolio {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 3%;
        background-color: #575756;
        padding: 19px 35px 19px 35px;
        border-radius: 10px;
        text-decoration: none;
        color: white;
        font-size: 18px;
        font-family: 'Montserrat', sans-serif;
        transition: background-color 0.5s ease-in-out;
    }

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

    @media screen and (max-width: 767px) {
        .iz {
            font-size: 3.88vw;
        }

        .dot {
            margin-top: 3vw;
        }

        .prev {
            margin-top: -46px;
        }

        .next {
            margin-top: -46px;
        }

        .portfolio {
            font-size: 3.88vw;
            margin-top: -5%;
            padding-top: 18px;
            padding-bottom: 18px;
            padding-left: 32px;
            padding-right: 32px;
        }
    }

    .kapcsolat h4 {
        font-size: 3.5vw;
        font-family: 'Montserrat', sans-serif;
        color: #575756;
        margin-left: 7%;
        margin-top: 10%;
    }

    .kapcsolat p {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.5vw;
        color: black;
        margin-left: 7%;
        margin-top: -2%;
    }

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

        .kapcsolat p {
            font-size: 3.88vw;
            margin-left: 7%;
        }
    }

    #contact-form {
        margin-top: -17.5%;
        height: 400px;
        float: right;
        margin-right: 7%;
        font-family: 'Montserrat', sans-serif;
    }

    label {
        font-size: 1vw;
        color: #575756;
    }

    input[type="text"],
    input[type="email"] {
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #575756;
        border-radius: 5px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        font-size: 0.9vw;
        color: #575756;
        background-color: rgba(87, 87, 86, 0.1);
        width: 90%;
    }

    textarea {
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #575756;
        border-radius: 5px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        font-size: 0.9vw;
        color: #575756;
        background-color: rgba(87, 87, 86, 0.1);
        resize: none;
        width: 90%;
    }

    input[type="submit"] {
        display: block;
        margin: 0 auto;
        background-color: #575756;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-size: 0.9vw;
        cursor: pointer;
        transition: background-color 0.5s ease-in-out;
    }

    input[type="submit"]:hover {
        background-color: #96C11E;
        color: black;
    }

    @media screen and (max-width: 767px) {
        #contact-form {
            position: absolute;
            margin-top: 15%;
            float: left;
            margin-left: 7%;
        }

        label {
            font-size: 3.88vw;
        }

        input[type="text"] {
            width: 90%;
            font-size: 3.88vw;
        }

        input[type="email"] {
            width: 90%;
            font-size: 3.88vw;
        }

        textarea {
            width: 90%;
            font-size: 3.88vw;
        }

        input[type="submit"] {
            font-size: 3.88vw;
            margin: 0;
        }
    }

    .labgomb {
        margin-top: 10px;
    }

    .labemail {
        margin-right: 10px;
        float: left;
        width: 39px;
        height: 39px;
    }

    .labfb {
        margin-left: 7%;
        margin-right: 10px;
        float: left;
        width: 39px;
        height: 39px;
    }

    .labinsta {
        float: left;
        width: 39px;
        height: 39px;
    }

    .lablecmobil {
        display: none;
    }

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

    :root {
        scroll-behavior: smooth;
    }

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

    .kep {
        margin-left: 104px;
        margin-top: 532px;
    }

    @media screen and (max-width: 767px) {
        .lablec {
            display: none;
        }
        
        .lablecmobil {
            margin-top: 125%;
            display: block;
            width: 100%;
            height: auto;
            margin-bottom: -1px;
        }

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

    #popup-message {
        position: fixed;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        border: 1px solid black;
        border-radius: 10px;
        font-style: 'Montserrat', sans-serif;
        font-size: 20px;
        padding: 20px;
        z-index: 9999;
        display: none;
        animation-name: fadeOut;
        animation-duration: 10s;
        animation-fill-mode: forwards;
    }

    @keyframes fadeOut {
        0% {
            opacity: 0;
        }

        30% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }