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;
    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;
    }
}

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

p {
    text-align: center;
    margin-top: 3%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.57vw;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 5.83vw;
    }

    p {
        font-size: 5vw;
        margin-left: 6%;
        margin-right: 6%;
    }
}

#contact-form {
    text-align: center;
    height: 400px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 2%
}
    
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: 50%;
}
    
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: 50%;
}
    
input[type="submit"] {
    display: block;
    margin: 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: 0%;
    }
    
    label {
        font-size: 3.88vw;
    }
    
    input[type="text"] {
        width: 80%;
        font-size: 3.88vw;
    }
    
    input[type="email"] {
        width: 80%;
        font-size: 3.88vw;
    }
    
    textarea {
        width: 80%;
        font-size: 3.88vw;
    }
    
    input[type="submit"] {
        font-size: 3.88vw;
    }
}

#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;
    }
}

.lablec {
    width: 100%;
    height: auto;
    margin-top: 2.62%;
    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: 130%;
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: -1px;
    }
    
    .fel {
        width: 15%;
        height: auto;
        margin-top: -25%;
        margin-right: 4%;
    }
}
