@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,600;0,700;1,400&display=swap");

:root {
  --main-color: hsl(322, 100%, 66%);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}
.btn {
  border-radius: 20px;
}
.btn:focus,
input:focus {
  outline: 0;
}
/* navigation */
nav {
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-btn {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  background-color: #fff;
  font-size: 16px;
  padding: 12px 30px;
}
/* hero */
.introduction {
  padding: 50px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.intro-header {
  font-size: 2.4em;
  font-family: "Poppins", sans-serif;
  margin: 10px;
}
.intro-text {
  max-width: 500px;
  font-weight: 400;
  color: #444444;
}
.btn-start {
  background-color: var(--main-color);
  padding: 15px 50px;
  border: 0;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  margin: 20px 0 80px;
}
.intro-img {
  width: 75vw;
}

/* data */
.achievements {
  display: flex;
  padding: 0 100px;
  align-items: center;
  justify-content: space-around;
}
.achievement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 50px;
}
.achieve-amount {
  font-size: 4em;
  font-weight: 700;
}
.achieve-content {
  color: #888888;
  font-weight: 400;
}
.upper-wave {
  background: url("img/bg-section-top-desktop-1.svg");
  background-size: 100% 100%;
  background-position: center;
  height: 100px;
  width: 100vw;
}
.bottom-wave {
  background: url("img/bg-section-bottom-desktop-1.svg");
  background-size: 100% 100%;
  background-position: center;
  height: 100px;
  width: 100vw;
}
.ads:nth-child(2n) .upper-wave {
  background: #fff;
}
.ads:nth-child(2n) .bottom-wave {
  background: #fff;
}
.advertise {
  display: flex;
  background-color: hsl(207, 100%, 98%);
  padding: 30px 60px 0;
}
.ads:nth-child(2n) .advertise {
  background-color: #fff;
  flex-direction: row-reverse;
}
.ad-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 50px;
}
.ad-header {
  margin: 0;
  font-size: 30px;
  font-family: "Poppins", sans-serif;
}
.ad-text {
  max-width: 550px;
  line-height: 1.5;
  color: #444;
  font-size: 1.1em;
  font-weight: 400;
}
.ad-img {
  width: 50%;
  height: auto;
}

/* readyToBuild */
.readyToBuild {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  margin: 80px auto;
}
/* footer */
.footer-upper-wave {
  background: url("img/bg-footer-top-desktop.svg") no-repeat;
  background-position: center;
  background-size: 100% 100%;
  height: 100px;
  width: 100vw;
}
.footer-content {
  background-color: hsl(192, 100%, 9%);
  display: flex;
  justify-content: space-between;
  padding: 100px 80px;
  color: #fff;
  color: #dedede;
  line-height: 1.5;
  font-size: 0.9em;
}
.contact-info-container {
  max-width: 350px;
}

.footer-logo path {
  fill: #fff;
}
.company-intro {
  margin: 20px 0;
}
.contact-info {
  margin: 20px 0;
}
.social-media-icons {
  display: flex;
}
.social-media-img {
  width: 50px;
  height: 50px;
}

/* subscribe */
.subscribe-container {
  max-width: 400px;
}
.subsribe-header {
  font-size: 1.5em;
  text-transform: uppercase;
}
.subscribe-container input {
  border-radius: 5px;
  border: 0;
  height: 30px;
  width: 250px;
  margin: 20px 0;
  margin-right: 20px;
}
.btn-subscribe {
  background-color: var(--main-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
}

@media screen and (max-width: 800px) {
  nav {
    padding: 30px;
  }
  .logo {
    width: 150px;
  }
  .nav-btn {
    font-size: 0.9em;
  }
  .introduction {
    padding: 30px;
  }
  .intro-header {
    font-size: 1.8em;
    width: 350px;
  }
  .intro-text {
    max-width: 400px;
    text-align: center;
  }
  .achievements {
    flex-direction: column;
  }
  .achievement {
    margin: 30px;
    align-items: center;
  }
  .advertise {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0;
  }
  .ad-content {
    width: 70%;
    text-align: center;
    align-items: center;
    margin: 50x 0 0;
  }
  .ad-header {
    font-size: 1.4em;
  }
  .ad-text {
    font-size: 1em;
  }
  .bottom-wave {
    height: 50px;
  }
  .ads:nth-child(2n) .advertise {
    flex-direction: column-reverse;
  }
  .readyToBuild {
    margin: 60px;
    text-align: center;
  }
  .footer-upper-wave {
    height: 80px;
    display: block;
  }
  .footer-content {
    flex-direction: column-reverse;
    padding: auto;
  }
  .contact-info-container {
    margin: 30px 0;
  }
  .footer-logo-container {
    width: 200px;
  }
}
