@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@100&display=swap');
* {
    font-family: 'Alumni Sans', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #F9F7F7;
    --color1: #F6CBDF;
    --color2:#0F060F;
    --color3:#4A1E27;
    color: var(--color2);
}


.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: fixed;
    background-color: transparent;
    padding: 12px 20px;
    z-index: 1000;
}

.logo a{
    width: 40px;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.menu {
    display: flex;

}

.menu li {
    padding-left: 30px;

}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color2);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
    padding-top: 10px;
    font-size: 1.5rem;
}

.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}
.menu .dropdown-content a::after {
    content: "";
    position: absolute;
    bottom: 0;
    /*left: 0;*/
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}

.menu li a:hover:after {
    width: 100%;
}
.menu li a::before {
    content: attr(data-text); /* Szöveg megjelenítése */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Alapértelmezett érték: nem látható */
    transition: opacity 0.3s ease-in-out;
}

.menu li:hover a::before {
    opacity: 1; /* Megjelenítés hover állapotban */
}

.open-menu,
.close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 2.5rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 30px;
    right: 20px;
}

#check {
    display: none;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 1001;
}

.dropdown-content a {
    color: var(--color1);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    position: relative;
    flex-direction: column;
    padding-top: 10px;
    justify-content: center;
    text-align: center;
}



.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover::after {
    width: 100%;
}

@media(max-width: 610px) {
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: white;
        transition: all 0.2s ease-in-out;
    }

    .menu li {
        margin-top: 40px;
    }

    .menu li a {
        justify-content: center;
        text-align: center;

    }

    .open-menu,
    .close-menu {
        display: block;
    }

    #check:checked~.menu {
        right: 0;
    }


    #check:checked ~ .open-menu {
        display: none;
    }

    #check:checked ~ .close-menu {
        display: block;
    }
}
/*page start*/
.container{
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content: center;
    padding:50px 8%;
}
.gallery{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap:30px;
}
.gallery img{
    width:100%;
}

