/*Remove default styles*/
/**,*/
/**::before,*/
/**::after {*/
/*    box-sizing: border-box;*/
/*}*/


html, body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/*General*/
.flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.flex.left {
    justify-content: left;
}

.wrap {
    flex-wrap: wrap;
}

.wrap-reverse {
    flex-wrap: wrap-reverse;
}

.right {
    width: 100%;
    text-align: right;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
    display: inline;
}

p.error {
    color: #FF1919;
}

/*Links and Link buttons*/
a {
    text-decoration: none;
    color: #1F1F1F;
}

a.button {
    display: flex;
    padding: 0.5rem 1.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 2.5rem;
    background: #1F1F1F;
    color: #FFF !important;
    text-align: center;

    /* DT/button-text */
    font-family: "AktivGrotesk", sans-serif;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 1.125rem */
    letter-spacing: 0.00469rem;
    &:hover{
        background: #AA0A25;
    }
    &:active {
        background: #8A081E;
    }
}

/*Buttons*/
button.primary, button.secondary {
    width: 9.4375rem;
    padding: 0.375rem 1.25rem 0.4375rem 1.25rem;
    border-radius: 2.5rem;
    background: #1F1F1F;
    color: #FFF;
    border: none;
    cursor: pointer;

    font-family: "AktivGrotesk", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 1.05rem */
    &:hover {
        background: #AA0A25 !important;
        color: #FFF !important;
        border: none !important;
    }
    &:active {
        background: #8A081E;
    }
}

button.secondary, a.button.secondary {
    background: transparent !important;
    color: #1F1F1F !important;
    border: 2px solid #1F1F1F !important;
}



/*Custom checkbox*/
body {
    & input[type="checkbox"] {
        -webkit-appearance: none;
        appearance: none;
        background-color: transparent;
        margin: 0;

        font: inherit;
        color: currentColor;
        width: 1.846em;
        height: 1.846em;
        border: 0.16em solid currentColor;
        border-radius: 0.15em;
        transform: translateY(-0.075em);

        display: grid;
        place-content: center;
    }
    & input[type="checkbox"]::before {
        content: "";
        width: 1.2em;
        height: 1.2em;
        clip-path: polygon(10% 40%,2% 49%,44% 86%,100% 23%,91% 14%,43% 68%);
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        background-color: CanvasText;
    }
    & input[type="checkbox"]:checked::before {
        transform: scale(1);
    }
    & label:has(input[type="checkbox"]) {
        display: grid;
        grid-template-columns: 1em auto;
        gap: 1.5em;
        line-height: 2em;
    }
}

