@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #ba33e4;
}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-weight: normal;
  outline: none;
}

html {
  scroll-behavior: smooth !important;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  transition: 300ms ease-in-out;
}

.dark body {
  color: #fff;
  background-color: #000;
}

/* Scrollbar Style */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(186, 51, 228) rgb(110, 51, 228, 1);
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
*::-webkit-scrollbar-track {
  border-radius: 20px;
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
}

/* Button Back To Top */
.button-backtop {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  text-align: center;
  border: 2px solid white;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 0 1.5px rgb(73, 73, 73);
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
}

.dark .button-backtop {
  border: 2px solid #000;
  box-shadow: 0 0 0 1.5px rgb(255, 255, 255);
}

.button-backtop i {
  color: white;
  font-size: 1.5rem;
  line-height: 40px;
}

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999999;
}

.dark .loading-container {
  background-color: #000;
}

.loading-screen {
  width: 50px;
  height: 50px;
  display: grid;
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, #0000 40%, #000 41%);
  background: linear-gradient(0deg, #ba33e480 50%, #ba33e4ff 0) center/4px 100%,
    linear-gradient(90deg, #ba33e440 50%, #ba33e4bf 0) center/100% 4px;
  background-repeat: no-repeat;
  animation: s3 1s infinite steps(12);
}
.loading-screen::before,
.loading-screen::after {
  content: "";
  grid-area: 1/1;
  border-radius: 50%;
  background: inherit;
  opacity: 0.915;
  transform: rotate(30deg);
}
.loading-screen::after {
  opacity: 0.83;
  transform: rotate(60deg);
}

@keyframes s3 {
  100% {
    transform: rotate(1turn);
  }
}

/* Utility Class */
.btn_download {
  padding: 0.7rem 1.2rem;
  border-radius: 1rem 0 1rem 0;
  box-shadow: 0.5px 0.5px 5px 0.5px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Styling Navigation Bar */

nav {
  width: 100%;
  height: 100px;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color: #fff;
  top: 0;
  left: 0;
  box-shadow: 0 0.5px 6px 0 rgba(0, 0, 0, 0.2);
  z-index: 99999;
  transition: 300ms ease-in-out;
}

.dark nav {
  background-color: #000;
}

nav .title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

nav .title img {
  width: 40px;
  margin-right: 0.5rem;
}

nav .title h1 {
  font-size: 1.3rem;
  font-weight: 500;
  color: black;
}

.dark nav .title h1 {
  color: #fff;
}

nav .title h1 span {
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  color: transparent;
  -webkit-background-clip: text;
  font-weight: bold;
}

ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  position: absolute;
  top: 100px;
  right: 0;
  background-color: #fff;
  padding: 2rem 3rem;
  box-shadow: -0.5px 0.5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 0 0 0 1rem;
  transform: translateX(300px);
  transition: 300ms ease-in-out;
}

.dark ul {
  background-color: #000;
}

nav .nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

#dropdown.active {
  transform: translateX(0);
}

ul li {
  list-style: none;
}

ul li a {
  position: relative;
  color: black;
}

.dark ul li a {
  color: #fff;
}

ul li a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 3rem;
  height: 2px;
  transform: translateY(-5px);
  opacity: 0;
  background-color: var(--primary);
  transition: 0.3s ease;
}

ul li:nth-child(3) a::before {
  width: 4.3rem;
}

ul li:nth-child(4) a::before {
  width: 4.1rem;
}

ul li a:hover::before {
  opacity: 1;
  transform: translateY(0);
}

ul li a:hover {
  color: var(--primary);
}

.hamburger-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: 300ms ease-in-out;
}

.hamburger-menu.active {
  transform: rotate(360deg);
}

.hamburger-menu span {
  width: 1.5rem;
  height: 2px;
  background-color: black;
}

.dark .hamburger-menu span {
  background-color: #fff;
}

.hamburger-menu span:first-child {
  transform-origin: top right;
}

.hamburger-menu.active span:first-child {
  transform: rotate(-45deg);
}

.hamburger-menu.active span:nth-child(2) {
  transform: scale(0);
}

.hamburger-menu span:last-child {
  transform-origin: bottom right;
}

.hamburger-menu.active span:last-child {
  transform: rotate(45deg);
}

#subs {
  cursor: pointer;
  padding: 0.6rem 1.3rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: 0.6rem;
}

#dark-toggle {
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0s !important;
  color: #000;
  transform: translateX(2rem);
}

.dark #dark-toggle {
  color: #fff;
}

@media (min-width: 768px) {
  nav {
    padding: 0.5rem 3rem;
  }

  #dark-toggle {
    transform: translateX(13rem);
  }
}

@media (min-width: 1024px) {
  nav {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
  }

  nav .nav-list {
    gap: 2rem;
  }

  nav .title img {
    width: 50px;
  }

  nav .title h1 {
    font-size: 1.5rem;
  }

  ul {
    flex-direction: row;
    position: static;
    top: 0;
    right: 0;
    padding: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    border-radius: 0;
    transform: translateX(0);
  }

  .hamburger-menu {
    display: none;
  }

  #dark-toggle {
    transform: translate(0, 3px);
  }
}

/* Hero Section */

#hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  margin-top: 8.5rem;
  padding: 0.5rem 2rem;
  gap: 1.5rem;
}

#hero article {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

#hero article h1 {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 2.2rem;
}

#hero article h1 span {
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  color: transparent;
  -webkit-background-clip: text;
  font-weight: bold;
}

#hero article p {
  font-size: 0.85rem;
}

#hero article .start {
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  color: #fff;
  font-size: 1rem;
  margin-top: 1rem;
  transition: 300ms ease-in-out;
}

#hero article .start:hover {
  background: rgb(110, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
}

#hero-image {
  width: 300px;
}

@media (min-width: 768px) {
  #hero {
    flex-direction: row;
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  #hero article h1 {
    font-size: 4rem;
    line-height: 4.25rem;
    font-weight: bold;
  }

  #hero article p {
    font-size: 1rem;
    width: 450px;
  }

  #hero-image {
    width: 500px;
  }
}

/* About Section */

#about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-direction: column-reverse;
  padding: 0.5rem 2rem;
  margin-top: 8rem;
}

#about-hero {
  width: 300px;
}

#about article {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

#about article h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

#about article p {
  font-size: 0.85rem;
}

#about article .btn {
  padding: 0.6rem 1.2rem;
  background: rgb(186, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(186, 51, 228, 1) 35%,
    rgba(110, 51, 228, 1) 100%
  );
  color: #fff;
  border-radius: 0 1rem 0 1rem;
  margin-top: 0.5rem;
  transition: 300ms ease-in-out;
}

#about article .btn:hover {
  background: rgb(110, 51, 228);
  background: -moz-linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(110, 51, 228, 1) 35%,
    rgba(186, 51, 228, 1) 100%
  );
}

@media (min-width: 768px) {
  #about {
    padding: 0.5rem 3rem;
    flex-direction: row-reverse;
  }
}

@media (min-width: 1024px) {
  #about article h1 {
    font-size: 4rem;
  }

  #about article p {
    font-size: 1rem;
    width: 600px;
  }

  #about-hero {
    width: 500px;
  }
}

/* Features Section */

#features {
  margin: 8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  padding: 0.5rem 2rem;
}

#features article {
  text-align: center;
}

#features article h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

#features article h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

#features aside {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  place-items: center;
  gap: 3rem;
}

#features aside h1 {
  font-size: 1.2rem;
  font-weight: 600;
}

#features aside p {
  font-size: 0.9rem;
}

#features aside i {
  font-size: 3rem;
  color: var(--primary);
}

.dark #features aside .box-features {
  background-color: #3b3b3b;
}

#features aside .box-features {
  width: 300px;
  height: 180px;
  box-shadow: 0.5px 0.5px 8px 0.5px rgba(0, 0, 0, 0.3);
  background-color: white;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 1rem;
  transition: 300ms ease-in-out;
}

#features aside .box-features:hover {
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  #features {
    padding: 0.5rem 3rem;
  }

  #features article h1 {
    font-size: 1.7rem;
  }

  #features article h3 {
    font-size: 1.3rem;
  }

  #features aside {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #features article h1 {
    font-size: 4rem;
  }

  #features article h3 {
    font-size: 2rem;
  }

  #features aside {
    gap: 4rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact Section */

#contact {
  margin-top: 3rem;
  padding: 0.5rem 2rem;
}

#contact article {
  text-align: center;
}

#contact article h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

#contact article h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

#contact aside {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

#contact aside form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: #fff;
  box-shadow: 0.5px 0.5px 6px 0.5px rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 0.7rem;
}

.dark #contact aside form {
  background-color: #3b3b3b;
}

#form-contact .input-field {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  flex-direction: column;
  margin-bottom: 1rem;
  width: 100%;
}

#form-contact .input-field label {
  font-size: 1rem;
}

#form-contact .input-field input {
  border-radius: 0.5rem;
  border: 1px solid #d1d1d1;
  background-color: #fff;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  width: 100%;
}

.dark #form-contact .input-field input {
  background-color: #000;
  color: #fff;
}

#form-contact .input-field textarea {
  border-radius: 0.5rem;
  border: 1px solid #d1d1d1;
  background-color: #fff;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  width: 100%;
  font-family: "poppins";
}

.dark #form-contact .input-field textarea {
  background-color: #000;
  color: #fff;
}

#form-contact button {
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  outline: none;
  border: none;
  align-self: flex-end;
}

#message {
  resize: none;
}

@media (min-width: 768px) {
  #contact {
    padding: 0.5rem 3rem;
  }

  #contact article h1 {
    font-size: 1.7rem;
  }

  #contact article h3 {
    font-size: 1.3rem;
  }

  #contact aside {
    margin-top: 2rem;
  }

  #contact aside form {
    width: 400px;
  }
}

@media (min-width: 1024px) {
  #contact article h1 {
    font-size: 4rem;
  }

  #contact article h3 {
    font-size: 2rem;
  }

  #contact aside {
    margin-top: 2.5rem;
  }

  #contact aside form {
    width: 600px;
  }
}

/* Footer Section */

footer {
  margin: 3rem 0 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  footer {
    margin: 5rem 0 1.5rem;
    font-size: 1rem;
  }
}
