/* Alap stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    outline: none;
}

a:hover, a:focus, a:active {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: "Noto Kufi Arabic", sans-serif;
    background-color: #1a1a1a;
}

/* Navbar stílus */
.navbar {
    font-family: "Open Sans", sans-serif;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 25px rgba(0,0,0,.5);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Logo */
.navbar-logo {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* Menü lista */
.navbar-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar-links li {
    display: inline-block;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    display: block;
}

/* Menü linkek hover */
.navbar-links a:hover {
    color: #acacac;
    transition: 0.2s ease-in-out;
    border-radius: 5px;
}

/* Hamburger menü stílus */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
}

@media (min-width: 997px){
    .close-menu{
        display: none !important;
    }

    .navbar-logo{
        display: none;
    }

    .navbar-container{
        justify-content: center;
    }
}

/* Reszponzív - 996px alatt */
@media screen and (max-width: 996px) {
    .navbar-links {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        background-color: rgba(0,0,0,0.95);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
        opacity: 0; /* Kezdetben átlátszó */
        visibility: hidden; /* Rejtve van */
        transition: opacity 0.5s ease-out, visibility 0s linear 1s; /* Animáció */
    }

    /* Aktív menü, ami láthatóvá válik */
    .navbar-links.aktiv {
        opacity: 1; /* Megjelenik */
        visibility: visible; /* Láthatóvá válik */
        transition: opacity 0.5s ease-out, visibility 0s linear 0s; /* Láthatóvá válik */
    }

    .hamburger-menu {
        display: flex;
    }

    .navbar-links a {
        font-size: 1.2rem;
    }

    /* X gomb pozicionálása */
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
    }
}



.hatter{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, #1a1a1a 100%), 
    url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 95vh;
    margin-top: 40;
    padding-bottom: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hatter-logo{
    width: 25%;
}

.hatter-motto{
    font-size: 20px;
    line-height: 1.3;
    margin-top: 25px;
    width: 40%;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
}



footer{
    height: 10vh;
    background-image: linear-gradient(to bottom, #1a1a1a 20%, rgba(0, 0, 0, 0) 80%, #1a1a1a), 
    url(../img/bg_body.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-box{
    margin-top: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    padding: 20px 0px;
    box-shadow: 5px 5px 45px rgba(0,0,0,0.5);
}

.footer-szoveg{
    color: #fff;
    font-size: 17px;
    margin: 0px 25px;
}

@media (max-width: 996px){
    .hatter-logo{
        width: 60%;
    }

    .hatter-motto{
        width: 80%;
        font-size: 16px;
        line-height: 1.8;
    }

    .footer-box{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-szoveg{
        margin: 10px auto;
        box-shadow: 5px 5px 25px rgba(0,0,0,0.5);
        padding: 10px 0px;
        width: 100%;
    }
}