:root {
  --color_green: #04d361;
  --color_red: #e83f5b;
  --color_blue: #899bff;
  --color_dark: #0c0c0c;
  --color_dark_2: #212529;
  --color_gray: #aeaeae;
  --color_light: #f9f9f9;
  --color_bg: #1a1a1a;
}

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

body {
  background-color: var(--color_bg);
  color: var(--color_light);
  font-family: Inter, sans-serif;
}

header {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header__logo,
a {
  text-decoration: none;
  font-size: 36px;
  color: var(--color_light);
}

.btn {
  width: 190px;
  height: 60px;
  border: 0;
  cursor: pointer;
}

.btn__comprar {
  background-color: var(--color_blue);
  border: 2px solid var(--color_dark);
  border-radius: 8px;
  color: var(--color_light);
}

main {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section__content {
  width: 600px;
  height: auto;
}

.section__content h2 {
  font-family: Sora, sans-serif;
  font-size: 48px;
  text-align: center;
  margin-top: 50px;
}

.section__content h3 {
  font-family: Inter, sans-serif;
  font-size: 32px;
  text-align: center;
  color: var(--color_blue);
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
}

.section__content p {
  font-size: 24px;
  line-height: 36px;
  color: var(--color_gray);
  margin-bottom: 20px;
}

form {
  width: 600px;
  height: auto;
  margin-bottom: 40px;
}

.inputs {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

input {
  height: 60px;
  border-radius: 4px;
  background-color: var(--color_dark);
  border: 1px solid var(--color_dark_2);
  color: var(--color_light);
  font-size: 25px;
  padding-left: 10px;
}

label {
  font-size: 18px;
  line-height: 28px;
  color: var(--color_gray);
  padding-left: 10px;
}

.btn__cadastrar {
  background-color: var(--color_blue);
  color: var(--color_dark);
  font-weight: bold;
  border-radius: 4px;
  font-size: 24px;
  width: 100%;
}
.btn__cadastrar:hover {
  transition: 0.3s ease;
  background-color: var(--color_green);
}

footer {
  width: 100%;
  height: 60px;
  text-align: center;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.linkedinFooter {
  font-size: 18px;
  text-decoration: none;
  color: var(--color_blue);
  margin-left: 5px;
  margin-right: 5px;
}

.btn:hover {
  opacity: 0.8;
  transition: 0.2s ease;
}

/* modal */

.modal__enviar {
  min-width: 100vw;
  height: 100vh;
  background-color: #0c0c0c80;
}

.modal__content {
  width: 800px;
  height: 400px;
  background-color: var(--color_dark);
  border: 1px solid var(--color_dark_2);
  border-radius: 4px;
  color: var(--color_light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal__content p {
  font-size: 32px;
  line-height: 42px;
}

.btn__fechar {
  width: 600px;
  font-size: 24px;
  font-weight: bold;
}

/* erro ou sucesso */
.sucesso {
  color: var(--color_green);
}
.bg__sucesso {
  background-color: var(--color_green);
}

.erro {
  color: var(--color_red);
}
.bg__erro {
  background-color: var(--color_red);
}

.erro__nome,
.erro__email {
  line-height: 30px;
}

@media (max-width: 768px) {
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .header {
    width: 100%;
  }

  .section__content {
    width: 100vw;
    padding-inline: 20px;
  }

  form {
    width: 100%;
  }

  footer {
    width: 100%;
    font-size: 16px;
    padding-inline: 20px;
    text-align: center;
  }

  .modal__content {
    width: 85%;
  }

  .btn__fechar {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .header__logo a {
    font-size: 28px;
  }

  .section__content h2 {
    font-size: 32px;
  }

  .section__content h3 {
    font-size: 22px;
  }

  .section__content p {
    font-size: 20px;
    line-height: 28px;
  }

  footer {
    font-size: 12px;
    text-align: center;
  }

  .modal__content {
    width: 100%;
    height: 100%;
  }

  .modal__content p {
    font-size: 24px;
  }
}

@media (max-width: 320px) {
  .btn__comprar{
    width: 150px;
  }
  .header__logo a {
    font-size: 18px;
    align-items: center;
    justify-content: center;
  }
  .section__content h2 {
    font-size: 20px;
  }
  .section__content h3 {
    font-size: 18px;
  }
  .section__content p {
    font-size: 16px;
    line-height: 24px;
  }
  .modal__content p {
    font-size: 18px;
  }
}
