@font-face {
    font-family: vazirmatn;
    font-style: normal;
    font-weight: bold;
    src: url('../font/Vazirmatn-Regular.ttf');
}

:root {
    --orange: #ff7800;
    --black: #130f40;
    --light-color: #666;
    --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
    --border: .2rem solid rgba(0, 0, 0, .1);
    --outline: .1rem solid rgba(0, 0, 0, .1);
    --outline-hover: .1rem solid var(--black);
}

* {
    font-family: vazirmatn;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

img.logo {
    width: 80px;
    height: 80px;
    color: #003cff;
}

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    padding: 2rem 0 3rem 0;
    font-size: 3rem;
    color: #fff;
}

.heading span {
    background: var(--orange);
    display: inline-block;
    padding: .5rem 3rem;
    clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 2rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    border: .2rem solid var(--black);
    color: var(--black);
    cursor: pointer;
}

.btn:hover {
    background: var(--orange);
    color: #fff;
    border: .2rem solid #fff;
}

body {
    background-color: #eee;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

.header .logo {
    font-size: 1.7rem;
    font-weight: bolder;
    color: var(--orange);
}

.header .logo i {
    color: var(--orange);
}

.header .navbar a {
    font-size: 1.7em;
    margin: 0 1rem;
    color: var(--black);
}

.header .navbar a:hover {
    color: var(--orange);
}

.header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background: #eee;
    color: var(--black);
    font-size: 2rem;
    margin-right: .3rem;
    cursor: pointer;
    text-align: center;
}

.header .icons div:hover {
    background: var(--orange);
    color: #fff;
}

#menu-btn {
    display: none;
}

