@import url("https://fonts.bunny.net/css2?family=Libre+Franklin:wght@300;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: 'Libre Franklin', sans-serif;
  color: #969696;
}

input, button {
  text-decoration: none;
  border: none;
}

input:focus, textarea:focus, select:focus {
  outline: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 100vh;
}

.container {
  width: 80%;
  max-width: 800px;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container .logo {
  width: 280px;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .container .logo {
    width: 400px;
  }
}

.container .header h1 {
  text-align: center;
  font-weight: 300;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .container .header h1 {
    font-size: 2rem;
  }
}

.container .header b, .container .header p {
  color: #CA3433;
}

.container .header p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .container .header p {
    font-size: 20px;
  }
}

.container form {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .container form {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
}

.container form .form-control {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .container form .form-control {
    width: 70%;
  }
}

.container form .form-control input {
  width: 100%;
  padding: .8rem 2rem;
  border-radius: 2rem;
  border: 1px solid #c2d3ff;
  font-size: 14px;
}

.container form .form-control input::placeholder {
  color: #969696;
  opacity: 0.4;
}

.container form .form-control small {
  position: absolute;
  top: 46px;
  left: 0px;
  color: #ff5263;
  width: 100%;
  text-align: center;
  padding-top: 4px;
  visibility: hidden;
}

@media (min-width: 768px) {
  .container form .form-control small {
    text-align: left;
    left: 30px;
  }
}

.container form .form-control.error input {
  border-color: #ff5263;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .container form .form-control.error input {
    margin-bottom: 0;
  }
}

.container form .form-control.error small {
  visibility: visible;
  font-size: 10px;
}

.container form button {
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  padding: .8rem 0;
  border-radius: 2rem;
  background-color: #CA3433;
  color: white;
  font-size: 14px;
  box-shadow: 6px 8px 10px rgba(170, 170, 170, 0.5);
}

@media (min-width: 768px) {
  .container form button {
    width: 30%;
    margin-left: 1rem;
    margin-top: 0;
    font-size: 16px;
  }
}

.container img {
  width: 80%;
  max-width: 700px;
  margin: 3rem 0 3rem;
}

footer {
  margin-bottom: 1rem;
  font-size: 14px;
}

footer .social {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(150, 150, 150, 0.4);
  color: #CA3433;
  margin: 0 .5rem 1rem;
}

footer .social .social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

footer .social .social-link:hover {
  color: white;
  background-color: #CA3433;
}
