@font-face {
  font-family: "Tajawal";
  src: url("../Fonts/Tajawal-Medium.woff2") format("woff2"),
    url("../Fonts/Tajawal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 10vh;
}

:root {
  --text--: #fff;
  --bur--: #5b3398;
  --light-bur--: #771eff;
  --blu--: #335b98;
  --light-blu--: #2079ff;
}

a {
  color: var(--text--);
  text-decoration: none;
}

input[type="checkbox"] {
  display: none;
}

::-webkit-scrollbar {
  display: none;
}

.menu-section {
  display: none;
}

.GlassBG {
  border: 2px solid #182d5555;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 2px 2px 1px #2079ff;
}


/* --- Component --- */

/* -- button1 -- */
.button1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 51, 152, 0.1);
  box-shadow: 1px 1px 3px 0px #771eff, 0px 0px 50px -5px #771effff,
    inset 0px 0px 16px #771eff99;
  width: 140px;
  height: 45px;
  border-top: solid 2px #2079ffee;
  border-left: solid 2px #2079ffee;
  border-radius: 18px;
  font-size: 15px;
  font-weight: bold;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: 1s;
  animation: glowe 5s ease-in-out infinite;
}

/* -- button2 -- */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.button2-front {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  width: 140px;
  height: 45px;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid #ffffff50;
  border-bottom: 1px solid #ffffff50;
  transition: 1s;
  z-index: 1;
  cursor: pointer;
}

.button2-front:hover {
  font-size: 16px;
  letter-spacing: 1px;
}

.button2 {
  display: flex;
  position: relative;
  width: 140px;
  height: 45px;
  border-radius: 30px;
}

.button2::before,
.button2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: conic-gradient(
    from var(--gradient-angle),
    #2079ff,
    #771eff,
    #2079ff,
    #771eff,
    #771eff
  );
  border-radius: inherit;
  animation: rotate 18s ease-in-out infinite;
}

.button2::after {
  filter: blur(2rem);
}

@keyframes rotate {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}

/* -- button3 -- */
.button3 {
  position: relative;
  width: 140px;
  height: 45px;
}

.button3 .label {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 45px;
  color: white;
  z-index: 2;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.5s;
}

.button3:hover .label {
  font-size: 1.1rem;
}

.button3 .label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(45deg) translateX(0);
  transition: 0.5s;
}

.button3:hover .label::before {
  transform: skewX(45deg) translateX(200%);
}

.button3::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 45px;
  height: 10px;
  border-radius: 30px;
  transition: 0.5s;
}

.button3:hover::before {
  bottom: 0;
  height: 55%;
  width: 85%;
  transition-delay: 0.2s;
}

.button3::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1px;
  width: 45px;
  height: 10px;
  border-radius: 30px;
  transition: 0.5s;
}

.button3:hover::after {
  top: 0;
  height: 55%;
  width: 85%;
  transition-delay: 0.2s;
}

.button3::before {
  z-index: 1;
  background: #2079ff;
  box-shadow: 0 0 5px #3184ff, 0 0 15px #3184ff, 0 0 30px #3184ff,
    0 0 60px #3184ff, 0 0 120px #3184ff;
}

.button3::after {
  background: #771eff;
  box-shadow: 0 0 5px #8b3dff, 0 0 15px #8b3dff, 0 0 30px #8b3dff,
    0 0 60px #8b3dff, 0 0 120px #8b3dff;
}

/* --- Page --- */
.page {
  display: flex;
  background-image: url("../Assets/Background.webp");
  background-size: cover;
  background-attachment: fixed;
  background-position-x: right;
  background-color: #08051b;
  flex-direction: column;
  justify-content: space-between;
  width: 100svw;
  height: 100svh;
  font-family: "Tajawal";
  color: var(--text--);
  text-align: right;
}

.container {
  margin: 5svh 9svw 5svh 9svw;
}

/* --- Header --- */
.header-section .header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.header-section .header .menu {
  display: none;
}

.header-section .header .logo img {
  width: 50px;
}

.header-section .header .top-menu {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}

.header-section .header .top-menu .list {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  font-size: 18px;
  margin-left: 9svw;
}

.header-section .header .top-menu .list .item {
  display: flex;
  margin: 0 2vw 0 2vw;
  font-weight: bold;
}

.header-section .header .top-menu .contribute {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.header-section .header .top-menu .contribute .line {
  position: absolute;
  width: 9svw;
  height: 1px;
  background: white;
  transform: translate(-140px, 0);
  align-self: center;
  z-index: -1;
  opacity: 0.7;
}

/* --- Content --- */
.content-section {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  height: calc(200px + 25svh);
}

.content-section .right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
}

.content-section .right .title {
  font-size: calc(36px + 1svw);
  font-weight: bold;
  margin-bottom: 2svh;
}

.content-section .right .paragraph {
  width: calc(240px + 18svw);
  font-size: calc(14px + 35%);
  font-weight: normal;
  color: rgb(215, 215, 215);
  line-height: 40px;
  margin-bottom: auto;
  word-wrap: break-word;
  align-self: end;
}

.content-section .right .bottom {
  display: flex;
  flex-direction: row-reverse;
}

.content-section .right .bottom .download {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.content-section .right .bottom .download .line {
  position: absolute;
  width: 9vw;
  height: 1px;
  background: white;
  transform: translate(140px, 0);
  align-self: center;
  z-index: -1;
  opacity: 0.7;
}

.content-section .right .bottom .underline-button {
  align-self: center;
  margin-right: 50px;
  text-decoration: underline;
}

.content-section .left {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
}

.content-section .left .logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #182d5555;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 2px 2px 1px #2079ff;
}

