@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.login_btn {
  width: 180px;
  height: 60px;
  cursor: pointer;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  transition: 0.3s all ease;
}

.login_btn:hover {
  transform: scale(1.05);
}

.navbar {
  animation: appearing 1.2s ease-in-out 1;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  color: #000;
  z-index: 10000;
}

.nav-links li a {
  color: #000;
  transition: 0.3s all ease-in-out;
  position: relative;
}

.nav-links li a:hover {
  color: #de5c31;
  transition: 0.4s all ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 3px;
  bottom: -5px;
  left: 0;
  background-color: #de5c31;
  transform-origin: bottom right;
  transition: transform 0.5s ease-out;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.logo {
  width: 100px;
  color: #000;
  cursor: pointer;
  margin-left: 100px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  gap: 10px;
  margin-right: 100px;
}

.menu li {
  padding: 5px 15px;
}

.menu a {
  padding: 0 10px;
}

.menu a:hover {
  transition: 0.3s all ease;
  color: #fff;
}

#checkbox_toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hamburger-line {
  background-color: #000;
  display: block;
  height: 3px;
  position: relative;
  width: 28px;
}

.hamburger-line::before,
.hamburger-line::after {
  background-color: #000;
  content: "";
  display: block;
  position: absolute;
  transition: 0.3s all ease;
  width: 100%;
  height: 100%;
}

.hamburger-line::before {
  top: 7px;
}

.hamburger-line::after {
  top: -7px;
}

.main::before {
  animation: appearing 1.2s ease-in-out 1;
  content: "";
  position: absolute;
  width: 500px;
  overflow: hidden;
  height: 500px;
  left: -120px;
  top: 360px;
  background-image: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  border-radius: 32% 68% 63% 37% / 53% 33% 67% 47%;
  z-index: 100;
}

.main::after {
  animation: appearing 1.2s ease-in-out 1;
  content: "";
  position: absolute;
  width: 400px;
  overflow: hidden;
  height: 400px;
  right: -100px;
  top: 0;
  transform: rotate(180deg);
  background-image: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  border-radius: 32% 68% 63% 37% / 25% 33% 67% 30%;
  z-index: 100;
}

