/*general config*/
h1,
h2,
h3,
a,
p,
body,
div,
section,
footer,
main,
header {
  transition: 1s;
}

body {
  display: flex;
  flex-direction: column;

  font-family: "DM Mono", "Segoe UI", Tahoma, Verdana, sans-serif;
  gap: 20px;
}

a {
  text-decoration: none;
  text-align: center;
}

/*mobile First 320px*/

header {
  background-color: #6792ff;
  min-height: 280px;
  max-height: 380px;

  border-radius: 0px 0px 40px 40px;
}

#containerHeader {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  gap: 24px;
  padding: 30px;

  color: #fff;
}

h1 {
  font-size: 22px;
  width: auto;
  & span {
    color: #fbc808;
  }
}

#subtitleHeader {
  font-size: 14px;
  text-align: justify;

  max-width: 900px;
}

.LinksCTA {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  background-color: #fbc808;
  color: #000000;
  font-weight: 500;

  width: 180px;
  height: 42px;

  border-radius: 7px;

  box-shadow: 0 3px 3px #000000be;
  transition: 1s;

  &:hover {
    transform: scale(1.1);
  }
}
h2 {
  font-size: 20px;
  text-align: center;
  font-weight: 500;
}

main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#catalog {
  display: flex;
  flex-direction: column;

  align-items: center;
  gap: 10px;
}

.service {
  background-color: #f4efef;
  width: 260px;
  height: 295px;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
}

.iconService {
  font-size: 48px;
}

.textServices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: justify;
  align-items: center;
  justify-content: center;

  & h3 {
    font-size: 18px;
    text-align: center;
    font-weight: 500;
  }
}

.textServices p {
  width: 240px;
}

#subFooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

#subSubFooter {
  background-color: #f4efef;
  border-radius: 10px;
  width: 280px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

#ctaProof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px;
  text-align: justify;
}

#pSubFooter {
  width: 250px;
}
#iconsAffimartive {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;
  align-items: start;
  gap: 10px;
}

.iconContainerAffirmative {
  font-size: 48px;
}

.iconsContainer {
  width: 120px;
  height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 500;
  gap: 10px;
}

footer {
  background-color: #f4efef;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 12px;
  border-radius: 20px 20px 0px 0px;
}

#finalCTA {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin-top: 12px;
}

#pCTAFooter {
  text-align: center;
  font-size: 13px;
  width: 280px;
}

#footerFot {
  display: flex;
  flex-direction: column;
  gap: 10px;

  font-size: 12px;
  margin-bottom: 20px;

  & h2 {
    font-size: 12px;
  }
}

#instagram,
#linkedin,
#email {
  display: inline-block;
  font-weight: 500;
  transition: 1s;
  &:hover {
    transform: scale(1.1);
  }
}

#instagram {
  color: rgb(255, 0, 43);
}
#linkedin {
  color: blue;
}
#email {
  color: green;
}

@media (min-width: 420px) {
  h1 {
    font-size: calc(19px + 1vh);
  }
  #subtitleHeader {
    font-size: calc(8px + 1vh);
  }

  .LinksCTA {
    width: 220px;
    height: 52px;
  }

  #subSubFooter {
    width: calc(370px);
  }

  #footerFot {
    font-size: 13px;

    & h2 {
      font-size: 14px;
    }
  }
}

@media (min-width: 700px) {
  h1 {
    max-width: 800px;
    font-size: calc(22px + 1vh);
  }
  #subtitleHeader {
    max-width: 600px;
    font-size: calc(10px + 1vh);
  }

  .LinksCTA {
    width: 223px;
    height: 53px;
  }

  #catalog {
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    gap: 12px;
  }
  footer {
    gap: 40px;
  }
  .LinksService {
    width: 210px;
    height: 45px;
  }
  #subSubFooter {
    width: 660px;
    flex-direction: row;
    align-items: center;
  }
  #pCTAFooter {
    font-size: 15px;
  }

  #footerFot {
    width: 90%;
    font-size: 14px;
    flex-direction: row;
    justify-content: space-between;

    & h2 {
      font-size: 15px;
    }
  }
}

@media (min-width: 1280px) {
  h1 {
    max-width: 1000px;
    font-size: calc(28px + 1vh);
  }
  #subtitleHeader {
    max-width: 700px;
    font-size: calc(13px + 1vh);
  }

  .service {
    width: 290px;
  }

  #subSubFooter {
    width: 890px;
  }

  #ctaProof {
    width: 518px;
  }

  #pSubFooter {
    width: auto;
  }

  #iconsAffimartive {
    width: 320px;
  }
}
