:root{
  --main-font-size:1rem;
  --main-border-color:rgb(138, 138, 140);
  --main-font-family: 'B Roya';
  --main-background-color:rgb(247, 210, 210);
}

header {
  height: 200px;
  background: #57606f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
footer {
  height: 600px;
  background: #2f3542;
  color: #fff;
  font-size: 22px;
  padding: 20px;
}
.container{
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 50px auto;
    
    /* background-color: black; */
}
#main-faktor .faktorList{
  width: 60%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
  margin: 10px auto;

}
#main-faktor .faktorList div{
  background-color: rgb(124, 147, 236);
  text-align:center;
  padding: 5px;
  font-family: 'B Roya';
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
}
#main-faktor .tozihat{
  font-size: 1.2rem;
  font-family: var(--main-font-family);
  padding: 0.5rem;
  
}
#main-faktor{
  width: 80%;
  display: flex;
  flex-direction: column;
  margin: 10px auto;
}


.pageTitle {

  font-family: var(--main-font-family);
  
}
#main-faktor .sizes{
    display: flex;
    flex-direction:column;
    width: 18%;
    gap: 1px;
    background-color: rgb(255, 255, 255);
}
.btn{
    background-color: aqua;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-family: var(--main-font-family);

    
}
#main-faktor .btn:hover ,#main-faktor .btn.is-hover{
    background-color: var(--main-background-color)
}
#main-faktor.btn:focus{
    font-size: 1.4rem;
    border-right: 2px solid red;
}
th,td{
    font-size: 1.2rem;
    background-color: red;
/* border: 1px solid red; */
padding: 10px;

}
th{
    color: white;

}
td{
    font-size: 1.2rem;
    background-color: rgb(255, 255, 255);
border-bottom: 1px solid rgb(221, 219, 219);
padding: 10px;
}
tr:nth-child(odd) td{
    background-color: rgb(249, 245, 245);
}
tr:nth-child(even){
    background-color: rgb(36, 11, 85);
}

th :last-child{
    border-radius:5px !important ;
}
table {
    border-collapse: collapse;
    width: 95%;
    margin: 5px auto;
    border-radius: 5px;
    text-align: center;
    padding: 15px;
    font-family: 'B Roya';
  }
  #main-faktor .pages {
    width: 82%;
    min-height: 50px; /* برای اینکه مطمئن شویم عنصر در فکس باکس فشرده نمی‌شود */
    background-color: var(--main-background-color);
    
    opacity: 0;
    transition: opacity .8s ease; 
}
#main-faktor .Daraeepages {
  width: 100%;
  min-height: 50px; /* برای اینکه مطمئن شویم عنصر در فکس باکس فشرده نمی‌شود */
  background-color: var(--main-background-color);
  
}
.axFaktor img{
  display: block;
  max-width: 100%;
  height: auto;

}

#main-faktor .pages.show {
    opacity: 1;
}
  .price-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content:center ;
    gap: 12px;
  }
  .price-wrap a{
    font-size: 1rem;
    /* background-color: yellow; */
    padding: 2px;
    text-decoration: none;
  }
  .bigContainer{
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    width: 80%;
  }
  .mediumContainer{
    display: flex;
    width: 100%;
  }
  .tozihFaktor{
    display: flex;
    flex-direction: column;
    width: 55%;
    font-size: 1.2rem;
font-family: var(--main-font-family);
text-align: justify;
    padding: 15px;
  }
  .tozihFaktor span{
    font-weight: bold;
  }
  .axFaktor{
    width: 45%;
    background-color: transparent;
  }
  #main-faktor{
    direction: rtl;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 10px auto;
  }
  #main-faktor .price-td{
    display: flex;
    width: 100%;
    background-color: transparent;
    align-items: center;
    gap: 2rem;
    justify-content: center;

  }
  
  .imgS ,.imgs{
    width:20px;
     height:10px;
     background-color: transparent;
  }
  .SVGs{
    width: 18px;
    height: 18px;
    background-color: transparent;
  }
  .Daraee-container{
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 50px auto;
    
    /* background-color: black; */
}
  
