@font-face {
  font-family: Sans;
  src: url(/IRANSans.ttf);
}

@font-face {
  font-family: Sans;
  src: url(/IRANSans_Bold.ttf);
  font-weight: bold;
}

:root{
  direction: rtl;
}

*,
*::after,
*::backdrop {
  box-sizing: border-box;
}

body {
  font-family: Sans, sans-serif;
  margin: 0;
  font-size: 24px;
  background-image: url(/background.jpg);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 50%;
}

a{
    text-decoration: none;
    color: rgb(0, 150, 100);
}

.container {
  max-width: 50%;
  margin: 8rem auto;
  background-color: #eee;
  border-radius: 2rem;
  padding: 2rem;
  -webkit-box-shadow: 47px -38px 58px -2px rgba(0,0,0,0.22);
  -moz-box-shadow: 47px -38px 58px -2px rgba(0,0,0,0.22);
  box-shadow: 47px -38px 58px -2px rgba(0,0,0,0.22);
}
h1,
h2,
h3,
h4 {
  font-family: "Lalezar", cursive;
}
h1 {
  text-align: center;
  font-size: 4rem;
  border-bottom: 4px solid #000;
  margin-bottom: 0;
}


h2::before {
  content: "\273A";
}

strong {
  font-size: 1.5rem;
}

nav{
  display: flex;
  justify-content: space-evenly;
}

.nav-item{
  background-color: rgba(214, 125, 0, 0.45);
  color: #fff;
  padding: 12px;
  width: 33%;
  text-align: center;
  cursor: pointer;
}

.nav-item:hover{
  color: rgba(0,0,0,0.22);
}


.player{
    padding:1rem 3rem;
    background-color: bisque;
    border-radius: 1rem;
}

h4{
    margin: 0;
}

.comic-pages{
    display: block;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.22);
    border-radius: 1rem;
    border: 3px solid #000;
    width: 100%;
}

.telegram{
    margin: 0 auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(107, 176, 255,0.45);
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 15px 10px 15px rgba(0,0,0,0.22)
}

.note{
    background-color: rgba(0, 214, 64, 0.22) ;
    margin: 36px auto;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 15px 10px 15px rgba(0,0,0,0.22) ;
}

li{
    margin-top: 16px;
}

.warning{
    background-color: rgba(230, 87, 87,0.75);
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid rgb(252, 4, 4);
    color: #fff;
    text-align: justify;
    text-justify:newspaper;
}

q{
  font-style:oblique;
  font-size: 1rem;
  display: block;
  margin-bottom: 16px;
}

.buy-step{
    padding: 1rem;
    background-color: rgba(197, 249, 249,0.45);
    border-radius: 1rem;
    box-shadow: 15px 10px 15px rgba(0,0,0,0.22) ;
    margin-bottom: 24px;
}

.buy-step img{
    width: 50%;
    margin: 0 25%;
    border-radius: 1rem;
    box-shadow: 15px 10px 15px rgba(0,0,0,0.22) ;
}

.accordion{
  width: 100%;
  text-align: right;
  padding: 18px;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: Sans, sans-serif;
  border: none;
  background-color: rgb(224, 239, 254);
  transition: max-height ease-out 0.4s;
}

.active, .accordion:hover{
  background-color: rgb(99, 147, 243);
}

.accordion::after{
  content: '+';
  float: left;
  margin-left: 8px;
  font-size: 2rem;
}

.panel{
  padding: 0 18px;
  background-color: #fff;
  overflow: scroll;
  display: none;
  max-height: 0;
  transition: all ease-in-out 0.5s;
  padding-top: 18px;
}

.active{
  display: block;
}

.active::after{
  content: '-';
}

.publish_update{
  text-decoration: underline double;
  color: darkblue;
}

@media screen and (max-width:900px) {
  .container{
    max-width: 80%;
  }
  .telegram{
    width: 100%;
  }
}

@media screen and (max-width:500px) {
  .buy-step img{
    width: 100%;
    margin: 0;
  }
}