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

@keyframes piscar {
  0% {
    opacity: 1;
  }

  /* Visível no início */
  70% {
    opacity: 0;
  }

  /* Desaparece suavemente */
  100% {
    opacity: 1;
  }

  /* Aparece de uma vez no final */
}

@keyframes bgBotao {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

body {
  background-color: #000;
}

header {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 999999;
  top: 0;
  width: 100vw;
  background-color: #ff6300;

  #centraliza-timer {
    display: flex;
    padding: 15px;
    align-items: center;
    gap: 24px;

    p {
      color: #e9e9e9;
      font-size: 1.1em;
      font-weight: 600;
      line-height: 1.2em;
    }

    #relogio {
      display: flex;
      gap: 24px;

      .dias {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      span {
        font-size: 20px;
        font-weight: 500;
        color: #fff;
      }

      p {
        font-size: 12px;
        font-weight: 400;
      }
    }
  }
}

#first {
  background-image: url('./assets/bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  /* min-height: 100vh; */
  margin-top: 65px;
  padding: 72px 0 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  /* flex-direction: column; */
  /* align-items: flex-start; */
  /* justify-content: center; */

  #central {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin-left: 72px;

    #urgencia {
      padding: 10px;
      width: 100%;
      background-color: #e9e9e9;
      border-radius: 3px 3px 3px 3px;
      animation: piscar 1.6s infinite;

      h2 {
        color: #000;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 1.2em;
        letter-spacing: .5px;
        text-align: center;
      }
    }

    #logo {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;

      img {
        margin: 30px 0 30px -60px;
      }

      #data {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 5px 10px;
        background-color: #e1e1e136;
        border-radius: 5px 5px 5px 5px;

        span {
          fill: #e9e9e9;
          transition: fill .3s;
        }

        p {
          color: #e9e9e9;
          font-style: 16px;
        }
      }
    }

    h1 {
      font-size: 23px;
      font-weight: 600;
      line-height: 1.4em;
      color: #e9e9e9;

      span {
        color: #ff6300;
      }
    }

    .boxForm {
      h3 {
        margin: 26px 0 16px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2em;
        color: #e9e9e9;
      }

      .inputs {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .input-home-header {
        color: #747474 !important;
        font-size: 16px;
        font-weight: 500;
        transition: all ease 0.5s;
        display: block;
        background: #e9e9e9;
        width: 90%;
        border: 2px solid #000738;
        border-radius: 3px;
        padding: .5rem 1rem;
        box-shadow: 0 3px 8px -5px #24242400;
        outline: none;
      }

      .input-home-header:focus {
        color: #353535;
        border: 2px solid #c8a97e !important;
      }

      .input-home-header:hover {
        border: 2px solid #c8a97e !important;
      }

      .btn-home-header {
        margin-top: 10px;
        animation: bgBotao 10s linear infinite;
        padding: 14px 20px;
        border-radius: 3px;
        border: none;
        color: #e9e9e9;
        /* background: linear-gradient(-45deg, #977c56, #c8a97e, #977c56, #37230b); */
        background: linear-gradient(-45deg, #01D355, #11c358, #01D355, #01D355);
        background-size: 600%;
        width: 90%;
        min-height: 47px;
        cursor: pointer;

        b {
          font-size: 16px;
          font-weight: 800;
          text-transform: uppercase;
        }
      }

      .btn-home-header:hover {
        background-color: #190624;
        filter: brightness(1.15);
        /* box-shadow: 0px 10px 25px 5px rgba(96, 61, 20, 0.466); */
        box-shadow: 0px 10px 25px 5px #01d35547;
      }

      p {
        margin-top: 10px;
        color: rgba(142, 141, 141, 0.8);
        font: 400 13px/16px 'Golos Text';
        letter-spacing: -0.01em;
        width: 88%;
      }

      a {
        color: rgba(223, 223, 223, 0.8);
        text-decoration: underline;
        font-weight: 600;
        transition: all ease 0.5s;
      }
    }

    #imagem-celular {
      display: none;
    }
  }
  
  #imagem-fundo {
    display: flex;
    justify-content: end;
    align-items: start;
    margin-right: -50px;
    
    #imagem-desk {
      /* display: none; */
      width: 110%;
    }
  }
}

