@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

html {
    scroll-behavior: smooth; /* Sima görgetés */
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(50px);
    z-index: -1;
}

.logo{
    width: 150px;
    height: 80px;
}

.navbar a{
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

@media (max-width: 1151px) {
    .header{
        padding: 1.3rem 5%;
    }

    .container textarea{
        max-width: 400px;
    }

    .container input{
        min-width: 400px;

    }
    
}

@media (max-width: 768px) {
    .icons{
        display: inline-flex;
    }

        #check:checked~.icons #menu-icon{
            display: none;
        }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar{
        height: 17.7rem;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

    .item{
        width: 150px;
        height: 200px;
    }

    .kontakt h1{
        text-align: center;
        padding-top: 50px;
        margin-bottom: 50px;
    }
    
    .kontakt h2{
        font-size: 20px;
    }
    
    .kontakt h3{
        font-size: 22px;
    }
    
    .kontakt p{
        font-size: 16px;
    }

    .container{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }
    
}

/*Rolunk*/

.rolunk-container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 20px;
    border-bottom: 2px solid #2c3e50;
}

.rolunk-container h1, h2 {
    color: #2c3e50;
}

.rolunk-container h1 {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

.rolunk-container h2 {
    font-size: 1.5em;
    margin-top: 20px;
}

.rolunk-container p {
    margin: 15px 0;
}

.rolunk-container ul {
    list-style: none;
    margin-left: 20px;
}

.rolunk-container ul, li {
    margin: 5px 0;
}

.highlight {
    color: #2980b9;
    font-weight: bold;
}

.cta {
    text-align: center;
    margin-top: 30px;
    margin: 50px auto;
}

.cta a {
    padding: 10px;
    border: 2px solid #11910d;
    border-radius: 10px;
    background: rgba(0, 0, 0, .01);
    backdrop-filter: blur(5px);
    font-size: 20px;
    font-weight: bold;
    color: #3f4f5e;
    cursor: pointer;
    transition: .5s ease;
    text-decoration: none;
}

.cta a:hover {
    background: #11910d;
    color: #fff;
}

/*Banner*/

.banner{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 900px;
    background: url(images/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.banner .text{
    position: absolute;
    top: 200px;
    margin: 0px auto;
    max-width: 750px;
    text-align: center;
    color: #111111bd;
    border-radius: 15px;
    color: #fffffff1;

}

.kapcsolat{
    padding: 10px;
    border: 2px solid #11910d;
    border-radius: 10px;
    margin: 50px 0px 20px 0px;
    background: rgba(0, 0, 0, .01);
    backdrop-filter: blur(5px);
    font-size: 22px;
    font-weight: bold;
    color: #fffffff1;
    cursor: pointer;
    transition: .5s ease;
}

.kapcsolat:hover{
    background-color: #11910d;
    transition: .5s ease;
}

h1{
    font-size: 32px;
    padding: 10px;
}

p{
    font-size: 20px;
}

/*Services*/

#szolgaltatasok{
    height: 100px;
}

.services{
    margin: 15px auto;

}

.services h1{
    text-align: center;
    color: #2c3e50;;
}

.services h2{
    font-size: 22px;
    text-align: center;
    color: #fff;
    margin: 0px 5px;
}

.text1{
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(50px);
}

.items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 50px;

}

.item{
    width: 300px;
    height: 400px;
    border-radius: 10px;
    position: relative;
}

.item:hover{
    opacity: 0.8;
    cursor: pointer;
}

.item1{
    background: url(images/home.jpg);
    background-position: center;
    background-size: cover;
}

.item2{
    background: url(images/office.jpg);
    background-position: center;
    background-size: cover;
}

.item3{
    background: url(images/praxis.jpg);
    background-position: center;
    background-size: cover;
}

.item4{
    background: url(images/restaurant.jpg);
    background-position: center;
    background-size: cover;
}

.item5{
    background: url(images/school.jpg);
    background-position: center;
    background-size: cover;
}

.item6{
    background: url(images/daycare.jpg);
    background-position: center;
    background-size: cover;
}

.item7{
    background: url(images/window.jpg);
    background-position: center;
    background-size: cover;
}

.item8{
    background: url(images/industry.jpg);
    background-position: center;
    background-size: cover;
}

/*Kapcsolat*/

.kontakt{
    background: #3f4f5e;
    color: #fff;
}

.kontakt h1{
    text-align: center;
    padding-top: 50px;
    margin-bottom: 20px;
}

.kontakt h2{
    color: #fff;
}

.kontakt h3{
    font-size: 28px;
}

.kontakt p{
    font-size: 18px;
}
.container{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.kapcsolat-item1{
margin: 10%;
}

.kapcsolat-item2{
    text-align: center;
}

.container strong{
    font-size: 18px;
}

.container li{
    list-style: none;
}

.container input{
    width: 300px;
    height: 50px;
}

.container textarea{
    width: 600px;
    height: 300px;
}

.container button{
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    border: 2px solid #11910d;
    border-radius: 10px;
    background: rgba(0, 0, 0, .01);
    backdrop-filter: blur(5px);
}

.container button:hover{
    background-color: #11910d;
    transition: .5s ease
}

.hidden {
    display: none;
}

.success {
    color: white;
    width: 300px;
    background-color: green;
    padding: 10px;
    border-radius: 5px;
    margin: 10px auto;
    text-align: center;
}

.error {
    color: white;
    background-color: red;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}