@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@400;600&family=Ubuntu:wght@400;500;700&display=swap");
*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-size: 1rem;
  font-family: "Overpass", sans-serif;
  font-weight: 500;
  max-width: 90em;
  margin: 0 auto;
}

.continer {
  max-width: 69.375rem;
  margin-left: auto;
  margin-right: auto;
}
.continer--py {
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}
.continer--px {
  padding-left: 1.4375rem;
  padding-right: 1.4375rem;
}

section {
  margin-bottom: 12.75rem;
}
@media (min-width: 52.5em) {
  section {
    margin-bottom: 20rem;
  }
}

img {
  width: 100%;
}

a, a:visited {
  display: block;
  text-decoration: none;
}

h1 {
  font-size: 2.25rem;
  color: hsl(0deg, 0%, 100%);
}

h2 {
  font-size: 1.875rem;
}
@media (min-width: 64em) {
  h2 {
    font-size: 2.5rem;
  }
}

h2, h3 {
  color: hsl(240deg, 10%, 16%);
}

p {
  font-family: "Overpass", sans-serif;
  font-size: 1.25rem;
}

.flex {
  display: flex;
}
.flex--dir-c {
  flex-direction: column;
}
.flex--jc-c {
  justify-content: center;
}
.flex--jc-fs {
  justify-content: flex-start;
}
.flex--jc-sb {
  justify-content: space-between;
}
.flex--ai-c {
  align-items: center;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.btn {
  padding: 1rem 0;
  width: 8.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(0deg, 0%, 100%);
  border-radius: 25px;
  text-align: center;
}
.btn.white-btn {
  background-color: hsl(0deg, 0%, 100%);
  color: hsl(356deg, 100%, 66%);
}
.btn.primary-btn {
  background: linear-gradient(to right, hsl(13deg, 100%, 72%), hsl(353deg, 100%, 62%));
  color: hsl(0deg, 0%, 100%);
}
.btn:hover {
  background: #ffb8bc;
  color: hsl(0deg, 0%, 100%);
}

@media (min-width: 40em) {
  .hide-for-desktop {
    display: none;
  }
}

@media (max-width: 52.4375em) {
  .hide-for-small-desktop {
    display: none;
  }
}

@media (min-width: 52.5em) {
  .show-for-small-desktop {
    display: none;
  }
}

@media (max-width: 39.9375em) {
  .hide-for-mobile {
    display: none;
  }
}

.disable-scroll {
  overflow-y: hidden;
}

header {
  background: transparent;
}
header nav {
  z-index: 3;
  width: 100%;
}
header nav .logo {
  width: 5.3125rem;
  height: 2.1875rem;
}
header nav .links {
  flex: 1;
}
header nav .links .link {
  margin-left: 4.0625rem;
}
header nav .links .link div {
  width: 10.625rem;
  top: 200%;
  left: -20%;
  max-height: 0;
  overflow: hidden;
  background-color: hsl(0deg, 0%, 100%);
  border-radius: 5px;
  transition: 0.3s;
}
header nav .links .link div p {
  margin: 1.5625rem;
  cursor: pointer;
  color: hsl(207deg, 13%, 34%);
}
header nav .links .link div p:hover {
  color: hsl(240deg, 10%, 16%);
}
header nav .links .link.active div {
  max-height: 100vh;
}
header nav .links .link.active img {
  transform: rotate(180deg);
}
header nav .links .link a {
  font-size: 1rem;
  color: hsl(0deg, 0%, 100%);
}
header nav .links .link a:hover {
  text-decoration: underline;
}
header nav .links .link a img {
  margin-left: 0.5rem;
  width: 0.6875rem;
  height: 0.625rem;
  transition: 0.3s;
}
header nav .btn:not(:last-child) {
  margin-right: 0.5rem;
}
header nav .wrap {
  right: 0;
}
header nav .toggle-menu {
  cursor: pointer;
  width: 2.3125rem;
  height: calc(2.3125rem * 0.8);
}
header nav .toggle-menu span {
  position: absolute;
  width: 2.3125rem;
  height: calc(2.3125rem * 0.1);
  background-color: hsl(0deg, 0%, 100%);
  border-radius: calc(2.3125rem * 0.04);
  transition: 0.5s;
}
header nav .toggle-menu span:not(:nth-child(2)) {
  width: calc(2.3125rem / 2);
}
header nav .toggle-menu span:first-child {
  top: 0;
  left: 0;
  transform-origin: top left;
}
header nav .toggle-menu span:nth-child(2) {
  top: 50%;
  left: 0;
  width: 2.3125rem;
  transform: translateY(-50%);
}
header nav .toggle-menu span:last-child {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
}
header nav .toggle-menu.opened span:first-child {
  transform: translateX(calc(2.3125rem * 0.17)) rotate(45deg);
}
header nav .toggle-menu.opened span:nth-child(2) {
  transform: translateY(-50%) rotate(-45deg);
}
header nav .toggle-menu.opened span:last-child {
  transform: translateX(calc(-1 * calc(2.3125rem * 0.17))) rotate(45deg);
}
header nav .mobile-menu {
  opacity: 0;
  top: -1500%;
  width: 100%;
  padding-top: 2.1875rem;
  padding-bottom: 2.1875rem;
  background-color: hsl(0deg, 0%, 100%);
  border-radius: 5px;
  text-align: center;
  transition: 0.5s;
  box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.3);
}
header nav .mobile-menu.active {
  opacity: 1;
  top: 200%;
}
header nav .mobile-menu .line {
  width: 100%;
  height: 1px;
  background-color: hsl(240deg, 2%, 79%);
}
header nav .mobile-menu .link {
  margin-bottom: 2.25rem;
}
header nav .mobile-menu .link a {
  margin-bottom: 1.625rem;
  font-size: 1rem;
  color: hsl(240deg, 10%, 16%);
}
header nav .mobile-menu .link img {
  margin-left: 0.5rem;
  width: 0.6875rem;
  height: 0.625rem;
  transition: 0.5s;
}
header nav .mobile-menu .link div {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: hsl(240deg, 7%, 94%);
  transition: 0.5s;
}
header nav .mobile-menu .link div p {
  color: hsl(207deg, 13%, 34%);
  margin: 1.75rem;
}
header nav .mobile-menu .link.active img {
  transform: rotate(180deg);
}
header nav .mobile-menu .link.active div {
  max-height: 100vh;
}
header nav .mobile-menu .btn {
  width: 8.8125rem;
}
header nav .mobile-menu .menu-btn {
  color: hsl(240deg, 10%, 16%);
  margin: 0.5rem 0;
}

