* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --body-color: #f1f9fc;
  --main-color: #f84002;
}
.hidden {
  visibility: hidden;
  transition: all 0.5s;
  opacity: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--body-color);
  font-family: "iran-medium";
  overflow-x: hidden;
}

@font-face {
  font-family: "iran-medium";
  src: url(../fonts/IRANSansX-DemiBold.woff);
}

@font-face {
  font-family: "isr";
  src: url(../fonts/IRANSansX-Regular.woff);
}
@font-face {
  font-family: "isb";
  src: url(../fonts/IRANSansX-Bold.woff);
}
@font-face {
  font-family: "pinarB";
  src: url(../fonts/Pinar-DS3-Bold.woff2);
}

.folio_common {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px 0px;
}
.folio_box {
  width: 370px;
  height: 365px;
  box-shadow:
    4px 4px 15px -15px rgba(0, 0, 0, 0.5) inset,
    5px 5px 15px #d1d9e6,
    -5px -5px 15px #ffffff;
  border-radius: 5px;
  position: relative;
  margin: 20px 20px;
  text-align: right;
}
.folio_box_img {
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.folio_title {
  color: var(--main-color);
  font-size: 18px;
  margin: 10px 10px;
  font-family: "isb";
}
.folio_text {
  font-family: isr;
  font-size: 12px;

  margin: 0px 10px;
}
.folio_more {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.folio_more p {
  font-size: 12px;
  margin-right: 10px;
  margin-left: 5px;
  color: #08a5a5;
}
.folio_more:hover {
  transform: translateX(-10px);
  transition: 0.5s all;
}
.folio_more:not(hover) {
  transition: 0.5s all;
}
.more_icon {
  transform: rotate(-90deg);
  display: flex;
}
.folio_tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 10px;
}
.folio_tools p {
  font-size: 11px;
  font-family: "isr";
  background-color: var(--main-color);
  margin: 10px 3px;
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
}
.explain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 50px;
  padding: 10px 50px;
  max-width: 90%;
  margin-top: 100px;
  /* background-color: #e5d8c650; */
}
.explain_right {
  width: 50%;
  direction: rtl;
}
.explain_right p {
  margin: 10px 0px;
  text-justify: inter-character;
  font-family: "isr";
  color: #3b3b3b;
}
.explain_right h1 {
  font-family: "pinarB";
  color: #313242;
  font-size: 26px;
}
.explain_botton {
  display: flex;
  align-items: center;
  position: relative;
}
.explain_botton p {
  background-color: #f84002;
  color: white;
  padding: 7px 25px;
  border-radius: 10px;
  font-family: "pinarB";
}
.explain_botton img {
  position: absolute;
  right: 165px;
}
.folio {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom_explain {
  direction: rtl;
  padding: 0px 50px;
  margin-bottom: 50px;
}
.bottom_explain h1 {
  font-family: "pinarB";
  font-size: 20px;
  color: #f84002;
}
.bottom_explain p {
  margin-top: 20px;
  font-family: "isr";
  line-height: 30px;
}
@media (max-width: 897px) {
  .folio_common {
    margin: 90px 0px;
  }
  .explain_left {
    display: none;
  }
  .explain {
    margin: 0;
    margin-top: 120px;
    justify-content: center;
    padding: 5px;
    max-width: 95%;
  }
  .explain_right {
    width: 95%;
  }
}
@media (max-width: 460px) {
  .folio_common {
    max-width: 95%;
  }
  .folio_box {
    max-width: 90%;
  }
  .explain_right h1 {
    font-size: 18px;
  }
}
@media (max-width: 395px) {
  .folio_common {
    max-width: 95%;
  }
  .folio_box {
    height: 345px;
    width: 320px;
    max-width: 90%;
  }
}
@media (max-width: 360px) {
  .folio_box {
    height: 325px;
    width: 300px;
    max-width: 90%;
  }
}
