.body_border
{
  margin:0;
  overflow-X:hidden;
  font-family:"vazir";
  -webkit-font-smoothing:antialiased;
  -moz-font-smoothing:antialiased;
  -ms-font-smoothing:antialiased;
  font-smoothing:antialiased;
  background:#EBECF0;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  direction: rtl !important;
  padding-bottom: 50px;
  box-shadow: inset 0px 10px 30px #0003;
}

*{
  box-sizing: border-box;
}
::-webkit-scrollbar
{
  display:none;
}


.se_view{
  padding: 5px 10px;
  border: unset;
  border-radius: 10px;
  color: #16214d;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-weight: 1000;
  font-size: 10px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms;
  overflow: hidden;
  width: 30%;
  top: 60%;
  right: 20px;
 }
 .se_view::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 10px;
  background-color: #16214d;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms
 }
 
 #grid_wrapper>card>div:hover > .se_view {
  color: #e8e8e8;
  transform: translate3d(4px, 3px, 60px);
  transform-style: preserve-3d;
  box-shadow: -6px 7px 17px #0008;
 }
 
 #grid_wrapper>card>div:hover > .se_view::before {
  width: 100%;
 }
 #content_wrapper>div.clone.deactivate > .se_view {
  display:none;
}
/*Grid Wrapper*/
 
#home
{
  color:#16214d;
  width:100vw;
  height:100%;
  position:relative;
  padding:2%;
  display:block;
  transition:transform 0.5s ease-in-out;
  text-align: center;
}
#home>section
{
  position:relative;
}
.header{
  text-align: right;
  max-width: 1140px;
  margin:auto;
}

#home>.header>div
{
  position:relative;
  display:inline-block;
  margin-right:40px;
  vertical-align:middle;
}
#home h2
{
  font-weight: bold;
  margin-top: 30px;
}

#grid_wrapper
{
  width:100%;
  display:inline-block;
  box-sizing:border-box;
  padding:20px;
  position:relative;
  max-width: 1140px;
  margin: auto;
  margin-top: 20px;
  background: var(--back-color);
  border:3px solid #f3f4f7;
  box-shadow: 2px 2px 3px rgba(55, 84, 170, .15), inset 0px 0px 4px rgba(255, 255, 255, 0), inset 7px 7px 15px rgba(55, 84, 170, .15), inset -7px -7px 20px rgba(255, 255, 255, 1), 0px 0px 4px rgba(255, 255, 255, .2) !important;
  border-radius:2rem;
}
#grid_wrapper.init>card
{
  transform:scale(0);
}
#grid_wrapper>card
{
  display:block;
  width:33.33%;
  height:250px;
  float:right;
  transition:transform 0.3s cubic-bezier(0,0,0,1);
  padding:15px;
  box-sizing:border-box;
}
@media (max-width: 990px) {
  #grid_wrapper>card{
    width:50%;
    height: 200px;
  }
  #navmain>.tab{
      font-size:1em !important;
  }
}
@media (max-width: 480px) {
  #grid_wrapper>card{
    width:100%;
    height: 220px;
  }
  #navmain>.tab{
      font-size:0.8em !important;
  }
  #content_wrapper>button{
      font-size:1.2em !important;
      top:64px !important;
      left:8px !important;
    }
}
#grid_wrapper>card>div,#content_wrapper>.clone
{
  color:#fff;
  cursor:pointer;
  width:100%;
  height:100%;
  position:relative;
  transition: all 0.5s;
  overflow:hidden;
  border:0;
  border-radius: 10px;
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
}
#grid_wrapper>card>div.active
{
  opacity:0;
}
#grid_wrapper>card>div:hover
{
  transform: rotate3d(0.5, 1, 0, 30deg);
  transition: all 0.5s;
  
}
#grid_wrapper>card>div:before,#content_wrapper>.clone:before
{
  width:100%;
  height:100%;
  content:"";
  position:absolute;
  top:0;
  left:0;
  background-size:100%;
  background-position:50% 50%;
  background-blend-mode:overlay;
  /*background-color: #0005;*/
  transition:all 0.2s;
  -webkit-filter:blur(3px);
  -moz-filter:blur(3px);
  filter:blur(3px);
  -ms-filter:blur(3px);
}
#grid_wrapper>card>div>span,#content_wrapper>.clone>span
{
  width:100%;
  height:50px;
  margin-top:-25px;
  top:50%;
  position:absolute;
  line-height:50px;
  display:none;
  text-align:center;
  font-size:1.5em;
  opacity:1;
  text-shadow: 0px 0px 10px #000;
}
/*End of Section*/

