/* ==========================
   ALAPOK
========================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #898c81;
    color: #ffffff;
    font-family: Georgia, serif;
    line-height: 1.8;
}


p {
    font-size: 17px;
}


a {
    transition: .3s ease;
}


section {
    text-align: center;
    scroll-margin-top: 90px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}



/* ==========================
   HEADER
========================== */


header {

    position: fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

}


.navbar {

    width:100%;

    background:rgba(137,140,129,.95);

    backdrop-filter:blur(6px);

    padding:15px 30px;

}



.navbar ul {

    display:flex;

    justify-content:center;

    align-items:center;

    gap:35px;

    list-style:none;

    margin:0;

    padding:0;

}



.navbar li {

    font-style:italic;

}



.navbar a {

    color:white;

    text-decoration:none;

}



.navbar a:hover {

    opacity:.6;

}



.fejlec-kepek {

    height:45px;

}



/* hamburger */

#menu-bar {

    display:none;

}


label[for="menu-bar"] {

    display:none;

}



/* ==========================
   KONTÉNER
========================== */


.container {

    max-width:900px;

    margin:auto;

    padding:100px 30px;

}




/* ==========================
   CÍMEK
========================== */


h1 {

    font-size:80px;

    font-weight:normal;

    letter-spacing:10px;

    margin:0 0 20px;

}



h2 {

    font-size:42px;

    font-weight:normal;

    margin-bottom:50px;

}



h3 {

    font-size:24px;

    font-weight:normal;

}




/* ==========================
   FŐOLDAL
========================== */


#fooldal {

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

}



#fooldal h1 {

    animation:feluszas 1s ease forwards;

}



#fooldal h2 {

    opacity:0;

    animation:feluszas 1s ease .2s forwards;

}



#fooldal p {

    max-width:650px;

    margin:25px auto;

    opacity:0;

    animation:feluszas 1s ease .4s forwards;

}




.hero-button {


    display:inline-block;

    margin-top:40px;

    padding:15px 40px;

    border:1px solid white;

    border-radius:40px;

    color:white;

    text-decoration:none;

    letter-spacing:2px;

    text-transform:uppercase;


}



.hero-button:hover {

    background:white;

    color:#898c81;

    transform:translateY(-4px);

}




/* ==========================
   TÖRTÉNET
========================== */


.nev-eredete {

    margin:50px auto;

}



.logo-idea {

    font-size:36px;

    letter-spacing:8px;

    margin:40px 0;

}



.signature {

    margin-top:50px;

    font-size:20px;

    font-style:italic;

}




/* ==========================
   SZOLGÁLTATÁSOK
========================== */


.services {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}



.service-box {


    padding:35px;


    border:1px solid rgba(255,255,255,.15);

    border-radius:12px;


    transition:.4s ease;


}



.service-box:hover {

    transform:translateY(-10px);

    border-color:white;

}


/* ==========================
        PORTFÓLIÓ
========================== */

#referenciak{

    background:#898c81;

}


.portfolio{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:50px;

    margin-top:60px;

}


.portfolio-item{

    text-align:center;

}


.portfolio-image{

    position:relative;

    overflow:hidden;

    border-radius:15px;

    transition:.4s;

}


.portfolio-image:hover{

    transform:translateY(-8px);

}


.desktop{

    width:100%;

    display:block;

    border-radius:15px;

}


.mobile{

    position:absolute;

    right:20px;

    bottom:20px;

    width:22%;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.3);

    transition:.4s;

}


.portfolio-image:hover .mobile{

    transform:translateY(-10px);

}


.portfolio-item h3{

    margin-top:25px;

    margin-bottom:10px;

}


.portfolio-link{

    display:inline-block;

    margin-top:15px;

    color:white;

    text-decoration:none;

    border-bottom:1px solid transparent;

}


.portfolio-link:hover{

    border-color:white;

}



/* Mobil */

@media(max-width:768px){

    .portfolio{

        grid-template-columns:1fr;

        gap:70px;

    }


    .mobile{

        width:28%;

        right:10px;

        bottom:10px;

    }

}

/* ==========================
   KAPCSOLAT
========================== */


#kapcsolat a {


    display:inline-block;

    margin-top:30px;

    padding:15px 40px;


    border:1px solid white;

    border-radius:40px;


    color:white;

    text-decoration:none;


}



#kapcsolat a:hover {


    background:white;

    color:#898c81;


}




/* ==========================
   FOOTER
========================== */


footer {

    text-align:center;

    padding:30px;

    font-size:13px;

}

#myBtn{

background-color: #898c81;
border:none;
}


/* ==========================
   ANIMÁCIÓ
========================== */


@keyframes feluszas {


    from {

        opacity:0;

        transform:translateY(40px);

    }


    to {

        opacity:1;

        transform:translateY(0);

    }

}




/* ==========================
   MOBIL
========================== */


@media(max-width:768px){



    .navbar {

        padding:15px;

    }



    .navbar ul {


        position:fixed;

        top:0;

        right:-100%;


        width:260px;

        height:100vh;


        background:#898c81;


        display:flex;

        flex-direction:column;

        justify-content:center;


        gap:30px;


        transition:.4s ease;


    }



    #menu-bar:checked ~ .navbar ul {

        right:0;

    }



    label[for="menu-bar"] {


        display:block;

        position:fixed;

        top:15px;

        right:20px;

        z-index:2000;

        cursor:pointer;


    }



    label[for="menu-bar"] img {


        width:35px;

        height:35px;


    }



    .fejlec-kepek {

        height:35px;

    }




    .container {

        padding:70px 20px;

    }




    h1 {

        font-size:45px;

        letter-spacing:5px;

    }



    h2 {

        font-size:32px;

    }




    p {

        font-size:16px;

    }




    .services {

        grid-template-columns:1fr;

    }



    .logo-idea {

        font-size:25px;

        letter-spacing:4px;

    }



}

/* ==========================
   SCROLL ANIMÁCIÓK
========================== */


.reveal {

    opacity:0;

    transform:translateY(50px);

    transition:
        opacity 1s ease,
        transform 1s ease;

}



.reveal.active {

    opacity:1;

    transform:translateY(0);

}



/* külön érkezés a szolgáltatásokhoz */

.service-box.reveal:nth-child(1){

    transition-delay:.1s;

}


.service-box.reveal:nth-child(2){

    transition-delay:.3s;

}


.service-box.reveal:nth-child(3){

    transition-delay:.5s;

}