.button-custom {
    color: #65171d;
    cursor: pointer;
    font-size: 1rem;
    line-height: 2.5rem;
    max-width: 180px;
    width: 100%;
    letter-spacing: 0.3rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 1s ease-in;
}

.button-custom:hover {
    color: #65171d;
}

.button-custom svg {
    height: 40px;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.button-custom rect {
    fill: none;
    stroke: #65171d;
    stroke-width: 2;
    stroke-dasharray: 450, 0;
    transition: all 0.5s linear;
}

.button-custom:hover rect {
    stroke-width: 5;
    stroke-dasharray: 20, 300;
    stroke-dashoffset: 48;
    stroke: #8e0b16;
    transition: all 2s cubic-bezier(0.22, 1, 0.25, 1);
}

.button-custom-other {
    color: #231f20;
    cursor: pointer;
    font-size: 1rem;
    line-height: 2.5rem;
    max-width: 180px;
    width: 100%;
    letter-spacing: 0.3rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 1s ease-in;
}

.button-custom-other:hover {
    color: #231f20;
}

.button-custom-other svg {
    height: 40px;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.button-custom-other rect {
    fill: none;
    stroke: #231f20;
    stroke-width: 2;
    stroke-dasharray: 450, 0;
    transition: all 0.5s linear;
}

.button-custom-other:hover rect {
    stroke-width: 5;
    stroke-dasharray: 20, 300;
    stroke-dashoffset: 48;
    stroke: #231f20;
    transition: all 2s cubic-bezier(0.22, 1, 0.25, 1);
}
