@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #555;
}

.header {
    text-align: center;
    padding-top: 50px;
}

.header img {
    width: 350px;
    margin-bottom: -30px;
}

h1 {
    font-size: 22px;
}

.container {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f2f2f2;
    display: inline-block;
    margin-top: 20px;
    width: 700px;
}

.content {
    margin: 1rem auto;
}

.content p,
.content input[type="email"],
.content button {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #555;
}

.form-group label {
    display: block;
    text-align: left;
    margin-left: 50px;
}

#email {
    text-align: center;
}

.dsgvo-text {
    width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    color: #555;
    text-align: justify;
    line-height: 1.5;
    font-size: 14px;
    margin-top: 20px;
}

.footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.impressum-link, .login-link {
    text-decoration: none;
    margin-right: 10px;
}

.impressum-link a, .login-link a {
    color: #555;
    border: 1px solid #ccc;
    padding: 5px 10px;
    width: auto;
    text-decoration: none;
}

.impressum-link a:hover, .login-link a:hover {
    color: #888;
}

button[type="submit"] {
    background-color: #99AB44;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #B6CE56;
}

.content input[type="email"] {
    margin-top: 0;
}

.submit-btn {
    background-color: #99AB44;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #B6CE56;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* Neu hinzugefügte Regeln für die Gleichgröße der Buttons */
#unsubscribeModal button {
    width: 120px; /* Stellt sicher, dass beide Buttons gleich breit sind */
    display: inline-block; /* Ermöglicht die Anwendung von width und zentriert die Buttons */
    margin: 10px; /* Gleicher Abstand um die Buttons */
}
