@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --email-sign-up: hsl(217, 28%, 15%);
  --main-background: hsl(218, 28%, 13%);
  --footer-background: hsl(216, 53%, 9%);
  --testimonials-background: hsl(219, 30%, 18%);
  --Cyan-gradient: hsl(176, 68%, 64%);
  --Blue--gradient: hsl(198, 60%, 50%);
  --Light-Red-error: hsl(0, 100%, 63%);
  --White: hsl(0, 0%, 100%);
  --Nav-Text: hsla(0, 0%, 78%, 0.837);
  --Para-Text: hsla(0, 0%, 85%, 0.95);
  --Link: rgba(30, 244, 236, 0.943);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.1s all;
  font-family: "Raleway", serif;
}

body {
  color: var(--White);
  background: var(--main-background);
  overflow-x: hidden;
}

header,
main,
main section,
footer,
body {
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
}

/* Header Start */
header {
  display: flex;
  width: 100vw;
  max-height: 100px;
  background: var(--email-sign-up);
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  padding-inline: 2.5rem;
  width: 100%;
}
header nav img {
  width: 100px;
}
header nav ul {
  display: flex;
  gap: 1rem;
  color: var(--Nav-Text);
}
header nav ul li {
  list-style: none;
  position: relative;
}
header nav ul li:hover {
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
}
header nav ul li:hover::after {
  width: 100%;
}
header nav ul li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  transition: 0.3s all;
  background: #fff;
}

/* Header End */
main {
  width: 100vw;
  position: relative;
  background: var(--email-sign-up);
}
main section {
  width: 100%;
  padding: 2rem;
  position: relative;
}
main section#home {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: calc(100dvh - 100px);
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-bottom: 7rem;
}
main section#home img {
  height: 50%;
  max-width: 720px;
}
main section#home h1 {
  max-width: 500px;
}
main section#home p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
  max-width: 370px;
}
main section#home button {
  color: var(--White);
  background: linear-gradient(to right, var(--Cyan-gradient), var(--Blue--gradient));
  font-size: 0.6rem;
  font-weight: 400;
  border-radius: 20px;
  padding: 0.6rem 3rem;
  border: none;
  cursor: pointer;
}
main section#home button:hover {
  background: var(--Cyan-gradient);
}
main section#features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--main-background);
  position: relative;
  padding-top: 0;
}
main section#features div {
  width: 100%;
  padding: 2rem;
  padding-inline: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}
main section#features div p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
  max-width: 350px;
}
main section#features div:first-child, main section#features div:nth-child(2) {
  padding-top: 0;
}
main section#features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 500px;
  background: url("./images/bg-curvy-desktop.svg");
  background-size: 100vw;
  background-position: bottom;
  background-repeat: no-repeat;
  transform: translateY(-100%);
  z-index: 0;
}
main section#about {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
  background: var(--main-background);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
main section#about div.hero-img {
  width: 48%;
  height: 100%;
  max-height: 100%;
  max-width: 615px;
}
main section#about div.hero-img img {
  width: 100%;
  max-height: 100%;
}
main section#about div.content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 52%;
  max-height: -moz-fit-content;
  max-height: fit-content;
}
main section#about div.content p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
}
main section#about div.content a {
  color: var(--Link);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: -moz-fit-content;
  max-width: fit-content;
  text-decoration: none;
  position: relative;
}
main section#about div.content a:after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--Link);
}
main section#reviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  background: var(--main-background);
  padding: 3rem;
  position: relative;
  z-index: 1;
}
main section#reviews .review {
  max-width: 300px;
  background: var(--testimonials-background);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  padding-block: 2rem;
  border-radius: 5px;
  position: relative;
}
main section#reviews .review p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
}
main section#reviews .review div {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
main section#reviews .review div img {
  width: 30px;
  border-radius: 50px;
}
main section#reviews .review div span {
  display: flex;
  flex-direction: column;
}
main section#reviews .review div span h3 {
  font-size: 0.7rem;
}
main section#reviews .review div span p {
  font-size: 0.6rem;
}
main section#reviews .review:first-child {
  z-index: 6;
}
main section#reviews .review:first-child::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: url("./images/bg-quotes.png");
  background-repeat: no-repeat;
  background-size: contain;
  top: -30px;
  left: -10px;
  z-index: 0;
}

