@font-face {
    font-family: 'Poppins';
    font-style: NORMAL;
    font-weight: 900;
    font-display: swap;
    src: url(/font/Poppins-ExtraBold.ttf);
}
@font-face {
    font-family: 'Poppins';
    font-style: NORMAL;
    font-weight: 400;
    font-display: swap;
    src: url(/font/Poppins-Regular.ttf);
}
@font-face {
    font-family: 'Poppins';
    font-style: NORMAL;
    font-weight: 600;
    font-display: swap;
    src: url(/font/Poppins-SemiBold.ttf)
}
*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body {
    background: #09080D;
    background-image: url("/img/rect.svg");
    background-repeat: repeat;
    background-position: 8px 24px;
    padding: 5vh;
}
.box{
    width: 80vw;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3rem 4rem;
    
    background-color: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 45px black;
}
.box form{
    position: relative;
}
h1{
    font-size: 4rem;
    color: black;
    margin-bottom: 1.2rem;
}
form input{
    width: 94%;
    outline: none;
    border: 1px solid white;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: #beb5b5;
    font-size: 1rem;
}
form input::placeholder{
    font-size: 1rem;
    color: black;
    font-weight: 400;
}
form p{
    font-size: 1.2rem;
    color: black;
    margin-bottom: 0.6rem;
    margin-top: 1rem;
    text-align: left;
    margin-left: 28px;
}
.input_show img{
   position: absolute;
   width: 31px;
   right: 40px;
   top: 70%;
   transform: translateY(-50%);
   cursor: pointer;
}
.input_show_2 img{
    position: absolute;
    width: 31px;
    right: 40px;
    top: 100%;
    transform: translateY(-50%);
    cursor: pointer;
 }
button{
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    padding: 15px 0;
    border-radius: 20px;
    outline: white;
    border: white;
    width: 80%;
    color: white;
    cursor: pointer;
    background-color: black;
    transition: all 0.3s;
}
button:hover{
    background-color: #beb5b5;
}
input:focus{
    border: 2px solid black;
}
.schule{
    margin-bottom: 3.5rem;
    width: 94%;
    font-size: 1.2rem;
    border-radius: 20px;
    padding: 0.5rem 2rem;
}
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 550;
    font-size: 40px;
    cursor: pointer;
    background-color: #beb5b5;
    color: black;
    text-align: center;
    border: 13px solid #beb5b5;
    border-radius: 10px;
    outline: none;
}
select::-ms-expand{
    display: none;
}
select option{
    background-color: #beb5b5;
    font-weight: 550;
}
.selected{
    display: none;
}
.zurück{
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.7rem;
    color: black;
}
.zurück a{
    color: black;
    font-weight: 800;
    text-decoration: none;
}
.zurück a:hover{
    text-decoration: underline;
}
.home-button {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px; 
    padding: 0;
    border-radius: 50%;
    outline: white;
    border: white;
    width: 8%;
    color: white;
    cursor: pointer;
    background-color: black;
    transition: all 0.3s;
}
.home-button:hover {
    background-color: #beb5b5
}
.home-button img{
    width:  60%;
}
@media (max-width: 768px){
    box {
        width: 70vw; 
        padding: 2rem 1.7rem; 
    }
    h1 {
        font-size: 3rem;
    } 
    .schule{
        font-size: 1rem;
    }
}
@media (max-width: 620px){
    form p{
        font-size: 1rem;
    }
    button{
        font-size: 1.7rem;
        font-weight: 600;
        padding: 15px 0;
    }
}
@media (max-width: 560px){
    .box {
        width: 80vw; 
        padding: 2rem 1.7rem;

    }
    h1 {
        font-size: 2.5rem;
    } 
    .schule{
        font-size: 0.9rem;
    }
}
@media (max-width: 430px){
    h1 {
        font-size: 1.8rem;
    } 
    .box {
        width: 90vw; 
        padding: 2rem 1.7rem;
    }
    button{
        font-size: 1.4rem;
        font-weight: 600;
        padding: 15px 0;
    }
    .schule{
        font-size: 0.6rem;
    }
    form p{
        font-size: 0.8rem;
    }
}