:root {
  --primary: #8fcdff;
  --card_title: #242327;
  --card_content: #605c65;

  --pd: 10px;
  --title1: 46px;
  --body1: 28px;
  --title2: 40px;
  --body2: 24px;
  --title3: 34px;
  --title4: 28px;
  --body3: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  position: relative;
  height: 100%;
  width: 100%;
  padding-bottom: calc(var(--pd) * 4);
  padding-top: calc(var(--pd) * 6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 6vw;
  padding-right: 6vw;
}

.gradient_background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #4b7ffd 0, #e079f7 100%);
  opacity: 1;
}
.opacity_background {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  opacity: 0.8;
}
.header {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  width: 100%;
  padding-left: calc(var(--pd) * 4);
  padding-top: calc(var(--pd) * 2);
  padding-bottom: calc(var(--pd) * 2);
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  border-bottom-left-radius: calc(var(--pd) * 2);
  border-bottom-right-radius: calc(var(--pd) * 2);
}

.header_background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  background: white;
  opacity: 0.4;
  border-bottom-left-radius: calc(var(--pd) * 2);
  border-bottom-right-radius: calc(var(--pd) * 2);
}
.logo {
  font-size: 24px;
  z-index: 2;
  height: var(--title3);
}
.logo img {
  height: 100%;
  aspect-ratio: 1;
}

.nav_links_desktop {
  display: flex;
}

.nav_links_desktop a {
  color: var(--card_title);
  font-weight: bold;
  font-size: var(--body1);
  margin-right: calc(var(--pd) * 4);
  text-decoration: none;
  transition-duration: 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.nav_links_desktop a:hover {
  transform: scale(1.2);
  transition-duration: 0.3s; /* Add transition timing here */
}
.burger {
  position: relative;
  display: none;
  cursor: pointer;
  z-index: 2;
  height: var(--title3);
  width: var(--title3);
  margin-right: calc(var(--pd) * 4);
}

.line1,
.line2 {
  position: absolute;
  top: calc((var(--title3) - (2px) * 2) / 3);
  left: 0;
  height: 2px;
  width: var(--title3);
  background: var(--card_title);
  border-radius: 4px;
  transition: all 0.5s ease-in-out;
}
.line2 {
  top: calc((var(--title3) - (2px) * 2) * 2 / 3);
}

.line1_rotate {
  top: calc((var(--title3) / 2) - 1px);
  transform: rotate(225deg);
}
.line2_rotate {
  top: calc((var(--title3) / 2) - 1px);
  transform: rotate(-225deg);
}

.hidden_nav_background {
  display: flex;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1;
  height: 0px;
  background: linear-gradient(to right, #4b7ffd 0, #e079f7 100%);
  transition: all 0.5s ease-in-out;
}

.hidden_nav_background_expand {
  height: 100vh;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: calc(var(--pd) * 4);
}
.section1,
.section2,
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section1 h1 {
  font-size: var(--title1);
  line-height: calc(var(--title1) * 1.5);
}
.first_span,
.second_span {
  background-image: linear-gradient(to right, #fc5c7d, #6a82fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.second_span {
  background-image: linear-gradient(
    109.6deg,
    rgba(110, 123, 251, 1) 11.1%,
    #3ecbc4 91.2%
  );
}

.section1 ol {
  line-height: calc(var(--body1) * 1.5);
  padding-top: var(--pd);
  padding-left: calc(var(--pd) * 5);
  font-size: var(--body1);
  color: var(--card_content);
}
.section1 .button-85 {
  margin-top: calc(var(--pd) * 4);
  margin-bottom: calc(var(--pd) * 3);
  padding: calc(var(--body1) * 3 / 4) calc(var(--body1) * 1.75);
  border: 0;
  outline: 0;
  color: #fff;
  background: var(--card_title);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 999px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-weight: bold;
  font-size: var(--body1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.section1 .button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.5s ease-in-out;
  border-radius: 999px;
  overflow: hidden;
}
@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}
.section1 .button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 999px;
}
.section1 img {
  margin-top: calc(var(--pd) * 3);
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
}
.section2 h2 {
  margin-top: calc(var(--pd) * 8);
  font-size: var(--title2);
  line-height: calc(var(--title2) * 1.5);

  background-image: linear-gradient(to right, #ba6ddd, #4db6f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section2 p {
  line-height: calc(var(--body2) * 1.5);
  padding-top: var(--pd);
  font-size: var(--body2);
  color: var(--card_content);
}

.flexWrapView {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}
.flexWrapView .cardSize {
  flex: 1 1 33.3333333333%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-top: calc(var(--pd) * 2);
  padding: var(--pd);
}
.card1,
.card2,
.card3 {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  width: 100%;
  max-width: 400px;
  height: 1170px;
  background-color: white;
}

.slide_in_card {
  position: relative;
  left: -100%;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.slide_in_card.slide-in {
  left: 0;
  opacity: 1;
}

.flexWrapView img {
  width: 100%;
  height: auto;
}
.flexWrapView h3 {
  margin-top: calc(var(--pd));
  margin-left: calc(var(--pd) * 2);
  margin-right: calc(var(--pd) * 2);
  font-size: var(--title3);
  line-height: calc(var(--title3) * 1.5);
  background-image: linear-gradient(to right, #4b7ffd 0, #e079f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.flexWrapView p {
  margin: calc(var(--pd) * 2);
  font-size: var(--body2);
  line-height: calc(var(--body2) * 1.5);
  color: var(--card_content);
}

footer {
  position: relative;
  margin-top: calc(var(--pd) * 4);
  padding: calc(var(--pd) * 3);
  max-width: 1180px;

  background: white;
  opacity: 1;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  width: 98.2%;
}

footer h4 {
  font-size: var(--title4);
  line-height: calc(var(--title4) * 1.5);
  background-image: linear-gradient(to right, #4b7ffd 0, #e079f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer p {
  line-height: calc(var(--body3) * 1.5);
  padding-top: var(--pd);
  font-size: var(--body3);
  color: var(--card_content);
}
footer a {
  line-height: calc(var(--body3) * 1.5);
  padding-top: var(--pd);
  font-size: var(--body3);
  color: var(--card_content);
}

/* card layout */
@media screen and (max-width: 1238px) {
  :root {
    --pd: 10px;
    --title1: 39px;
    --body1: 24px;
    --title2: 33px;
    --body2: 20px;
    --title3: 27px;
    --title4: 21px;
    --body3: 16px;
  }
  .flexWrapView .cardSize {
    flex: 1 1 50%;
  }
  .card1,
  .card2 {
    height: 950px;
  }
  .card3 {
    height: 810px;
  }
}

@media screen and (max-width: 767px) {
  .nav_links_desktop {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: calc(var(--title3) * 4);
    position: absolute;
    top: calc(var(--pd) * 8);
    left: -25vw;
    z-index: 2;
    transition: all 0.5s ease-in;
    opacity: 0;
  }
  .nav_links_desktop.mobile_nav {
    opacity: 1;
    left: calc(var(--pd) * 4);
  }
  .burger {
    -webkit-tap-highlight-color: transparent;
    display: block;
  }
  :root {
    --pd: 6px;
    --title1: 32px;
    --body1: 20px;
    --title2: 26px;
    --body2: 16px;
    --title3: 20px;
    --title4: 14px;
    --body3: 12px;
  }
  .flexWrapView .cardSize {
    flex: 1 1 100%;
  }
  .card1,
  .card2,
  .card3 {
    height: auto;
    padding-bottom: calc(var(--pd) * 2);
  }
  footer {
    width: 95%;
  }
}