/*NavBar Style*/
/*Comes up only when you're open in a section*/
#navmain
{
  overflow-x:auto;
  overflow-y: hidden;
  z-index:+250;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:60px;
  display:block;
  white-space:nowrap;
  text-align: center;
  background:#14151a linear-gradient(#14151a,#161725);
}
#navmain.inactive{
    background : none !important;
    z-index: +25 !important;
}
#navmain.inactive>.tab
{
  transform:rotateX(90deg) translateY(-25px);
}
#navmain>.tab
{
  transform-origin:50% 0% 0px;
  background:#5bd2f1;
  box-sizing:border-box;
   border-top:5px solid;
  font-weight:600;
  font-size:1.3em;
  color:#fff;
  display:inline-block;
  width:15.5%;
  text-align:center;
  line-height:50px;
  height:100%;
  border-top:#1e8cb770 5px solid;
  position:relative;
  cursor:pointer;
  overflow:hidden;
  transition:transform 0.5s cubic-bezier(0,0,0,1);
}
#navmain>.tab.active
{
  z-index:+5000;
}
#navmain>.tab.active>span
{
  background:#14151b;
}
#navmain>.tab>span
{
  width:100%;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  height:100%;
  display:block;
  transform:line-height 0.2s;
}
#navmain>.tab:not(.active)>span:hover
{
  background:#2a93ae;
}
#navmain>.tab:after
{
  content:"";
  top:0;
  right:0;
  position:absolute;
  border-top:0px solid transparent;
  border-bottom:50px solid transparent;
  border-right:0px solid rgba(0,0,0,0.05);
  transition:all 0.2s;
}
#navmain>.tab:hover:after
{
  content:"";
  right:0;
  position:absolute;
  border-top:0px solid transparent;
  border-bottom:55px solid transparent;
  border-right:10px solid rgba(0,0,0,0.1);
}
/*End of Section*/

/*Ripple Styling*/
.ripple
{
  position:fixed;
  animation:ripple 1s 1 ease-out;
  background:rgba(0,0,0,0.5);
  margin:-250px;
  width:500px;
  height:500px;
  transform:scale(10);
  position:absolute;
  border-radius:50%;
  opacity:0;
}
  
/*One for the BIIIIG ONE!*/

.mega.ripple
{
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  opacity:1;
}
@keyframes ripple
{
  0%{
    opacity:1;
    transform:scale(0);
  }
}
/*End of Section*/

/*This one Wraps content of the tabs*/
#content_wrapper.inactive
{
 pointer-events:none; 
}
#content_wrapper
{
  position:fixed;
  z-index:+20;
  top:0;
  left:0;
  height:100%;
  width:100%;
  display:block;
  perspective:1000px;
}
#content_wrapper>div.content
{
  z-index:+50;
  position:fixed;
  top:0;
  width:100%;
  height:100%;
  left:0;
  display:block;
  box-sizing:border-box;
  padding:5%;
  padding-top:100px;
  overflow: auto;
  text-align: center;
}
#content_wrapper>div.clone.deactivate
{
   background:linear-gradient(#14151a,#161725) !important;
   border-radius: 0 !important;
}
#content_wrapper>div.clone.deactivate>span{
  font-size: 50em;
  opacity: 0;
  animate: blow 0.5s 0s cubic-bezier(0,0,0,1);
}
@keyframes blow
{
  to{
    font-size:50em;
    opacity:0;
  }
}
#content_wrapper>div.clone.deactivate:before
{
  animation:fadeOut 0.25s 0s 1 cubic-bezier;
  opacity:0;
}
@keyframes fadeOut
{
  from{
    opacity:1;
  }
}
#content_wrapper>div.clone
{
  width:100%;
  height:100%;
  transform-origin:50% 50%;
  position:absolute;
  transform-origin:50% 50%;
  transform:translate(-50%,-50%) rotateY(180deg);
  animation:flipOpen 0.5s 0s 1 cubic-bezier(0,0,0,1);
}
#content_wrapper.inactive>div.clone
{
  animation:flipClose 0.7s 0s 1 cubic-bezier(0,0,0,1);
  transform:translate(-50%,-50%);
  position:absolute;
}
@keyframes flipOpen
{
  from{
    transform:translate(-50%,-50%);
  }
}
@keyframes flipClose
{
  from{
    transform:translate(-50%,-50%) rotateY(180deg);
  }
}
#content_wrapper>div.content>section.active
{
  opacity:1;
  transform:none;
}
#content_wrapper>div.content>section{
  color:#aaa;
  position:absolute;
  top:100px;
  right:2%;
  opacity:0;
  transition:all 0.5s;
  transform:translateY(-100px);
  width: 96%;
  text-align: center;
}
#content_wrapper.inactive>button
{
  opacity:0;
}

