@media screen and (max-width: 480px) {
  @supports (-webkit-touch-callout: none) {
    .socials-icon {
      -webkit-box-pack: center;
    }
  }
  .socials-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .socials-icon i {
    width: 30px;
    height: 30px;
  }
  .variable-medium-height {
    padding: 0px 28px !important;
    font-size: 1.1rem !important;
  }
  .variable-small-height {
    padding: 0px 18px !important;
    font-size: 1rem !important;
  }
  body{
    border: 1px solid var(--color-7) !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 900px) {
  @supports (-webkit-touch-callout: none) {
    .socials-icon {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-box-pack: center;
      -webkit-box-align: center;
    }
  }
  .socials-icon {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    font-size: 1.6rem;
    gap: 10px;
  }
  .socials-icon i {
    width: 40px;
    height: 40px;
  }
  .variable-medium-height {
    padding: 4px 40px !important;
    font-size: 1.20rem !important;
  }
  .variable-small-height {
    padding: 0px 26px !important;
    font-size: 1.1rem !important;
  }
  body{
    border: 1px solid var(--color-7) !important;
  }
}

@media screen and (min-width: 901px) {
  @supports (-webkit-touch-callout: none) {
    .socials-icon {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-box-pack: center;
      -webkit-box-align: center;
    }
  }
  .socials-icon {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    font-size: 1.6rem;
    gap: 30px;
  }
  .socials-icon i {
    width: 40px;
    height: 40px;
  }
  .variable-medium-height {
    padding: 5px 42px !important;
    font-size: 1.25rem !important;
  }
  .variable-small-height {
    padding: 0px 42px !important;
    font-size: 1.25rem !important;
  }
}

:root {
  --color-1: #F2F2F0;
  --color-2: #555C73;
  --color-3: #010A26;
  --color-4: #F21B42;
  --color-5: #F20519;
  --color-6: #A6D7F2;
  --color-7: #FFC107;
  --color-8: #00a80e;
}
* {
  box-sizing: border-box;
}

.alert {
  margin-bottom: 0 !important;
}

@font-face {
  font-family: "roya";
  src: url(../fonts/roya.ttf);
}
@font-face {
  font-family: "roya-b";
  src: url(../fonts/royab.ttf);
}
@font-face {
  font-family: "entezar-1";
  src: url(../fonts/Entezar1.ttf);
}
@font-face {
  font-family: "entezar-2";
  src: url(../fonts/Entezar2.ttf);
}
@font-face {
  font-family: "entezar-3";
  src: url(../fonts/Entezar3.ttf);
}
.english-font {
  font-family: 'Courier New', Courier, monospace;
}
.persian-font {
  font-family: "roya";
}
/* .roya-font {
  font-family: "roya";
} */
.entezar2-font {
  font-family: "entezar-2";
}
/* Paginationan Bar */
.pagination {
  font-family: 'Courier New', Courier, monospace;
  margin-top: 20px;
  margin-bottom: 30px;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
}
.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 5px 13px;
  border: 1px solid var(--color-3);
  border-radius: 3px;
  background-color: var(--color-1);
  color: var(--color-3);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  height: 40px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.pagination .current-page {
  background-color: var(--color-4);
  color: var(--color-1);
}
.pagination a:hover:not(.current-page) {
  border: 1px solid var(--color-1);
  background-color: var(--color-2);
  color: var(--color-1);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.pagination .disabled {
  margin: 0 5px;
  padding: 5px 13px;
  color: var(--color-1);
  border: 1px solid var(--color-2);
  border-radius: 3px;
  pointer-events: none;
  background-color: var(--color-2);
  opacity: 0.4;
  height: 40px;
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--color-3);
  background-color: var(--color-4);
}
.footer-box {
  height: 80px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
}
.socials-icon i {
  border: 1px solid var(--color-3);
  color: var(--color-3);
  border-radius: 3px;
  padding: 10px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
}
.socials-icon a {
  text-decoration: none !important;
}
.socials-icon i:hover {
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

/* Copyright */
.copyright {
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-3);
  color: var(--color-2);
}

.first-position {
  bottom: -100px;
}
.footer-position-sticky {
  position: sticky;
  position: -webkit-sticky;
  bottom: 0;
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-property: bottom;
  -webkit-transition-property: bottom;
}
/* Buttons */
.button-width-lg {
  width: 100%;
}
.button-1-pushable {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.button-1-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}
.button-1-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: -webkit-linear-gradient(to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%);
  background: linear-gradient(to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%);
}
.button-1-front {
  display: block;
  position: relative;
  border-radius: 3px;
  padding: 5px 42px;
  font-size: 1.25rem;
  color: var(--color-1);
  background-color: var(--color-5);
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}
.button-1-pushable:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}
.button-1-pushable:hover .button-1-front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}
.button-1-pushable:active .button-1-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}
.button-1-pushable:hover .button-1-shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}
.button-1-pushable:active .button-1-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}
.button-1-pushable:focus:not(:focus-visible) {
  outline: none;
}

