* {
  font-family: "Ubuntu", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

html,
main {
  overflow-x: hidden;
  /* position: relative; */
}
.wrapper {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

.mobile-only {
  display: none;
}

header {
  padding: 40px 0;
  position: absolute;
  width: 100%;
  z-index: 100;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

nav ul {
  display: flex;
  padding: 0;
  list-style: none;
  margin: 0;
}

nav a:link,
nav a:visited,
nav a:active {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
}

nav ul li a {
  position: relative;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: block;
  padding-bottom: 10px;
}

nav ul li + li {
  margin-left: 40px;
}

nav ul li.active a {
  color: #000;
  font-weight: bold;
}

nav ul li.active a::after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 2px;
  left: 0px;
  transform-origin: left;
  display: flex;
  height: 3px;
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
}

/*Hero Section*/

.hero-section {
  height: 100vh;
  max-height: 1000px;
  min-height: 700px;
  position: relative;
}

.hero-content {
  align-self: center;
  justify-self: center;
}

.bg-polygon {
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  opacity: 0.1;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: -1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 0% 80%);
}

.hero-title {
  font-size: 73px;
  line-height: 97.6%;
  margin-bottom: 48px;
  color: #232d4c;
}

.hero-section .wrapper {
  height: 100%;
  display: grid;
  grid-gap: 10%;
  grid-template-columns: 1fr 1fr;
}

.hero-btn {
  /* background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%); */
  box-shadow: 0px 15px 23px rgba(68, 215, 182, 0.38);
  border-radius: 10px;
  padding: 24px 21px 24px 30px;
  color: #ffffff;
  font-size: 20px;
  font-family: "ubuntu", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
}

.play-btn {
  display: inline-flex;
  background-color: black;
  color: white;
  font-family: "ubuntu";
  padding: 15px 22px;
}

.play-btn img {
  margin-right: 20px;
}

.play-btn .get-line {
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  margin: 0;
}

.play-btn .download-line {
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  margin: 0;
}

.forward-svg {
  margin-left: 17px;
}

.hero-gif {
  align-self: center;
  justify-self: center;
  filter: drop-shadow(0px 12px 26px rgba(0, 0, 0, 0.2));
  border-radius: 25px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 446px;
  max-height: 446px;
}

.weird-background-thingy-5 {
  position: absolute;
  right: 5%;
  bottom: 10%;
  z-index: -1;
}

/* Question and section heading */

.question,
.section-heading {
  text-align: center;
  margin: 100px 0;
  position: relative;
}

.question h2,
.section-heading h2 {
  font-weight: bold;
  font-size: 44px;
  line-height: 51px;
  text-align: center;
  margin: 14px;
  color: #232d4c;
}

.question p,
.section-heading p {
  font-size: 18px;
  margin: 14px;
  line-height: 24px;
  color: #969ba9;
  opacity: 0.7;
}

.section-heading::after {
  top: 15px;
  content: "";
  display: block;
  width: 150px;
  margin: 30px auto;
  height: 4px;
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  left: 50%;
}

/* Solution */
.answer {
  /* opacity: 0; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  margin-bottom: 200px;
  position: relative;
}

.answer-content {
  padding: 54px 40px;
  align-self: center;
}

.answer h3 {
  font-size: 23px;
  line-height: 24px;
  margin: 0;
  color: #969ba9;
  opacity: 0.7;
}

.answer p {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: #3076c8;
}

.answer h2 {
  font-size: 40px;
  color: #4a90e2;
  margin-top: 2px;
  margin-bottom: 14px;
}

.answer-gif {
  /* opacity: 0; */
  align-self: center;
  filter: drop-shadow(0px 30px 31px rgba(0, 0, 0, 0.16));
  justify-self: center;
  border-radius: 11px;
  z-index: 10;
  width: 100%;
  max-width: 500px;
}

.answer-2-polygon {
  width: 100%;
  height: 159%;
  z-index: -1;
  position: absolute;
  background: linear-gradient(270deg, #e071f2 0%, #fe8999 100%);
  opacity: 0.1;
  top: 30%;

  clip-path: polygon(20% 15%, 100% 0%, 100% 100%, 20% 85%);
}

.icon-tray {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.icon {
  margin: 0 40px;
}

.footer-heading {
  margin-bottom: 50px;
}

.footer-bar a:link,
.footer-bar a:visited {
  color: #4a90e2;
  text-decoration: none;
}

.footer-bar {
  background: #f1f2f3;
  margin: 63px 0;
  margin-bottom: 40px;
}

.footer-bar .links span::after {
  content: "";
  background-color: #4a4a4a;
  height: 0.3em;
  width: 0.3em;
  border-radius: 50%;
  display: block;
}

.footer-bar .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.footer-bar p {
  margin: 0;
  margin-top: 9px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #232d4c;
  opacity: 0.7;
}


.footer-bar .links {
  display: flex;
  max-width: 650px;
  align-items: center;
  width: 80%;
  font-size: 16px;
  justify-content: space-between;
}


.weird-background-thingy-6 {
  position: absolute;
  right: 0;
  top: -20%;
}

.weird-background-thingy-7 {
  position: absolute;
  right: 0;
  bottom: -20%;
}

.answer-4-polygon {
  width: 100%;
  transform: scaleX(1.5);
  height: 200%;
  z-index: -1;
  position: absolute;
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  opacity: 0.2;
  right: 0;
  top: -40%;
  clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 80%);
}

/* till 800px */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 60px;
  }
}

