.container {
  background-image: url("../../Assets/search-bg.jpg");
  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: block;
    flex-direction: column;
    padding-top: 10em;
    animation: fadeInto 1s;

    form,
    .results {
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 50em;
    }

    form {
      display: block;
      margin-left: auto;
      margin-right: auto;
      z-index: 10;

      h2 {
        font-size: 2.5rem;
        text-align: center;
        text-transform: capitalize;
        margin-bottom: 1em;
      }

      .search {
        width: 100%;
        color: var(--primary);
        position: relative;
        display: flex;
        padding: 0.6em;
        font-size: 1.5rem;
        border: none;
        border-radius: 50px;
        transition: 0.3s;
      }

      .search:focus {
        outline: none;
        background-color: var(--primary);
        color: #fff;
        box-shadow: 1px 1px 13px -2px rgba(74, 190, 190, 1);
      }

      .search::placeholder {
        font-size: 1.5rem;
        color: var(--primary);
      }
    }

    .results {
      background-color: #fff;
      color: var(--text);
      list-style: none;
      padding: 3em 1em 1em 1em;
      z-index: 1;
      margin-top: -1.8em;
      border-radius: 0 0 30px 30px;

      li {
        font-size: 1.2rem;
        padding: 0.7em;
        border-radius: 30px;
        transition: 0.3s;
        cursor: pointer;
      }

      li:hover {
        background-color: #4abebe25;
      }
    }
  }
}

@keyframes fadeInto {
  from {
    opacity: 0;
  }
  to {
    opacity: 100%;
  }
}

@media only screen and (max-width: 900px) {
  form,
  .results {
    width: 90%;
  }
}
