
body header {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px; /* Full-screen header */
    max-height: 30vh;
}

header menu {
    top: 0;
    display: flex;
    justify-content: center; /* Center the container within the menu */
    width: 100%;
    min-height: 60px; 
    background-color: transparent; /* Semi-transparent black background */
    padding: 0 0;
}

header menu .container {
    display: flex;
    justify-content: space-between; /* Space between nav and any other content (e.g., title) */
    align-items: center;
    padding: 0 20px; /* Optional padding */
}

nav {
    display: flex;
    justify-content: center; /* Center the nav items */
    /*background-color: #007bff;  A modern blue color */
    /*padding: 15px 0;*/
    box-shadow: 0 2px 10px rgba(219, 209, 209, 0.1); /* Add some shadow for depth */
}

/* Styling each .odkaz container */
.odkaz {
    padding: 20px 0;
}

/* Styling the anchor tags inside .odkaz */
.odkaz a {
    text-decoration: none;
    color: #110b0b; /* White text for contrast */
    font-size: 20px;
    font-weight: bold;
    padding: 20px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for links */
.odkaz a:hover {
    background-color: transparent;
    background-blend-mode: lighten;
    color: red; /* Keep the text white */
}

/* Active state for links (optional) */
.odkaz a:active {
    background-color:  transparent; 
    color: red;
}


.dialLogout, .dialLogin {
    display: flex;
    align-items: center;
    font-size: 20px;
    gap: 15px; /* Space between the icon and the text */
    box-shadow: 0 2px 10px rgba(219, 209, 209, 0.1); /* Add some shadow for depth */
}

.dialLogout .name, .dialLogin .name {
    color: #110b0b;
    font-size: 20px;
}

.dialLogout i, .dialLogin i {
    font-size: 1.5rem; /* Adjust icon size */
    color: #110b0b; /* Adjust icon color */
}

.dialLogout input[type="submit"] {
    color: #110b0b; /* White text for contrast */
    font-size: 20px;
    font-weight: bold;
    font-family: 'Fuzzy Bubbles';
    padding: 20px 20px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.dialLogout input[type="submit"]:active {
    background-color: transparent;
    color: red; /* Keep the text white */
}

.dialLogout input[type="submit"]:hover {
    background-color: transparent; ; 
    background-blend-mode: lighten;
    color: red; /* Keep the text white */
}

/* H1 inside the header */
header h1 {
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    font-size: 100px;
    text-shadow: -1px 5px rgb(143 14 14 / 70%);
}

/* Responsive behavior */
@media (max-width: 768px) {

    nav {
        flex-direction: column; /* Stack links vertically on smaller screens */
        align-items: flex-start;
        justify-content: center;
    }

    .odkaz {
        margin: 5px 0; /* Vertical margin between links */
        padding: 10px 0;
    }

    .odkaz a {
        font-size: 1rem; /* Slightly smaller text on mobile */
        padding: 5px 10px; /* Adjust padding for mobile */
    }

    .odkaz a:hover {
        background-color: transparent;
        background-blend-mode: normal;
        color: red; /* Keep the text white */
    }

    .odkaz a:active {
        background-color:  transparent; 
        background-blend-mode: normal;
        color: red;
    }
    

    .dialLogout, .dialLogin {
        flex-direction: column; /* Stack links vertically on smaller screens */
        align-items: flex-end;
        justify-content: center;
        font-size: 1rem;
    }

    .dialLogout i, .dialLogin i {
        display: none;
    }

    .dialLogout .name, .dialLogin .name {
        font-size: 1rem;   
        margin-top: 5px;
        padding-top: 10px;
    }

    .dialLogout input[type="submit"] {
        font-size: 1rem;   
        padding: 5px 0px;
    }

}

@media (max-width: 704px) {

    .odkaz {
        margin: 5px 0; /* Vertical margin between links */
        padding: 5px 0;
    }

    .odkaz a {
        font-size: 0.9rem; /* Slightly smaller text on mobile */
        padding: 5px 10px; /* Adjust padding for mobile */
    }

    header {
        height: 100px;
        max-height: 15vh;
    }


    header h1 {
        font-size: 70px;
    }

    .dialLogout .name, .dialLogin .name {
        margin-top: 5px;
        padding-top: 5px;
        font-size: 0.9rem;   
    }

    .dialLogout input[type="submit"] {
        font-size: 0.9rem;   
        padding: 2px 0px;
    }
}

@media (max-width: 430px) {

    header {
        max-height: 80px;
    }

    header menu {
        max-height: 30px;
    }

    header h1 {
        font-size: 40px;
    }

    .odkaz {
        margin: 5px 0; /* Vertical margin between links */
        padding: 2px 0;
    }

    .odkaz a {
        font-size: 0.8rem; /* Slightly smaller text on mobile */
        padding: 1px 10px; /* Adjust padding for mobile */
    }

    .dialLogout .name, .dialLogin .name {
        margin-top: 2px;
        padding-top: 2px;
        font-size: 0.8rem;   
    }

    .dialLogout input[type="submit"] {
        font-size: 0.8rem;   
        padding: 1px 0px;
    }

}

@media (max-height: 380px) {

    header {
        height: 70px;
    }

    header menu {
        height: 30px
    }

    header h1 {
        font-size: 25px;
    }

    .odkaz {
        margin: 5px 0; /* Vertical margin between links */
        padding: 2px 0;
    }

    .odkaz a {
        font-size: 0.8rem; /* Slightly smaller text on mobile */
        padding: 1px 10px; /* Adjust padding for mobile */
    }

    .dialLogout .name, .dialLogin .name {
        margin-top: 2px;
        padding-top: 2px;
        font-size: 0.8rem;   
    }

    .dialLogout input[type="submit"] {
        font-size: 0.8rem;   
        padding: 1px 0px;
    }

}