@import url('https://fonts.googleapis.com/css2?family=Jockey+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat';
    background-color: black;
    color: white;
    font-size: 16px;
}


/*#region NavigationBarStyles */
nav {
    display: flex;
    justify-content:left;
    align-items: center;
    background-color: #a70909;
    color: #ffffff;
    padding: 10px 20px;
}

.nav-links {
    display: none;
}

.nav-links a {
    color: #cee9ff;
    text-decoration: none;
    padding: 5px 10px;
}


.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 60px;
    padding: 0px 10px 0px 10px;
    margin-left: auto;
}

.burger {
    z-index: 2;
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.burger:hover {
    filter: invert();
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
}

.shoppingcart {
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0px 40px 0px 10px;
    display: none;
    margin-left: auto;
    margin-top: 5px;
}

.cartcounter {
    position: absolute;
    color: #000;
    width: 32px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    margin-left: 0px;
    margin-top: -12px;
    text-align: center;
    box-sizing: border-box;
}

/*#endregion NavigationBarStyles */

/*#region MobileNavigationStyles */
.mobile-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #CCC;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-nav a {
    color: #000000;
    text-decoration: none;
}

/* Active Mobile Navigation */
.mobile-nav-active {
    display: flex;
    opacity: 1;
}
/*#endregion MobileNavigationStyles */

/*#region ResponsiveDesignMenu */
@media (min-width: 769px) {
    .nav-links {
        display: flex;
        gap: 15px;
    }
    
    .burger {
        display: none;
    }

    .nav-logo {
        margin-left: 0;
    }
}
/*#endregion ResponsiveDesignMenu */

/*#region MainStyles */
h1 {
    font-family: 'Jockey One';
    font-size: 32px;
    font-weight: normal;
}

h2 {
    font-family: 'Jockey One';
    font-size: 20px;
    font-weight: normal;
    color: white;
}

.date {
    color: rgb(255, 0, 0);
    font-size: 10px;;
}

.pagetitle {
    font-family: 'Jockey One';
    font-size: 32px;
    font-weight: normal;
    text-align: center;
}


/*#endregion MainStyles */

/*#region InfoPage */
section {
    display: grid;
    grid-gap: 10px;
    justify-content: center;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 10px;
}


.box {
    width: 90%;
    background-color: #000000;
    border: #ddd 3px solid;
    border-radius: 20px;
    padding: 20px;
    margin: auto;
    text-align: center;
}

/* quiz page */

#quiz {
    display: grid;
    grid-gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.quizbox {
    text-align: left;
    padding-top: 0;
}

.quizresultbox {
    text-align: center;
    display: grid;
    text-align: center;
    justify-items: center;
}


.quizbox input {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    background: #f80000;
    border: 5px solid #000000;

    outline:3px solid #ff0000;
    margin-left: 10px;
    margin-right: 10px;
}

.quizbox input:checked {
    border-color: #f80000;
}

.centered-button {
    text-align: center;
}

#home-button {
    display: none;
}

.answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 10px;
}

/* info page */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px;
    padding: 10px;
}
#infoevents{
    align-self: center;
    margin: auto;
    width: 75%;
    display: grid;
    grid-gap: 25px;
    grid-auto-flow: row;
}

.infoticket {
    display: grid;
    grid-auto-flow: row;
    place-items: center;
    padding: 75px;
    border-bottom: 1px solid #ff0202;
    min-height: 100px;
    background-color:black;
    border-radius: 10px;
    height: 300px;
}

.audio-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    align-items: center;
    width: 100%;
    padding-top: 20px;
}

.audio-container audio {
    width: 100%;
    max-width: 500px;
    height: 50px;
}



#back-btn, #next-btn {
    text-align: center;
    padding: 10px;
    background-color: red;
    width: 50px;
    cursor: pointer;
}


.box p, .box h2, .box .boxbutton {
    margin-top: 10px;
}

.boxpic { /*Kasten von Bild*/
    width: 100%;
    align-items: center;
    grid-area: boxpic;
}

