html {
  transition: 300ms;
  scroll-behavior: smooth;
  line-height: 1.5;
  font-family: sans-serif;
}
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  box-sizing: border-box;
}
body {
  width: 100%;
  box-sizing: inherit;
  /* text-align: center; */
  background-color: rgb(6, 30, 31);
  color: #b2ebf2;
  font-size: 1rem;
}
.logo {
  font-size: 1.5rem;
  margin: 0 7rem;
}

.search {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 3rem 0;
}
/* .search h1 {
  font-size: 1rem;
} */
#searchInput {
  height: 1.7rem;
  width: 85%;
  padding: 0.7rem;
  border: none;
  border-radius: 0.5rem;
  text-align: center;
  color: #b2ebf2;
  background-color: rgb(26, 16, 16);
}
.resultNav {
  display: flex;
  align-items: center;
  justify-content: center;
}
#moviesResults {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 3fr;
  gap: 1rem;
}
.movies {
  display: flex;
  flex-direction: column;
  /* align-items: center;
  justify-content: center; */
}
.info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  /* background-color: #b2ebf2; */
  max-width: 300px;
}
.clean {
  background: none;
  appearance: none;
  border: none;
  outline: none;
  text-decoration: none;
}
.movies img {
  height: auto;
  width: 300px;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  filter: drop-shadow(4px 6px 12px #000000);
  transition: 300ms;
}
.movies img:hover {
  transform: scale(1.02);
}

.info h1 {
  color: #b2ebf2;
  font-size: 0.9rem;
  max-width: 200px;
  margin: 0;
}
.info p {
  margin-right: 0; /* display: none; */
  font-size: 0.9rem;
  opacity: 0.5;
  color: #b2ebf2b6;
}

.btn {
  color: #b2ebf2;
  background-color: #0db653;
  text-align: center;
  height: 25px;
  width: 70px;
  border: none;
  border-radius: 5px;
  margin: 10px;
  cursor: pointer;
  font-weight: 600;
}
.btn_style {
  padding: 10px;
  background: none;
  appearance: none;
  border: none;
  outline: none;
}
a {
  text-decoration: none;
  background-color: #0db653;
  /* margin: 0 0.5rem; */
  padding: 0.3rem 0.7rem;
  font-size: 0.9rem;
  color: #b2ebf2;
  border-radius: 5px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .logo {
    text-align: center;
  }

  .resultNav button {
    margin: 1rem 3rem;
  }
  .search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem 0;
  }
  #searchInput {
    height: 2.5rem;
    width: 80%;
  }
  #moviesResults {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    place-items: center;
  }
}
