body{
    margin: 0;
    padding: 0;
    background: url(../assets/images/Kirche-Aussen.JPG);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginbox {
    width: 90%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    box-sizing: border-box;
    padding: 70px 30px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.avatar{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

h1{
    margin: 0;
    padding: 0 0 20px;
    text-align: center;
    font-size: 24px;
}

.loginbox p{
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 14px;
}

.loginbox input{
    width: 100%;
    margin-bottom: 20px;
}

.loginbox input[type="text"], 
.loginbox input[type="password"],
.loginbox input[type="email"]
{
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    outline: none;
    height: 40px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.loginbox input[type="text"]:focus, 
.loginbox input[type="password"]:focus,
.loginbox input[type="email"]:focus
{
    border-bottom-color: #ff0000;
}

.loginbox input[type="submit"],
.loginbox button[type="submit"]
{
    border: none;
    outline: none;
    height: 45px;
    width: 100%;
    background: #ff0000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.loginbox input[type="submit"]:hover,
.loginbox button[type="submit"]:hover
{
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.loginbox a{
    text-decoration: none;
    font-size: 14px;
    line-height: 25px;
    color: #ddd;
    display: block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.loginbox a:hover{
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loginbox {
        padding: 60px 20px 20px;
        margin: 20px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
        top: -40px;
        left: calc(50% - 40px);
    }
    
    h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .loginbox {
        padding: 50px 15px 15px;
    }
    
    .loginbox input[type="text"], 
    .loginbox input[type="password"],
    .loginbox input[type="email"] {
        font-size: 14px;
    }
    
    .loginbox input[type="submit"],
    .loginbox button[type="submit"] {
        font-size: 16px;
        height: 40px;
    }
}