/* Button - another size */
.small-height {
  padding: 0px 26px !important;
}
.xs-height {
  font-size: 0.7rem !important;
  padding: 0px 14px !important;
}
.xs-color-font {
  color: var(--color-3) !important;
}

/* Button - green color */
.button-1-edge-green {
  background: -webkit-linear-gradient(to left,
    hsl(125deg, 100%, 16%) 0%,
    hsl(125, 100%, 29%) 8%,
    hsl(125deg 100% 29%) 92%,
    hsl(125deg 100% 16%) 100%);
  background: linear-gradient(to left,
    hsl(125deg, 100%, 16%) 0%,
    hsl(125, 100%, 29%) 8%,
    hsl(125deg 100% 29%) 92%,
    hsl(125deg 100% 16%) 100%);
}
.button-1-front-green {
  color: var(--color-1);
  background-color: hsl(125, 100%, 33%) !important;
}

/* Button - yellow color */
.button-1-edge-yellow {
  background: -webkit-linear-gradient(to left,
    hsl(45deg, 100%, 16%) 0%,
    hsl(45deg 100% 32%) 8%,
    hsl(45deg 100% 32%) 92%,
    hsl(45deg 100% 16%) 100%);
  background: linear-gradient(to left,
    hsl(45deg, 100%, 16%) 0%,
    hsl(45deg 100% 32%) 8%,
    hsl(45deg 100% 32%) 92%,
    hsl(45deg 100% 16%) 100%);
}
.button-1-front-yellow {
  color: var(--color-1);
  background-color: hsl(45, 100%, 51%) !important;
}

/* Button - blue color */
.button-1-edge-blue {
  background: -webkit-linear-gradient(to left,
    hsl(201deg, 100%, 16%) 0%,
    hsl(201deg 100% 32%) 8%,
    hsl(201deg 100% 32%) 92%,
    hsl(201deg 100% 16%) 100%);
  background: linear-gradient(to left,
    hsl(201deg, 100%, 16%) 0%,
    hsl(201deg 100% 32%) 8%,
    hsl(201deg 100% 32%) 92%,
    hsl(201deg 100% 16%) 100%);
}
.button-1-front-blue {
  color: var(--color-1);
  background-color: hsl(201, 75%, 80%) !important;
}

/* Error box */
.error-container {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  padding: 5px 10px 0 10px;
  color: var(--color-5);
}
.en-error {
  text-align: start;
  font-size: small;
}
.en-error2 {
  display: flex;
  display: -webkit-flex;
  text-align: left;
  font-size: small;
  padding: 0px 10px;
  color: var(--color-8);
}
.pr-error {
  font-family: "roya";
  text-align: end;
  font-size: small;
}

/* Webkit Features */
::-webkit-scrollbar {
  width: 6px;
  background-color: var(--color-1);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-4);
}


/* Firefox scrollbar */
* {
  scrollbar-color: var(--color-4) var(--color-3);
  scrollbar-width: thin;
}
::-moz-scrollbar-thumb {
  background-color: var(--color-2);
  border-radius: 5px;
}
::-moz-scrollbar-thumb:hover {
  background-color: var(--color-2);
}

/* Error pages */
.error-404{
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-4);
}