* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

@font-face {
  font-family: vaziri;
  src: url(/fonts/Vazirmatn/Vazirmatn-VariableFont_wght.ttf);
}

@font-face {
  font-family: transStyle;
  src: url(/fonts/transyStyle/Trapstyle.woff2);
}

@font-face {
  font-family: statick;
  src: url(/fonts/static/DancingScript-Bold.ttf);
}

body {
  width: 100%;
  height: auto;
  overflow-y: auto;
  background-image: url(/Img/background/bg-lg.svg);
  background-position: 25% 20%;
}

header {
  position: absolute;
  width: 100%;
  height: auto;
}

.amoozeshmorbian {
  position: relative;
  top: 50px;
  padding-top: 10px;
  width: 85%;
  left: 7.5%;
  height: 2100px;
  direction: rtl;
  text-wrap: 5px;
  font-family: vaziri;
  border-radius: 10px;
  background-color: #33333396;
  color: #ffffff;
  display: grid;
  justify-content: center;
  align-items: center;
  border: 2px solid #ffffff09;
  font-style: oblique;
  padding-bottom: 50px;
}

.amoozeshmorbian h1 {
  text-align: center;
  text-shadow: 1px 1px 3px #000102;
  color: #fd6703;
}

.amoozeshmorbian h2 {
  margin-top: 20px;
  margin-right: 25px;
  padding-bottom: 10px;
  text-align: center;
  color: #e04b15;
  text-shadow: 1px 2px 3px #000102;
}
.amoozeshmorbian p {
  line-height: 40px;
  margin: 0px 25px;
  text-align: center;
  font-size: 16px;
  text-wrap: 2px;
  color: #ffffff;
  text-shadow: 1px 2px 3px #000102;
  line-height: 32px;
  max-width: 600px;
}

.amoozeshmorbian .restyle {
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-style: oblique;
}

.amoozeshmorbian ul {
  position: relative;
  top: 0px;
  width: 95%;
  right: 2.5%;
  height: 250px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: top;
  border-radius: 10px;
}

.amoozeshmorbian ul li {
  display: grid;
  justify-content: center;
  align-items: center;
  width: 47.5%;
  max-height: 200px;
  background-color: #1a181881;
  border-radius: 10px;
  border: 1px solid #ffffff38;
  max-width: 300px;
}

.amoozeshmorbian .imgboxAparat {
  background-image: url(/Img/colorfulllogos/icons8-aparat.svg);
  background-size: 100% 100%;
  background-position: left;
}
.amoozeshmorbian .imgboxAparat a {
  position: relative;
  top: 130px;
  border: 1px solid #ffffff38;
  width: 120px;
  height: auto;
  padding: 10px 0px;
  border-radius: 10px;
  background-color: #ff076ef3;
  text-align: center;
  color: #ffffff;
  color: #ffffff;
  font-family: vaziri;
  font-style: normal;
  font-size: 18px;
  text-wrap: 3px;
}

.amoozeshmorbian .imgboxYoutoube {
  background-image: url(/Img/colorfulllogos/youtube-icon-svgrepo-com.svg);
  background-size: 100% 100%;
  background-position: left;
}
.amoozeshmorbian .imgboxYoutoube a {
  position: relative;
  top: 130px;
  border: 1px solid #ffffff38;
  width: 120px;
  height: auto;
  padding: 10px 0px;
  border-radius: 10px;
  background-color: #da0909cb;
  text-align: center;
  color: #ffffff;
  font-family: vaziri;
  font-style: normal;
  font-size: 18px;
  text-wrap: 3px;
}

.amoozeshmorbian ul li a:hover {
  background-color: #2c2d2e;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;

  display: flex;
  align-items: center;
  /*****/
}

