@font-face {
    font-family: vazir;
    src: url('../fonts/vazir-matn-regular.woff2') format('woff2');
}

@font-face {
    font-family: iran;
    src: url('../fonts/iran-sans-web.woff2') format('woff2');
}

*{
    font-family: vazir, sans-serif !important;
}

.sans{
    font-family: sans-serif !important;
}

.iran{
    font-family: iran !important;
}

.hoverable-link{
    transition: all 0.2s;
}

.hoverable-link:hover{
    transform: scale(1.1);
}

.rtl{
    direction: rtl !important;
}

.ltr{
    direction: ltr !important;
}

.has-transition{
    transition: all 0.2s !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

header .ham-svg.not-showing, header .cross-svg.not-showing{
    display: none;
}

header .ham-svg.showing ~ nav{
    display: none;
}

header .ham-svg.not-showing ~ nav{
    display: flex;
}


header nav{
    width: 100vw;
    height: calc(100vh - 4rem);
    position: fixed;
    left: 0;
    top: 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

header nav ul{
    width: 65vw;
    height: 100%;
    background-color: white;
}


@media screen and (min-width: 64rem) {
    header nav{
        width: auto;
        height: auto;
        position: static;
        top: 0;
        left: 0;
        background-color: transparent;
        backdrop-filter: blur(0);
        display: flex !important;
    }

    header nav ul{
        background-color: transparent;
    }
}