#second {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  min-height: 100vh;

  #prepare {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background-color: #202020;

    h2 {
      font-size: 50px;
      font-weight: 800;
      text-transform: uppercase;
      color: #ff6300;
    }

    h3,
    h4 {
      font-size: 19px;
      font-weight: 500;
      line-height: 1.3em;
      letter-spacing: 0;
      color: #e9e9e9;
      margin-bottom: 8px;
    }

    h4 {
      margin-top: 16px;
    }

    p {
      font-size: 19px;
      font-weight: 500;
      line-height: 1.3em;
      letter-spacing: 0;
      color: #ecc270;
      width: 70%;
      text-align: center;
    }

    .cursos {
      width: 75%;
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 32px 0;
      margin-bottom: 16px;

      .curso {
        display: flex;
        align-items: center;

        .curso-titulo,
        .curso-preco {
          font-size: 16px;
          font-weight: 600;
          white-space: nowrap;
          color: #e9e9e9;
        }

        .curso-preco {
          color: #ecc270;
        }

        .curso-separador {
          flex-grow: 1;
          border-bottom: 1px dotted #e9e9e9;
          margin: 0 10px;
        }
      }
    }

    #oferta {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 75%;
      padding: 50px 0;
      background-color: #e9e9e9;
      border-radius: 10px;

      h2,
      h3 {
        color: #000;
        font-size: 27px;
        font-weight: 600;
        line-height: 1.3em;
        letter-spacing: 0;
        text-align: center;
      }

      .precos {
        width: 75%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 32px 0;
        margin-bottom: 16px;
      }

      .preco {
        display: flex;
        align-items: center;

        .preco-titulo,
        .preco-valor {
          font-size: 16px;
          font-weight: 600;
          white-space: nowrap;
          color: #000;
        }

        .preco-separador {
          flex-grow: 1;
          border-bottom: 1px dotted #000;
          margin: 0 10px;
        }
      }

      h3 {
        font-size: 20px;
        line-height: 1.4em;
      }

      .btn-home-header {
        margin-top: 20px;
        animation: bgBotao 10s linear infinite;
        padding: 14px 30px;
        border-radius: 38px;
        border: none;
        color: #e9e9e9;
        /* background: linear-gradient(-45deg, #977c56, #c8a97e, #977c56, #37230b); */
        background: linear-gradient(-45deg, #ff6300, #ff8438, #ff6300, #bb4800);
        background-size: 600%;
        width: 100%;
        min-height: 47px;
        text-decoration: none;
        display: flex;
        cursor: pointer;

        b {
          font-size: 16px;
          font-weight: 800;
          text-transform: uppercase;
        }
      }

      .btn-home-header:hover {
        filter: brightness(1.15);
        box-shadow: 0px 10px 25px 5px #ff620091;
      }

    }
  }
}

#andrei {
  background-image: url("./assets/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  justify-content: end;

  #texto {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 55%;
    padding: 60px;

    h2 {
      color: #fec600;
      font-size: 30px;
      font-weight: 400;
      line-height: 1.2em;
    }

    p {
      color: #e9e9e9;
      font-family: sora, Sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5em;
      letter-spacing: 0;
    }
  }

}

