:root{
    --required: rgb(255, 151, 151);
    --formBorder: rgb(171, 130, 238);
    --body-background: rgb(228, 228, 228);
    --text-color: black;
    --main: white;
    --main-darker: #f7f7f7;
    --header-text: antiquewhite;
    --form-color: #f7f7f7;
    --input: #fbe4ff;
    --h3-left: rgba(26,5,176,1);
    --h3-right: rgb(147, 21, 175);
    --lg1: rgba(221, 51, 255, 0.8);
    --lg2: rgb(0 255 0 / 0%);
    --lg3: rgba(91, 255, 206, 0.8);
    --lg4: rgb(0 0 255 / 0%);
    --hamburgur: #b156a5;
    --hamburgur-background: rgb(207, 155, 255);
    --loader: rgb(199, 199, 199);
}
html{
    scroll-behavior:smooth;
}
@font-face {
    font-family: Arial;
    src: url(arial.ttf);
}
@font-face {
    font-family: 'Arial Black';
    src: url(arial_black.ttf);
}
#overlay{
    display: flex;
    flex-direction: column;
    gap: 2em;
    justify-content: center;
    align-items: center;
    top:0; bottom:0; left:0; right:0;
    height: 100vh;
    position: fixed;
    background-color: var(--main-darker);
    z-index: 999;
    transition: all ease-in-out 1s;
    color: var(--text-color);
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--loader);
    border-bottom-color: #f863ec;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
body{
    min-height: 200vh;
    margin:0;
    font-family: 'Arial Black';
    background-color: var(--body-background);
    color: var(--text-color);
}
a{
    text-decoration: none;
    color: var(--text-color);
}
h2{
    font-size: 2em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
}
h3{
    font-size: 1.8em;
    background: linear-gradient(90deg, var(--h3-left) 0%, var(--h3-right) 100%);
    -webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
    display: inline-block;
}
p{
    font-family: 'Arial';
    font-size: 1.25em;
    line-height: 1.25em;
    width: 90%;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    width:100%;
    background: linear-gradient(180deg, rgba(73, 55, 206, 0.8) 0%, rgba(159, 43, 218, 0.8) 100%);
    backdrop-filter: blur(1em);
    height: 5em;
    top: -5em;
    z-index: 99;
    transition: all 0.5s ease-in-out;
}
footer{
	display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    width:100%;
    background: linear-gradient(90deg, rgba(45, 45, 45, 0.6) 0%, rgba(30, 30, 30, 0.6) 100%);
    height: 1.5em;
    bottom: 0;
    z-index: 99;
}
footer a{
	color: var(--header-text);
}
section.title{
    position: relative;
    padding:0;
    margin-bottom: -7em;
    top:-7em;
    display: flex;
    justify-content: center;
}
#big_logo{
    width: 17em;
    grid-area: title;
    filter: drop-shadow( 3px 3px 4px #00000091);
}
header a{
    text-decoration: none;
    font-size: 1.25em;
    color: var(--header-text);
    transition: all 0.5s ease;
    padding:1em;
    border-radius: 1em;
}
header a:hover{
    background-color: rgba(0, 0, 0, 0.164);
}
header a::after{
    content: "";
    width: 0;
    border: 1px solid rgba(0, 0, 0, 0);
    display: block;
    transition: all 0.5s ease-out;
}
header a:hover::after{
    border: 1px solid var(--header-text);
    width: 100%;
}
main{
    background-color: var(--main);
    width: 70%;
    min-height:60vh;
    border-radius: 0 0 2em 2em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8em;
}
section{
    padding: 3em;
    padding-top:0;
}
section:nth-of-type(2n){
    background-color: var(--main-darker);
    padding-top: 0.83em;
}
section:nth-of-type(100n-98){
    background: linear-gradient(180deg, var(--main), var(--main-darker));
    padding-top: 0.83em;
}
section:last-of-type{
    border-radius: 0 0 2em 2em;
}
.imageonright{
    display:flex;
   justify-content: space-between;
}

