/* Alapértelmezett stílusok */
* {
    text-decoration: none;
    font-family: 'HurmeGeometricSansBold', sans-serif;
    background-color: rgba(238, 238, 238, 0.164);
}

#mainBodyText {
    padding: 20px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 0.801);
}

#mainBodyText #p1 {
    line-height: normal!important;
    font-size: 2em;
    text-align: center;
    font-family: 'HurmeGeometricSansBold', sans-serif;
    font-weight: bold;
    line-height: 36px;
}

#mainBodyText #p2 {
    font-size: 1.3em;
    text-align: center;
}

.navBarDiv {
    padding: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(15px);
    height: 111px !important;
    display: flex;
    align-items: center;
}

/* Az alapértelmezett navigációs stílusok */
nav {
    display: flex;
    align-items: center;
    background-color: transparent;
    width: 100%;
    margin: 0 auto; /* Középre igazítás */
}

.navImage {
    display: flex;
    align-items: center;
    position: relative;
}

.navImage img {
    max-height: 50px;
}

.buttonLinks {
    cursor: pointer;
}

/* Hamburger menü - alapértelmezett */
.hamburger {
    display: none; /* Alapértelmezett állapotban rejtett a desktop nézetben */
}

/* Menüpontok stílusai */
.navBarLinks {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Jobbra igazítja a menüpontokat */
}

/* Dropdown stílusok */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown .content {
    display: none;
    position: absolute;
    min-width: 270px;
    background-color: white;
    font-size: 0.875rem;
    line-height: 21px;
    z-index: 1;
    transition: all 0.3s ease; /* Hozzáadott átmenet */
    opacity: 0; /* Alapértelmezetten átlátszó */
    transform: translateY(-10px); /* Alapértelmezetten eltolva */
}

.dropdown:hover .content {
    display: block;
    opacity: 1; /* Áttetszőség eltávolítása */
    transform: translateY(0); /* Alaphelyzetbe állítás */
}

.dropdown a {
    display: block;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.dropdown a:hover {
    background-color: rgba(217, 233, 237, 0.495);
    transform: scale(1.1);
}

/* Keresősáv stílusai */
.searchBar {
    display: none;
    position: absolute;
    top: 30px;
    right: -20px;
    min-width: 200px;
}

.searchButtonContainer:hover .searchBar {
    display: block;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Mobil nézetben látható és működőképes */
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        position: absolute;
        left: 30px; /* A hamburger ikon elhelyezése bal oldalon */
        top: 20px;
        background-color: white;
    }

    .hamburger div {
        width: 30px;
        height: 3px;
        background-color: black;
    }

    .navBarLinks {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
    }


    .navBarDiv.active .navBarLinks {
        display: flex;
    }

    .navImage {
        position: static; /* Mobil nézetben nem abszolút pozicionált */
        margin: 10px auto;
        justify-content: center;
        width: 100%;
    }

    .searchButtonContainer {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .dropdown .content {
        position: relative;
        width: 100%;
    }

    nav {
        display: flow!important;
    }

    .search {
        width: 100%;
        margin-bottom: 10px;
    }

    .search input[type="text"] {
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 20px;
        outline: none;
        font-size: 14px;
        width: 95%!important;
        background-color: white;
    }

    .search form {
        width: 100%;
    }
}


.search {
    display: flex;
    align-items: center;
    margin-left: auto; /* Jobbra tolja a keresőmezőt */
    margin-right: -15px; /* Távolság a navigációs linkektől */
}

.search input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px; /* Kerekített sarkok */
    outline: none;
    font-size: 14px;
    width: 500px; /* Szélesség */
    background-color: white;
}

.search i {
    margin-left: -40px;
    margin-top: 15px;
    color: #555;
    cursor: pointer;
}


