@import url("navigacio.css") screen;
@import url("nyomtatas.css") print;

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    background-image: url("../media/fans_in_arena2.jpg");
    background-size: cover;
    background-attachment: fixed;
}

header {
    background-color: #1d428a;
    color: white;
    padding: 1em;
    text-align: center;
}

nav {
    margin-top: 0.5em;
}

main {
    padding: 2em;
    background: white;
    max-width: 80%;
    margin: auto;
}

main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em 0;
}

footer {
    background-color: #1d428a;
    color: white;
    text-align: center;
    padding: 1em;
    margin-top: 2em;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

.site-title {
    text-align: center;
    flex: 1 1 auto;
}

.font-size-selector {
    position: absolute;
    right: 1.25em;
    top: 50%;
    /* transform: translateY(-50%);*/
    display: flex;
    align-items: center;
    gap: 0.375em;
    white-space: nowrap;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}


main a:link {
    color: #1d428a;
    text-decoration: underline;
}

main a:visited {
    color: #5a7a9a;
    text-decoration: underline;
}


#skiptocontent * {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: #fff;
}

#skiptocontent a:focus {
    position: static;
    width: auto;
    height: auto;
}

/* Responsive adjustment for small screens */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .font-size-selector {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}
