/*SCHRIFTARTEN*/
@font-face{
    font-family: "Dimbo";
    src: url("/fonts/Dimbo Regular.ttf") format("truetype");
}
/* FARBEN */
:root{
    --background-color: #a3bfa8;
    --background-gradient: #91ac96;
    --background-elements:#849b88;
    --ui-elements:#FFCDBC;
    --ui-elements-hover: #eebdad;
    --admin-buttons: #fff9f7;
    --text-standard: #3d405b;
    --placeholder:#3b3b3b7a;
}
/*BODY*/
body{
    background-color: var(--background-color);
    background: linear-gradient(90deg, var(--background-color) 0%, var(--background-color) 70%, var(--background-gradient) 89%);
    color:var(--text-standard);
    font-size: 30px;
    height:calc(fit-content + 100px);
    font-family: 'Dimbo';
    margin: 0;
}
div.section{
    margin-left:230px;
    max-width:50%;
}
/* Hintergrund-Dinger */
.background{
    background-color: var(--background-elements);
    border-radius: 20px;
    padding: 0 25px;
    transition: all 0.6s ease-in-out;
}
.background:hover{
    transform: scale(1.02);
    box-shadow: 0px 0px 25px #000000a4;
}
.textbackground{
    background-color: var(--background-elements);
    padding-bottom: 20px;
    padding-inline: 50px;
    border-radius: 20px;
}
/*FORMS*/
div[id="anmeldeFormular"]{
    position:fixed;
    background-color: var(--ui-elements);
    padding:50px;
    border: solid 5px var(--text-standard);
    z-index:7;
    top:30%; left:40%;
}
div[id="anmelden"]{
    position: fixed;
    top:0; bottom:0; left:0; right:0;
    background: #00000071;
    z-index:7;
    transition: visibility 0s, opacity 0.2s linear;
}
form{
    margin-top:40px;
}
/*SCHRIFTEN*/
a{
    padding-bottom:5px;
    text-decoration: none;
    color:var(--text-standard);
    padding-right:20px;
}
h2{
    font-size: 45px;
    padding-top:20px;
    margin-left:-20px;
    text-decoration: underline solid;
    text-decoration-thickness: 6px;
    text-decoration-color:var(--text-standard);
}
h3{ 
    font-size: 35px;
    margin-left:-20px;
}
h4{
    font-size: 32px;
    margin-left:-20px;
}
.h{
    margin-left:10px;
}
/*KNÖPFE*/
button{
    color:var(--text-standard);
    background-color: var(--ui-elements);
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    position: relative;
    margin-top:10px;
    margin-right:10px;
    transition: all .05s linear;
    text-align: center;
    padding: 2px 5px;
}
button:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
    cursor: pointer;
}
.button2{
    font-family: "Dimbo";
    color: var(--text-standard);
    font-size:30px;
    border:none;
    padding:15px;
    background-color: var(--ui-elements);
    position:fixed;
    bottom:45px;
    left:10px;
    z-index: 5;
    transition: all .05s linear;
}
.button2:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
}
input.button{
    color:var(--text-standard);
    background-color: var(--ui-elements);
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    transition: all .05s linear;
}
input.button:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
}
.admin{
    padding:15px;
    background-color: var(--ui-elements);
    position:fixed;
    bottom:120px;
    left:10px;
    z-index:5;
    transition: all .05s linear;

}
.admin:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
}
/*BILDER*/
.imgcontainer{
    display: block;
    position: relative;
    padding-top: 70%;
}
img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin-bottom:20px;
    border-radius: 20px;
    /* box-shadow: 0px 0px 15px #000000a4; */
    z-index:2;
    transition: all .2s ease-in-out;
}
/* img:hover{
    box-shadow: 0px 0px 45px #000000a4;
} */
img[name="anmeldebild"]{
    width:100%;
    margin-bottom:0px;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000a4;
}
img[name="anmeldebild"]:hover{
    transform: scale(1);
    box-shadow: 0px 0px 0px #000000a4;
}
/*BILDUPLOAD*/
#bildupload{
    color:white;
    margin-left:6%;
}
#fileToUpload{
    font-size: 24px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    transition: all .05s linear;
}
#file-upload-button:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
}
input#file-upload-button{
    font-family: "Dimbo";
}
/*INPUTS*/
input[name="anmelden"]{
    position:fixed;
    top:60px;
    right: 80px;
    padding: 10px;
    border-radius: 25px;
    background-color:var(--ui-elements);
    border:none;
    transition: all .05s linear;
    z-index: 6;
}
input[name="anmelden"]:hover{
    background-color: var(--ui-elements-hover);
    transform: scale(0.95);
}
input[type=password]{
    color:rgb(61, 64, 91);
    background-color: #fff9f7;
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    cursor: default;
}
input[type=text]{
    color:rgb(61, 64, 91);
    background-color: #fff9f7;
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    cursor: default;
}
input[name="schliessen"]{
    position:absolute;
    top:5px; right:10px;
    font-family: "Dimbo";
    font-size: 25px;
    margin:0;
    width:20px;
    background: none;
    border: none;
}
input#suche{
    color:var(--text-standard);
    background-color: var(--ui-elements);
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    cursor: text;
}
input{
    margin-right:10px;
    cursor:pointer;
}
::placeholder{
    color: var(--placeholder);
    opacity: 0.5;
}
textarea{
    color:rgb(61, 64, 91);
    background-color: #fff9f7;
    font-size: 30px;
    border:none;
    font-family: 'Dimbo';
    margin-top:10px;
    cursor: default;
}
/*HEADER & FOOTER*/
.container.header{
    background-color: rgba(0, 0, 0, 0.507);
    background-repeat: no-repeat;
    background-blend-mode: darken;
    background-size: cover;
    padding-top:50px;
    width:100%;
    background-position:50% 50%;
    height: 200px;
}
.footer{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    background-color: var(--ui-elements);
    color: bisque;
    text-align:center;
    font-size:25px;
    z-index:6;
}
/* DARKMODE */
@media (prefers-color-scheme: dark){
    :root{
        --background-color: #000018;
        --background-gradient: #000018;
        --background-elements: #00113f;
        --ui-elements:#3805af;
        --ui-elements-hover: #320797;
        --text-standard: #dfdfdf;
        --placeholder: #ffffffe1;
        --admin-buttons: #555555;
    }
    img{
        filter: brightness(0.8);
    }
    .container.header{
        filter: brightness(0.8);
    }
    input[name="anmelden"]{
        filter:brightness(3);
    }
}
/*Anpassungen für mobile Ansicht*/
@media only screen and (max-device-width: 600px){
    body{
        max-width:100%;
        padding-right: 0px;
        font-size: 60px;
    }
    div.section{
        max-width:90%;
        margin-left:50px;
        padding-right: 0px;
        margin-left:50px;
    }
    .button2{
    padding:15px;
    background-color: var(--ui-elements);
    position:fixed;
    bottom:90px;
    left:auto;
    right:20px;
    }
    h2{
        font-size: 120px;
    }
    h3{
        font-size: 65px;
        text-decoration: underline solid;
    }
    h4{
        font-size:55px;
    }
    p{
        font-size: 45px;
    }
    .container.header{
        width:100%;
        height:200px;
    }
    input#suche{
        font-size: 60px;
    }
    input[name="anmelden"]{
        height:100px;
    }
    button{
        font-size:60px;
    }
    input.button{
        font-size: 60px;
    }
    input.button:hover{
        transform: scale(0.98);
    }
    img{
        width:100%;
    }
    .footer{
        font-size: 50px;
    }
}