
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.welcome {
    position: absolute;
    width: 100%;
    top: 50%;
    flex-direction: column;
    align-items: center;
}

.welcome .welcome-item{
    position: relative;
}

.welcomeTitel {
    position: relative;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 70px;
    display: flex;
}

.welcomeSubTitel {
    position: relative;
    justify-content: center;
    align-items: center;
    color: black;
    display: flex;
}

.btnZumLogin {
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100px;
    height: 40px;
    background: black;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: white;
    font-weight: 500;
    left: calc(100% / 2 - 50px);
    top: 0px;
}

img{
    position: absolute;
    width: 100%;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    /* background: url(/public/imgs/Micha_und_Christina.jpg) no-repeat;
    background-size: cover;
    background-position: center; */
}

.login-box {
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    display:none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(30px);
}

h2 {
    font-size: 2em;
    color: black;
    text-align: center;
}

.input-box {
    position: relative;
    width: 310px;
    margin: 30px 0;
    border-bottom: 2px solid black;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: black;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: black;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    color: black;
    font-size: 1.2em;
    line-height: 57px;
}

.einloggen {
    width: 100%;
    height: 40px;
    background: black;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: white;
    font-weight: 500;
}

@media only screen and (min-width: 250px) {
    
     img{
        height: 100%;
        object-fit: cover;
    }

    .welcome {
        top: 42%;
    }

    .welcomeTitel {
        font-size: 20px;
    }

    .welcomeSubTitel {
        font-size: 15px;
        width: 100%;
    }

    .btnZumLogin {
        width: 75px;
        height: 25px;
        border-radius: 20px;
        font-size: 12px;
        left: calc(100% / 2 - 32px);
        top: 10px;
    }
}

@media only screen and (min-width: 420px) {
    
     img{
        height: 100%;
        object-fit: cover;
    }

    .welcome {
        top: 42%;
    }

    .welcomeTitel {
        font-size: 25px;
    }

    .welcomeSubTitel {
        font-size: 18px;
        width: 100%;
    }

    .btnZumLogin {
        width: 80px;
        height: 27px;
        border-radius: 21px;
        font-size: 14px;
        left: calc(100% / 2 - 40px);
        top: 9px;
    }
}

@media only screen and (min-width: 550px) {
    
    img{
        width: 100%;
    }

    .welcome {
        top: 42%;
    }

    .welcomeTitel {
        font-size: 35px;
    }

    .welcomeSubTitel {
        font-size: 20px;
        width: 450px;
        margin-left: calc(100% / 2 - 225px);
    }

    .btnZumLogin {
        width: 80px;
        height: 27px;
        border-radius: 24px;
        font-size: 14px;
        left: calc(100% / 2 - 40px);
        top: 11px;
    }
}

@media only screen and (min-width: 750px) {
    
    img{
        width: 100%;
    }

    .welcome {
        top: 44%;
    }

    .welcomeTitel {
        font-size: 35px;
    }

    .welcomeSubTitel {
        font-size: 20px;
        width: 450px;
        margin-left: calc(100% / 2 - 225px);
    }

    .btnZumLogin {
        width: 80px;
        height: 27px;
        border-radius: 24px;
        font-size: 14px;
        left: calc(100% / 2 - 40px);
        top: 13px;
    }
}

@media only screen and (min-width: 880px) {
    
    img{
        width: 880px;
        margin-left: calc(100% / 2 - 440px);
    }

    .welcome {
        top: 48%;
    }

    .welcomeTitel {
        font-size: 45px;
    }

    .welcomeSubTitel {
        font-size: 30px;
        width: 700px;
        margin-left: calc(100% / 2 - 350px);
    }

    .btnZumLogin {
        width: 80px;
        height: 30px;
        border-radius: 24px;
        font-size: 14px;
        left: calc(100% / 2 - 40px);
        top: 15px;
    }
}
