/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;400;500;600;700&display=swap&rel=preload"); */

/* GLOBAL VARS */
:root {
    --primary: #47a386;
    --secondary: #eb701e;
    --dark-primary: #6bc8b866;
    --dark-blue: #222b45;
    --backdrop-color: #edeef6;
    --form-background: #f1faf8;
    --form-color: #569593a6;
}

.buttons__container {
    background: var(--backdrop-color);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.buttons__container > button {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 6px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
}

.buttons__container > button:hover {
    filter: brightness(120%);
}

/* MODAL STYLE */
.button__secondary {
    background: var(--secondary);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    border: 0;
    cursor: pointer;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.button__secondary[disabled],
.button__secondary[disabled]:hover {
    cursor: not-allowed;
    background: #cfdfdc;
    border-color: #cfdfdc;
    transition: none;
    transform: none;
}

.button__secondary:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.007);
}

/* The Modal (background) */
.bwwInfopaketModal > * {
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    margin: 0;
}

.bwwInfopaketModal {
    display: flex; /* Hidden by default */
    /* pointer-events: none; */
    position: fixed; /* Stay in place */
    z-index: 100000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
    justify-content: center;
    padding: 1em;
}

/* Modal Content/Box */
.modal__content {
    background-color: #6bc8b8;
    padding: 1.5em;
    border-radius: 4px;
    position: relative;
    max-width: 950px;
    width: 100%;
    margin-bottom: 70px;
    /* display: grid;
    grid-gap: 1.5em;
    grid-template-columns: 1fr; */
}

/* Modal title */
.modal__content__left {
    padding: 0 1em;
}

.modal__content__left > * {
    margin-bottom: 0.5em;
}

.modal__content__left > h2 {
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.3em;
}

/* Modal text */
.modal__content__left > p {
    color: var(--dark-blue);
    line-height: 1.6em;
    font-size: 0.9em;
}

.modal__content__right {
    margin-bottom: -100px;
    padding: 1em;
}

.modal__content_right__formContainer {
    background: var(--form-background);
    border: 1px solid var(--dark-primary);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    border-radius: 4px;
    padding: 2em;
    font-size: 0.9rem;
    color: var(--form-color);
}

.modal__content_right__formContainer > * {
    margin-bottom: 1.5em;
}

.modal__content__right .modal__content__gif {
    display: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.modal__content__right .modal__content__success {
    display: none;
    color: #fff;
    text-align: center;
}

.form__inputs {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.5em;
}

.form__inputs input {
    background-color: #fff;
    border: 2px solid #ddeeeb;
    border-radius: 4px;
    color: var(--primary);
    padding: 0.75em;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.form__inputs input:hover,
.form__inputs input:focus {
    border-color: #cfdfdc;
}

.form__inputs input[disabled]:hover {
    cursor: not-allowed;
}

.form__inputs input[hidden] {
    display: none;
}

.form__inputs input::placeholder {
    color: var(--form-color);
}

.checkbox__anrede {
    display: flex;
    align-items: center;
}

.checkbox__anrede__container {
    margin-left: 1rem;
    width: 80px;
}

.checkbox__anrede__container > span {
    position: relative;
    display: block;
    height: 25px;
}

.checkbox__anrede__container > span > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox__anrede__container > span > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #ddeeeb;
    border-radius: 4px;
}

.checkbox__anrede__container > span > label::after {
    width: 50px;
    position: absolute;
    top: 0;
    padding-left: 35px;
    font-size: 0.9rem;
    color: #569593a6;
    line-height: 1.3rem;
}

.checkbox__anrede__container > span > label.frau::after {
    content: "Frau";
}

.checkbox__anrede__container > span > label.herr::after {
    content: "Herr";
}

.checkbox__anrede__container:hover span input ~ label {
    background-color: #f9f9f9;
    cursor: pointer;
}

.checkbox__anrede__container span input:checked ~ label {
    background-image: url("../../uploads/2020/04/check-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox__agree {
    position: absolute;
    opacity: 0;
    bottom: 0;
}

.checkbox__agree input {
    user-select: none;
    pointer-events: none;
}

.modal__content__daten {
    line-height: 1.5em;
    color: #132c3380;
    font-size: 0.5rem;
}

/* The Close Button */
.close {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #fff;
    background-color: var(--secondary);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #fff;
    border-radius: 20px 20px 20px 20px;
    padding: 5px 8px;
    font-size: 20px;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
    outline: none;
    filter: brightness(120%);
}

@media screen and (min-width: 992px) {
    .modal__content {
        display: grid;
        grid-gap: 1.5em;
        grid-template-columns: 1fr 1fr;
        padding: 2.3em 5em;
    }
}

@media screen and (min-width: 560px) {
    .bwwInfopaketModal {
        padding: 0 3em;
        align-items: center;
    }
    .modal__content {
        padding: 2.3em 3em;
    }
    .form__inputs {
        grid-template-columns: 1fr 1fr;
    }
}