.boxpic iframe {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.boxbutton {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #a70909;
    border-radius: 4px;
    grid-area: boxbutton;
    cursor: pointer;
}

.boxpic img { /*Bildeinstellungen*/
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    border-radius: 10px;
}

.parallax1 {
    background-image: url('images/step1.webp');
}

.parallax2 {
    background-image: url('images/step2.webp');
}

.separator {
    height: 60px;
    width: 100vw;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*#endregion InfoPage */

/*#region checkoutpage */

.cart {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    overflow: hidden;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.cartitemticket {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    border-radius: 10px;
    /* format background-image */
    background-image: url('images/ticket.webp');
    background-size:contain;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    height: 200px;
    position: relative;
    padding:0;
    overflow:hidden;
}
.cartitemshop {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    border-radius: 10px;
    /* format background-image */
    background-size:cover;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    height: 200px;
    position: relative;
    /* needed for the fitting of the remove button */
    padding: 0; 
    overflow: hidden;
}
.removecartitem {
    display: block;
    position: absolute;
    bottom: -40px;
    width: 100%;
    background-color: #920808;
    color: white;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    border: none;
    cursor: pointer;
    text-align: center;
    opacity: 0;
    transition: bottom 0.3s ease, opacity 0.3s ease;

}
.cartitemoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
.cartitemtext {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.cartitemshop:hover .removecartitem {
    bottom: 0;
    opacity: 1;
}
.cartitemshop:hover .cartitemtext {
    transform: translateY(-40px);
}

.cartitemticket:hover .removecartitem {
    bottom: 0;
    opacity: 1;
}
.cartitemticket:hover .cartitemtext {
    transform: translateY(-40px);
}

.checkoutbar {
    position: relative;
    grid-column: 2;
    display: flex;
    justify-content: flex-start;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: white;
    padding: 10px;
    border-top: 1px solid #fff;
    text-align: center;
    font-size: x-large;
    z-index: 2;
}

.total {
    margin-left: 10px;
    margin-right: 140px;
    border-bottom: 1px solid #ff0202;
}

.paymentmethods {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    align-items: center;
    text-align: center;


}


.paymentmethods button {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    background-color: #a70909;
    border-radius: 5px;
    border-width: 0;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}


.paymentmethods button:hover {
    background-color: #830505;
}
.paymentmethods button:active {
    background-color: #520202;
}

.paymentmethods img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    margin-top: 5px;
}


.checkoutitems {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: flex-start;
    align-items: start;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    white-space: nowrap;
}



.checkoutitem {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    border-color: #520202;
    border-width: 1px;
    background-color:#1e1e1e;
    border: 1px solid #ff0202;
}

.checkoutbutton {
    display: none;
    position: absolute;
    height:30px;
    width: 140px;
    right: 20px;
    padding: 5px 20px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    background-color: #a70909;
    border-radius: 5px;
    border-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}
.checkoutbutton:hover {
    background-color: #830505;
}
.checkoutbutton:active {
    background-color: #520202;
}


.checkoutbuttontext, .checkoutbuttonicon {
    display: inline-block;
    position: absolute;
}


.checkoutbuttontext{
    left: 20px;
}

.checkoutbuttonicon {
    font-size: 26px;
    right: 20px;
}

.paypage{
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.adressinput {
    display: block;
    padding: 20px;
}

.adressinput > div {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
}


.adressinput input {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ff0202;
    background-color: #1e1e1e;
    color: white;
    width: 100%;
}


#memo {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ff0202;
    background-color: #1e1e1e;
    color: white;
}

#amount {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ff0202;
    background-color: #000000;
    color: white;
    text-align: center;
    font-size: 18px;
}



/*#endregion checkoutpage */

/*#region ticket */
/* some elements are shared between ticket & shop page */



.ticketlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.ticket {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 10px;
    border-bottom: 1px solid #ff0202;
    min-height: 200px;
    background-color:#1e1e1e;
    border-radius: 10px;
    height: 300px;
}

#ticketshead {
    align-items: center;
    text-align: center;
}

.ticket h2 {
    border-bottom: 1px solid #ff0202;

}

#all-tickets {
    display: none;
}

