/* =============universal selector property============ */
* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
body {
  font-family: "montserrat", sans-serif;
  line-height: 1.7;
}
/* 😓-==================doubt====================💡 */
img {
  width: 100%;
  display: block;
  object-fit: cover;
}
/* =============nav bar ====================== */
.container {
  width: 80%;
  margin: auto;
}
nav {
  background: transparent;
  width: 100vw;
  height: 5rem;
  /* 5rem=80px */
  position: fixed;
  top: 0;
  z-index: 11;
}

.nav__container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 5.5rem;
  height: 5.5rem;
  /* border-radius: 50%; */
  overflow: hidden;
  margin: 0 auto 0;
}
nav button {
  display: none;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4rem;
  /* 464px=4rem*/
}
.nav__menu a {
  font-size: 0.9rem;
  /* 0.9 rem=14.4px */
  color: #000000;
  transition: all 400ms ease;
}
.nav__menu a:hover {
  color: white;
}
/* here im changing value..... */
.logo-title {
  margin-right: 15rem;
  font-size: 1rem;
}
/* =============change navbar style on scroll===================== */
.window_scroll {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  background-color: #f6fba2;
  background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);
}

.content-container {
  background-color: #05d186;
  padding: 20px;
  margin: 20px 100px 50px 100px;
  border-radius: 2rem;
}
.feature-title,
.faq-title {
  text-align: center;
  padding: 0.5rem;
  margin-top: 4rem;
}
.more p {
  font-size: 1rem;
}
.more h4 {
  margin: 1rem 0 1rem;
}
.more {
  padding: 0.3rem;
  color: black;
}

.back:hover {
  background-color: #04aa6d;

  color: #ddd;
}
.back {
  background-color: black;
  color: #ddd;
  padding: 15px;
  margin: 0.5rem 0.5rem;
  position: sticky;
  top: 10rem;
  border-radius: 50%;
  transition: all 400ms ease;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.5;
}
h1 {
  font-size: 2.4rem;
  /* 2.4 rem is equal to 36.8px */
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.6rem;
  /* 1.6 remis equal to 25px */
}
h4 {
  font-size: 1.3rem;
  /* 1.3 remis equal to 20px */
}
footer {
  /* background: var(--color-bg1); */
  background: #88bd8c;
  padding-top: 5rem;
  font-size: 0.9rem;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}
.footer__container > div h4 {
  margin-bottom: 1.2rem;
}
.footer__1 p {
  margin: 0 0 2rem;
}
/* 😓-==================doubt========NOT WORKING🙄============💡*/
.footer,
a {
  color: #000000;
}
.footer,
a:hover {
  color: #000000;
}
.footer ul,
li {
  margin-bottom: 0.7rem;
  /* color: #000000; */
}
.footer ul li a:hover {
  text-decoration: underline;
  /* color: #000000; */
}
.footer__socials {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-top: 2rem;
}
.social-icon {
  color: black;
}
.footer__copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  /* border-top: 1px solid var(--color-bg2); */
  border-top: 1px solid black;
}
/* ====================media query section 😅💡=================================== */

/* ====================basic styles=================================== */
@media screen and (max-width: 1024px) {
  .container {
    width: 90%;
  }
  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .logo {
    width: 5.5rem;
    height: 5.5rem;
    /* border-radius: 50%; */
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 20rem;
    font-size: 1rem;
  }
  .nav__menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav__menu li {
    width: 100%;
    height: 5.8rem;
    animation: animatenavitems 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
  }
  .nav__menu li a {
    background-color: #f6fba2;
    background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);

    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav__menu li a:hover {
    background: linear-gradient(to top left, #000000, #55efc4);

    color: white;
  }
  /* ====================nth child chnages================== */
  .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
  }
  .nav__menu li:nth-child(3) {
    animation-delay: 400ms;
  }
  .nav__menu li:nth-child(4) {
    animation-delay: 600ms;
  }
  .nav__menu li:nth-child(5) {
    animation-delay: 800ms;
  }
  /* ====================animation================================== */
  @keyframes animatenavitems {
    0% {
      transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }
    100% {
      transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;
    }
  }
  /* ====================footer============================ */
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================  */
@media screen and (max-width: 1024px) {
  .content-container {
    margin: 30px 50px 30px 50px;
  }
}
/* ====================================== @media screen and (max-width: 600px) {
} */
@media screen and (max-width: 600px) {
  .content-container {
    margin: 25px 28px 25px 28px;
  }
}
/* /* =======================media queries for phones 📱========= */

@media screen and (max-width: 600px) {
  h4 {
    font-size: 1rem;
  }
  .container {
    width: 94%;
  }
  /* ====================navbar=======================}==== */
  .nav__menu {
    right: 3%;
  }
  .logo {
    width: 5rem;
    height: 5rem;
    /* border-radius: 50%; */
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 3rem;
    /* font-size: 1rem; */
  }
  /* ====================footer=====================}==== */

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer__1 p {
    margin: 1rem auto;
  }
  .footer__socials {
    justify-content: center;
  }
}
