@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Libre Franklin', sans-serif;
}

body {
  background-color: #fff;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main h1 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 2rem 0;
}

main h1 span {
  color: #4c7bf3;
}

main .par-1 {
  text-align: center;
  margin: 1rem 0;
  color: #969696;
  font-size: 22px;
  font-weight: 300;
  line-height: 32px;
}

.par-1 span {
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  color: #15202a;
}

.tiny {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: #15202a;
  margin-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

input {
  cursor: pointer;
  height: 40px;
  border: 1px solid #c2d3ff;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  width: 281px;
  border-radius: 28px;
  outline: none;
}

input:focus {
  border: 1px solid #4c7bf3;
}

::placeholder {
  color: #c2d3ff;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.input-data {
  position: relative;
  margin-bottom: 1rem;
}

.input-data.error input {
  border-color: red;
}

.input-data small {
  visibility: hidden;
  color: red;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
  line-height: 17;
  position: absolute;
  bottom: -7rem;
  left: 1rem;
}

.input-data.error small {
  visibility: visible;
}

button {
  cursor: pointer;
  height: 40px;
  border: 1px solid #4c7bf3;
  padding: 0 1rem;
  margin-bottom: 1rem;
  border-radius: 28px;
  outline: none;
  background-color: #4c7bf3;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  width: 282px;
}

button:hover {
  opacity: 0.6;
}

.image {
  width: 320px;
  height: 320px;
  background: url('./images/illustration-dashboard.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2rem;
}

.icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.color {
  color: blue;
}

.icons .fabok {
  color: #4c7bf3;
  background-color: #fff;
  cursor: pointer;
  border: 0.918357px solid rgba(76, 123, 243, 0.15);
  padding: 0.2rem;
  border-radius: 50%;
  font-size: 15px;
}

.fabok:hover {
  color: #fff;
  background-color: #4c7bf3;
  transform: scale(1.1);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

footer p {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: #969696;
}

@media (min-width: 786px) {
  main h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #15202a;
  }

  main .par-1 {
    height: 60px;
    width: 712px;
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
  }

  main .par-1 span {
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    color: #15202a;
  }

  .tiny {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    line-height: 20px;
    color: #15202a;
    margin-bottom: 2rem;
  }

  .form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  input {
    height: 56px;
    width: 421px;
    border: 1px solid #c2d3ff;
    padding: 0 0.8rem;
  }

  ::placeholder {
    color: #c2d3ff;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    padding-left: 1rem;
  }

  button {
    height: 56px;
    width: 200px;
    border: 1px solid #4c7bf3;
    padding: 0 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 20px;
    font-size: 16px;
  }

  button:hover {
    opacity: 0.6;
  }

  .image {
    height: 358px;
    width: 587px;
    background: url('./images/illustration-dashboard.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100% 100%;
    margin-top: 3rem;
  }

  .icons {
    margin-top: 2rem;
  }

  .footer p {
    font-size: 8px;
    font-weight: 300;
    line-height: 15px;
    line-height: 20px;
  }
}
