/* Grundlegende Zurücksetzung von Abständen und Box-Modell */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hintergrund, Schriftart und Höhe der Seite */
body {
    background: linear-gradient(315deg, #407476 20%, #A1C86F 50%);
    min-height: 100vh;
}

/* Container für die zentrierte Formularbox */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
}

/* Styling der Formularbox */
.wrapper {
    width: 420px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    color: #F2F1E9;
    padding: 30px;
    border-radius: 10px;
}

/* Titel im Formular */
.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

/* Eingabefeld-Box mit Abstand und Platz für Icon */
.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

/* Styling für Textfelder */
.input-box input {
    width: 100%;
    height: 100%;
    background: #204244;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    padding: 20px 45px 20px 20px;
    font-size: 16px;
    color: #F2F1E9;
}

/* Platzhalterfarbe für Inputs */
.input-box input::placeholder {
    color: #F2F1E9;
}

/* Positionierung und Stil der Icons im Inputfeld */
.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #F2F1E9;
}

/* Für den Bereich „erneut senden“-Text */
.wrapper .resend-email p {
    font-size: 14.5px;
    color: #204244;
    text-align: center;
    margin: 20px 0 10px;
    transform: translate(0, -10px);
    text-decoration: none;
}

.wrapper .resend-email p:hover {
    text-decoration: underline;
}

/* Styling des Absende-Buttons */
.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #204244;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #F2F1E9;
    font-weight: bold;
}

.wrapper .btn:hover {
    background-color: #F2F1E9;
    color: #204244;
}

/* Pop-up Overlay, initially hidden */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Pop-up Box Styling */
.popup-box {
    background-color: #F2F1E9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-box p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #204244;
}

/* Buttons im Pop-up */
.popup-box button {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background-color: #204244;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.popup-box button:hover {
    background-color: #F2F1E9;
    color: #204244;
}

/* Responsive Design für Tablets */
@media (max-width: 768px) {
    .wrapper {
        width: 90%;
        padding: 20px;
    }

    .wrapper h1 {
        font-size: 28px;
    }

    .input-box input {
        font-size: 15px;
        padding: 18px 45px 18px 20px;
    }

    .wrapper .btn {
        font-size: 15px;
    }

    .popup-box {
        max-width: 90%;
        padding: 20px;
    }

    .popup-box p {
        font-size: 16px;
    }

    .popup-box button {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Responsive Design für sehr kleine Smartphones */
@media (max-width: 375px) {
    .wrapper h1 {
        font-size: 22px;
    }

    .input-box input {
        font-size: 14px;
        padding: 16px 40px 16px 16px;
    }

    .wrapper .btn {
        font-size: 14px;
        padding: 12px;
    }

    .popup-box p {
        font-size: 15px;
    }

    .popup-box button {
        font-size: 13px;
    }
}