
@font-face{
    font-family:"Peyda";
    src:url("../fonts/PeydaWeb-Black.woff2") format("woff2"),
        url("../fonts/PeydaWeb-Black.woff") format("woff"),
        url("../fonts/PeydaWeb-Black.ttf") format("truetype"),
        url("../fonts/PeydaWeb-Black.eot") format("embedded-opentype"),
        url("../fonts/PeydaWeb-Black.svg") format("svg");
    font-weight:900;
    font-style:normal;
}

@font-face{
    font-family:"Vazirmatn";
    src:url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
    font-weight:400;
    font-style:normal;
}

/* ========== RESET ========== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--color-bg);
    color:var(--color-text);
    direction:rtl;
    font-size:var(--text-md);
    line-height:var(--line-md);
    font-family:"Vazirmatn",sans-serif;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    transition:var(--transition-fast);
}

button,
input,
textarea,
select{
    font-family:inherit;
    outline:none;
}

ul{
    list-style:none;
}

.container{
    width:100%;
    max-width:var(--container-xl);
    margin:auto;
    padding:0 var(--space-4);
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4,
h5,
h6,
button,
label,
.badge,
.main-nav a{
    font-family:"Peyda",sans-serif;
}

h1{
    font-size:var(--text-4xl);
    line-height:var(--line-sm);
}

h2{
    font-size:var(--text-3xl);
}

h3{
    font-size:var(--text-2xl);
}

h4{
    font-size:var(--text-xl);
}

.title-wrapper{
    display:flex;
    align-items: center;
    gap: 12px;
}