*{
    margin:0px;
    padding:0px;
    font-family: arial;
    scroll-behavior: smooth;
}

body{
    background-image: linear-gradient(to right top, rgb(165, 165, 165), white);
}

h1{
    font-size:20px;
}

.disabled{
    color:rgb(196, 196, 196);
}

img{
    display: block;
}

ul{
    padding:20px;
}

header button{
    background-color: black;
    border: 1px solid white;
    border-radius:3px;
    color:white;
    padding:3px;
}
header button:hover{
    background-color: rgb(48, 48, 48);
}

.wrapper{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin:0px;
    background-color: black;
    color:white;
}
header .left{
    margin:5px;
    display:flex;
    flex-direction: row;
    align-items: center; /* Vertikal zentriert das div */
    gap:10px;
}
header .right{
    margin:8px;
    display:flex;
    flex-direction: row;
    align-items: center; /* Vertikal zentriert das div */
}

#fixed_header{
    position: sticky;
    width: 100%;
    top:0px;
    box-shadow: 0 0 5px 1px rgb(46, 46, 46);
}

#header_logo{
    margin: 3px;
    transition:0.2s;
}
#header_logo img{
    height:36px;
    transition:0.2s;
    border:1px solid black;
}

#header_logo:hover{
    margin: 1px;
    transition:0.1s;
}
#header_logo:hover img{
    height:40px;
    transition:0.1s;
}

#header_logo:focus img{
    border:1px solid white;
}

menu{
    width: 100%;
    position:relative;
    background-color:rgb(0, 0, 0);
    padding-bottom:13px;
    padding-top:5px;
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap:5px;
}
menu a{
    color:white;
    text-decoration: none;
    display:contents;
}
menu a div{
    background-color: rgb(59, 59, 59);
    display:inline;
    border-radius:3px;
    padding:5px;
    border:1px solid black;
    transition:0.2s;
}

menu .menu_selected{
    background-color: rgb(59, 59, 59);
    color:white;
    border-radius:3px;
    padding:5px;
    border:1px solid rgb(197, 197, 197);
}

menu a:hover div{
    box-shadow: 0 0 3px 1px rgb(241, 241, 241);
    border:1px solid rgb(255, 255, 255);
    transition:0.1s;
}

menu a:hover{
    color:white;
}

main {
    display: flex; /* Aktiviert Flexbox-Layout */
    align-items: center; /* Vertikal zentriert das div */
    justify-content: center; /* Horizontal zentriert das div */
    height: 100%; /* 100% der Höhe des Viewports */
}

#content button,
#content input,
#content select{
    font-size:15px;
    padding:3px;
    border-radius:3px;
    border:1px solid rgb(102, 102, 102);
    background-color: white;
    margin:10px;
    margin-left:0px;
    margin-bottom:5px;
}

#content button:hover,
#content input:hover,
#content select:hover,
#content option:hover{
    background-color: rgb(236, 236, 236);
}

#content button:focus,
#content input:focus,
#content select:focus{
    outline:1px solid black;
}

table{
    margin:10px;
    min-width: 50%;
    max-width: 100%;
}
table td{
    padding:4px;
}

footer{
    text-align: center;
    padding:30px;
}
footer a{
    margin:5px;
}

.login_form, #background {
    box-shadow: 0 0 15px 5px rgb(167, 167, 167);
    background-color: rgb(255, 255, 255);
    border-radius: 3px;
    display:flex;
    justify-content: center; /* Horizontal zentriert das div */
    flex-direction: column;
}

.login_form{
    align-items: center; /* Vertikal zentriert das div */
}

#background {
    position:absolute;
    overflow-y: hidden;
    overflow-x: hidden;
    justify-content: start;
}

#wrapper {
    overflow-y: auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
article{
    padding:20px;
    overflow:auto;
}

.login_form img{
    height:60px;
    width:60px;
    object-fit:cover;
    border-radius: 2px;
}

.login_form .links{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

a{
    color:grey;
}

a:hover,
a:focus{
    color:rgb(0, 0, 0);
    outline:none;
}

hr{
    width:100%;
    border:0px solid white;
    border-bottom: 1px solid lightgrey;
}

.login_form form{
    text-align: center;
}

.login_form form input,
.login_form button{
    background-color: white;
    border: 1px solid grey;
    border-radius: 1px;
    margin:3px;
    padding:2px;
}

.login_form form input:hover,
.login_form form button:hover{
    background-color: rgb(235, 235, 235);
}

.login_form form input:focus,
.login_form form button:focus{
    outline:none;
    background-color: lightgray;
}

.login_form form input[type=text],
.login_form form input[type=password]{
    width: 90%;
}

.login_form form input[type=submit],
.login_form form input[type=reset]{
    width: 44%;
}

input[type=submit]:hover,
input[type=checkbox]:hover,
input[type=reset]:hover,
button:hover,
select:hover{
    cursor: pointer;
}

.anb_place{
    text-align: left;
}

.error{
    color:red;
    font-size: 15px;
    text-align: center;
}

.login_form p{
    text-align: center;
}

.middle{
    text-align: center;
    height: 100%;
    min-height:min-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}
.center{
    text-align: center;
}
/* Media */
@media (min-width: 1000px){/*DESKTOP---------------------------------*/
	.phone{
		display:none;
	}
    .login_form form input{
        font-size: 14px;
    }
    .login_form {
        padding:20px;
        height: minmax(260px,object-fit); /* Höhe des divs */
        width: 230px; /* Breite des divs */
        gap:15px;
    }
    .login_form .links a{
        font-size:12px;
    }
    .anb_text{
        font-size:13px;
    }
    .anb_place{
        margin:5px;
    }
    #background {
        left:15%;
        right:15%;
        top:5%;
        bottom:5%;
    }
}
@media (max-width: 1000px){/*PHONE---------------------------------*/
	.desktop{
		display:none;
	}
    .login_form form input{
        font-size: 20px;
    }
    .login_form {
        padding:30px;
        height: minmax(40%,object-fit); /* Höhe des divs */
        width: 70%; /* Breite des divs */
        gap:20px;
    }
    .login_form .links a{
        font-size:15px;
    }
    .anb_text{
        font-size:18px;
    }
    .anb_place{
        margin:12px;
    }
    #background {
        left:10px;
        right:10px;
        top:10px;
        bottom:10px;
    }
}

/*############################################################################################################################################*/


  /* toggle-rect-color */
  .toggle input[type="checkbox"] {
    display: none;
  }
  .toggle input[type="checkbox"] + label {
    display: block;
    position: relative;
    width: 3em;
    height: 1.6em;
    margin: 10px;
    background: #000000;
    border-radius: 0.2em;
    border:1px solid rgb(27, 27, 27);
    cursor: pointer;
  }
  .toggle input[type="checkbox"] + label:before {
    content: "";
    display: block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.2em;
    background: #e72323;
    position: absolute;
    left: 0.2em;
    top: 0.2em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  .toggle input[type="checkbox"]:checked + label:before {
    background: #20da5b;
    left: 1.6em;
  }
  .toggle input[type="checkbox"]:checked + label {
    box-shadow: 0 0 5px 2px #afafaf;
    transition: 0.2s;
  }
  .toggle input[type="checkbox"]:disabled + label {
    background: #afafaf;
    cursor: default;
    border:1px solid #afafaf;
    box-shadow: 0 0 0 0 black;
  }
  .toggle input[type="checkbox"]:disabled + label:before {
    background: #ffffff;
  }
