html {
    scroll-behavior: smooth;
}
body{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-image: linear-gradient( white, grey);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
}
main{
    display: flex;
    flex-direction: column;
}
.line {
height: 3px;
width: 25px;
border: thin solid black;
margin: 4px 0;
background-color: black;
}
nav a {
    color: black;
    text-decoration: none;
    transition: 1s;
    position: relative;
}
nav a::after{
    content: "";
    position: absolute;
    height: 2px;
    left:0;
    bottom: 0;
    width: 0;
    background-color: black;
    transition: width 0.5s;
}
nav a:hover:after{
    width:100%;
}
.logo{
    margin-left: 10px;
    cursor:pointer;
    background-image: url("assets/logo01.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 15em;
    height: 3em;
}
.logo:hover{
    opacity: 0.9;
}
.navbar {
    width: 100%;
    height: 3em;
    display: grid;
    grid-template-columns: 1fr 1fr  ;
    color: black;
    align-items: center;
    margin-right: 10px;
    background-color: beige;
    position: sticky;
    top: 0;
    z-index: 1;
  
}
.navigation{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 10px;
}
.hamburger{
    display: none ;
}
.parall {
    width: 100%;
    height: 80vh;
    position: relative;
    min-height: 80vh;
    overflow: hidden; 
}

.parall::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/parallax.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1; 
} 
.rolunk{
    height: max-content;
    width: 100%;
    margin-bottom: 10px;
    display: block;
    animation: float linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;;
}
.rolunk-cont {
    width: 90%;
    height: max-content;
    margin: 0 auto;
    padding-left: 10px;
    padding-right:10px;
    color:black;
    text-align: center;
    border-radius: 10px;
    border: thin solid black;
}
.rolunk-cont p{
    font-size: large;
    color: black;
}
.galireaCont {
   align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.kepek {
width:100%;
display: flex;
flex-direction: row;
gap: 2em;

margin-bottom: 2em;
}
.konyha {

    background-image: url("assets/konyha.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
}
.kad {
    background-image: url("assets/kad.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
}
.furdo {
    background-image: url("assets/furdo1.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
}
.colonial {
    background-image: url("assets/colonial.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
}
.borgini {
    background-image: url("assets/borgini.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
    justify-self: center;
}
.keramia {
    background-image: url("assets/keramia.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
    justify-self: center;
}
.gogol3 {
    background-image: url("assets/Gogol_u_foto_3.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
    justify-self: center;
}
.kiraly7 {
    background-image: url("assets/Kiraly_u_07.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
    justify-self: center;
}
.verde {
    background-image: url("assets/verde.jpg"
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 300px;
    justify-self: center;
}
.kapcsolat-cim {
    text-align: center;
    color: black;
}
.kapcsolat {
    width: 60%;
    margin: 0 auto;
}
.szov {
    color: white;
    text-align: center;
}
.gal-cim {
    text-align: center;
}
.kapcsolat {
    width: 80%;
    height:max-content;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6vw;
    border-radius: 5px;
    padding-bottom: 10px;
}

footer > * {
    padding-left: 10px;
}
.kapcsolat  a {
    color: black;
}
.focimcont {
    position: absolute;
    bottom: 2em;
    left: 2em;
    padding: 8px;
    background-color: beige;
    border: thin solid black;
    border-radius: 10px;
    opacity: 0.7;
}
.focimcont * {
    opacity: 1;
}
.kep-cim {
    text-align: center;
}
@media screen and (max-width: 1010px ) {
.kepek {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width: 769px ) {
    .navbar{
        grid-template-columns: 1fr 0.1px;
    }
    .navigation{
        flex-direction: column;
        justify-self: flex-end;
        display: none;
        background-color: beige;
        text-align: center;
    }
    .parall::before {
        background-attachment: scroll; 
        transform: translateZ(0);
    }
    .navigation a{
        margin-bottom: 5px;
    }
    .navigation.active {
        flex-direction: column;
        display: flex;
        background-color: beige;
        width: 100%;
        justify-self: flex-end;
        order: 2;
        padding-right: 0;
        
    }
    .hamburger {
        display: block;
        justify-self: flex-end;
        margin-right: 5px;
        cursor: pointer;
        transition: 0.5s;
    }
    .kepek {
        display: flex;
        flex-direction: column;
    }
    iframe{
        width: 200px;
    }
 
    .kapcsolat{
        width: 70%;
    }
    .kapcs-cont{
        width: 70%;
    }
}
@media  screen and (max-width: 600px) {
    
    .galeria{
        display: block;
    }
    .kapcsolat{
        width: 80%;
        height: max-content;
        margin-bottom: 10px;
        flex-direction: column;
    } 
    .kapcs-cont{
        width: 80%;
    }
    
}