.logo a {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo a p {
  color: rgb(247, 210, 5);
  font-size: 25px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.logo img {
  width: 32px;
  height: 32px;
  margin-left: 2vh;

}

:root {
  --color-secondary: #ff0000;
  --duration: 1s;
  --nav-duration: calc(var(--duration) / 4);
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --space: 1vh;

  --line-height: 0.5;
}

.main-navigation-toggle {
  position: fixed;
  height: 1px;
  width: 1px;
  overflow: scroll;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.main-navigation-toggle + label {
  position: fixed;
  top: calc(var(--space) * 0.1);
  right: calc(var(--space) * 2);
  cursor: pointer;
  z-index: 999;
}

.icon--menu-toggle {
  --size: calc(1rem + 5vmin);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  stroke-width: 6;
}

.icon-group {
  transform: translateX(0);
  transition: transform var(--nav-duration) var(--ease);
}

.icon--menu {
  stroke: #ff0000;
}

.icon--close {
  stroke: var(--color-secondary);
  transform: translateX(-100%);
}

.main-navigation {
  text-align: right;
  direction: rtl;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  transition: transform var(--nav-duration);
  z-index: 1;
}

.main-navigation:after {
  font-size: 1.5rem;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 41, 66, 0.979);

  transform-origin: 0 50%;
  z-index: -1;
}

.main-navigation ul {
  position: relative;
  top: 10%;
  height: 100%;
  font-size: 8vmin;
  font-family: vaziri;
  width: 100%;
}

.main-navigation li {
  --border-size: 1vmin;
  display: flex;

  height: auto;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 5px;
  border-radius: 5px;

  padding: 5px;
}

.main-navigation li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--border-size);
  background-color: var(--color-secondary);
  transform-origin: 0 50%;
  transform: translateX(-100%) skew(15deg);
}

.main-navigation a {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  color: #ffffff;
  line-height: 1;
  text-decoration: none;
  user-select: none;
  padding: var(--space) calc(var(--space) * 2)
    calc(var(--space) + var(--border-size) / 2);
  transform: translateY(100%);
  font-size: 1.2rem;
  width: 100%;
  border-bottom: 3px solid rgba(0, 110, 255, 0.767);
  border-radius: 100%;
}

.main-navigation a:hover {
  color: #e04b15;
  border-bottom: 3px solid #e04b15;
  transform: scale(1.3, 1.3);
}

.main-content {
  margin: 6rem auto;
  max-width: 70ch;
  padding: 0 calc(var(--space) * 2);
  transform: translateX(0);
  transition: transform calc(var(--nav-duration) * 2) var(--ease);
}

.main-content > * + * {
  margin-top: calc(var(--space) * var(--line-height));
}

.main-navigation-toggle:checked ~ label .icon--menu-toggle .icon-group {
  transform: translateX(100%);
}

.main-navigation-toggle:checked ~ .main-content {
  transform: translateX(10%);
}

.main-navigation-toggle:checked ~ .main-navigation {
  transition-duration: 0s;
  transform: translateX(0);
}

.main-navigation-toggle:checked ~ .main-navigation:after {
  animation: nav-bg var(--nav-duration) var(--ease) forwards;
}

.main-navigation-toggle:checked ~ .main-navigation li:after {
  animation: nav-line var(--duration) var(--ease) forwards;
}

.main-navigation-toggle:checked ~ .main-navigation a {
  animation: link-appear calc(var(--duration) * 1.5) var(--ease) forwards;
}

.main-navigation-toggle:checked ~ .main-navigation li:nth-child(1):after,
.main-navigation-toggle:checked ~ .main-navigation li:nth-child(1) a {
  animation-delay: calc((var(--duration) / 2) * 1 * 0.125);
}

.main-navigation-toggle:checked ~ .main-navigation li:nth-child(2):after,
.main-navigation-toggle:checked ~ .main-navigation li:nth-child(2) a {
  animation-delay: calc((var(--duration) / 2) * 2 * 0.15);
}

.main-navigation-toggle:checked ~ .main-navigation li:nth-child(3):after,
.main-navigation-toggle:checked ~ .main-navigation li:nth-child(3) a {
  animation-delay: calc((var(--duration) / 2) * 3 * 0.175);
}

.main-navigation-toggle:checked ~ .main-navigation li:nth-child(4):after,
.main-navigation-toggle:checked ~ .main-navigation li:nth-child(4) a {
  animation-delay: calc((var(--duration) / 2) * 4 * 0.2);
}


.main-navigation-toggle:checked~.main-navigation li:nth-child(5):after,
.main-navigation-toggle:checked~.main-navigation li:nth-child(5) a {
  animation-delay: calc((var(--duration) / 2) * 5 * 0.225);
}

