.section {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.spacing {
    margin: 1rem 0;
}

.top-space {
    margin-top: 2rem;
}

.small-top-space {
    margin-top: 1rem;
}

.default-button {
    width: fit-content;
    height: fit-content;
    display: inline-block;
}

.default-button.minor {
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.errorbox {
    border-radius: 2rem;
    padding: 2rem;
    background-color: #c8141e33;
    color: #c8141e;
    border: 1px solid #c8141e;
    scroll-behavior: smooth;
}

.successbox {
    border-radius: 2rem;
    padding: 2rem;
    background-color: #21832A33;
    color: #21832A;
    border: 1px solid #21832A;
    scroll-behavior: smooth;
}

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid #C8141E;
    border-right-color: transparent;
    border-radius: 50%;
    color: #C8141E;
    -webkit-animation: spinner .75s linear infinite;
    animation: spinner .75s linear infinite;
    margin-right: 20px;
}

.hide {
    display: none;
}

.spinner-big {
    width: 3rem;
    height: 3rem;
}

.spinner-small {
    width: 1rem;
    height: 1rem;
    border: .15em solid #C8141E;
    border-right-color: transparent;
    margin-right: 1rem;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.toast {
    width: 33.33%;
    margin-left: -16.66%;
    background-color: #fff;
    box-shadow: rgba(0,0,0,0.4) 0 0 20px;
    color: #000;
    text-align: center;
    border-radius: 2rem;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 0;
    opacity: 0;
}


    .toast.errortoast {
        background-color: #C8141E;
        color: #fff;
    }

    .toast.successtoast {
        background-color: #21832A;
        color: #fff;
    }

    .toast.show {
        z-index: 100;
        animation: fade ease-in-out 3s;
    }


@keyframes fade {
    0% {
        bottom: 0;
        opacity: 0;
    }

    10% {
        bottom: 5rem;
        opacity: 1;
    }

    90% {
        bottom: 5rem;
        opacity: 1;
    }

    100% {
        bottom: 0;
        opacity: 0;
    }
}

.inputbox {
    position: relative;
}

    .inputbox .input {
        border: 1px solid #dadde2;
        border-radius: 5px;
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
        line-height: 1.5rem;
        margin: 0.5rem 0;
        font-size: 18px;
        outline: none;
        transition: border-color 200ms ease-in-out;
        width: 50%;
    }

        .inputbox .input:focus {
            border-color: #1478C8;
        }

.inputbox__infotext {
    margin-top: -0.4rem;
    margin-left: 0.5rem;
    font-size: 15px;
    line-height: 22px;
}

.radiobox__infotext {
    margin-left: 0.5rem;
    font-size: 15px;
    line-height: 22px;
}

.inputbox label {
    position: absolute;
    left: 0.5rem;
    top: 1.4rem;
    transition: font-size 200ms ease-in-out, top 200ms ease-in-out;
    line-height: 1;
    padding: 0 0.5rem;
    cursor: text;
    background: #fff;
}

.inputbox .input:focus ~ label,
.inputbox .input:not(:placeholder-shown).input:not(:focus) ~ label {
    top: 0.25rem;
    font-size: 12px;
}

.inputbox .input:disabled {
    background-color: #f5f5f5;
}

    .inputbox .input:disabled:placeholder-shown ~ label {
        color: #dadde2;
        background-color: #f5f5f5;
    }

#categories {
    margin-top: 1rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    #categories div{
        margin: 0.75rem 0.5rem;
    }

    #categories label {
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        background: #f5f5f5;
        cursor: pointer;
    }

    #categories input[type="checkbox"] + label {
        transition: all 100ms ease-in-out;
    }

    #categories input[type="checkbox"]:checked + label {
        background: #C8141E !important;
        color: white;
    }

    #categories input {
        visibility: hidden;
        position: absolute;
    }

.textareabox {
    display: flex;
    flex-direction: column;
}

    .textareabox textarea {
        border: 1px solid #dadde2;
        padding: 0.5rem;
        border-radius: 5px;
        line-height: 1.5rem;
        margin: 0.5rem 0;
        font-size: 18px;
        outline: none;
        width: 50%;
        max-width: 50%;
    }

.radiobox .marketingconsent__infotext, .radiobox .marketingconsent__infotext ul {
    font-size: 15px;
    margin-left: 2rem;
}

.radiobox label {
    padding-left: 0.5rem;
}
.orderbox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.purposeconsent{
    margin-left: 2rem;
}