.btn-diamondshape {
    --clr-light: rgb(255, 255, 255);
    --clr-dark: rgb(33, 37, 41);
    --button-padding-block: 0;
    --button-padding-inline: 0;
    --button-border-width: 0;
    --button-radius: 0;
    --button-font-family: "Futura Std", "Nunito", "Arial", sans-serif;
    --button-font-size: 1rem;
    --button-line-height: 1;
    --button-font-weight: 700;
    --button-letter-spacing: normal;
    --button-gap: 0;
    --button-transitions: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease;
    --button-hover-color: #fff;
    --button-hover-background: #000;
    color: var(--button-color);
    background-color: transparent;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    line-height: var(--button-line-height);
    font-weight: var(--button-font-weight);
    letter-spacing: var(--button-letter-spacing);
    border: var(--button-border-width) solid var(--button-border-color);
    padding-block: var(--button-padding-block);
    padding-inline: var(--button-padding-inline);
    border-radius: var(--button-radius);
    gap: var(--button-gap);
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    text-shadow: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    transition: var(--button-transitions);
}

.btn--primary {
    --button-color: #fff;
    --button-background: #EA5B0C;
    --button-focus-shadow: color-mix(in srgb, var(--button-hover-background), transparent 50%);
}

.btn--secondary {
    --button-color: #000;
    --button-background: #00B3FF;
    --button-focus-shadow: color-mix(in srgb, var(--button-hover-background), transparent 50%);
}

.btn--tertiary {
    --button-color: #000;
    --button-background: #AFC700;
    --button-focus-shadow: color-mix(in srgb, var(--button-hover-background), transparent 50%);
}

.btn--white {
    --button-color: #000;
    --button-background: #fff;
    --diamond-fill-color: var(--button-color);
}

.btn-diamondshape span {
    color: inherit;
    display: inline-block;
    padding-block: 1rem;
    padding-inline: 1.5rem;
    background-color: var(--button-background);
    transition: .25s background-color ease, .25s color ease;
}

.btn-diamondshape:hover span {
    color: var(--button-hover-color);
    background-color: var(--button-hover-background);
}
.btn-diamondshape:hover rect {
    fill: var(--button-hover-background);
}
.btn-diamondshape:hover .diamond {
    stroke: var(--button-hover-background);
}

.btn-diamondshape:hover .diamond-shape__chevrons {
    animation-name: slidebgin;
    animation-duration: .75s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-direction: normal;
}

.diamond-shape {
    position: relative;
    overflow: hidden;
}

.diamond-shape__chevrons {
    position: absolute;
    width: 144px;
    height: 100%;
    background: transparent;
    top: 0;
    inset-inline-start: 0;
    transition: .75s transform ease;
    transform: translate(-66.666667%);
    animation-name: slidebgout;
    animation-duration: .75s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diamond-shape__chevrons svg:nth-child(2) path {
    fill: var(--button-background);
}

.diamond-shape__chevrons + svg g rect {
    fill: var(--button-background);
}
.diamond-shape__chevrons + svg g path {
    stroke: var(--button-background);
    fill: var(--diamond-fill-color, #fff);
}

.diamond-shape svg {
    max-width: 100%;
    vertical-align: middle;
    height: auto;
}

.btn-diamondshape .diamond, .btn-diamondshape rect {
    transition: .25s stroke ease, .25s fill ease;
}

@keyframes slidebgin {
    0% {
        transform: translate(-66.666667%);
    }
    100% {
        transform: translate(-33.3333333%);
    }
}

@keyframes slidebgout {
    0% {
        transform: translateX(-33.3333333%);
    }
    100% {
        transform: translateX(0%);
    }
}

.btn--go-up .diamond-shape {
    transform: rotate(-90deg);
}

.btn--go-up .diamond-shape .diamond-shape__chevrons + svg rect {
    transform: rotate(90deg) translateY(-100%);
}

.btn--go-back .diamond-shape {
    order: -1;
    transform: scaleX(-1);
}