.dateselect {
    margin-bottom: 10px;

}
.dateform {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 16px;
}




.boxtext {
    grid-area: boxtext;
}

.boxtext li {
    margin: 20px;
}

.addtocart {
    display: inline-block;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    background-color: #a70909;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-width: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.addtocart:hover {
    background-color: #830505;
}
.addtocart:active {
    background-color: #520202;
}
.addtocartContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 37px;
    position: relative;

}
.checkwrapper {
    width: 50%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.checkwrapper svg {
    width: 100%;
    height: 100%;
}


/***************************************************
 * Generated by SVG Artista on 5/30/2024, 5:30:33 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

 svg .svg-elem-1{stroke-dashoffset:214.1320343017578px;stroke-dasharray:214.1320343017578px;-webkit-transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0s;transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0s}svg.active .svg-elem-1{stroke-dashoffset:0}svg .svg-elem-2{stroke-dashoffset:2408.9577894216695px;stroke-dasharray:2408.9577894216695px;-webkit-transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0.12s;transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0.12s}svg.active .svg-elem-2{stroke-dashoffset:0}svg .svg-elem-3{stroke-dashoffset:567.9031372070312px;stroke-dasharray:567.9031372070312px;-webkit-transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0.24s;transition:stroke-dashoffset 1s cubic-bezier(0.47,0,0.745,0.715) 0.24s}svg.active .svg-elem-3{stroke-dashoffset:0}


/*#endregion ticket */

/*#region shop*/
.shop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.shopitem {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    height: 600px;
}
.shopitemimage {
    width: 100%;
    height: 80%;
    background-color: #F2F2F2;
    object-fit: contain;
    border-radius: 10px;
}

.vertical-selector-shop {
    width: 100%;
    height: auto;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #1e1e1e;
   
    color: #f5f5f5;
    border: 1px solid #444;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    
    -webkit-appearance: none;
    -moz-appearance: none;

}

/* .checkwrapper {
    width: 50%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    pointer-events: none;
    transform: translateY(-40px);
}
.checkwrapper svg {
    width: 100%;
    height: 100%;
} */

.shopamount {
    width: 100%;
    display: flex;
    font-size: 16px;
    padding: 10px;
    align-items: center;
    border-radius: 10px;
    background-color: #1e1e1e;

    color: #f5f5f5;
    border: 1px solid #444;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.shopamount::-webkit-inner-spin-button,
.shopamount::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
  }


.vertical-selector-shop:hover {
    background-color: #292929;
    border-color: #ff4141;
}

.vertical-selector-shop:focus {
    outline: none;
    border-color: #ff4141;
    box-shadow: 0 0 10px rgba(255, 65, 65, 0.5);
}

.vertical-selector-shop::placeholder {
    color: #bbb;
    opacity: 0.7;
}
/*#endregion shop*/

/*#region chat */
#login {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.userinfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    height: 200px;
    background-color:#1e1e1e;
}
.boards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.boards button {
    display: inline-block;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    background-color: #a70909;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-width: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.board {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    margin: 20px;
    border:#ddd 3px solid;
    border-radius: 20px;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    height: 180px;
    background-color:#000000;
    grid-template-areas: "h2" "h2" "boxbutton";
}

#logoutline {
    margin: 0px 30px 10px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

/* :focus {
    padding: 10px;
    border-radius: 10px;
    border: 3px #a70909;
    background-color: black;
    color: white;
} */



.boxbutton {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #a70909;
    border-radius: 4px;
    grid-area: boxbutton;
    cursor: pointer;
    height: 40px;
}


.log_reg_button {
    padding: 10px 20px;
    color: white;
    background-color: #a70909;
    border-radius: 4px;
}

.login{
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 20px;

    border:#ddd 2px solid;
    border-radius: 20px;
    padding: 10px;
    border-radius: 10px;
}


#newuser {
    grid-area: newuser;
}

#username {
    grid-area: username;
}