#footer {
  background-color: #313131;
  padding: 60px;
  display: flex;
  flex-direction: column;

  p {
    text-align: center;
    align-self: center;
    color: #e9e9e9;
    width: 75%;
    font-weight: 400;
  }

  #contato {
    margin-top: 30px;
    align-self: center;
    width: 90%;

    h2 {
      color: #e9e9e9;
      font-size: 20px;
      font-weight: 600;
    }

    h3,
    p,
    a {
      color: #e9e9e9;
      font-size: 15px;
      font-weight: 400;
      line-height: 16px;
      margin-top: 10px;
    }

    p {
      text-align: start;
    }

    #direitos {
      display: flex;
      margin-top: 20px;
      align-items: center;
      justify-content: space-between;

      p {
        width: auto;
      }

      .links {
        display: flex;
        gap: 10px;
        color: #e9e9e9;

        a {
          color: #e9e9e9;
          text-decoration: none;
          font-size: 15px;
          font-weight: 400;
          line-height: 16px;
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  header {
    #centraliza-timer {
      p {
        font-size: .9em;
      }

      #revelacao {
        display: none;
      }

      #relogio {
        span {
          font-size: 18px;
        }
      }
    }
  }

  #first {
    /* background-image: url('./assets/bg-mb.png'); */
    background: #000;
    padding: 30px 0 0;
    align-items: center;
    height: auto;
    grid-template-columns: 1fr;

    #central {
      width: 100vw;
      padding: 0 20px;
      margin: 0;

      #logo {
        flex-direction: column;

        img {
          width: 70%;
          /* margin-top: -16px; */
          margin: 30px 0;
        }

        #data {
          width: 100%;
          margin-top: -16px;
        }
      }

      h1 {
        font-size: 16px;
        margin-top: 20px;
      }

      .boxForm {
        h3 {
          font-size: 13px;
          line-height: 16px;
        }


        .input-home-header {
          width: 100%;
        }

        .btn-home-header {
          width: 100%;
          padding: 14px;

          b {
            font-size: 14px;
          }
        }

        p {
          font-size: 10px;
          line-height: 13px;
          width: 100%;
        }
      }

      #imagem-celular {
        display: block;
        margin-top: 30px;
      }
    }

    #imagem-fundo {
      display: none;
    }
  }

  #second {
    #prepare {
      width: 95%;
      align-items: center;
      gap: 10px;
      padding: 30px 10px;

      h2 {
        font-size: 20px;
        font-weight: 600;
      }

      h3,
      h4 {
        color: #e9e9e9;
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        text-align: center;
      }

      h4 {
        font-size: 12px;
        margin-top: 20px;
      }

      p {
        font-size: 12px;
        width: 100%;
      }

      .cursos {
        width: 100%;
        gap: 20px;
        padding: 32px 0;
        margin-bottom: 16px;

        .curso {

          .curso-titulo,
          .curso-preco {
            font-size: 9px;
            color: #e9e9e9;
          }
        }
      }

      #oferta {
        width: 98%;
        padding: 36px 10px;

        h2,
        h3 {
          font-size: 18px;
          line-height: 23px;
          letter-spacing: 0;
        }

        .precos {
          width: 90%;
          margin-bottom: 0;
          gap: 10px;
        }

        .preco {

          .preco-titulo,
          .preco-valor {
            font-size: 10px;
          }
        }

        h3 {
          font-size: 12px;
          line-height: 1.4em;
        }

        .btn-home-header {
          padding: 14px;

          b {
            font-size: 11px !important;
          }
        }

      }
    }
  }

  #andrei {
    background-image: url("./assets/background-mb.png");
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    justify-content: end;

    #texto {
      margin-top: 220px;
      width: 100%;
      padding: 50px 20px;
      gap: 20px;

      h2 {
        font-size: 23px;
        line-height: 26px;
      }

      p {
        color: #e9e9e9;
        font-size: 12px;
        line-height: 14px;
        font-weight: 400;
      }
    }

  }

  #footer {
    padding: 50px 20px;

    p {
      font-size: 10px;
      line-height: 14px;
      text-align: justify;
      color: #e9e9e9;
      width: 100%;
    }

    #contato {
      align-self: center;
      width: 100%;

      h2 {
        color: #e9e9e9;
        font-size: 18px;
        font-weight: 600;
      }

      h3,
      p {
        color: #e9e9e9;
        font-size: 10px;
        line-height: 16px;
      }

      p {
        text-align: start;
      }

      #direitos {
        display: block;
        margin-top: 20px;

        p {
          width: auto;
          margin-bottom: 10px;
        }

        .links {
          color: #e9e9e9;

          a {
            color: #e9e9e9;
            font-size: 10px;
          }
        }
      }
    }
  }
}