@import url(parabens.css);

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

body {
  background-color: black;
  color: white;
  font-family: "Sora", sans-serif;
}

header .background {
  background: url(../img/sessao-1-mobile.webp) no-repeat;
  background-size: cover;
  padding-top: 33vh;
}

header .texto {
  margin: 0 20px;
}

header .texto img {
  width: 100%;
  padding: 0 25%;
  /* margin: 350px auto 20px; */
}

header .texto h1 {
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  text-align: center;
  margin-bottom: 16px;
}

header .texto h1 span {
  font-weight: 600;
}

header .texto p {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 20px;
  line-height: 21px;
}

header .texto .datas {
  background-color: white;
  color: black;
  font-weight: 700;
  font-size: 18px;
  padding: 8px 0;
  line-height: 28px;
  border-radius: 8px;
}

header .texto .titulo-form {
  text-transform: uppercase;
  font-size: 14px;
}

header .texto input {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid gray;
  font-size: 16px;
}

header .texto input:invalid {
  border: 2px solid red;
}

header .texto input:valid {
  border-color: green;
}

header .texto button {
  background-color: #0062ff;
  border: none;
  width: 100%;
  padding: 24px 16px;
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  border-radius: 16px;
  cursor: pointer;
}

hr {
  margin: 32px 20px;
  border: 1px solid grey;
}

.cronograma {
  margin: 0 20px;
}

.cronograma h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}

.cronograma h2 span {
  font-weight: 700;
}

.aulas {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.aula {
  border: 2px solid #4b4b4b;
  border-radius: 30px;
  padding: 40px;
}

.aula img {
  width: 100%;
  border-radius: 16px;
}

.aula h3 {
  margin: 16px 0;
  font-size: 20px;
  font-weight: 500;
}

.aula p {
  font-size: 16px;
  color: #b9b9b9;
  font-weight: 400;
}

.aula ul {
  margin-top: 16px;
}

.aula li {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 8px 0;
}

.aula li span {
  width: 30px;
  font-size: 12px;
  color: white;
}

.aula li p {
  font-size: 14px;
  color: white;
}

.para-quem .background {
  margin: 30px 0;
  background: url(../img/sessao-4-desk.webp) no-repeat;
  background-size: 250%;
  background-position-y: -100px;
  padding-top: 350px;
  background-position-x: 65%;
}

.para-quem .texto h2 {
  margin: 0 20px;
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  line-height: 34px;
}

.para-quem .texto h2 span {
  font-weight: 600;
}

.para-quem .texto ul {
  margin: 32px 20px 0;
  text-align: left;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.para-quem .texto li {
  font-size: 16px;
  font-weight: 400;
  background-color: rgb(73, 71, 71);
  border-radius: 8px;
  padding: 10px 12px;
}

.claudia {
  margin: 50px 20px 0;
  text-align: center;
}

.claudia__imagem {
  padding: 130px 0;
  background: url(../img/sessao-5-mobile.webp) no-repeat;
  background-size: cover;
}

.claudia h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 32px 0;
}

.claudia p {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 16px;
}

.claudia p span {
  font-weight: 500;
}

.claudia a {
  background-color: white;
  color: black;
  padding: 16px;
  text-decoration: none;
  margin: 32px 0;
  font-weight: 600;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  header .background {
    padding-top: 50vh;
  }

  header .texto img {
    padding: 0 33%;
    margin: 2em 0;
  }

  header .texto h1 {
    font-size: 2em;
    line-height: 1.5em;
    margin-bottom: 1em;
  }

  header .texto p {
    font-size: 1em;
    line-height: 1.5em;
    margin-bottom: 2em;
  }

  .datas {
    font-size: 1.5em;
    line-height: 1.5em;
    border-radius: 16px;
    width: 60%;
    margin: 0 auto;
  }

  header .texto .titulo-form {
    margin-top: 2em;
    font-size: 1em;
    font-weight: 500;
  }

  header .texto form {
    text-align: center;
    width: 70%;
    margin: 0 auto;
  }

  header .texto input {
    font-size: 1.5em;
  }

  header .texto .titulo-profissao {
    font-size: 20px;
  }

  .aula p {
    font-size: 1em;
  }

  .aula li p {
    font-size: 1em;
  }

  .para-quem .background {
    margin: 30px 0;
    background-size: 150%;
    background-position-y: -120px;
    padding-top: 350px;
    background-position-x: 75%;
  }

  .claudia__imagem {
    padding: 230px 0;
  }
}

@media screen and (min-width: 1024px) {
  header {
    background: url(../img/sessao-1-desk.webp) no-repeat;
    background-size: auto;
    width: 100%;
    background-position: center;
  }

  header .background {
    display: none;
  }

  header .texto {
    width: 35%;
    margin: 0 50px;
  }

  header .texto img {
    margin: 3em 0 1em;
    width: 100%;
  }

  header .texto h1 {
    text-align: left;
  }

  header .texto p {
    text-align: left;
  }

  header .texto .datas {
    text-align: center;
    width: 80%;
  }

  header .texto form {
    width: 100%;
  }

  header .texto .titulo-form {
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 0.2em;
  }

  header .texto input {
    font-size: 1.2em;
  }

  .cronograma h2 {
    font-size: 2em;
  }

  .cronograma .aulas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .cronograma .aula {
    width: 45%;
  }

  .para-quem {
    background: url(../img/sessao-4-desk.webp) no-repeat;
    background-size: cover;
    min-height: 50vh;
    margin: 8em 0;
    background-position-x: 10em;
    background-position-y: center;
  }

  .para-quem .background {
    display: none;
  }

  .para-quem .texto {
    margin: 0 50px;
  }

  .para-quem .texto h2 {
    font-size: 2em;
    margin: 2em;
    text-align: left;
  }

  .para-quem .texto ul {
    width: 40%;
    margin: 0 2em;
  }

  .para-quem .texto li {
    font-size: 1.2em;
    text-align: center;
  }

  .claudia {
    display: flex;
    flex-direction: row-reverse;
    background: url(../img/sessao-5-desk.webp) no-repeat;
    background-size: 100%;
    background-position-x: left;
    gap: 2em;
  }

  .claudia__imagem {
    background: none;
  }

  .claudia .texto {
    max-width: 40%;
  }

  .claudia .texto h2 {
    font-size: 2em;
  }

  .claudia .texto p {
    font-size: 1em;
  }

  .claudia .texto a {
    font-size: 1.5em;
  }
}
