*{
    margin:0px;
    padding:0px;
    font-family: arial;
    scroll-behavior: smooth;
}

body{
    background-image: linear-gradient(to right top, rgb(165, 165, 165), white);
}

.wrapper{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
}

header{
    height: 50px;
    text-align: center;
    padding:10px;
}

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 */
}

footer{
    height: 50px;
    text-align: center;
    padding:10px;
}

.login_form {
    box-shadow: 0 0 15px 5px rgb(167, 167, 167);
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    display:flex;
    align-items: center; /* Vertikal zentriert das div */
    justify-content: center; /* Horizontal zentriert das div */
    flex-direction: column;
}

.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;
}

.login_form hr{
    width:100%;
    border:0px solid white;
    border-bottom: 1px solid lightgrey;
}

.login_form form{
    text-align: center;
}

.login_form form input,
button{
    background-color: white;
    border: 1px solid grey;
    border-radius: 1px;
    margin:3px;
    padding:2px;
}

.login_form form input:hover,
button:hover{
    background-color: rgb(235, 235, 235);
}

.login_form form input:focus,
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%;
}

.login_form form input[type=submit]:hover,
.login_form form input[type=checkbox]:hover,
.login_form form input[type=reset]:hover,
button:hover{
    cursor: pointer;
}

.anb_place{
    text-align: left;
}

.error{
    color:red;
    font-size: 15px;
    text-align: center;
}

.login_form p{
    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;
    }
}
@media (max-width: 1000px){/*PHONE---------------------------------*/
	.desktop{
		display:none;
	}
    .login_form form input{
        font-size: 25px;
    }
    .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;
    }
}