@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;
}
.social_media{
    bottom: calc(50vh - 80px);
    height: 230px;
    width: 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    border-radius: 5px;
    left: 0;
    position: fixed;
    row-gap: 5px;
    border: 1px solid var(--light-color);
}

.social_media a img{
    width: 35px;
    height: 35px;
}


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;
    background: transparent;
}

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

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: 1rem 9%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

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

.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;
}

.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);

}

.home .content a.btn {
    font-size: 1.5rem;
    
}

.main {
    border-radius: 15px;
    display: grid;
    height: auto;
    width: 50%;
    margin: auto;
    grid-template-columns: 20% 40% 20%;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: var(--black);
    padding: 10px 20px;
    box-shadow: var(--box-shadow);
}

.main .shomaresh {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 30px;
    padding: 10px 20px;
}

.main .shomaresh form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 10px;
}

.main .shomaresh form label,
p {
    font-size: 1.5rem;
}

.main .shomaresh form input[type="number"],
select {
    width: 250px;
    margin: 0 auto;
    text-align: center;
    padding: 5px 10px;
    border: 1px solid var(--black);
    border-radius: 5px;
}

.main .shomaresh form input[type="number"],
select:focus {
    outline: none;
}

.main .shomaresh form input[type="submit"] {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 2rem;
    font-size: 1.5rem;
    border-radius: .5rem;
    border: .2rem solid var(--black);
    color: var(--black);
    cursor: pointer;
      background-color: transparent;
}

.main .shomaresh form input[type="submit"]:hover {
    background: var(--orange);
    color: #fff;
    border: .2rem solid var(--orange);
}

.main .img {
    height: 250px;
    align-items: center;
    display: flex;
    justify-content: center;
    
}

.main .img img {
    width: 180px;
    height: 220px;
    border-radius: 15px;
}

.main .img_mobile {
    display: none;
}

.main .img_mobile img {
    width: 370px;
    height: 220px;
}

.links_khatm {
    background-color: rgb(255 255 255);
    margin: 5rem auto;
    display: grid;
    grid-template-columns: auto auto auto auto;
    padding: 20px 40px;
    border-radius: 15px 2px;
    font-size: 18px;
    justify-content: center;
    width: 50%;
}

.links_khatm ul {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 15px;
}

a.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;
    width: 100%;
    text-align: center;
}

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

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;
}


.textslider{
    margin: 120px auto 0 auto;
    height: 60px;
    color: blue;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 20px;
}
.textslider p{
    font-size: 18px;
}


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

    .header {
        padding: 2rem;
    }

    section {
        padding: 2rem;
    }


}

@media(max-width:1215px) {

    #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: 1500px) {
    .main {
        width: 80%;
    }

    .links_khatm {
        width: 80%;
    }
}


@media screen and (max-width: 980px) {
    .main {
        grid-template-columns: 100%;
        text-align: center;
        height: auto;
        padding-top: 20px;
    }

    .main .img {
        display: none;
    }

    .main .img_mobile {
        display: block;
    }

}

@media screen and (max-width: 690px) {

    .links_khatm ul {
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width: 500px) {

    .main .img_mobile img {
        width: 270px;
        height: 150px;
    }
}

@media screen and (max-width: 380px) {
    .main {
        width: 95%;
        margin: 0px 10px;
    }
}

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