body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 400px;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin: 250px auto 100px auto;
  overflow: hidden;
  text-align: center;
}

h1 {
  color: #007bff;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif; /* Definindo a fonte para o título */
}

#subtitulo {
  font-size: 16px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif; /* Definindo a fonte para o subtitulo */
}

.label-cpf {
  display: block;
  text-align: left !important; /* Justificar texto à esquerda */
}

#cpfInput {
  padding: 14px;
  font-size: 16px;
  outline: none;
  margin-bottom: 20px;
  width: calc(100%);
  box-sizing: border-box;
  border: 2px solid #007bff;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

#buscarButton {
  background-color: #007bff;
  color: #fff;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  font-weight: 600;
  border-radius: 6px;
  width: calc(100%);
  box-sizing: border-box;
}

#buscarButton:hover {
  background-color: #0056b3;
}

#statusResultado {
  font-size: 16px;
  margin-top: 20px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif; /* Definindo a fonte para o statusResultado */
}

#cpfInput.cpf-invalido {
  border-color: #dc3545;
}

@media screen and (max-width: 600px) {
  .container {
    margin: 150px 10px 50px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  #subtitulo {
    font-size: 14px;
    margin-bottom: 15px;
  }

  label,
  #cpf-message {
    font-size: 12px;
    margin-bottom:2px;
  }

  #cpfInput {
    padding: 12px;
    font-size: 14px;
    margin-bottom: 15px;
    width: calc(100% - 1px);
  }

  #buscarButton {
    padding: 12px 16px;
    font-size: 14px;
    width: calc(100% - 1px);
  }

  #statusResultado {
    font-size: 14px;
    margin-top: 15px;
  }
}