.hero {
  text-align: center;
  padding-top: 3.4375rem;
  padding-bottom: 9.4rem;
}
.hero h1 {
  font-family: "Overpass", sans-serif;
  margin-bottom: 1.375rem;
  line-height: 1.3;
}
@media (min-width: 52.5em) {
  .hero h1 {
    font-size: 3.9375rem;
  }
}
@media (max-width: 39.9375em) {
  .hero h1 span {
    display: block;
  }
}
.hero p {
  color: hsl(240deg, 7%, 94%);
  margin-bottom: 3.125rem;
}
.hero .btn:first-child {
  margin-right: 1.0625rem;
}
.hero .special {
  background: transparent;
  border: 1px solid hsl(0deg, 0%, 100%);
}
.hero .special:hover {
  background: hsl(0deg, 0%, 100%);
  color: hsl(356deg, 100%, 66%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  border-radius: 0 0 0 130px;
  width: 100vw;
  height: 40rem;
  background: url(../../assests/images/bg-pattern-intro-mobile.svg), linear-gradient(to bottom, hsl(355deg, 100%, 74%), hsl(356deg, 100%, 66%));
  background-repeat: no-repeat;
  background-position: 40% 47%;
}
@media (min-width: 40em) {
  .hero::after {
    background: url(../../assests/images/bg-pattern-intro-desktop.svg), linear-gradient(to bottom, hsl(355deg, 100%, 74%), hsl(356deg, 100%, 66%));
    background-position: 20% center;
  }
}

.section1 {
  padding-top: 6.25rem;
}
.section1 img.mobile-img {
  min-width: 15rem;
  max-width: 25rem;
  margin-bottom: 3.5rem;
  margin-left: auto;
  margin-right: auto;
}
.section1 h3 {
  font-size: 1.75rem;
}
.section1 p {
  text-align: center;
}
.section1 .text-group {
  margin-bottom: 3.5rem;
}
@media (min-width: 52.5em) {
  .section1 {
    padding-top: 10rem;
  }
  .section1 h2 {
    font-size: 2.5rem;
  }
  .section1 h3 {
    text-align: start;
  }
  .section1 p {
    text-align: start;
  }
}
@media (min-width: 52.5em) {
  .section1 .continer {
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 8.125rem;
    align-items: center;
  }
  .section1 .continer .desktop-img {
    position: absolute;
    right: 0%;
    transform: translateX(40%);
  }
  .section1 .continer .desktop-img img {
    width: 100%;
  }
  .section1 .continer .text {
    grid-column: 1;
  }
}

.section2 {
  height: 50rem;
}
.section2 img {
  min-width: 15rem;
  max-width: 23.5rem;
  margin: 0 auto;
}
.section2 h2 {
  color: hsl(0deg, 0%, 100%);
}
.section2 p {
  color: hsl(0deg, 0%, 100%);
}
.section2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 39.1875rem;
  border-radius: 0 120px 0 120px;
  z-index: -1;
  background: url(../../assests/images/bg-pattern-circles.svg), hsl(237deg, 17%, 22%);
  background-repeat: no-repeat;
  background-position: 50% 140%;
}
@media (min-width: 52.5em) {
  .section2 {
    height: 31.25rem;
  }
  .section2::before {
    top: 50%;
    transform: translateY(-70%);
    height: 18.75rem;
    background-position: -39% 92%;
    background-size: 70%;
  }
  .section2 h2 {
    text-align: start;
    font-size: 1.875rem;
    margin-bottom: 2.1875rem;
  }
  .section2 img {
    min-width: 25rem;
    margin: 0;
  }
  .section2 .continer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .section2 .text-group {
    max-width: 32.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.section3 {
  padding-top: 6.25rem;
}
.section3 img.mobile-img {
  min-width: 15rem;
  max-width: 25rem;
  margin-bottom: 3.5rem;
  margin-left: auto;
  margin-right: auto;
}
.section3 h3 {
  font-size: 1.75rem;
}
.section3 p {
  text-align: center;
}
.section3 .text-group {
  margin-bottom: 3.5rem;
}
@media (min-width: 52.5em) {
  .section3 {
    padding-top: 10rem;
  }
  .section3 h2 {
    font-size: 2.5rem;
  }
  .section3 h3 {
    text-align: start;
    font-size: 1.75rem;
  }
  .section3 p {
    text-align: start;
  }
  .section3 .continer {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 8.125rem;
    align-items: center;
  }
  .section3 .continer .desktop-img {
    grid-column: 1;
    position: absolute;
    left: -35%;
    transform: scale(0.7);
  }
  .section3 .continer .text {
    grid-column: 2;
  }
}

section h2 {
  text-align: center;
  margin-bottom: 3.625rem;
}
section h3 {
  text-align: center;
  margin-bottom: 1.75rem;
}
section p {
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(207deg, 13%, 34%);
}

footer {
  padding: 4.375rem 0;
  background: hsl(240deg, 10%, 16%);
  border-top-right-radius: 120px;
}
footer img {
  width: 6.625rem;
  height: 2.8125rem;
  margin: 0 auto;
}
footer .continer {
  display: grid;
  align-items: center;
  gap: 5rem;
}
footer .continer div {
  text-align: center;
}
footer .continer p {
  font-size: 1rem;
  color: hsl(240deg, 7%, 94%);
  margin-bottom: 1rem;
}
footer .continer p:not(.special) {
  cursor: pointer;
}
footer .continer p:not(.special):hover {
  color: hsl(0deg, 0%, 100%);
  text-decoration: underline;
}
footer .continer p.special {
  color: hsl(0deg, 0%, 100%);
  margin-bottom: 2.4375rem;
}
@media (min-width: 52.5em) {
  footer .continer {
    grid-template-columns: repeat(4, 1fr);
    align-items: flex-start;
  }
  footer .continer p {
    text-align: start;
  }
}
footer .attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(0deg, 0%, 100%);
  transform: translateY(300%);
}
footer .attribution a {
  color: hsl(356deg, 100%, 66%);
  margin-left: 0.4rem;
}