body {
    margin: 0;
    font-family: Arial;
    background-color: #ff6600;
    background-image: url(../Bilder/DonReuth-Logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

img {
    width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

input[required] {
    border-color: black;
}

input {
    background-color: rgb(255, 234, 196);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"] {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"],
.button,
.submit-btn {
    padding: 15px;
    margin: 20px 0;
    border: none;
    border-radius: 5px;
    background-color: orange;
    color: rgb(0, 0, 0);
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}

input[type="submit"]:hover,
.button:hover,
.submit-btn:hover {
    background-color: orange;
    transform: translateY(-2px);
}

form {
    display: flex;
    flex-direction: column;
    font-family: Arial;
}

.Inner_Box {
    max-width: 70%;
    position: relative;
    display: block;
    top: 0%;
    left: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
    transform: translate(-50%, 0%);
    background: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: left;
    letter-spacing: 2px;
    z-index: 80;
    font-size: 18px;
    border-radius: 8px;
}

.Inner_Box legend {
    text-align: center;
}

.Inner_Box img {
    border-radius: 8px;
}

.error-message {
    color: red;
    text-align: center;
}

.success-message {
    color: green;
    font-weight: bold;
    margin: 10px 0;
}

.timer {
    text-align: center;
    font-size: 25px;
    margin-top: 0px;
    max-width: 90%;
    position: relative;
    display: block;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0%);
    background: #ff6600;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    letter-spacing: 2px;
    z-index: 80;
    border-radius: 8px;
}

.aktionsbild {
    width: 50%;
    height: auto;
    margin-bottom: 20px;
}

.bild-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.popup-bild {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
}

@media screen and (max-width: 681px) {
    .Inner_Box {
        max-width: 95%;
        padding: 15px;
        transform: translate(-50%, 0%);
    }

    .timer {
        max-width: 95%;
        padding: 15px;
        transform: translate(-50%, 0%);
    }

    .aktionsbild {
        width: 100%;
    }
}