.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
:root {
  --color-purple: hsl(259, 100%, 65%);
  --color-light-red: hsl(0, 100%, 67%);
  --color-white: hsl(0, 0%, 100%);
  --color-off-white: hsl(0, 0%, 94%);
  --color-light-grey: hsl(0, 0%, 86%);
  --color-smokey-grey: hsl(0, 1%, 44%);
  --color-off-black: hsl(0, 0%, 8%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid grey; */
}
body {
  background-color: var(--color-off-white);
}
main {
  font-family: "Poppins", sans-serif;
  background-color: var(--color-white);
  border-radius: 20px 20px 80px 20px;
  margin: 80px auto;
  padding: 20px;
  max-width: 90%;
}
div.input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.item {
  width: calc(100% / 3);
  display: grid;
  margin: auto;
}
div.item label {
  font-weight: 800;
  color: var(--color-smokey-grey);
}
div.item input {
  width: 80%;
  height: 40px;
  color: var(--color-smokey-grey);
  font-weight: bolder;
  border: 0.1px solid var(--color-light-grey);
  border-radius: 5px;
  padding-left: 10px;
  cursor: pointer;
}
div.item input::placeholder {
  color: var(--color-smokey-grey);
  font-weight: bolder;
}
div.submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
div.submit button {
  z-index: 999;
  margin-top: 30px;
  border-radius: 50%;
  background-color: var(--color-purple);
  border: 0;
  cursor: pointer;
}
div.submit button:hover {
  background-color: var(--color-off-black);
}
div.submit button img {
  width: 50px;
  padding: 15px;
}
div.submit::after {
  content: "";
  position: absolute;
  top: 68%; /* Menempatkan garis di tengah secara vertikal */
  left: 0;
  width: 100%; /* Lebar garis sepanjang button */
  height: 1px; /* Ketebalan garis */
  background-color: var(
    --color-light-grey
  ); /* Warna garis, sesuaikan sesuai tema */
  transform: translateY(-50%); /* Menyesuaikan penempatan tepat di tengah */
}
article h1 {
  font-size: 3.5rem;
  font-style: italic;
  color: var(--color-off-black);
}
article h1 span {
  color: var(--color-purple);
}

/* error */
div.error {
  color: var(--color-light-red);
  font-style: italic;
}
.hidden {
  display: none;
}

@media (min-width: 1280px) {
  main {
    font-family: "Poppins", sans-serif;
    background-color: var(--color-white);
    border-radius: 20px 20px 80px 20px;
    margin: 80px auto 10px;
    padding: 50px;
    max-width: 60%;
  }
  div.input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 200px;
  }
  div.submit {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    position: relative;
    width: 100%;
    margin-top: 0;
  }
  div.submit button {
    margin-top: 0px;
  }

  div.submit button img {
    width: 70px;
    padding: 15px;
  }
  article h1 {
    font-size: 4rem;
    font-style: italic;
    color: var(--color-off-black);
  }
  div.submit::after {
    content: "";
    position: absolute;
    top: 50%; /* Menempatkan garis di tengah secara vertikal */
    left: 0;
    width: 100%; /* Lebar garis sepanjang button */
    height: 1px; /* Ketebalan garis */
    background-color: var(
      --color-light-grey
    ); /* Warna garis, sesuaikan sesuai tema */
    transform: translateY(-50%); /* Menyesuaikan penempatan tepat di tengah */
  }
}
