:root {
    --primary-color: #468d0dbb;
    --secondary-color: #42830d;
    --background-color: #101010;
    --text-color: #e5e4e4;
}

html {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: black;
    color: var(--text-color);
    padding: 1rem;
    text-align: center;
    a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: bold;
        transition: text-decoration 0.2s ease-in-out;
    }
    a:hover {
        text-decoration: underline;
    }
    
}
#openNav {
    z-index: 3;
     display: none;
    
}
.openNav {
    z-index: 10;
    cursor: pointer;
    
    width: 50px;
    height: 60px;
        position: absolute;
        top:10px;
        right: 0px;
  

}
nav {
    position: absolute;
    color: var(--text-color);
    top: 82px;
    right: 0px;
    z-index: 4;
    display: none;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: black;
    border-radius: 0 0 0 5px;
    
    padding: 20px 30px;
}

#openNav:checked ~ nav, nav a  {
        animation: all 0.3s ease-in-out;
        display: flex;
}
@keyframes all {
        0% {
            opacity: 0;
            transform: translateX(120px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

hero {
    background-image: url('./img/bockback.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    .logo {
        width: 25vw;
        background-color: black;
        height: 25vw;
        max-width: 25vw;
        max-height: 25vw;
        margin-bottom: 2rem;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.5);
    }
    img {
        max-width: 112%;
        height: auto;
    }
    h2 {
        font-size: 1.7rem;
        margin: 0;
        color: black;
        text-shadow: 1px 1px 5px rgb(255, 255, 255);
    }
    p {
        font-size: 1.2rem;
        color: black;
        text-shadow: 1px 1px 5px rgb(255, 255, 255);
    }
    a {
        background-color: var(--secondary-color);
        color: var(--text-color);
        padding: 0.5rem 1rem;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.2s ease-in-out;
        font-size: 1.2rem;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    }
    a:hover {
        color: rgba(255, 255, 255, 0.882);
        transform: scale(1.03);
        transition: transform 0.2s ease-in-out;
    }
}
main {
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 2rem 0;
    flex-wrap: wrap;
    .event-daten {
        width: 20%;
        font-weight: bold;
        text-shadow: 1px 1px 3px rgb(10, 163, 2);
        font-size: 1.2rem;
    }
    .event-info {
        width: 40%;
        text-align: left;
        padding-left: 2rem;
        border: 2px solid var(--primary-color);
        border-radius: 10px;
        p {
            font-size: 1.2rem;
            line-height: 1.5;
        }
        span {
            font-weight: bold;
            color: var(--secondary-color);
        }
    }
}
@media (max-width: 1000px) {
    header {
        h1 {
            font-size: 1.5rem;
        }
    }
    hero {
        .logo {
            width: 40vw;
            height: 40vw;
            max-width: 40vw;
            max-height: 40vw;
        }
        h2 {
            font-size: 1.5rem;
        }
        p {
            font-size: 1rem;
        }
    }
    
}  
@media (max-width: 450px) {
    hero {
        .logo {
            width: 60vw;
            height: 60vw;
            max-width: 60vw;
            max-height: 60vw;
        }
        h2 {
            font-size: clamp(0.9rem, calc(7vw - 10px), 40px);
        }
        p {
            font-size:  clamp(0.6rem, calc(6vw - 10px), 30px);
        }
    }
}
.ticket {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 65%;
    background-color: #42830d24;
    border-radius: 10px;
    padding: 2rem 0;
    a {
        background-color: var(--primary-color);
        color: var(--text-color);
        padding: 1rem 2rem;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.2s ease-in-out;
        
        text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.3);
    }
    a:hover {
        color: rgba(255, 255, 255, 0.882);
        transform: scale(1.03);
        transition: transform 0.2s ease-in-out;
    }
}

#lineup {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
    

    .switchbox {

        margin-bottom: 30px;
    }
    .switch {
        display: flex;
        justify-content: center;
        align-items: center;
        
    }
    .bands {
        width: 40%;
        display: flex;
        flex-direction: column;
        
    }
    #band-info {
        width: 60%;
        max-width: 900px;
        height: 240px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
        p {
            max-height: 100px;
            overflow-y: scroll;
        }
    }

    .bands button {
        font-size: large; 
        color: white;
        border: none;
        height: 80px;
        padding: 0px 20px;
        border-radius: 5px 0px 0px 5px;
        width: 100%;
        max-width: 500px;
        cursor: pointer;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
    }
    #band1 {
        background-color: #468d0dbb;
    }
    #band2 {
        background-color: #2f5d09bb;
    }
    #band3 {
        background-color: #2f5d09bb;
    }

    .bands button:hover {
        background-color: var(--primary-color);
    }

    .band-div {
        background-color: var(--primary-color);
        padding: 0 20px ;
        border-radius: 0px 5px 5px 0px;
        height: 240px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: end;
        text-align: left;
        h3 {
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
        }
        p {
            font-size: 1.2rem;
            line-height: 1.5;
            margin: 0;
            
        }
        a{
            display: block;
            margin-top: 10px;
            padding: 0.5rem 1rem;
            background-color: var(--secondary-color);
            width: 150px;
            text-align: center;
            border-radius: 5px;
            color: var(--text-color);
            text-decoration: none;
            box-shadow: 3px 3px 10px 5px rgba(0, 0, 0, 0.145);
            transition: background-color 0.2s ease-in-out;
        }
        a:hover {
            background-color: #2f5d09bb;
            
        }
    }

    #band-1 {
        display: block;
    }
    #band-2 {
        display: none;
    }
    #band-3 {
        display: none;
    }
}

