html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    background-image: url(hátterek/kepek.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: Verdana;
}
li{
    list-style: none;
}


a.nagy{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 20px 20px;
    background-color: grey;
    border-radius: 10px;
    transition: 0.4s;
    border-width: 3px;
    border: black solid;
    
}
a.nagy:hover{
    background-color:dimgray;
    font-size: 28px;
    transition: 0.4s;
}
a.kics{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 20px 20px;
    background-color: grey;
    border-radius: 10px;
    transition: 0.4s;
    border-width: 3px;
    border: black solid;
}
a.kics:hover{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 20px 20px;
    background-color: orange;
    border-radius: 10px;
    transition: 0.4s;
    border-width: 3px;
    border: black solid;
}
header{
    position: relative;
    

}
.navbar{
    width: 100%;
    height: 98px;
    
    margin: 0 auto;
    display: flex;
    margin-top: 40px;
    justify-content:center;
}

.navbar .links{
    display: flex;
    gap: 2rem;

    
    
}
.navbar .links .active{
    background-color: orange;

    transition: 0.4s;
    
}
.navbar .dropdown_menu .active{
    background-color: orange;

    transition: 0.4s;
    
}
.navbar .toggle_button{
    font-size: 4rem;
    display: none;
    cursor: pointer;
    color:orange;
    -webkit-text-stroke: 3px black;
    
}

@media (max-width: 1650px){
    .navbar .links{
        display: none;
    }
    .navbar .toggle_button{
        display: block;
    }
    .dropdown_menu{
        display: block;
    }
}

.dropdown_menu{
    display: block;
    position: absolute;
    background-color: rgb(206, 206, 206);
    border-radius: 50px;
    
    top: 70px;
    width: 400px;
    z-index: 1;
    overflow: hidden;
    
    height: 0;
    transition: height 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    
}

.dropdown_menu li{
    padding: 0.7rem;

    display: flex;
    align-items: center;
    justify-content: center;

}
.dropdown_menu.open{
    height: 750px;
    border: black solid;
    
}

@media (max-width: 576px) {
    .dropdown_menu{   
        width: unset;
    }

}

.elemek{
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    flex-wrap: wrap;
    text-align: center;
    gap: 1%;
    
}
.elokep{
    width: 260px;
    height: 260px;
    margin: 2%;
    border: 2px black solid;
    background-color: white;
    transition: 0.5s;

}
.elokep:hover{
    transform: scale(1.1);

}
.text{
    text-align: center;
    position: absolute;
    top: 7%;
    left: 50%;
    width: 100%;
    font-size: 25px;
    color: orange;
    -webkit-text-stroke: 1px black;
    font-weight: bold;
    text-align: center;
    transform: translate(-50%, -50%);
}
.container{
    position: relative;
    
}

.minden{
    margin: 0 5%;
    
}
h1{
    text-align: center;
    font-size: 50px;
    color: orange;
    -webkit-text-stroke: 2px black;
    font-weight: bold;
}
h2{
    text-align: center;
    font-size: 40px;
    color: orange;
    -webkit-text-stroke: 2px black;
    font-weight: bold;
    margin-top: 7%;
}
.gallery{
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    flex-wrap: wrap;
    gap: 2%;
    margin: 0 3%;
}
.kep{
    width: 330px;
    height: 330px;
    background-color: white;
    margin: 5% 0;
    transition: 0.5s;
    border: 3px white solid;
}
.kep:hover{
    transform: scale(1.1);
}