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

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  color: hsl(192, 100%, 9%);
  font-weight: 400;
}
.container--small {
  max-width: 120rem;
}
.container--large {
  max-width: 130rem;
}
.container--small,
.container--large {
  margin: 0 auto;
  padding: 0 12.8rem;
}
.grid {
  display: grid;
}
.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}
.heading--tertiary,
.heading--primary,
.heading--secondary {
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}
.heading--primary {
  font-size: 3.2rem;
}
.heading--secondary {
  font-size: 3rem;
  margin-bottom: 1.6rem;
}
.heading--tertiary {
  font-size: 2.4rem;
}
.btn--link:link,
.btn--link:visited {
  text-decoration: none;
  color: hsl(322, 100%, 66%);
  border: 1px solid hsl(322, 100%, 66%);
  border-radius: 999px;
  padding: 0.8rem 2.4rem;
  display: inline-block;
  margin-left: auto;
}
.btn--link:hover,
.btn--link:active {
  box-shadow: 0 2px 8px hsla(321, 100%, 78%, 0.5);
}
.btn--link--cta:link,
.btn--link--cta:visited {
  text-decoration: none;
  background-color: hsl(322, 100%, 66%);
  border-radius: 9999px;
  padding: 1.6rem 6.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(207, 100%, 98%);
  box-shadow: 1px 5px 0 hsl(207, 100%, 98%);
  font-size: 1.4rem;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.4s;
}
.btn--link--cta:hover,
.btn--link--cta:active {
  background-color: hsl(321, 100%, 78%);
}
.nav--logo--icon {
  display: block;
  max-width: 20rem;
  height: auto;
}
.h-bottom {
  margin-bottom: 2rem;
}
/*******************/
/******HEADER*******/
/******************/
.header {
  padding: 0 0 6.4rem 0;
}
.nav--header {
  padding: 3.2rem 6.4rem;
  max-width: 130rem;
  margin: 0 auto;
}
.nav--links {
  width: 100%;
  display: flex;
  /* justify-content: space-between; */
  list-style: none;
  align-content: center;
  justify-content: space-between;
}

/**************************/
/******HERO SECTION*******/
/************************/

.section--hero {
  text-align: center;
  padding: 6.4rem 0;
}
.section--hero--wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section--hero img {
  width: 100%;
}
.section--hero--content {
  width: 38rem;

  font-weight: 600;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6.4rem;
}
.section--hero--paragraph {
  margin-bottom: 2.4rem;
  font-size: 1.3rem;
}
.section--hero--stats {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin-top: 4.8rem;
}
.section--hero--stat {
  display: flex;
  flex-direction: column;
}
.section--hero--stat img {
  width: 2.4rem;
  height: 2.4rem;
}
.section--hero--stats--num {
  font-size: 5.2rem;
  font-weight: 700;
}
.section--hero--stats--txt {
  font-size: 1.4rem;
  color: hsla(192, 100%, 9%, 0.67);
}

/**************************/
/******SECTION HOW*******/
/************************/
.section--how {
  padding: 8rem 0 0 0;
}
.section--how--wrapper {
  display: flex;
  flex-direction: column;
}
.grid--how {
  align-items: center;
  column-gap: 8rem;
}
.section--how--content {
  padding: 4.8rem 12.8rem;
  position: relative;
}

.section--how--content--1,
.section--how--content--3 {
  background-color: hsl(207, 100%, 98%);
}
.section--how--content img {
  width: 100%;
  display: block;
}
.section--how--paragraph {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: -0.1px;
}
.section--hero--stats--txt {
  font-weight: 600;
  color: #777;
}

.bg-icon {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  aspect-ratio: 1440/165;
  width: 100%;
}
.bg-icon-top1 {
  background-image: url(../images/bg-section-top-desktop-1.svg);
}
.bg-icon-bottom1 {
  background-image: url(../images/bg-section-bottom-desktop-1.svg);
}
.bg-icon-top2 {
  background-image: url(../images/bg-section-top-desktop-2.svg);
}
.bg-icon-bottom2 {
  background-image: url(../images/bg-section-bottom-desktop-2.svg);
}
.bg-icon-footer {
  background-image: url(../images/bg-footer-top-desktop.svg);
  translate: 0 2%;
}

/**************************/
/******SECTION CTA*******/
/************************/
.section--cta {
  padding: 12.8rem 0 15rem 0;
}
.section--cta--wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  text-align: center;
}

/********************/
/******FOOTER*******/

/******************/

.footer {
  padding: 8rem 0;
  background: hsl(192, 100%, 9%);
  color: hsl(207, 100%, 98%);
}
.heading--contact {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 600;
}
.grid--footer {
  column-gap: 2.4rem;
  row-gap: 4.8rem;
}
.adress {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.grid--contact {
  grid-template-rows: repeat(2);
  grid-template-columns: 70fr 30fr;
  row-gap: 1.6rem;
}

.footer--link:link,
.footer--link:visited {
  text-decoration: none;
  color: hsl(207, 100%, 98%);
}
.social--links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}
.social--links .footer--link ion-icon {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
}
.social--links ion-icon[name="logo-twitter"]:hover {
  fill: #00acee;
}
.social--links ion-icon[name="logo-facebook"]:hover {
  fill: #0165e1;
}
.social--links ion-icon[name="logo-instagram"]:hover {
  fill: #fbad50;
}

.footer--paragraph {
  font-size: 1.4rem;
  padding-top: 1.6rem;
  line-height: 1.5;
}
.adress--personal {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.adress--personal * {
  display: block;
}
.adress--personal--content img {
  width: 2.4rem;
  height: 2.4rem;
}

form {
  grid-column: 1/-1;
  align-self: end;
  width: 100%;
  display: flex;
  /* justify-content: space-between; */
}
form input,
form button {
  display: inline-block;
  border-radius: 0.5rem;
  outline: none;
  border: none;
  font-family: inherit;
}
.btn--link--contact {
  margin-left: 2.4rem;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  font-weight: 600;

  color: hsl(207, 100%, 98%);
  background: hsla(322, 100%, 66%, 0.89);
  cursor: pointer;
  transition: all 0.4s;
  /* display: inline-block; */
}
.btn--link--contact:hover,
.btn--link--contact:active {
  background-color: hsl(321, 100%, 78%);
}
#email {
  width: 22rem;
  padding: 0.8rem 0.8rem;
}
.adress--personal--content {
  display: flex;
  gap: 1.6rem;
}