#anfahrt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 2rem;
    .anfahrt-info {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: start;

        .anfahrt-directions {
            width: 40%;
            padding: 0 2rem;
            p {
                font-size: 1.2rem;
                line-height: 1.5;
            }
        }
        h2 {
            margin-bottom: 1rem;
        }
        .anfahrt-map {
            width: 40%;
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
        }
        iframe {
            width: 100%;
            height: 400px;
            border: none;
            border-radius: 10px;
        }
    }
    .hotel {
       width: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       padding: 2rem 0;
    }
    a {
       display: block;
       margin-top: 10px;
       padding: 0.5rem 1rem;
       background-color: var(--secondary-color);
       text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
       width: 150px;
       text-align: center;
       border-radius: 5px;
       color: var(--text-color);
       text-decoration: none;
       box-shadow: 3px 3px 10px 5px rgba(0, 0, 0, 0.145);
       transition: background-color 0.2s ease-in-out;
   }
   a:hover {
       background-color: #2f5d09bb;
           }
}

#regeln {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 2rem 0;
    .regeln-list {
        display: flex;
        justify-content: center;
        align-items: start;
        ul {
            width: 40%;
            li {
                font-size: 1rem;
                margin-bottom: 0.5rem;
            }
        }
        p {
            width: 40%;
            padding: 0 2rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
            span {
                font-weight: bold;
                color: rgb(162, 184, 158);
            }
        }
    }
}

#danke {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 2rem 0;
    gap: 5px;
    p {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
    }
    .danke-info {
        width: 40%;
        padding: 0 2rem;
        background-color: var(--primary-color);
        border-radius: 10px;
        font-size: 1.2rem;
        height: 300px;
        h2 {
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
        }
    }
    .sponsoren {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 1rem;
            width: 40%;
            height: 300px;
            overflow-y: scroll;
            .sponsor {
                width: 100%;
                padding: 0.5rem;
                border-radius: 5px;
                background-color: var(--secondary-color);
                position: relative;
                a {
                    text-decoration: none;
                    color: var(--text-color);
                    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
                }
                h3 {
                    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
                    margin: 0;
                }
                span {
                    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.737);
                    font-weight: bold;
                }
                img {
                    max-width: 120px;
                    height: auto;
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    
                }
                #spezielle-logo {
                    max-width: 70px;
                }
            }
        }
}
@media (max-width: 1000px) {
    main {
        flex-direction: column;
        align-items: center;
        .event-daten, .event-info {
            width: 80%;
            text-align: center;
            padding-left: 0;
        }
    }
    .ticket {
        width: 90%;
        align-items: center;
        text-align: center;
    }
    #lineup {
        .bands, #band-info {
            width: 80%;
            p{
                font-size: 1rem;
            }
        }
    }
    #anfahrt {
        .anfahrt-info {
            flex-direction: column;
            text-align: center;
            align-items: center;
            justify-content: center;
            .anfahrt-directions, .anfahrt-map {
                width: 80%;
                padding: 0;
            }
        }
        .hotel {
            width: 80%;
            align-items: center;
            
            p {
                text-align: center
            }
        }
          
    }
    #regeln {
        .regeln-list {
            text-align: left;
            align-items: center;
            flex-direction: column;
            ul, p {
                width: 80%;
                padding: 0;
            }
        }
    }
    #danke {
        flex-direction: column;
        .danke-info, .sponsoren {
            width: 80%;
            height: auto;
        }
    }
}
@media (max-width: 450px) {
    #danke {
        .sponsoren {
            .sponsor {
                img {
                    max-width: 90px;
                }
                #spezielle-logo {
                    max-width: 50px;
                }
            }
           
        }
    }
}