#content_wrapper>button
{
  z-index: +150;
  transition:opacity 0.2s 1s;
  padding:8px 12px;
  color: #16214d;
  font-size: 1.5em;
  outline:none;
  border:none;
  position: fixed;
  top: 70px;
  left: 40px;
  cursor: pointer;
  background:#fff;
  font-family: vazir;
  border-radius:5px;
}
/*End of Section*/

/*Footer Design*/
#footer
{
  font-size:0.9em;
  position:relative;
  margin-top:200px;
  width:100%;
  height:70px;
  text-align:center;
  color:rgba(255,255,255,0.3);
  z-index:+15;
}
#footer:before
{
  position:absolute;
  top:0;
  height:3px;
}
#footer:after
{
  position:absolute;
  bottom:1px;
  top:unset;
  height:3px;
}
/*End of Section*/





.clear {
  clear: both;
}
.game-section img {
  max-width: 100%;
  border: 0px;
}
.game-section ul,
.game-section ol {
  list-style: none;
}

.game-section h2 {
  margin-bottom: 30px;
  padding-bottom: 16px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  position: relative;
  text-transform: capitalize;
  text-align: right;
  margin-left: auto;
  margin-right: 0px;
  text-wrap: nowrap;
}
.game-section h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 36px;
}
.game-section button {
  outline: none !important;
}
/******* Common Element CSS End *********/

/* -------- title style ------- */
.line-title {
  position: relative;
  width: 400px;
}
.line-title::before,
.line-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
}
.line-title::before {
  width: 100%;
  background: #f2f2f2;
}
.line-title::after {
  width: 32px;
  background: #e73700;
}

/******* Middle section CSS Start ******/
/* -------- Landing page ------- */
.game-section {
  padding: 0px 20px;
}
.game-section .owl-stage {
  margin: 15px 0;
  display: flex;
  display: -webkit-flex;
}
.game-section .item {
  margin: 0 15px 30px;
  width: 250px;
  height: 350px;
  display: flex;
  display: -webkit-flex;
  align-items: flex-end;
  -webkit-align-items: flex-end;
  background: #343434 no-repeat center center / cover;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.game-section .item.active {
  width: 500px;
  box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.5);
}
.game-section .item:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}
.game-section .item-desc {
  padding: 0 24px 12px;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(calc(100% - 84px));
  -webkit-transform: translateY(calc(100% - 84px));
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
.game-section .item.active .item-desc {
  transform: none;
  -webkit-transform: none;
}
.game-section .item-desc p {
  opacity: 0;
  -webkit-transform: translateY(32px);
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
  -webkit-transition: all 0.4s ease-in-out 0.2s;
}
.game-section .item.active .item-desc p {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.game-section .owl-theme.custom-carousel .owl-dots {
  margin-top: -20px;
  position: relative;
  z-index: 5;
}
/******** Middle section CSS End *******/

/***** responsive css Start ******/

@media (min-width: 992px) and (max-width: 1199px) {
  .game-section h2 {
    margin-bottom: 32px;
  }
  .game-section h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 32px;
  }

  /* -------- Landing page ------- */

  .game-section .item {
    margin: 0 12px 60px;
    width: 260px;
    height: 360px;
  }
  .game-section .item.active {
    width: 400px;
  }
  .game-section .item-desc {
    transform: translateY(calc(100% - 70px));
    -webkit-transform: translateY(calc(100% - 70px));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .game-section h2 {
    margin-bottom: 32px;
  }
  .game-section h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 32px;
  }
  .line-title {
    width: 330px;
  }

  /* -------- Landing page ------- */

  .game-section .item {
    margin: 0 12px 60px;
    width: 240px;
    height: 330px;
  }
  .game-section .item.active {
    width: 360px;
  }
  .game-section .item-desc {
    transform: translateY(calc(100% - 70px));
    -webkit-transform: translateY(calc(100% - 70px));
  }
}

@media (max-width: 767px) {
  .game-section h2 {
    margin-bottom: 20px;
  }
  .game-section h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 24px;
  }
  .line-title {
    width: 100%;
  }

  /* -------- Landing page ------- */
  .game-section {
    padding: 10px 20px;
  }
  .game-section .item {
    margin: 0 10px 40px;
    width: 200px;
    height: 280px;
  }
  .game-section .item.active {
    width: 270px;
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
  }
  .game-section .item-desc {
    padding: 0 14px 5px;
    transform: translateY(calc(100% - 55px));
    -webkit-transform: translateY(calc(100% - 55px));
  }
}