.content-section .left .logo {
  width: 70%;
}

.content-section .left .code {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-70px, -30px);
  width: calc(100px + 5svw);
  z-index: -1;
}

.content-section .right .for-tab {
  display: none;
}

/* --- Footer --- */
.footer-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: end;
  font-size: 18px;
  margin-top: 25px;
}

.footer-section .item {
  display: flex;
  margin-left: 6svw;
  font-weight: normal;
}

.footer-section .circle {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  border: 1px solid #2079ff;
  cursor: pointer;
  background: rgba(51, 91, 152, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0px 2px 4px #2079ff, inset 0px 0px 6px #771eff;
}

.footer-section .circle .img {
  width: 60%;
  aspect-ratio: 1;
}

/* --- Space --- */
.page .space {
  height: 25px;
}

/* -- Media Adjustment -- */
@media (max-width: 960px) {
  .page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    font-family: "Tajawal";
    color: var(--text--);
    text-align: right;
  }

  /* --- Header --- */
  .header-section .header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-section .header .logo {
    transform: translate(0, -25px);
    align-self: center;
  }

  .header-section .header .top-menu .list {
    margin-left: auto;
  }

  .header-section .header .top-menu .list .item {
    margin: 0 0 0 6svw;
  }

  /* --- Content --- */
  .content-section {
    justify-content: center;
    height: calc(700px + 20svh);
  }

  .content-section .left {
    display: none;
  }

  .content-section .right {
    margin-left: 0;
    width: 100%;
  }

  .content-section .right .title {
    font-size: calc(36px + 2svw);
    margin-bottom: 2svh;
  }

  .content-section .right .paragraph {
    width: 60svw;
    font-size: calc(16px + 1svw);
    margin-bottom: 120px;
    align-self: end;
  }

  .content-section .right .for-tab {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
  }

  .content-section .right .for-tab .logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #182d5555;
    height: 90%;
    aspect-ratio: 1;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 2px 2px 1px #2079ff;
  }

  .content-section .right .for-tab .logo {
    width: 70%;
  }

  .content-section .right .for-tab .code {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(85px, -45px);
    width: calc(90px + 10svw);
    z-index: -1;
  }

  /* --- Footer --- */
  .footer-section {
    justify-content: space-evenly;
    margin-top: 50px;
  }

  /* --- Space --- */
  .page .space {
    display: flex;
    height: 10px;
  }

  .footer-section .item {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page {
    background-image: url("../Assets/Background-Mobile.webp");
    background-size: contain;
    height: auto;
  }

  /* --- Header --- */
  .header-section .header {
    align-items: center;
    flex-direction: row-reverse;
  }

  .header-section .header .logo {
    margin-left: 42%;
    margin-bottom: 0;
    transform: translate(0, 0);
    z-index: 5;
  }

  .header-section .header .top-menu {
    display: none;
  }

  .header-section .header .menu {
    display: flex;
    z-index: 5;
  }

  .header-section .header .menu .lines {
    display: flex;
    cursor: pointer;
  }

  .header-section .header .menu .lines .svg {
    width: 40px;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header-section .header .menu .lines .svg .line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header-section .header .menu .lines .svg .top-bottom {
    stroke-dasharray: 12 63;
  }

  .header-section .header .menu .lines input:checked + .svg {
    transform: rotate(-45deg);
  }

  .header-section .header .menu .lines input:checked + .svg .top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }

  /* --- Content --- */
  .content-section .left {
    display: none;
  }

  .content-section .right .title {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .content-section .right .paragraph {
    width: 80svw;
    font-size: 16px;
    margin-bottom: 90px;
  }

  .content-section .right .for-tab {
    position: relative;
    display: flex;
    margin-bottom: 100px;
  }

  .content-section .right .for-tab .logo-card {
    height: 100%;
  }

  .content-section .right .for-tab .code {
    transform: translate(-15px, -45px);
    width: 40svw;
    z-index: -1;
  }

  /* --- Slider Menu --- */
  .page {
    overflow-x: hidden;
  }
  .page.close {
    overflow: hidden;
  }

  .menu-section {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 9, 19, 0.7);
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 4;
    transform: translateX(100svw);
    transition: 1s;
  }

  .menu-section.open {
    transform: translateX(0);
  }

  .menu-section .slide-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #021232cd;
    border-radius: 30px;
    width: 70%;
    height: 70%;
    row-gap: 7svh;
    margin-top: 50px;
  }

  .menu-section .stroke-anim {
    position: absolute;
    background-color: #031c4a00;
    border-radius: 30px;
    width: 70%;
    height: 70%;
    border-bottom: 1px solid;
    border-color: blue;
    box-shadow: inset 0 -9px 21px -3px blue;
    margin-top: 50px;
    transition: 1s;
    animation: stroke-color 5s ease-in-out infinite;
    pointer-events: none;
  }

  /* --- Footer --- */
  .footer-section {
    display: flex;
    margin-top: 50px;
  }

  .footer-section .text {
    display: none;
  }

  /* --- Space --- */
  .page .space {
    display: flex;
    height: 10px;
  }
}

@keyframes glowe {
  50% {
    box-shadow: 1px 1px 3px 0px #771eff, 0px 0px 50px -5px #771eff55,
      inset 0px 0px 8px #771effaa;
  }
}
@keyframes stroke-color {
  50% {
    filter: hue-rotate(35deg);
  }
}
