.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

:root {
  --color-desaturated-red: hsl(0, 36%, 70%);
  --color-soft-red: hsl(0, 93%, 68%);
  --color-dark-grayish-red: hsl(0, 6%, 24%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid grey;
}

body {
  font-size: 16px;
  font-family: "Josefin Sans", sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
}

header {
  display: none;
}
main {
  display: flex;
  justify-content: flex-end;
  height: 100vh;
}

section img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

article {
  padding: 100px 180px 100px 0px;
  height: 100%;
}

article img.base {
  margin-bottom: 80px;
}

article h1 {
  font-size: 3rem;
  text-transform: uppercase;
  display: block;
  max-width: 100px;
  letter-spacing: 7px;
  color: var(--color-dark-grayish-red);
}

article h1 span {
  font-weight: 300;
  color: var(--color-desaturated-red);
}

article p {
  margin-top: 20px;
  color: var(--color-desaturated-red);
  max-width: 450px;
  line-height: 2;
}

#input button img {
  margin: 0;
}

#input {
  margin-top: 30px;
  border-radius: 50px;
  border: 1px solid var(--color-desaturated-red);
  width: fit-content;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#input input {
  border: none;
  margin-left: 20px;
  padding: 10px;
  width: 360px;
}

#icon-error {
  max-width: 100%;
  max-height: 100%;
  margin-right: 15px;
  visibility: hidden;
}

#input button {
  background-color: var(--color-soft-red);
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
}

#input input:focus-within,
#input input:focus,
#input input:focus-visible {
  outline: none;
}

@media (max-width: 600px) {
  body {
    display: block;
    /* height: 100vh; */
  }

  main {
    width: 100vh;
    display: block;
    /* height: 100vh; */
  }

  header {
    display: block;
    background-size: cover;
    position: relative;
  }

  header img {
    display: block;
  }

  section img {
    display: none;
  }

  article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
  }

  article img.base {
    display: none;
  }

  article h1 {
    text-align: center;
    font-size: 3rem;
    text-transform: uppercase;
    display: block;
    letter-spacing: 7px;
    color: var(--color-dark-grayish-red);
  }

  article h1 span {
    align-items: center;
    text-align: center;
    font-weight: 300;
    color: var(--color-desaturated-red);
  }

  article p {
    margin-top: 20px;
    color: var(--color-desaturated-red);
    /* max-width: 450px; */
    line-height: 2;
    text-align: center;
  }

  #input button img {
    margin: 0;
  }

  #input {
    margin-top: 30px;
    border-radius: 50px;
    border: 1px solid var(--color-desaturated-red);
    width: fit-content;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #input input {
    border: none;
    margin-left: 20px;
    padding: 10px;
    width: 150px;
  }

  #icon-error {
    max-width: 100%;
    max-height: 100%;
    margin-right: 15px;
    visibility: hidden;
  }

  #input button {
    background-color: var(--color-soft-red);
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
  }
}
