body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff1a1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-top: 20px;
}

.logo {
    width: 75px; /* Az embléma méretének beállítása */
}

.dok-title {
    font-size: 48px;
    color: #2c3e50;
    transform: rotate(10deg);
    position: relative;
    display: inline-block;
}

nav {
    margin-top: 20px;
    background-color: #0f56da;
    padding: 10px 0;
    border-radius: 8px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 20px;
    font-size: 18px;
    color: #34495e;
}

nav li i {
    margin-right: 8px;
}
nav li a{
    color:yellow;
    text-decoration: none;
}


a#active{
    color:whitesmoke;
    text-decoration: none;
}


main {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.content {
    background-color: white; /* Fő szekció háttérszíne */
    border: 2px solid #2c3e50; /* Keret színe */
    border-radius: 8px;
    padding: 20px;
    max-width: 800px; /* Maximális szélesség */
    text-align: center; /* Szöveg középre igazítása */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Árnyék */
}

@media (max-width: 600px) {
    .logo {
        width: 100px; /* Mobil nézetben az embléma méretének csökkentése */
    }

    .dok-title {
        font-size: 36px;
    }

    nav li {
        font-size: 16px;
        margin: 0 10px;
    }

    .content {
        padding: 15px; /* Mobil nézetben a tartalom belső margója */
    }
}
/* Hide the menu on mobile by default */
.menu-toggle {
    display: none;
}

@media (max-width: 600px) {
    /* Show the hamburger button */
    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #0f56da;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Hide nav ul by default and display as a column */
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjusted to account for the header */
        left: 0;
        background-color: #0f56da;
        text-align: center;
        padding: 10px 0;
        border-radius: 0 0 8px 8px;
    }

    /* When the nav ul has the 'active' class, show it */
    nav ul.active {
        display: flex;
    } 
} 
