@font-face {
  font-family: "Sahel";
  src: url(./../Sahel.ttf);
}

* {
  font-family: "Sahel";
}
body {
  width: 100%;
  height: 100vh;
  max-width: 1920px;
  max-height: 1080px;
  background: url(./../29.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  direction: rtl;
}

main {
  width: 65%;
  min-width: 350px;
  height: 80%;
  border: solid 1px #b3b3b3;
  border-radius: 15px;
  color: rgb(49, 49, 49);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  top: -25px;
  overflow: hidden;
  z-index: 1;
}

.header__layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 140px;
  top: -10px;
  z-index: 2;
  border-radius: 100%;
  overflow: hidden;
}

.header__layout svg {
  position: absolute;
  width: 60%;
  height: 100%;
}
.header__layout svg:nth-child(1) {
  left: auto;
  animation: svg_animation1 0.8s ease-out none 1;
}
.header__layout svg:nth-child(2) {
  left: auto;
  animation: svg_animation2 0.8s ease-out none 1;
}
.header__layout svg:nth-child(3) {
  left: auto;
  animation: svg_animation3 0.8s ease-out none 1;
}
.header__layout svg:nth-child(4) {
  left: auto;
  animation: svg_animation4 0.8s ease-out none 1;
}
.header__layout svg:nth-child(5) {
  left: auto;
  animation: svg_animation5 0.8s ease-out none 1;
}

main .button__layout {
  position: absolute;
  top: 30px;
  width: 80%;
  min-width: 280px;
  display: flex;
  flex-wrap: wrap;
}

main .button__layout button {
  flex-grow: 1;
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  margin: 2px 2px;
  padding: 0.7em 1.7em;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0.5em;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
}

main .button__layout button:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

main .button__layout button:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

main .button__layout button:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #aaaaaa;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

main .button__layout button:hover {
  color: #ffffff;
  border: 1px solid #aaaaaa;
}

main .button__layout button:hover:before {
  top: -35%;
  background-color: #aaaaaa;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

main .button__layout button:hover:after {
  top: -45%;
  background-color: #aaaaaa;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

main .content__layout {
  width: 75%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 50px;
  height: 450px;
}

main .content__layout .content__card {
  position: absolute;
  transition-duration: 0.6s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgb(255 255 255 / 36%);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 25px;
  display: none;
  max-height: 573px;
}

main .content__layout .cart__active {
  transition-delay: 0.1s;
  display: block;
}

main .content__layout .content__card h2 {
  font-size: 28px;
  margin: 0 0 24px 0;
  font-size: 1.5vw;
  font-weight: 700;
}

main .content__layout .content__card p {
  font-size: 1.2vw;
  line-height: 1.7;
}

main .content__layout .content__card a {
  flex-grow: 1;
  display: inline-block;
  width: 90%;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 0.7em 1.7em;
  cursor: pointer;
  font-size: 14px;
  border-radius: 0.5em;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  margin-top: 15px;
}

main .content__layout .content__card a:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

main .content__layout .content__card a:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;

  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

main .content__layout .content__card a:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;

  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

main .content__layout .content__card a:hover {
  color: #ffffff;
  border: 1px solid #aaaaaa;
}

main .content__layout .content__card a:hover:before {
  top: -35%;

  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

main .content__layout .content__card a:hover:after {
  top: -45%;

  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.buttona {
  background: #2a695d !important;
  color: #fff !important;
  text-align: center;
  text-decoration: auto;
}

.buttonb {
  background: #2a5869 !important;
  color: #fff !important;
  text-align: center;
  text-decoration: auto;
}

.buttonc {
  background: #006578 !important;
  color: #fff !important;
  text-align: center;
  text-decoration: auto;
}

@media screen and (max-width: 1000px) {
  main .content__layout .content__card h2 {
    font-size: 2.8vw;
  }

  main .content__layout .content__card p {
    font-size: 1.8vw;
  }
}
@media screen and (max-width: 580px) {
  main .content__layout .content__card h2 {
    font-size: 4vw;
  }

  main .content__layout .content__card p {
    font-size: 2.5vw;
  }

  main .content__layout {
    top: 38px;
  }
}
@media screen and (max-width: 480px) {
  main .content__layout .content__card h2 {
    font-size: 5vw;
  }

  main .content__layout .content__card p {
    font-size: 3vw;
  }

  main .content__layout {
    top: 38px;
  }
}
@media screen and (max-width: 400px) {
  main .content__layout .content__card h2 {
    font-size: 5.6vw;
  }

  main .content__layout .content__card p {
    font-size: 3.8vw;
  }

  main .content__layout {
    top: 60px;
  }
}

@keyframes svg_animation1 {
  0% {
    transform: translate(70%, -70%) rotate(150deg) scale(2);
    bottom: 5px;
  }
  70% {
    transform: translate(0, 20px) rotate(0deg) scale(0.8);
  }
}
@keyframes svg_animation2 {
  0% {
    transform: translate(30%, -70%) rotate(150deg) scale(2);
  }
  70% {
    transform: translate(0, 20px) rotate(0deg) scale(0.8);
  }
}
@keyframes svg_animation3 {
  0% {
    transform: translate(-70%, 30%) rotate(150deg) scale(2);
  }
  70% {
    transform: translate(0, 20px) rotate(0deg) scale(0.8);
  }
}
@keyframes svg_animation4 {
  0% {
    transform: translate(-70%, 70%) rotate(150deg) scale(2);
  }
  70% {
    transform: translate(0, 20px) rotate(0deg) scale(0.8);
  }
}
@keyframes svg_animation4 {
  0% {
    transform: translate(-70%, 70%) rotate(150deg) scale(2);
  }
  70% {
    transform: translate(0, 20px) rotate(0deg) scale(0.8);
  }
}
@keyframes svg_animation5 {
  0% {
    opacity: 0;
  }
  70% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
