/* Modal-Style */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 5em;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 1em;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.modal-content p {
    font-size: 0.8em;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.error {
    color: red;
    text-align: center;
}

.success {
    color: green;
    text-align: center;
}

/* Style für die Labels */
label {
    display: block;
    margin-top: 1em;
    font-weight: bold;
}

/* Style für die Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"] {
    width: 100%;
    padding: 0.5em;
    margin-top: 0.5em;;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input#email{
    margin-bottom: 0em;
}

input#email_verification{
    display: none;
}

lable.fussnote{
    font-size: 0.8em;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 1em 1.5em;
    margin-top: 0.5em;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Stile für Bildschirme unter 700px */
@media screen and (max-width: 699px) {
    .modal {
        padding-top: 2.5em;
    }

    .modal-content {
        padding: 0.5em;
    }

    /* Style für die Labels */
    label {
        margin-top: 0.25em;
    }

    /* Style für die Inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        padding: 0.125em;
        margin-top: 0.125em;;
        margin-bottom: 0.25em;
    }

    button {
        padding: 0.5em 1em;
    }
}