/* ===================================
   DEFINIÇÃO DE FONTES
=================================== */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/Unbounded-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===================================
   RESET
=================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================================
   ESTILO DESKTOP - PADRÃO
=================================== */

body {
  background-color: #0e1014;
  color: #fff;
}

header img {
  display: block;
  margin: 75px 0 0 360px;
  max-width: 100%;
  height: auto;
}

h1 {
  font-family: "Unbounded", sans-serif;
  font-size: 64px;
  text-align: center;
  margin-top: 60px;
}

h1 span {
  color: #9747ff;
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  text-align: center;
  margin: 24px auto 0;
  width: 90%;
  max-width: 792px;
}

a {
  display: block;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  text-decoration: none;
  text-align: center;

  background-color: #9747ff;
  border-radius: 36px;

  width: 340px;
  max-width: 90%;
  height: 66px;
  line-height: 66px;

  margin: 40px auto;
}

a:hover {
  background-color: #8233e8;
}

section img {
  display: block;
  margin: 0 auto;
  width: 90%;
  max-width: 792px;
  height: auto;
}

/* ===================================
   TABLET - ATÉ 1024px
=================================== */

@media (max-width: 1024px) {
  header img {
    margin: 65px 0 0 60px;
  }

  h1 {
    font-size: 48px;
  }

  p {
    max-width: 648px;
  }
}

/* ===================================
   MOBILE - ATÉ 440px
=================================== */

@media (max-width: 440px) {
  header img {
    margin: 32px 0 0 16px;
    max-width: calc(100% - 32px);
    height: auto;
  }

  h1 {
    font-size: 32px;
    margin-top: 40px;
    padding: 0 16px;
    overflow-wrap: break-word;
  }

  p {
    font-size: 16px;
    line-height: 1.5;
    width: 90%;
    max-width: 350px;
  }

  a {
    font-size: 16px;
    width: 251px;
    max-width: 90%;
    height: auto;
    line-height: normal;
    padding: 16px 12px;
  }

  section img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
}

/* ===================================
   MOBILE PEQUENO - ATÉ 375px
=================================== */

@media (max-width: 375px) {
  h1 {
    font-size: 28px;
  }

  p {
    font-size: 15px;
  }

  section img {
    max-width: 320px;
  }
}