.main-navigation-toggle:checked~.main-navigation li:nth-child(6):after,
.main-navigation-toggle:checked~.main-navigation li:nth-child(6) a {
  animation-delay: calc((var(--duration) / 2) * 6 * 0.250);
}

.main-navigation-toggle:checked~.main-navigation li:nth-child(7):after,
.main-navigation-toggle:checked~.main-navigation li:nth-child(7) a {
  animation-delay: calc((var(--duration) / 2) * 7 * 0.275);


}

.main-navigation-toggle:checked~.main-navigation li:nth-child(8):after,
.main-navigation-toggle:checked~.main-navigation li:nth-child(8) a {
  animation-delay: calc((var(--duration) / 2) * 8 * 0.300);


}

.main-navigation-toggle:checked~.main-navigation li:nth-child(9):after,
.main-navigation-toggle:checked~.main-navigation li:nth-child(9) a {
  animation-delay: calc((var(--duration) / 2) * 9 * 0.325);


}

@keyframes nav-bg {
  from {
    transform: translateX(-100%) skewX(-15deg);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes nav-line {
  0% {
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  35% {
    transform: scaleX(1.001);
    transform-origin: 0 50%;
  }

  65% {
    transform: scaleX(1.001);
    transform-origin: 100% 50%;
  }

  100% {
    transform: scaleX(0);
    transform-origin: 100% 50%;
  }
}

@keyframes link-appear {
  0%,
  25% {
    transform: translateY(100%);
  }

  50%,
  100% {
    transform: translateY(0);
  }
}

main {
  position: absolute;
  top: 2150px;
  width: 100%;
  height: 200px;

  overflow: hidden;
}

.mediaContianer {
  position: relative;
  width: 95%;
  left: 2.5%;
  font-style: italic;
  height: auto;
}

.footer-banner {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.footer-banner p {
  font-family: transStyle;
  font-size: 56px;
  font-weight: 800;
  color: rgb(233, 68, 17);
  text-shadow: 3px 3px #000000;
}

.footer-banner span {
  color: #ffffffec;
}

.down-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.down-media a img {
  width: 40px;
  height: 40px;
}

.down-media a:hover img {
  transform: scale(1.3, 1.3);
}

.down-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
}

.down-media .markslah {
  width: 2px;
  height: 30px;
  background-color: #fe5c20;
  transform: skewX(-15deg);
  margin: 1vw;
}

footer {
  position: absolute;
  top: 2400px;
  width: 100%;
  height: 374px;
  background-color: blue;
  overflow: hidden;
  background-color: #0278ff;
}

.dropdownfooter {
  display: none;
}

.footertexting {
  position: relative;
  top: 0px;
  width: 100%;
  height: 360px;
  background-color: #020235;
}

.footertexting ul {
  position: relative;
  width: 95%;
  left: 2.5%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.footertexting li {
  position: relative;
  width: 32%;
  height: 320px;
}

.footertexting li p {
  margin-right: 10px;
  text-align: right;
  position: relative;
  top: 0;
  direction: rtl;
  color: #ffffff;
  font-family: vaziri;
  font-size: 14px;
  font-weight: 500;
}

.footertexting li img {
  max-width: 90px;
  max-height: 90px;
}

.footertexting li h3 {
  font-family: vaziri;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid #e04b15;
  width: 100%;
  height: 35px;
}

.footertexting .addres {
  position: relative;
  width: 100%;
  height: 100%;
}

.footertexting .addres .positionAdrresButton {
  display: flex;
  justify-content: right;
  margin-top: 16px;
}

.footertexting .addres span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  margin-bottom: 8px;
}

.footertexting .addres a {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: right;
  color: #ffffff;
  background-color: #0278ff;
  border: 1px solid rgba(255, 255, 255, 0.274);
  box-shadow: 1px 1px rgba(255, 255, 255, 0.144);
  font-family: vaziri;
  font-weight: 400;
  font-size: 14px;
  width: auto;
  height: 30px;
  border-radius: 5px;
  padding: 0 5px;
}

.footertexting .addres a img {
  max-width: 15px;
  max-height: 15px;
}

.footertexting .addres a:hover {
  background-color: #fd6703;
}

.footertexting li .contactus a {
  color: #0278ff;
  text-decoration: underline;
}

.footertexting li .contactus a:hover {
  color: #fd6703;
  font-weight: 600;
}

.footertexting li .contactus .repostion {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: right;
}

.footertexting li .contactus .repostion img {
  max-width: 25px;
  max-height: 25px;
  padding-bottom: 8px;
}

.footertexting li .contactus .repostion p {
  margin-right: 0;
}

.footertexting li .contactus span {
  width: 100%;
  height: 100px;
  display: flex;
  margin-top: 24px;
  justify-content: left;
}

.footertexting li .contactus span img {
  max-width: 90px;
  max-height: 90px;
}

/* Copyright Section */

.copyright {
  position: absolute;
  top: 320px;
  width: 100%;
  height: 54px;
  background-color: rgb(39, 38, 38);
  overflow: hidden;
}

.copyright ul {
  position: relative;
  width: 95%;
  left: 2.5%;
  height: 100%;
  display: flex;

  align-items: center;
}

.copyright li {
  position: relative;
  width: 100%;

  display: flex;
  justify-content: right;
  align-items: center;
}

.copyright ul li:nth-child(1) {
  justify-content: left;
}
.copyright li a {
  margin-left: 1vh;
  max-width: 40px;
  min-height: 40px;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #bcff02a2;
}

.copyright li a:hover {
  box-shadow: 1px 3px 5px #0674f1;
  transform: scale(1.3, 1.3);
  background-color: #06c5ff00;
}

.copyright li a img {
  width: 35px;
  height: 30px;
}

.copyright p {
  color: antiquewhite;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  font-family: vazrir;
}

@media only screen and (max-width: 768px) {
  .amoozeshmorbian {
    height: 3100px;
  }

  .amoozeshmorbian ul {
    position: relative;
    height: 290px;
  }
  .amoozeshmorbian ul li {
    width: 50%;
    height: 150px;
  }

  .footer-banner p {
    font-size: 40px;
  }
  main {
    top: 3200px;
  }

  .footertexting {
    display: none;
  }

  footer {
    height: auto;
    top: 3400px;
  }
  .dropdownfooter {
    display: block;
  }

  .dropdownfooter {
    position: relative;
    height: auto;
    min-height: 250px;
    top: 0px;
    display: block;
    background-color: #020235;
    padding: 20px;
    overflow: hidden;
  }

  .footer-section {
    margin-bottom: 10px;
  }

  .footer-title {
    border: none;
    border-bottom: 1px solid #ffffff31;
    color: rgb(7, 0, 0);
    padding: 10px;
    background-color: #020235;
    width: 100%;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
  }

  .footer-title ul {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    color: #e04b15;
    font-family: vaziri;
    font-weight: 900;
    text-shadow: 1px 1px #110101;
  }

  .footer-content {
    display: none;

    padding: 10px;
    border-radius: 5px;
  }

  .footer-content .addres,
  .coworker,
  .contactus {
    direction: rtl;
    font-family: vaziri;
    color: #ffffff;
    font-size: 14px;
  }

  .footer-content .addres .positionAdrresButton {
    display: flex;
    justify-content: left;
    margin-top: 16px;
  }

  .footer-content .addres .positionAdrresButton a {
    background-color: #0278ff;
    border-radius: 10px;
    margin-left: 10px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #ffffff18;
  }

  .footer-content .addres .positionAdrresButton a:hover {
    background-color: #e04b15;
  }

  .footer-content .addres .positionAdrresButton img {
    max-width: 15px;
    max-height: 15px;
  }

  .footer-section .repostion {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: right;
  }

  .footer-section .repostion img {
    max-width: 20px;
    max-height: 20px;
    margin-left: 5px;
  }

  .contactus a {
    color: #06c5ff;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
  }

  .contactus a:hover {
    font-weight: 600;
    color: #e04b15;
  }

  .contactus span {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: left;
    margin-top: 16px;
  }

  .contactus span img {
    max-width: 80px;
    max-height: 80px;
  }

  .coworker .repostion img {
    max-width: 35px;
    min-height: 35px;
    margin-left: 5px;
  }

  .copyright {
    position: relative;
    top: 0px;
  }
}
