@font-face {
  font-family: "B Titr";
  src: url("/static/fonts/B-Titr.ttf");
}

@font-face {
  font-family: "B Nazanin";
  src: url("/static/fonts/B-Nazanin.ttf");
}

html {
  position: relative;

  background-image: linear-gradient(to bottom, #daece7, #d9ebe6);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

body {
  position: relative;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  min-width: 21cm;
  min-height: 29cm;
  max-width: 21cm;
  max-height: 29cm;
}

.paper {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;

  min-width: 20cm;
  min-height: 28.7cm;

  max-width: 20cm;
  max-height: 28.7cm;

  padding: 1vh;
  border-radius: 16px;

  background: #fff;

  margin: 1vh;
}

.background-overly {
  position: absolute;
  object-position: center;
  object-fit: contain;

  width: 40rem;
  height: 61.5rem;

  background-position-x: 0rem;
  background-position-y: 10rem;
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 15%;

  transition: opacity 0.3s ease;
  z-index: 1;
}

.background-overly.hidden {
  opacity: 0;
  pointer-events: none;
}

.header {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;

  width: 100%;
}

.header-flex .item-infos {
  width: 27%;
}

.header-flex .item-infos .title {
  font-weight: 700;
}

.header-flex .item-infos .value {
  font-size: 1rem;
  font-feature-settings: "ss01";
}

.header .company-info {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;

  font-family: sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.header .item-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: nowrap;

  width: 30rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.header .item-title .title {
  font-family: Arial Narrow;
  font-size: 1.5rem;
  font-weight: 500;

  margin-left: 1vh;
  margin-right: 1vh;
  margin-bottom: 0.5vh;
}

.header .header-border {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.header .item-model {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header .item-model .model {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Arial Narrow;
}

.header .item-model .series {
  font-size: 1rem;
  font-weight: 700;
  font-family: Arial Narrow;
  margin-right: 1vh;
  margin-left: 1vh;
}

.header .company-info .texts {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.header .company-info .logo {
  max-height: 5rem;
  max-width: 9rem;
  margin-right: 1vh;
  margin-left: 1vh;
}

.header .company-info .name {
  text-align: center;
  font-size: 1rem;
}

.header .company-info .website-url {
  color: #283894;
}

.body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;

  width: 100rem;
  height: 100rem;

  max-width: 100%;
  max-height: 100%;
}

.body .imgs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: space-evenly;
}

.body .imgs .main img {
  max-width: 22rem;
  max-height: 22rem;
  padding: 1rem;
  object-fit: contain;
}

.body .imgs .others {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.body .imgs .others img {
  padding: 1rem;
  max-width: 11rem;
  max-height: 11rem;
}

.body .two-flex .features {
  min-width: 40%;
  width: fit-content;
  max-width: 50%;
}

.row {
  width: 100%;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.body .body-text {
  line-height: 1.5rem;
}

.two-flex {
  display: flex;
  flex-direction: row-reverse;
}

.body .imgs {
  margin: 0;
}

.row .content {
  font-size: 0.95rem;
  font-family: sans-serif;
  font-weight: 300;
  line-height: 1rem;
  margin-top: 0.8rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.row .content ul {
  margin: 0;
}

.row .title {
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;

  font-family: sans-serif;
  font-weight: 700;
  font-size: 1rem;

  height: 1.2vh;
}

.row .title span {
  margin-left: 1vh;
  margin-right: 1vh;
}

.row .title .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: nowrap;

  font-size: 1.5rem;
  margin-bottom: 0.7vh;
}

.additional .additional-image {
  display: flex;
  justify-content: center;
}

.additional .small img {
  max-width: 15rem;
  max-height: 15rem;
}

.additional .medium img {
  max-width: 18rem;
  max-height: 18rem;
}

.additional .large img {
  max-width: 30rem;
  max-height: 20rem;
}

.additional .additional-text {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.additional .additional-text span {
  width: 100%;
}

.tools {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  width: 100%;
}

.tools .logo,
.tools .logo:hover {
  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  background: unset;
  border: none;
  box-shadow: unset;

  width: 100%;
}

.tools .logo img {
  height: 4vh;
}

.tools .buttons {
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.tools a,
.tools button {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  padding: 1vh;
  background-color: #505050;
  border: 1px solid #505050;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 0px #505050;
  color: #fff;

  font-family: "Signika", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.5vh;

  transition: all 0.5s;

  padding: 1vh;
  margin: 0.7vh;
}

.tools button:hover,
.tools a:hover {
  cursor: pointer;

  background: #000;

  transition: all 0.5s;
}

.tools button img,
.tools a img {
  margin: 0;
  height: 3vh;
}

.tools button span,
.tools a span {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.language-switcher .language-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #000;
  font-size: 1.5vh;

  background: #d9fdd3;
  border-color: #50a846;
  border-radius: 8px;

  padding: 1vh;
  min-width: 8vh;

  box-shadow: 0px 0px 8px 0px #4fff006b;

  transition: all 0.3s ease;
}

.language-switcher .language-item:hover {
  background: #e0ffe8;
  border-color: #008f88;
  transform: translateY(-2px);
  cursor: pointer;
}

.language-switcher .language-item span {
  font-family: "Vazirmatn";
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.document {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: space-evenly;

  border-top: 1px solid #909090;

  width: 100%;
  max-height: 3rem;
}

.footer .company-info {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  font-feature-settings: "ss01";
  padding-top: 0.5rem;
}

.footer .company-info .address,
.footer .company-info .postal_code,
.footer .company-info .phone,
.footer .company-info .national_id,
.footer .company-info .website,
.footer .company-info .email {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;

  font-size: 0.75rem;

  margin-left: 0.5rem;
  margin-right: 0.5rem;

  color: #909090;
}

.footer .company-info .icon {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.footer .page-number {
  font-weight: 300;
  font-size: 0.65rem;
  font-style: italic;
  color: #b2b2b2;

  margin: 0.3rem;
}

footer .copyright {
  color: #878787;
  font-weight: 500;
  font-size: 1.3vh;
  margin: 1rem;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    size: A4;
    margin: 6mm;
  }

  html {
    background: #fff;
  }

  .paper {
    margin: 0;
  }

  .tools,
  footer,
  .language-switcher {
    display: none;
  }
}
