@import url("nyomtatas.css") print;

@import url("nagybetus.css") screen;

#styleswitch {
    text-align: right !important;
    margin: 10px 20px 20px auto !important; 
    display: block !important;
}

#styleswitch label {
    margin-right: 10px;
}

#styleSwitcher {
    padding: 5px;
    border-radius: 4px;
}

html {
    background-image: url("../media/camp_nou_hatter.jpg");
    background-attachment: fixed;
}

body {
    font-family     : Arial, sans-serif;
    font-size       : 1.125rem;
    margin          : 10px auto;
    padding         : 10px 30px;
    color           : black;
    background-color: rgb(236, 236, 232);
    line-height     : 1.5;
    border-radius   : 10px;
    border          : 2px solid black;
    max-width       : 800px;
    box-shadow      : 5px 5px 10px black;
    align-items     : center;
    text-align: justify;
}

header{
    background-color:beige;
    border-radius: 5px;;
    box-shadow: 5px 5px 10px black;
    padding: 10px;
    overflow: hidden;
}

footer{
    color: grey;
    text-align: center;
}

h1 {
    background: linear-gradient(to bottom, red 0%, blue 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
    font-size: 3rem;
}

h2{
    background: linear-gradient(to bottom, red 35%, blue 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    padding-top: 20px;

    display: table;
    clear: both;
}

#skiptocontent {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(to bottom, red -40%, blue 140%);
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    max-width: 740px;
    margin: 20px auto;
    position: relative;
}
  
.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

a {
    color: blue;
}

a:visited {
    color: #663399; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}
  
.nav-links li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px black;
    text-decoration: none;
    color: black;
    font-weight: bold;
    background-color: rgb(230, 239, 61);
    transition: background-color 0.3s ease;
}
  
.nav-links li a:hover {
    background-color: #df1515;
}

.nav-links .aktualis{
    background-color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 5px;
}

aside{
    width: 100%;
}

@media (max-width: 1000px) {
    .menu-toggle {
        display: block;
        order: 2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, red -40%, blue 140%);
        flex-direction: column;
        gap: 0;
        padding: 10px;
        border-radius: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        max-width: 100%;
        box-shadow: 5px 5px 10px black;
        border-radius: 5px;
        margin: 3px 0;
    }
}
  