* {
  padding: 0;
  margin: 0;
}
@font-face {
  font-family: myFont;
  src: url(../assets/font/mylotushindirnew.woff);
}
iframe {
  width: 100%;
  height: 100vh;
  margin-bottom: 5rem;
}

body {
  font-family: "Voltaire", sans-serif;
}
.ar {
  font-family: myFont !important;
  font-weight: bold;
}
.links > div {
  width: 360px;
  height: fit-content;
}

.links {
  /* height: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
  flex-wrap: wrap;
  /* margin: 3rem 0; */
  padding: 5rem 0;
}

.links a img {
  width: 100% !important;
  border-radius: 14px !important;
  border: 4px solid #f4511e !important;
}

.navbar {
  font-size: 2rem;
  background: #80808057;
  display: flex;
  justify-content: space-between;
  padding: 14px 5rem;
}

.navbar .list {
  display: flex;
  gap: 3rem;
}

.navbar a {
  text-decoration: none;
  text-decoration: none;
  color: #000;
}
.navbar-brand {
  width: 120px;
}
.navbar-brand img {
  width: 100%;
}
.navbar-light .navbar-nav .nav-link {
  color: #333;
  width: fit-content;
}
.navbar-light .navbar-nav {
  gap: 1rem;
  align-items: center;
}
.navbar-light .nav-item,
.nav-link {
  width: 100% !important;
  text-align: center;
  transition: background-color 0.5s, color .1s;
}
.navbar-light .nav-item:hover,
.navbar-light .nav-item:hover a {
  background-color: #ff9800;
  color: #fff !important;
}
.main_width {
  width: 80%;
  margin: 0 auto;
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}

.navbar-light .navbar-toggler {
  width: 100px;
}

.header_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.header_title img {
  width: 130px;
  animation: moveLeftRight 1s linear infinite 0.5s;
  animation-direction: alternate;
}
@keyframes moveLeftRight {
  0% {
    transform: scale(0.9);
    z-index: 1;
  }

  100% {
    transform: scale(1);
    z-index: 1;
  }
}
.header_title h1 {
  background: #8080801f;
  padding: 5px 15px;
  font-size: 4.5rem;
  border-radius: 10px;
  text-transform: uppercase;
}
a {
  width: 100%;
  display: inline-block;
}

.text {
  text-align: center;
  font-size: 2rem;
}

.links .letters_box { 
  width: 400px;
  direction: rtl;
  gap: 5px;
  display: flex;
  flex-direction: column;
}
.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.section .image {
  width: 400px;
}
.section .image img {
  width: 100%;
  animation-name: moveUpDown;
  animation: moveUpDown 2s linear infinite 0.5s;
  animation-direction: alternate;
}
.section .text a {
  border-radius: 10px;
  border: 2px solid;
  box-shadow: 3px 3px 10px;
  text-decoration: none;
  background-color: #8080801f;
  width: fit-content !important;
  padding: 1px 20px;
  border-radius: 10px;
}
.section_1 {
  background-color: #faebd769;
  padding: 2rem;
}
.section_2 {
  background-color: aliceblue;
  padding: 2rem;
}
.section_3 {
  background-color: #faebd769;
  padding: 4rem;
}
@keyframes moveUpDown {
  0% {
    transform: translateY(0);
    z-index: 1;
  }

  100% {
    transform: translateY(20px);
    z-index: 1;
  }
}

@media screen and (max-width: 700px) {
  .links {
    flex-direction: column;
  }
}

/* ------------------------- */

.card_body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 10vh;
  /* background-color: #5a717b; */
  perspective: 100px;
}

.card {
  width: 20rem;
  height: 20rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  margin: 0 1rem;
  border-radius: 10px;
}

.header {
  width: 100%;
  height: 2rem;
  background-color: #ff9800;
  position: absolute;
  top: 0;
  border-radius: 10px 10px 0 0;
}

.card span {
  height: 0.5rem;
  border-radius: 20px;
  background-color: gray;
  display: block;
  margin: 0.5rem 0;
}

.one {
  transform: scaleY(80%);
  transition: all 1s ease;
  animation: cartOne 3s linear infinite 0.5s;
}

.two {
  z-index: 3;
  transition: all 0.5s ease;
  animation: cartTwo 3s linear infinite 0.5s;
}

.three {
  transform: scaleY(80%);
  transition: all 0.5s ease;
  animation: cartThree 3s linear infinite 0.5s;
}

@keyframes cartTwo {
  0%,
  10% {
    transform: translateX(0) scaleY(100%);
    z-index: 2;
  }

  33%,
  45% {
    transform: translateX(120%) scaleY(80%);
    z-index: 1;
  }
  66%,
  75% {
    transform: translateX(-120%) scaleY(80%);
    z-index: 1;
  }
  99% {
    transform: translateX(0rem) scaleY(100%);
    z-index: 2;
  }
}

/* ------------------------------------------------------------------------------ */

@keyframes cartOne {
  0%,
  10% {
    transform: translateX(0) scaleY(80%);
    z-index: 1;
  }

  33%,
  45% {
    transform: translateX(120%) scaleY(100%);
    z-index: 2;
  }
  66%,
  75% {
    transform: translateX(240%) scaleY(80%);
    z-index: 1;
  }
  99% {
    transform: translateX(0) scaleY(80%);
    z-index: 1;
  }
}

/* ------------------------------------------------------------------------------ */

@keyframes cartThree {
  0%,
  10% {
    transform: translateX(0) scaleY(80%);
    z-index: 1;
  }

  33%,
  45% {
    transform: translateX(-240%) scaleY(80%);
    z-index: 1;
  }
  66%,
  75% {
    transform: translateX(-120%) scaleY(100%);
    z-index: 2;
  }
  99% {
    transform: translateX(0) scaleY(80%);
    z-index: 1;
  }
}

@media screen and (max-width: 669px) {
  .section_2 {
    flex-direction: column-reverse !important;
  }
  .section .image {
    width: 300px;
  }
  .section {
    flex-direction: column;
  }
  .links {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 1rem;
    flex-wrap: wrap;
    /* margin: 3rem 0; */
    padding: 0 10px;
  }

  .links > div {
    height: 100%;
    padding: 0 2rem;
  }

  .text {
    text-align: center;
    font-size: 1.6rem !important;
    margin-top: 2rem;
  }
  .header_title {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  .section {
    flex-direction: column;
  }
  .section .image {
    width: 300px;
  }

  .header_title h1 {
    font-size: 3.2rem;
  }
  .navbar {
    font-size: 2rem;
    background: #80808057;
    display: flex;
    justify-content: center;
    /* padding: 1rem; */
    gap: 1rem;
  }

  .links {
    width: 100%;
    display: flex;
    gap: 2rem 4rem;
    flex-direction: row;
    padding: 4rem 0;
    align-items: center;
  }

  .card {
    height: 9rem;
  }
}



.closed {
  width: inherit;
  /* height: 100vh; */
  margin-top: 2rem;
  /* background-color: red; */
  margin: 0 auto;
  padding:  0 5rem;
  filter: blur(15px);
}
.closed img {
  width: 100%;
}