.imageonright img{
    width: 20em;
    height:fit-content;
    border-radius:  1em 1em 1em 70% ;
    background-color: #201952;
}
.contents{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 1em;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18em;
    max-width: 25%;
    text-align: center;
}
.content p{
    font-weight:bolder;
    font-size: 2em;
	width:100%;
}
.content img{
    width: 100%;
    border-radius: 2em;
}
div.background{
    background-color: #201952;
    background-image: url(/bilder/banner_cropped.png);
    background-attachment: fixed;
    padding:0;
	padding-bottom: 16.67%;
    background-repeat: no-repeat;
    background-size:contain;
    background-position: top;
}
div.background2{
    min-height: 18em;
    background: linear-gradient(
        217deg,
        rgba(128, 31, 255, 0.8),
        rgb(255 0 0 / 0%) 70.71%
      ), linear-gradient(127deg, var(--lg1), var(--lg2) 70.71%),
      linear-gradient(336deg, var(--lg3), var(--lg4) 70.71%);
    padding:0;
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--header-text);
}
div.background2 h2{
    text-shadow: 0 0 8px rgb(24, 6, 53);
}
#message{
    grid-column: 1 / span 2;
    width: auto;
    max-width: 100%;
    height: 15em;
    resize: vertical;
}
/* FORM */
form{
    display: grid;
    grid-template: 1fr 1fr 1fr auto / 0.8fr 1fr;
    gap: 1em;
    max-width: 30em;
    background-color: var(--form-color);
    padding: 3em;
    border-radius: 1em;
	margin-left: auto;
	margin-right: auto;
}
form input, form textarea{
    border-radius: 0.5em;
    border: 3px dashed var(--formBorder);
    background-color: var(--input);
    font-family: 'Arial Black';
    padding: 0.8em;
}
form label{
    padding: 0.8em;
}
form label::after{
    content: "*";
    color:var(--required);
}
form input:focus, form textarea:focus{
    outline:none;
}
form::after{
    content: "*Erforderliche Felder";
    color: var(--required);
    position: relative;

}
.errorFlash{
    transition: all ease-in-out;
    animation-duration: 1s;
    animation-name: errorFlash;
    animation-iteration-count: 5;
}
form input, form textarea{
    color: var(--text-color);
}
@keyframes errorFlash {
    0% {
        border-color: var(--formBorder);
    }
    50% {
        border-color: red;
    }
    100% {
        border-color: var(--formBorder);
    }
}
/* CAPTCHA */
.rv-image-mask{
    margin-top:0;
}
/* IFRAME LOADER */
.loadcontent{
    position: relative;
    background-image: url(../bilder/player.png);
    background-size: contain;
    background-repeat: repeat-y;
}
#placeholder{
    backdrop-filter: blur(3px) grayscale(1) brightness(.8);
    border-radius: 0 0 2em 2em;
}
.loadcontent button{
    border-radius: 0.5em;
    border: 3px solid var(--formBorder);
    background-color: var(--input);
    font-family: 'Arial Black';
    padding: 0.8em;
    color: var(--text-color);
    transition: all  0.2s ease;
    cursor: pointer;
    position: relative;
    width: auto;
}
.loadcontent button:hover{
    background-color: var(--formBorder);
}
#questionmark{
    content: "blah";
    width:1.5em;
    height:1.5em;
    top:1.5em;
    right:1em;
    display: block;
    position: relative;
    background-color: var(--required);
    padding: 0.5em;
    text-align: center;
    border-radius: 100%;
    cursor: help;
}
#questionmark::after{
    content: "";
    text-align: left;
    display: block;
    width: 0;
    max-height: 4em;
    position: absolute;
    right: 0;
    background-color: grey;
    opacity: 0.8;
    transition: all 0.5s ease;
    overflow: hidden;
    padding: 0;
    overflow-y: scroll;
    color:var(--header-text);
}
#questionmark:hover::after{
    content: "Um Ihnen auf unserer Website Lieder von Spotify anzubieten, möchten wir Ihnen Inhalte von Spotify anzeigen. Diese Inhalte werden in einem iframe geladen, der Daten an Spotify überträgt. Dies kann personenbezogene Daten wie Ihre IP-Adresse umfassen. Wir benötigen Ihre Einwilligung, um diese Inhalte anzuzeigen. Wenn Sie damit einverstanden sind, klicken Sie bitte auf den Button 'Externe Inhalte laden'. Weitere Informationen finden Sie in unserer Datenschutzerklärung. Ihre Zustimmung wird mithilfe eines Cookies gespeichert und wird nach 1 Woche gelöscht. Sie können diese Zustimmung in den Datenschutzeinstellungen sofort wiederrufen.";
    width: 30em;
    padding: 0.25em;
    max-height: 20vh;
}
#placeholder{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* SNACKBAR */
#snackbar_container {
    position: fixed;
    top: 5em;
    right: 30px;
    width: fit-content;
    z-index: 2000;
    transition: max-width 2s ease-in-out;
    display:flex;
    flex-direction: column;
    align-items: end;
}
#snackbar_container .snackbar {
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    font-size: 16px;
    margin: 5px 0;
    width:fit-content;
    display: block;
    position: relative;
    right:0;
    transition: all 2s ease-in-out;
}
#snackbar_container .snackbar.sb_error {
    background-color: rgb(255,207,0);
    background: linear-gradient(90deg, rgba(255,207,0,1) 0%, rgba(251,228,56,1) 47%, rgba(255,102,102,1) 100%);
    color: rgb(134, 1, 1);
    text-shadow: 0 0 5px rgb(255, 255, 255);
}
#snackbar_container .snackbar.sb_normal {
    background-color: #7e7e7e;
    color: #fff;
}
#snackbar_container .snackbar.sb_good {
    background-color: rgb(187,255,104);
    background: linear-gradient(90deg, rgba(187,255,104,1) 0%, rgba(139,255,191,1) 47%, rgba(161,248,255,1) 100%);
    color: #000;
}
@keyframes fadein {
    from {
        right: -100%;
        opacity: 0;
    }
    to {
        right: 0px;
        opacity: 1;
    }
}
@-webkit-keyframes fadein {
    from {
        right: 100%;
        opacity: 0;
    }
    to {
        right: 0px;
        opacity: 1;
    }
}
@-webkit-keyframes fadeout {
    from {
        right: 0px;
        opacity: 1;
    }
    to {
        right: 0;
        opacity: 0;
    }
}
@keyframes fadeout {
    from {
        right: 0px;
        opacity: 1;
    }
    to {
        right: -100%;
        opacity: 0;
    }
}
/* Dark/Lighmode Switch */
#sunmoon{
    width:4em;
    height:4em;
    overflow: hidden;
    position: fixed;
    right:0.5em;
    top: 0.5em;
    z-index:100;
}
#sunmoon:hover #sun{
    top: 0;
    left: -4em;
    animation: slideout 0.5s cubic-bezier(0.255, 0.860, 0.310, 1.330);
    transform: rotate(-120deg);
}
#sunmoon:hover #moon{
    top: 0;
    left:0;
    animation: slidein 0.5s cubic-bezier(0.255, 0.860, 0.310, 1.330);
    transform: rotate(0deg);
}
#sun{
    display: block;
    width:4em;
    height:4em;
    background-image: url("../bilder/sun.svg");
    background-size: cover;
    transition: all 0.5s ease-in-out;
    position:absolute;
    top:0;
    left:0;
    z-index: 11;
}
#moon{
    display: block;
    position:absolute;
    z-index: 12;
    height: 4em;
    width: 4em;
    left: 4em;
    transition: all 0.5s ease-in-out;
    background-image: url("../bilder/moon.svg");
    transform: rotate(120deg);
}
@keyframes slidein {
    0%{
        top:0;
        left: 4em;
        transform: rotate(120deg);
    }
    100%{
        left:0;
        transform: rotate(0deg);
    }
}
@keyframes slideout {
    0%{
        left:0;
        transform: rotate(0deg);
    }
    25%{
        left:0;
        transform: rotate(0deg);
    }
    100%{
        top:0;
        left: -4em;
        transform: rotate(-120deg);
    }
}
#darkmode{
    width: 4em;
    height:4em;
    position: absolute;
    z-index:9999;
    opacity: 0;
    cursor: pointer;
}
/* MOBILE */
#mobiletoggle{
    display: none;
}
@media screen and (max-width: 700px) {
    main{
        width: 100%;
    }
    .imageonright{
        flex-direction: column;
    }
    form{
        display: flex;
        flex-direction: column;
        width: 80%;
    }
    form br{
        display:none;
    }
    .imageonright img{
        width: 80%;
    }
    h2{
        text-align: center;
    }
    div.background{
        min-height: 8em;
		padding: 0;
    }
    .contents{
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .content{
        width: 60%;
        max-width: 60%;
    }
    header{
        flex-direction: column;
        height: auto;
        top: -100vh;
    }
    /* HAMBURGUR */
    #togglebox{
        position: fixed;
        top:0;
        left:0;
        width: 4em;
        height: 4em;
        z-index: 99;
        background-color: var(--hamburgur-background);
        margin: 0.3em;
        border-radius: 30%;
        
    }
    #mobiletoggle{
        display:block;
        position: relative;
        z-index: 100;
        opacity: 0;
        width: 100%;
        height: 100%;
        margin:0;
    }
    #togglebox::after{
        content: "";
        display: block;
        position: fixed;
        background-color: var(--hamburgur);
        width: 3em;
        height: 0.5em;
        top: 3.05em;
        left: 0.8em;
        z-index: 99;
        transition: all ease 0.5s;
    }
    #togglebox::before{
        transition: all ease 0.5s;
        content: "";
        display: block;
        position: fixed;
        background-color: var(--hamburgur);
        width: 3em;
        height: 0.5em;
        top: 1.05em;
        left: 0.8em;
        z-index: 99;
    }
    #burgerpatty{
        display: block;
        z-index: 98;
    }
    #burgerpatty::after{
        transition: all ease 0.5s;
        content: "";
        display: block;
        position: absolute;
        background-color: var(--hamburgur);
        width: 3em;
        height: 0.5em;
        top: 1.75em;
        left: 0.5em;
        z-index: 99;
    }
    #togglebox:has(#mobiletoggle:checked)::after{
        transform: rotate(45deg);
        top: 2.15em;
    }
    #togglebox:has(#mobiletoggle:checked)::before{
        transform: rotate(-45deg);
        top: 2.15em;
    }
    #togglebox:has(#mobiletoggle:checked) #burgerpatty::after{
        transform: rotate(-45deg);
        width: 0;
        opacity: 0;
    }
    form{
        position: relative;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding:1em;
    }
    form textarea#message{
        width: 90%;
    }
    section:has(form){
        padding:0 0 1.5em 0;
    }
    section:has(form) h3{
        margin-left:1.5em;
    }
    #big_logo{
        width: 13em;
    }
    div.background2{
        min-height: 0;
    }
    #questionmark:hover::after{
        width: 50vw;
        max-height: 20vh;
    }
    .loadcontent{
        background-image: url(../bilder/player2.png);
    }
}