.container {
  background-image: url("../../Assets/complaintbg.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .wrapper {
    background-color: rgba(0, 0, 0, 0.582);
    padding: 1em;
    color: white;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInto 1s;
  }

  form {
    animation: appearUp 1s;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    max-width: 30em;
    padding: 2em;
    box-shadow: 0px 3px 38px -10px rgba(0, 0, 0, 0.55);

    h2 {
      color: var(--primary);
      font-size: 2.5rem;
      margin-bottom: 0.6em;
      text-align: center;
    }

    .message {
      color: var(--primary);
      text-align: center;
    }

    label {
      display: block;
      clear: both;
      width: 90%;
      margin: auto;

      span {
        color: var(--text);
      }

      .field {
        width: 100%;
        margin-bottom: 1em;
        padding: 0.5em;
        font-size: 1.2rem;
        border: none;
        color: rgb(155, 155, 155);
        background-color: rgb(245, 245, 245);
        transition: 0.5s;
      }

      textarea {
        height: 7em;
      }

      input,
      textarea:focus {
        outline: none;
        background-color: #4abebe25;
      }
    }

    .submit {
      width: 90%;
      margin: auto;
      background-color: rgb(74, 190, 190);
      border: none;
      padding: 0.5em;
      font-size: 1.2rem;
      text-transform: uppercase;
      color: white;
      margin-top: 1em;
      margin-bottom: 1em;
      cursor: pointer;
    }

    .submit:hover {
      background-color: rgb(68, 167, 167);
    }
  }
}

@keyframes fadeInto {
  from {
    opacity: 0;
  }

  to {
    opacity: 100%;
  }
}

@keyframes appearUp {
  from {
    transform: translateY(5em);
  }

  to {
    transform: translateY(0);
  }
}
