body {
  margin-top: 60px;
}

.contact-us {
  font-size: 27px;
}

main {
  display: grid;
  grid-template-columns: 500px 1fr;
  align-items: center;
  justify-content: center;
}

.contact-form {
  padding: 12px 28px 0px 28px;
  width: calc(100% - 56px);
  max-width: 500px;
  overflow-y: scroll;
  height: 560px;
}

aside {
  background-image: url('../images/sign-in\ background.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 80%;
  margin: 0px 40px;
  border-radius: 40px;
  transition: opacity 0.3s;
}

fieldset {
  display: flex;
  flex-direction: column;
  border: none;
  height: 660px;
  padding: 0;
}

label {
  font-size: 14px;
  margin-bottom: 16px;
}

input, select, textarea, button {
  height: 32px;
  padding: 4px 12px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 4px var(--light-shadow);
  margin-bottom: 20px;
}

textarea {
  resize: none;
  height: 220px;
  padding: 16px;
  font-family: roboto, Arial, Helvetica, sans-serif;
}

button {
  background-color: var(--highlight);
  color: var(--reverse-text);
  width: 120px;
  height: 44px;
  cursor: pointer;
}

.thank-you-popup {
  justify-content: center;
  align-items: center;
  background-color: var(--highlight-modified);
  border: solid 2px var(--highlight-modified-border);
  height: 60px;
  border-radius: 20px;
  display: none;
}

.show-thank-you {
  display: flex;
}

.errors {
  font-size: 16px;
  color: var(--danger);
  margin: 0 0 20px 0;
}

@media (max-width: 900px) {
  aside {
    opacity: 0;
  }

  main {
    grid-template-columns: 500px;
  }
}

@media (max-width: 496px) {
  main {
    display: flex;
  }

  .contact-form {
    width: 100%;
  }

  aside {
    display: none;
  }
}