@font-face {
  font-family: Vazirmatn;
  src: local('Vazirmatn'),
    url('../fonts/Vazirmatn-UI-FD-NL-Regular.woff2') format('woff2');
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 1s;
}

:root {
  --MainYellow: #f2b569;
  --MainBlue: #003c5a;
  --MainGreen: #59c2a3;
  --SecondBlue: #a7d2e4;
  font-family: Vazirmatn, Tahoma, sans-serif, monospace;
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
  display: grid;
  grid-template-columns: auto min(100vw, 1400px) auto;
}

div.Gap72px {
  height: 72px;
}

/* Header */

@keyframes MainMenu {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes Turning {
  from {
    transform: rotateY(0);
  }

  to {
    transform: rotateY(1turn);
  }
}

div#HeaderRight {
  background-color: var(--MainBlue);
  height: 72px;
}

header#HeaderCenter {
  height: 72px;
  display: flex;
}

header#HeaderCenter a#Logo {
  display: block;
}

header#HeaderCenter a#Logo img {
  border-bottom-left-radius: 14px;
  width: 110px;
  height: 110px;
  animation: Turning 6s;
}

header#HeaderCenter nav {
  width: 100%;
  position: relative;
  font-size: 110%;
}

header#HeaderCenter nav input#HamburgerCheckBox {
  display: none;
  height: 72px;
  width: 72px;
  position: absolute;
  z-index: 2;
  opacity: 0.22;
}

header#HeaderCenter nav div.HamburgerSpan {
  display: none;
  position: absolute;
  z-index: 1;
}

header#HeaderCenter nav div.HamburgerSpan span {
  display: block;
  width: 72px;
  height: 8px;
  background: white;
  border-radius: 3px;
  margin: 8px 0px;
}

header#HeaderCenter nav img#NavLogo {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.55;
}

header#HeaderCenter nav ul li a:hover {
  transform: scaleY(1.14);
  color: var(--MainGreen);
}

header#HeaderCenter nav ul li a {
  background-color: var(--MainBlue);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  color: white;
  text-decoration: none;
}

header#HeaderCenter nav ul li {
  flex: 1 1 0px;
}

header#HeaderCenter nav ul li:last-child a {
  border-bottom-left-radius: 14px;
}

header#HeaderCenter nav ul {
  display: flex;
  list-style-type: none;
  animation: MainMenu 3.14s;
}

header#HeaderCenter a#Language img {
  width: 110px;
  height: 110px;
  border-bottom-right-radius: 14px;
  filter: drop-shadow(8px 8px 10px var(--MainBlue));
}


@media only screen and (max-width: 1400px) {
  body {
    grid-template-columns: 0 auto 0;
  }
}

@media only screen and (max-width: 777px) {
  body{
    width: 96vw;
    padding: auto 2vw;
    margin: auto;
  }
  header#HeaderCenter nav input#HamburgerCheckBox {
    display: block;
  }

  header#HeaderCenter nav div.HamburgerSpan {
    display: block;
  }

  header#HeaderCenter nav ul li a:hover {
    transform: initial;
    background-color: #65dbb5;
    color: #003c5a;
  }

  header#HeaderCenter nav ul li a {
    justify-content: right;
    padding-right: 88px;
  }

  header#HeaderCenter nav ul {
    display: none;
  }

  header#HeaderCenter nav input#HamburgerCheckBox:checked ~ ul {
    display: block;
    position: relative;
  }

  header#HeaderCenter nav input#HamburgerCheckBox:checked ~ ul > img {
    display: block;
  }

  header#HeaderCenter nav {
    background-color: #003c5a;
    z-index: 1;
  }
}

/* Footer */
div#FooterRight {
  background-color: var(--MainBlue);
}

footer#FooterCenter div#Center div#FooterTitr ul h2 {
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer#FooterCenter div#Center div#FooterTitr ul li a {
  display: block;
  text-decoration: none;
  color: white;
  text-align: right;
  padding-right: 8px;
}

footer#FooterCenter div#Center div#FooterTitr ul li {
  margin: 14px 22px;
  border-right: 1px var(--MainGreen) solid;
}

footer#FooterCenter div#Center div#FooterTitr ul {
  list-style: none;
  color: white;
  width: 33%;
}

footer#FooterCenter div#Center div#FooterTitr {
  display: flex;
  width: 60%;
  align-items: center;
  justify-content: space-around;
}

footer#FooterCenter div#Center div#LogoDown address table tr td br {
  display: none;
}

footer#FooterCenter div#Center div#LogoDown address table tr td {
  text-align: right;
  color: white;
  font-size: 110%;
  padding: 4px 22px 4px 4px;
}


footer#FooterCenter div#Center div#LogoDown address table {
  width: 100%;
}

footer#FooterCenter
  div#Center
  div#LogoDown
  div#Socail:has(a:hover)
  a:not(:hover) {
  filter: blur(4px);
}

footer#FooterCenter
  div#Center
  div#LogoDown
  div#Socail
  a:has(+ a + a + a:hover) {
  transform: scale(1.05);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:has(+ a + a:hover) {
  transform: scale(1.15);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:has(+ a:hover) {
  transform: scale(1.3);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover {
  transform: scale(1.4);
  opacity: 1;
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover + a {
  transform: scale(1.3);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover + a + a {
  transform: scale(1.15);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover + a + a + a {
  transform: scale(1.05);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a img {
  display: block;
}

footer#FooterCenter div#Center div#LogoDown div#Socail a {
  border-radius: 14px;
  overflow: hidden;
  opacity: 0.88;
}

footer#FooterCenter div#Center div#LogoDown div#Socail {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 4% 0 0 0;
}

footer#FooterCenter div#Center div#LogoDown {
  width: 40%;
}

footer#FooterCenter div#Center {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

div#CopyRight span {
  color: var(--MainGreen);
  animation: Opi 5s ease-in infinite;
}

div#CopyRight {
  text-align: center;
  padding: 1% 0;
  margin-top: 2%;
  border-top: 2px #59c2a3 solid;
  color: white;
}

footer#FooterCenter {
  width: 100%;
  background-color: var(--MainBlue);
}

div#FooterLeft div {
  width: 100%;
  height: 132px;
  background-color: white;
}

div#FooterLeft {
  background-color: var(--MainBlue);
}

@keyframes Opi {
  50% {
    opacity: 0;
  }
}

@media only screen and (max-width: 1040px) {
  footer#FooterCenter div#Center div#FooterTitr {
    flex-basis: 100vw;
  }
  footer#FooterCenter div#Center div#LogoDown img {
    max-width: 100%;
  }

  footer#FooterCenter div#Center div#LogoDown address table tr td br {
    display: block;
  }

  footer#FooterCenter div#Center div#LogoDown address table tr td {
    font-size: 100%;
    text-align: center;
  }

  footer#FooterCenter div#Center div#LogoDown {
    flex-basis: 100vw;
  }

  footer#FooterCenter div#CopyRight {
    font-size: small;
  }  
}