.header .form-search {
    position: absolute;
    top: 110%;
    left: -110%;
    width: 50rem;
    height: 4.5rem;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.header .form-search.active {
    left: 2rem;
    transition: .4s linear;
}

.header .form-search input {
    height: 100%;
    width: 100%;
    background: none;
    text-transform: none;
    font-size: 1.6rem;
    color: var(--black);
    padding: 0 1rem;
}

.header .form-search button {
    font-size: 2.2rem;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
    background: #fff;
    margin-left: 1rem;
}

.header .form-search button:hover {
    color: var(--orange);
}

.header .shopping-cart {
    position: absolute;
    top: 110%;
    left: -110%;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    width: 35rem;
    background: #fff;
}

.header .shopping-cart.active {
    left: 5rem;
    transition: .4 linear;
}

.header .shopping-cart .box {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;
}

.header .shopping-cart .box img {
    height: 10rem;
}

.header .shopping-cart .box i.fa-trash {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 2rem;
    cursor: pointer;
    color: var(--light-color);
    transform: translateY(-50%);
}

.header .shopping-cart .box i.fa-trash:hover {
    color: var(--orange);
}

.header .shopping-cart .box .content h3 {
    color: var(--black);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
    color: var(--light-color);
    font-size: 1.6rem;
}

.header .shopping-cart .box .content .quantity,
.price {
    padding-left: 1rem;
}

.header .shopping-cart .total {
    font-size: 1.8rem;
    padding: 1rem 0;
    text-align: center;
    color: var(--black);
    border-top: 1px solid var(--light-color);
}

.header .shopping-cart .btn {
    display: block;
    text-align: center;
    margin: 1rem;
}

.home {
    display: flex;
    text-align: center;
    justify-content: center;
    padding-top: 13rem;
    padding-bottom: 6rem;
    background: transparent;
}

.home .content {
    text-align: center;
    width: 60rem;

}

.home .content h3 {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.home .content h4 {
    color: var(--black);
    font-size: 1.8rem;
    margin: 5px 0;
}

.home .content h3 span,
.home .content h4 span {
    color: var(--orange);

}

.home .content p {
    color: var(--light-color);
    font-size: 1.5rem;
    padding: 1rem 0;
    line-height: 1.8;
}

.home .content p span {
    color: var(--orange);

}

.main {
    border-radius: 15px;
    display: grid;
    height: auto;
    width: 80%;
    height: auto;
    margin: auto;
    grid-template-columns: 100%;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: var(--black);
    padding: 10px 20px;
}


.slider {
    width: 100%;
    background: #fff;
    padding: 0;
    height: 500px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 18px;
    color: var(--black);
    display: flex;
    align-items: center;
    padding: 50px;
}

.swiper-slide .img {
    width: 50%;
    height: 100%;
    display: flex;
}

.swiper-slide .text {
    width: 50%;
}

.swiper-slide a {
    color: var(--black);
}

.swiper-slide a {
    color: var(--black);
}

.swiper-slide .img img {
    width: 100%;
    height: 70%;
    margin: auto;
}

.blog {
    width: 100%;
    background: #fff;
    padding: 20px 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.blog .titr {
    text-align: center;
    width: 100%;
    font-size: 16px;
    text-shadow: 0px 0px 3px var(--orange);

}

.blog .boxs {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    column-gap: 40px;
    row-gap: 40px;
    width: 100%;
    margin: 25px auto;
}

.blog .box {
    width: 270px;
    height: 420px;
    border: 1px solid var(--orange);
    text-align: center;
    padding: 20px 0;
    text-overflow: ellipsis;
    border-radius: 10px;
}

.blog .box:hover {
    border: 1px solid var(--orange);
    cursor: pointer;
    background: var(--orange);
    color: #fff;
    transform: scale(1.05);
}

.blog .box img {
    height: 200px;
    width: 250px;
}

.blog .box h3 {
    font-size: 16px;
    margin: 10px;
}

.blog .box p {
    font-size: 14px;
    margin: 10px;
    text-overflow: ellipsis;
}

.blog .box a.btn {
    color: var(--black);
    font-size: 14px;
    margin: 10px;
    width: calc(100% - 20px);
}

.blog .box a.btn:hover {
    color: #fff;
    font-size: 14px;
    margin: 10px;
}



ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer {
    background: #fff;
    margin-top: 7rem;
    box-shadow: var(--box-shadow);
}

.footer .box-container {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding: 1rem 0;
    text-align: center;
}

.footer .box-container .news h3 {

    padding: 2rem 0;

}

.footer .box-container .box a {
    display: block;
    font-size: 1.7rem;
    color: var(--light-color);
}

.footer .box-container .links a {
    padding: .5rem 4rem;
}

.footer .box-container .box a i {
    font-size: 1.5rem;
    color: var(--orange);
    padding: 1rem 0;
    margin-left: 2rem;
}

.footer .box-container .box a:hover i {
    padding-left: 2rem;
}

.footer .box-container .box p {
    display: block;
    font-size: 1.5rem;
    color: var(--light-color);
    padding: 1rem 0;
    text-align: center;
}

.footer .box-container .news,
.footer .box-container .about {
    text-align: center;
}

.footer .box-container .news input {
    background-color: #fff;
}

.footer .box-container .news input[type=text] {
    text-align: center;
    border: 2px solid var(--black);
    padding: .8rem;
    border-radius: .5rem;
}

.footer .box-container .news a {
    display: inline;
}

.footer .box-container .links {
    padding-left: 4rem;
}

.footer .box-container .links {
    padding-left: 4rem;
}

.footer .box-container .news .etemad {
    padding-top: 1rem;
}



@media(max-width:1300px) {
    .blog .boxs {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        column-gap: 40px;
        row-gap: 40px;
        width: 100%;
        margin: 25px auto;
    }
}
@media(max-width:870px) {
    .blog .boxs {
        display: grid;
        grid-template-columns: auto;
        justify-content: center;
        column-gap: 40px;
        row-gap: 40px;
        width: 100%;
        margin: 25px auto;
    }
}

@media(max-width:990px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }

    .swiper-slide {
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .swiper-slide .img {
        width: 100%;
        height: 100%;
        display: flex;
    }

    .swiper-slide .text {
        width: 100%;
    }

    .slider {
        width: 100%;
        background: #fff;
        padding: 0;
        height: 600px;
        border-radius: 15px;
        margin-bottom: 40px;
    }

}

@media(max-width:1150px) {

    #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 110%;
        right: -110%;
        width: 30rem;
        box-shadow: var(--box-shadow);
        border-radius: .5rem;
        background: #fff;
    }

    .header .navbar.active {
        right: 2rem;
        transition: .4s linear;
    }

    .header .navbar a {
        font-size: 2rem;
        margin: 2rem 2.5rem;
        display: block;
    }

    .header .form-search {
        width: 90%;
    }
}

@media(max-width:450px) {
    html {
        font-size: 50%;
    }

    .heading {
        font-size: 2rem;
    }
}

@media screen and (max-width: 645px) {
    .main {
        width: 100%;
    }
}

@media screen and (max-width: 350px) {
    * {
        display: none;
    }
}
@media screen and (max-width: 300px) {
    * {
        display: none;
    }
}