@media (min-width: 900px) {
  .mobile-only {
    display: none;
  }
}

/* mobile view  */
@media (max-width: 900px) {
  .desktop-only {
    display: none;
  }
  .wrapper {
    padding: 0 32px;
  }

  header {
    padding: 35px 0;
  }

  nav ul {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;

    padding: 35px;
    /* background: #ecfaf8; */
    background-image: linear-gradient(
      90deg,
      #ecfaf8 0%,
      #ecfaf8 50%,
      transparent 100%
    );
    background-size: 200% 100%;
    background-position: 200% 0%;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-in-out 0.4s;
  }

  nav ul.nav-visible {
    display: flex;
  }

  .nav-opened ul {
    background-position: 0% 0%;
    transition: background-position 0.5s ease-in-out;
  }

  nav ul li {
    margin: 13px 0 !important;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  .nav-opened ul li {
    opacity: 1;
    transition: opacity 0.2s ease-out 0.6s;
  }

  /* HAMBURGER MENU STYLE  */
  .hamburger {
    z-index: 5;
    position: absolute;
    right: 30px;
    top: 26px;
    overflow: visible;
    transform: scale(0.9);
  }
  .hamburger > div {
    height: 1.5px;
    width: 25px;
    margin: 7px 0;
    background-color: #232d4c;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  }

  .hamburger :nth-child(2) {
    opacity: 1;
  }
  .hamburger :nth-child(1) {
    transform-origin: left;
  }
  .hamburger :nth-child(3) {
    transform-origin: left;
  }

  .nav-opened .hamburger :nth-child(2) {
    opacity: 0;
  }
  .nav-opened .hamburger :nth-child(1) {
    transform: translateX(2px) rotate(45deg);
  }
  .nav-opened .hamburger :nth-child(3) {
    transform: translateX(2px) rotate(-45deg);
  }

  .hero-section .wrapper {
    display: flex;
    flex-direction: column;
    grid-gap: unset;
  }

  .hero-content {
    order: 1;
    align-self: flex-start;
  }

  .hero-gif {
    /* grid-row: 2; */
    order: 2;
    /* height: calc(100vh - 400px); */
    max-height: 100%;
    transform: none;
    justify-self: auto;
    object-fit: cover;
    margin-top: 20px;
    height: unset;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 100px;
  }
  .hero-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .weird-background-thingy-1 {
    left: 70%;
    right: unset;
  }

  .hero-section {
    height: calc(100vh - 150px);
    min-height: 400px;
    max-height: 800px;
    margin-top: 60px;
  }

  .play-btn {
    text-align: left;
    padding: 20px 11px;
    /* justify-content: start; */
  }
  .play-btn .download-line {
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    margin: 0;
  }

  .hero-btn.mobile-only {
    font-size: 16px;
    justify-content: center;
    padding: 21px;
    order: 3;
    margin-top: 20px;
  }

  .question h2,
  .section-heading h2 {
    font-size: 24px;
    line-height: 28px;
    margin: 24px 0;
  }
  .question p {
    font-size: 16px;
  }

  .weird-background-thingy-6,
  .weird-background-thingy-7 {
    display: none;
  }

  .answer {
    display: flex;
    flex-direction: column-reverse;
    margin-left: -35px;
    margin-top: 160px;
    margin-bottom: 0;
    border-radius: 10px;
    margin-top: 50%;
    margin-right: -35px;
  }

  .answer-gif {
    grid-row: 1;
    /* max-width: 80%; */
    display: block;
    order: 1;
    margin-top: -25%;
    width: 400px;
    max-width: calc(100% - 100px);
  }

  .answer-content {
    text-align: center;
    /* padding-top: 0; */
  }

  .answer-content h3 {
    font-size: 22px;
  }

  .answer-content h2 {
    font-size: 26px;
    line-height: 30px;
  }

  .answer-content p {
    font-size: 16px;
    line-height: 24px;
  }

  .answer-2-polygon,
  .answer-4-polygon {
    display: none;
  }

  .answer-4 {
    background: linear-gradient(270deg, #44d7b61a 0%, #3bb0ea1a 100%);
    border-radius: 11px;
  }

  .answer-5 {
    background: linear-gradient(270deg, #e071f21a 0%, #fe89991a 100%);
    border-radius: 11px;
  }

  .answer-6 {
    background: linear-gradient(270deg, #f787651a 0%, #fda8291a 100%);
    border-radius: 11px;
  }

  .answer-7 {
    background: linear-gradient(270deg, #44d7b61a 0%, #3bb0ea1a 100%);
    border-radius: 11px;
  }

  .footer-bar .wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar .links {
    margin: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar .links a {
    margin: 18px 0;
    display: block;
    list-style-type: disc;
  }
}

@media (max-width: 400px) {
  .hero-content h2 {
    font-size: 32px;
  }

  .hero-gif {
    height: calc(100vh - 350px);
  }
}

/*loading*/
/* div.gif {
  background: linear-gradient(
    90deg,
    #a7ffed55,
    #ffffff,
    #a7ffed55,
    #ffffff,
    #a7ffed55
  );

  overflow: hidden;

  background-color: white;
  background-size: 400%;
  animation: loading-anim2 3s infinite linear;
} */

div.gif {
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: darkgray;
  background: linear-gradient(to right, #eeeeee 2%, #e0e0e0 18%, #eeeeee 34%);
  background-size: 200%;
  overflow: hidden;
}

.gif img {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease-in-out;
}

.gif.loaded img {
  opacity: 1;
}
@keyframes loading-anim2 {
  from {
    background-position: 0%;
  }
  to {
    background-position: 200%;
  }
}

@keyframes placeHolderShimmer {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.back-to-top-icon {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 15px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 1px 1px 17px 1px #00000021;
  /* transition: all ease-in-out 0.1s; */
  background-color: white;
  z-index: 20;
  opacity: 0.5;
}

.back-to-top-icon img {
  width: 20px;
}
.back-to-top-icon:hover {
  transform: translateY(-5px);
  box-shadow: 1px 10px 17px 3px #00000021;
}
.back-to-top-icon:active {
  transform: translateY(0px);
  box-shadow: 0px 0px 0px 3px #00000021;
  opacity: 1;
}
