* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: black;
  min-height: 100vh;
}

section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

fieldset {
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 550px;
  max-width: 100%;
  border: 1px solid black;
  border-radius: 8px;
  padding: 30px;
  box-sizing: border-box;
}

.legend {
  text-align: center;
  font-size: 22px;
  margin: 0 auto;
  padding: 0 10px;
  background-color: white;
  width: 100%;
  max-width: 550px;
  box-sizing: border-box;
}

.img1 {
  display: block;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 100%;
}

h1 {
  font-size: 22px;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
}

input,
button {
  width: 100%;
  height: 42px;
  border-radius: 5px;
  border: 1px solid;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  background-color: #3b82f6;
  color: white;
}

button:hover {
  background: #2563eb;
}

a {
  text-decoration: none;
  color: #3b82f6;
  font-size: 15px;
  text-align: center;
  display: block;
  width: fit-content;
  margin: 10px auto 0 auto;
  background: none;
}

/* responsividade */
@media (max-width: 440px) {
  body {
    min-height: 100vh;
  }

  section {
    padding: 16px;
    align-items: center;
  }

  fieldset {
    width: 100%;
    padding: 20px 15px;
    gap: 10px;
    border-radius: 6px;
  }

  .legend {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    padding: 0 6px;
  }

  .img1 {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: 18px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  input,
  button {
    height: 40px;
    font-size: 15px;
  }

  a {
    font-size: 14px;
    margin-top: 8px;
  }
}