div#email {
  max-width: 500px;
  background: var(--email-sign-up);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  border-radius: 5px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3411764706);
}
div#email p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
}
div#email form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
div#email form div {
  position: relative;
  width: 70%;
}
div#email form input {
  width: 100%;
  font-size: 0.6rem;
  font-weight: 400;
  border-radius: 20px;
  padding: 0.6rem;
  border: none;
  position: relative;
}
div#email form input:focus {
  outline: none;
  background: var(--Para-Text);
}
div#email form #error-text {
  position: absolute;
  bottom: -50%;
  left: 2rem;
  font-size: 0.8rem;
  color: var(--Light-Red-error);
  opacity: 0;
  transition: opacity 0.3s ease;
}
div#email form.err {
  padding-bottom: 1rem;
}
div#email form.err #error-text {
  opacity: 1;
}
div#email form button {
  width: 30%;
  max-width: 30%;
  white-space: nowrap;
  color: var(--White);
  background: linear-gradient(to right, var(--Cyan-gradient), var(--Blue--gradient));
  font-size: 0.6rem;
  font-weight: 400;
  border-radius: 20px;
  padding: 0.6rem;
  border: none;
  cursor: pointer;
}
div#email form button:hover {
  background: var(--Cyan-gradient);
}

footer {
  background: var(--footer-background);
  padding: 5rem;
  padding-top: 10rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
footer img.logo {
  width: 100px;
}
footer p {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
  max-width: 300px;
  display: flex;
  gap: 1rem;
  cursor: pointer;
}
footer .wrapper {
  display: flex;
  gap: 2.5rem;
  width: 100%;
  justify-content: space-between;
}
footer ul {
  list-style: none;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
footer ul li {
  color: var(--Para-Text);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
footer ul li:hover {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}
footer ul.social {
  flex-direction: row;
  align-items: start;
  gap: 1rem;
}
footer ul.social li {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  border-radius: 50%;
  cursor: pointer;
}
footer ul.social li:hover {
  border-color: var(--Link);
  color: var(--Link);
  scale: 1.1;
}
footer .attribution {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 2px;
}
footer .attribution a {
  color: var(--Link);
}

@media screen and (width < 1050px) {
  footer .wrapper {
    flex-wrap: wrap;
  }
}
@media screen and (width < 750px) {
  body {
    overflow-x: hidden;
  }
  header nav {
    padding-inline: 2rem;
  }
  header nav ul li {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  main section {
    padding: 2rem !important;
  }
  main section#home img {
    max-width: 90vw;
    height: auto;
  }
  main section#home button {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding-block: 1rem;
    border-radius: 50px;
    margin-top: 1rem;
    width: 80%;
  }
  main section#features {
    grid-template-columns: 1fr;
    padding-inline: 1.5rem;
  }
  main section#features div {
    padding-inline: 1rem;
    margin-top: 2rem;
  }
  main section#features::before {
    height: 300px;
    background: url("./images/bg-curvy-mobile.svg");
    background-size: 100vw;
    background-position: top;
    background-repeat: no-repeat;
  }
  main section#features:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 140px;
    background: var(--main-background);
    transform: translateY(-100%);
    z-index: 0;
  }
  main section#about {
    flex-direction: column;
  }
  main section#about .hero-img {
    width: 100% !important;
    padding-top: 5em;
    max-width: 90vw;
    height: auto;
  }
  main section#about .content {
    width: 100% !important;
    padding-bottom: 10rem;
  }
  div#email {
    max-width: 90vw;
  }
  div#email form {
    flex-direction: column;
    gap: 1rem;
  }
  div#email form div {
    width: 100%;
  }
  div#email form input {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    position: relative;
  }
  div#email form button {
    min-width: 100% !important;
    padding: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
  }
  div#email form.err button {
    margin-top: 1rem;
  }
  footer {
    padding-inline: 1.5rem;
    padding-top: 15rem;
  }
  footer img.logo {
    width: 170px;
  }
  footer p {
    gap: 1rem;
  }
  footer .wrapper {
    display: flex;
    flex-direction: column;
  }
  footer ul.social {
    display: flex;
    justify-content: center;
  }
  footer p.attribution {
    text-align: center;
    display: flex;
    position: relative;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }
}
@media screen and (width > 750px) {
  header {
    padding: 2.5rem;
    min-height: 200px;
  }
  header nav img {
    width: 175px;
  }
  header nav ul {
    gap: 3.6rem;
  }
  header nav ul li {
    font-size: 1rem;
  }
  main section#home {
    height: auto;
    min-height: calc(100dvh - 200px);
    padding-top: 0rem;
  }
  main section#home img {
    height: auto;
    width: 50vw;
    aspect-ratio: 720/534;
  }
  main section#home h1 {
    margin-top: 1.25rem;
    font-size: 2.5rem;
    max-width: 720px;
    line-height: 3.7rem;
  }
  main section#home p {
    margin-top: 1rem;
    font-size: 1.28rem;
    max-width: 600px;
    line-height: 1.9rem;
  }
  main section#home button {
    margin-top: 0.8rem;
    padding: 1rem 5.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
  }
  main section#features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
    padding-top: 3.8rem;
    gap: 5rem;
    row-gap: 4rem;
  }
  main section#features div {
    max-width: 440px;
    padding: 2rem;
    padding-top: 0;
  }
  main section#features div h2 {
    margin-top: 1rem;
    font-size: 1.3rem;
  }
  main section#features div p {
    font-size: 0.9rem;
    max-width: 350px;
  }
  main section#features div:nth-child(1) img {
    height: 80px;
  }
  main section#features div:nth-child(2) {
    position: relative;
    transform: translateX(-10px);
  }
  main section#features div:nth-child(2) img {
    height: 80px;
  }
  main section#features div:nth-child(2) p {
    max-width: 450px;
  }
  main section#features div:nth-child(3) img {
    height: 68px;
    margin-bottom: 2px;
  }
  main section#features div:nth-child(4) img {
    height: 65px;
    margin-bottom: 5px;
  }
  main section#about {
    padding: 1rem;
    padding-top: 5rem;
    gap: 2.8rem;
    max-width: 88%;
    justify-content: center;
  }
  main section#about .hero-img {
    width: 53% !important;
  }
  main section#about .hero-img img {
    position: relative;
    transform: translateY(-10px);
  }
  main section#about .content {
    width: 47% !important;
  }
  main section#about .content h2 {
    font-size: 2.53rem;
    margin-bottom: 0.5rem;
  }
  main section#about .content p {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  main section#about .content a {
    position: relative;
    transform: translateY(10px);
  }
  main section#reviews {
    padding: 1rem;
    padding-top: 8.5rem;
    gap: 2.5rem;
  }
  main section#reviews .review {
    max-width: 360px;
    padding-inline: 1.6rem;
    padding-top: 2.7rem;
  }
  main section#reviews .review p {
    font-size: 0.96rem;
    line-height: 1.35rem;
  }
  main section#reviews .review div {
    margin-top: 0.3rem;
  }
  main section#reviews .review div img {
    width: 24px;
    position: relative;
    transform: translateY(-5px);
  }
  main section#reviews .review div span p {
    font-size: 0.55rem;
  }
  main section#reviews .review:nth-child(1):after {
    width: 3.5rem;
    height: 3.5rem;
    top: -2rem;
  }
  div#email {
    max-width: 860px;
    margin-top: 3rem;
    padding-top: 2.5rem;
    gap: 1.2rem;
  }
  div#email h2 {
    font-size: 2.03rem;
    margin-bottom: 0.2rem;
  }
  div#email p {
    max-width: 80%;
    font-size: 0.9rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  div#email form {
    margin-top: 1.2rem;
    max-width: 89%;
    gap: 1.6rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  div#email form div {
    width: 70.5%;
  }
  div#email form input {
    width: 100%;
    border-radius: 50px;
    padding: 1rem;
    padding-inline: 2rem;
    font-size: 0.9rem;
  }
  div#email form button {
    width: 29.5%;
    padding: 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  footer {
    margin-top: 1rem;
    padding-top: 13rem;
    padding-left: 7.5rem;
  }
  footer img.logo {
    width: 180px;
  }
  footer .wrapper {
    margin-top: -0.1rem;
  }
  footer .wrapper div p {
    gap: 1.8rem;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.5rem;
  }
  footer .wrapper ul {
    gap: 1.1rem;
  }
  footer .wrapper ul li {
    font-size: 1rem;
    white-space: nowrap;
  }
  footer .wrapper ul.social li {
    width: 1.8rem;
    height: 1.8rem;
  }
  footer .attribution {
    font-size: 1rem;
    white-space: nowrap;
  }
}/*# sourceMappingURL=style.css.map */