body,
html {
  scroll-behavior: smooth;
  background-color: #0e1015;
}

body {
  visibility: visible;
}

#intro {
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #0e1015;
  display: flex;

  /*Font*/
  font-family: 'Barlow', sans-serif;
  color: white;
}

#page-content {
  padding-top: 80px;
}

#logo_sec {
  min-height: 20vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #0e1015;
  display: flex;
  /*Font*/
  font-family: 'Barlow', sans-serif;
  color: white;
}

#about {
  min-height: 75vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #808799;
  display: flex;
  font-weight: normal !important;

  /*Font*/
  font-family: 'Barlow', sans-serif;
  color: white;
  margin-top: -2px;

}

#contact {
  min-height: 25vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #0e1015;
  display: flex;

  /*Font*/
  font-family: 'Barlow', sans-serif;
  color: white;
  margin-top: -2px;

}

.spacer {
  aspect-ratio: 960/300;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: -4px;
}

.layer_wave {
  background-image: url('../svgs/layer_wave.svg');
}

.wave {
  background-image: url('../svgs/wave.svg');
}

.ai-powered {
  display: inline-block;
  font-weight: bold;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(90deg, #e01f8f, #ff5012, #4b40f1, #ff5012, #e01f8f);
  background-size: 500% auto;
  animation: gradient 60s ease infinite alternate;
  font-size: 50px;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

p {
  margin: 0
}

.press {
  filter: invert(1);
  opacity: 50%;

}

      /* Navbar styles */
      .navbar {
        background-color: #0e1015;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000 !important;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-hidden {
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
    }

    .nav-visible {
        transform: translateY(0);
        opacity: 1;
    }

    @keyframes dropdown_nav {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .dropdown {
        animation-name: dropdown_nav;
        animation-duration: 0.3s;
        animation-timing-function: ease;
    }


.nav-item:first-child {
  float: left;
  font-weight: 300;
}

.nav-item {
  color: #b8b8b8;
  float: right;
  display: block;
  text-align: center;
  padding: 22px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 300;
  margin-top: 5px;

}

.about-img {
  max-width: 100%; /* Allows the div to take up the full width of its container */
  overflow: hidden; /* Prevents any overflow */
}

.img-fluid {
  width: 100%; /* Scales the image to the width of the parent div */
  height: auto; /* Maintains the aspect ratio */
  object-fit: contain; /* Ensures the image is fully visible */
}

.nav-item:hover {
  color: #2a2d34;
  transition: 0.5s;
}


.nav-item:hover:after {
  transform: scaleX(1);
}

.nav-item::after {
  display: block;
  content: '';
  border-bottom: solid 3px #0ad33b;
  transform: scaleX(0);
  transition: 350ms ease-in-out;
  transform-origin: 0% 50%;
}

.button {
  background-color: #0ad33b;
  margin-top: 5px;
  color: #fff;
  border: none;
  padding: 8px 25px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  /* Add a pointer cursor to indicate it's clickable */
}

.button:hover {
  background-color: #62ff89;
  transition: background-color 0.5s;
}



@media (max-width: 767px) {
  #form {
    text-align: center;
    justify-content: center;
    margin-right: 100px;
  }
}

.btn {
  border: none;
  background-color: inherit;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}

/*Animate logos */
.animate-logo {
  animation-duration: 1s;
  animation-delay: 0s
}

/* Spin In */
.animate-logo.spin {
  animation-name: animate-spin;
  animation-timing-function: ease;
  z-index: -1
}

@keyframes animate-spin {
  0% {
    transform: rotateY(0);
  }

  45% {
    transform: rotateY(90deg);
  }

  55% {
    transform: rotateY(90deg);
  }

  100% {
    transform: rotateY(0);
  }
}


/*Animation for about text*/
@keyframes aboutSlideInLeft {
  from {
    transform: translateX(-300px);
  }

  to {
    transform: translateX(0);
    /*back to og position*/
  }
}

.about-text-animate {
  animation-name: aboutSlideInLeft;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}

/*Animation for about image*/
@keyframes aboutSlideInRight {
  from {
    transform: translateX(300px);
    opacity: 0%;

  }

  to {
    transform: translateX(0);
    opacity: 100%;
  }
}

.about-img-animate {
  animation-name: aboutSlideInRight;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}

/*Animate How it Works header*/
@keyframes moveDown {
  0% {
    transform: translateY(-200px);
    opacity: 0%;
  }


  100% {
    transform: translateY(0px);
    opacity: 100%;
  }
}

.animate-header {
  animation-name: moveDown;
  animation-duration: 0.5s;

}

#talk {
  font-size: 60px;
  margin-bottom: 5vh;
}

#talk_fr {
  font-size: 50px;
  margin-bottom: 5vh;
}

/*media query for contact section*/
@media (max-width: 767px) {
  #talk {
    font-size: 45px;
    margin-bottom: 5px;
  }

  #talk_fr {
    font-size: 35px;
    margin-top: 2vh;
  }

}