#password {
    grid-area: password;
}

#loginbutton {
    grid-area: loginbutton;
}

#registerbutton {
    grid-area: registerbutton;
}

#email {
    grid-area: email;
}

#loginerror {
    grid-area: loginerror;
    font-size: 12px;
}

#loginline, #registerline {
    display: grid;
    grid-gap: 20px;
    text-align: center;
    place-items: center;
    margin: 0;
    padding: 20px;
}

#logoutline {
    display: flex;
    justify-content: center;
}

#logoutline h2 {
    margin: 5px 20px 0 20px;
    height: auto;
    line-height: 50px;
}

#logoutline div {
    margin: 5px 20px 0 20px;
    height: auto;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loginline {
    grid-template-areas: 'username'
                         'password'
                         'loginbutton'
                         'loginerror';
}

#registerline {
    grid-template-areas: 'newuser' 
                         'username'
                         'password'
                         'email'
                         'registerbutton'
                         'loginerror';
}

#login input[type=text],#newmessage, #login input[type=password] {
    padding: 1em;
    background-color: #000;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    font-family: 'Montserrat';
}


.chatbox {
    width: 90%;
    margin: auto;
    text-align: center;
}

.message {
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 60vw;
    word-wrap: break-word;
    border-bottom: 1px solid #2b2b2b;
}

.message p {
    margin-top: 20px;
    margin-bottom: 10px;
}

.newmessagefield {
    grid-area: newmessagefield;
    margin-top: auto;
}


#newmessage{
    grid-area: newmessage;
}

.sendbutton {
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    grid-area: sendbutton;
    color: white;
    background-color: #a70909;
    border-radius: 4px;
    width: 25px;
    height: 25px;
}

.bordheader {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bordheader div {
    margin: 10px;
    padding: 10px;
    color: white;
    cursor: pointer;
}

.boarddescription {
    border-bottom: 1px solid #ff0202;
    padding: 10px;
}

.adminoptions {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 20px;
    border:#550000 2px solid;
    border-radius: 20px;
    padding: 10px;
    border-radius: 10px;
}

.adminoptions textarea
{
    background-color: #1b0000;
    border-radius: 10px;
    padding: 10px;
    color: white;
}

.adminoptions button {
    padding: 10px 20px;
    color: white;
    background-color: #a70909;
    border-radius: 4px;
    cursor: pointer;
}

.deletebutton {
    padding: 10px 20px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    border-bottom: 3px solid #550808;
}

.messageboard {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    grid-template-areas:  ". newmessagefield ." 
      
    
    ". newmessage sendbutton";
}

textarea {
    width: 100%;
    height: 4em;
    padding: 15px;
    outline: none;
    resize: none;
    font-size: 16px;
    word-wrap: break-word;
}





/*#endregion chat */

@media screen and (min-width: 992px) {
    .boxpic {
        width: 100%;
        justify-self: center;
        align-self: center;
        max-width: 500px;
    }

    .box {
        text-align: left;
        width: 80%;
        max-width: 1538px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .leftbox {
        margin-right: 15%;
        grid-template-areas: "boxpic boxtext" "boxpic boxbutton";
        background-color: #131313FB;
    }

    .rightbox {
        margin-left: 15%;
        grid-template-areas: "boxtext boxpic" "boxbutton boxpic";
        background-color: #131313FB;
    }
    
    .infbox {
        margin-left: 15%;
        background-color: #131313FB;
    }

    .leftbox p, .leftbox h2, .leftbox .boxbutton {
        margin-left: 30px;
    }

    .boxbutton{
        place-self: center;
    }

    .infoticket {
        grid-auto-flow: column;
        grid-template-columns: repeat(3, 1fr);
        padding: 10px;
        height: 100px;
    }





    #loginline {
        grid-template-areas: 'username password loginbutton'
                             'loginerror loginerror loginerror';
    }

    #registerline {
        grid-template-areas: 'newuser newuser newuser'
                             'username password email'
                             '. registerbutton .'
                             'loginerror loginerror loginerror';
    }
}
