@font-face {
    font-family: "Vazir";
    src: url("../src/fonts/Vazir.ttf") format("truetype");
}

:root {
    --primary: #ff0000;
    --bg-dark: #141414;
    --text-muted: #85888f;
    --text-light: #ffffff;
    --font-vn: "Vazir"
}

.btn-as {
    position: relative;
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    border-radius: 10px;
    font-family: var(--font-vn);
}

.btn-as::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% - 12px);
    background-color: #1e1f24;
    transition: 0.3s ease-in-out;
    transform: scaleY(1);
}

.btn-as:hover::before {
    transform: scaleY(0);
}

.btn-as::after {
    content: '';
    position: absolute;
    left: 6px;
    top: -2px;
    height: calc(100% + 4px);
    width: calc(100% - 12px);
    background-color: #1e1f24;
    transition: 0.3s ease-in-out;
    transform: scaleX(1);
    transition-delay: 0.5s;
}

.btn-as:hover::after {
    transform: scaleX(0);
}

.btn-as span {
    position: relative;
    z-index: 3;
}

.btn-bs {
    background-color: none;
    text-decoration: none;
    background-color: #1e1f24;
    border: none;
}