.main_content {
  margin-top: 50px;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main_btn {
  width: 180px;
  height: 60px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  transition: 0.3s all ease;
}

.main_btn:hover {
  transform: scale(1.05);
}

.about {
  height: 800px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.about_content {
  height: 800px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.about_text_content {
  width: 800px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.about_text_content h2 {
  font-size: 60px;
  font-weight: bold;
}

.about_text_content h2 span {
  background: -webkit-linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about_text_content p {
  color: #535353;
  font-size: 20px;
}

.features_heading {
  text-align: center;
  font-size: 65px;
  margin-bottom: 60px;
}

.features {
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: relative;
  padding-bottom: 50px;
}

.features::before {
  animation: appearing 1.2s ease-in-out 1;
  content: "";
  position: absolute;
  width: 350px;
  overflow: hidden;
  height: 350px;
  right: -100px;
  top: -400px;
  transform: rotate(180deg);
  background-image: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  border-radius: 32% 68% 63% 37% / 25% 33% 67% 30%;
  z-index: 100;
}

.column {
  display: flex;
  flex-direction: column;
  row-gap: 150px;
  justify-content: center;
  align-items: center;
}

.feature_phone {
  content: "";
  position: absolute;
}

.feature_el {
  width: 340px;
  height: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  place-items: left;
  row-gap: 20px;
}

.feature_el img {
  background-color: #fb8259;
  border-radius: 20px;
}

.feature_el h2 {
  font-size: 33px;
}

.feature_el p {
  color: #535353;
  font-size: 20px;
}

@media (max-width: 1400px) {
  .feature_el {
    width: 300px;
  }

  .feature_phone {
    width: 300px;
  }

  .about_text_content {
    width: 400px;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
  }

  .about_text_content h2 {
    width: max-content;
    font-size: 55px;
  }

  .about_text_content p {
    font-size: 18px;
  }

  .phone_about_img {
    width: 500px;
  }

  .about {
    height: 900px;
  }

  .about_content {
    height: 900px;
  }

  .main_content {
    width: 100%;
    padding: 0 50px;
  }
  .main_text_content p {
    width: 400px;
  }
  .main::after {
    display: none;
  }
  .main::before {
    display: none;
  }
}

@media (max-width: 1000px) {
  .features::before {
    display: none;
  }
  .features_heading {
    font-size: 45px;
  }
  .features {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
  }

  .column {
    display: flex;
    row-gap: 150px;
    justify-content: center;
    align-items: center;
  }

  .features .column:nth-child(3) {
    margin-top: 600px;
  }

  .feature_el {
    width: 300px;
  }

  .feature_phone {
    margin-top: 600px;
    width: fit-content;
  }

  .about_text_content {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 40px;
  }

  .about_text_content h2 {
    width: max-content;
    font-size: 55px;
  }

  .about_text_content p {
    font-size: 18px;
    width: 600px;
  }

  .phone_about_img {
    width: 500px;
  }

  .about {
    margin-top: 100px;
    flex-direction: column;
    height: 900px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about_content {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 900px;
  }
  .main_text_content p {
    width: 300px;
  }

  .main_text_content {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone_img {
    width: 100px;
    height: 100px;
  }

  .main_content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .main_text_content h2 {
    width: max-content;
  }

  .logo {
    margin-left: 20px;
  }
  .menu {
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .about_text_content {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 40px;
  }

  .main_btn {
    margin-top: 30px;
  }

  .about_text_content h2 {
    width: 100%;
    font-size: 50px;
    padding: 0 20px;
  }

  .about_text_content p {
    font-size: 18px;
    width: 100%;
    padding: 0 20px;
  }

  .phone_about_img {
    width: 100%;
  }

  .about {
    flex-direction: column;
    height: 900px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about_content {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 900px;
  }

  .phone_img {
    display: none;
  }

  .main {
    height: 80vh;
  }

  .main_content {
    flex-direction: column;
  }

  .main_text_content {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main_text_content h2 {
    width: max-content;
  }

  .logo {
    margin-left: 20px;
  }
  .menu {
    margin-top: 20px;
    background-color: #fff;
    text-align: center;
    margin-right: 0px;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .menu li a {
    color: #000;
    display: block;
    padding: 15px;
    transition: 0.3s ease;
    z-index: 1000;
  }

  .menu li {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
  }

  #checkbox_toggle:checked ~ .menu_wrapper li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .menu li:hover {
    transition: 0.5s all ease;
    color: #fff;
  }

  .menu_wrapper {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    right: 0px;
    left: 0px;
    z-index: 10;
    transition: max-height 0.3s ease-in-out;
    position: absolute;
  }

  #checkbox_toggle:checked ~ .menu_wrapper {
    /* display: flex; */
    visibility: visible;
    max-height: 100vh;
    /* transition: 0.3s all ease;
    height: 100vh;
    justify-content: center;
    flex-direction: column;
    align-items: center; */
  }

  .hamburger {
    display: block;
  }

  #checkbox_toggle:checked ~ .hamburger .hamburger-line {
    background-color: transparent;
  }

  #checkbox_toggle:checked ~ .hamburger .hamburger-line::before {
    transform: rotate(-45deg);
    top: 0px;
  }

  #checkbox_toggle:checked ~ .hamburger .hamburger-line::after {
    transform: rotate(45deg);
    top: 0px;
  }
}

@media (max-width: 500px) {
  .about_text_content {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 40px;
  }

  .about_text_content h2 {
    width: 100%;
    font-size: 40px;
    padding: 0 20px;
  }

  .about_text_content p {
    font-size: 17px;
    width: 100%;
    padding: 0 20px;
  }

  .phone_about_img {
    width: 100%;
  }

  .about {
    flex-direction: column;
    height: 900px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about_content {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 900px;
  }
}

.main {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_text_content {
  animation: slideFromLeft 0.8s ease-out 1;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.main_text_content h2 {
  font-size: 55px;
  width: 400px;
  text-align: center;
}

.auto-type {
  font-size: 55px;
  background: -webkit-linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main_text_content p {
  color: #535353;
  font-size: 19px;
}

.main_img_content {
  animation: slideFromRight 1s ease-in-out 1;
}

.phone_img {
  animation: phoneShaking 2s ease-in-out infinite;
  transition: 0.3s all ease;
  width: 500px;
  height: 750px;
}

/* Animations */
@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes phoneShaking {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes appearing {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
/* /Animations */

/* Custom Scrollbar */

::-webkit-scrollbar {
  width: 10px;
  height: 20px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  border-radius: 10px;
}

/* /Custom Scrollbar */

/* BackToTopBTN */
#back_top_btn {
  content: "";
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(
    80deg,
    hsl(6deg 85% 57%) 0%,
    hsl(23deg 90% 59%) 69%,
    hsl(34deg 89% 63%) 100%
  );
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 4;
}

#back_top_btn.active {
  opacity: 1;
}

/* /BackToTopBTN */
