* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: auto;
  background: linear-gradient(to bottom, #e5534b, #c62828);

}

.container {
  background-color: #201f28;
  width: 55%;
  min-height: 98%;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1vw;
}

.nav {
  text-align: center;
  margin-bottom: 1vw;
}

.nav h1 {
  font-size: 2.4vw;
}

.nav p {
  font-size: 1.3vw;
  margin-top: 0.5rem;
}

.search {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}

.search button {
  font-size: 1.1rem;
  border: none;
  background-color: #e5534b;
  border-radius: 0.7rem;
  font-size: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1vw 2vw;
  cursor: pointer;
}

.search input {
  width: 33vw;
  height: 3vw;
  background-color: #201f28;
  outline: none;
  border: 1px solid white;
  color: white;
  padding-left: 1vw;
  border: 2px solid white;
  border-radius: 1rem;
  font-size: 1.3rem;
}

.search input::placeholder {
  color: white;
  font-size: 1.3rem;
}

.belowSearch {
  display: flex;
  align-items: center;
  gap: 15vw;
  margin-top: 1vw;
  width: 90%;
  visibility: hidden;
}

.belowSearch img {
  height: 21vw;
  width: 17vw;
  float: right;
  border-radius: 1rem;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 3vw;
  gap: 2vw;
}

.info h2 {
  font-size: 4vw;
}

#rating {
  font-size: 2rem;
}

.char {
  display: flex;
  gap: 2vw;
}

.char p {
  border: 1px solid white;
  padding: 0.3rem 1.5rem;
  border-radius: 10px;
  font-size: 1.3rem;
}

.desc {
  margin-bottom: 5px;
  width: 90%;
  margin-top: 12px;
  visibility: hidden;
}

dt {
  font-size: 2vw;
  font-weight: 900;
  margin-bottom: 5px;
}

dd {
  font-size: 1.3rem;
  text-align: justify;
}

.cast {
  font-size: 1.2vw;
  width: 90%;
  visibility: hidden;
}

@media (max-width: 1000px) {
  .container {
    width: 70%;
  }

  .nav h1 {
    margin: 1.2vw 0;
  }

  .nav h1 {
    font-size: 2.4rem;
  }

  .nav p {
    font-size: 1.1rem;
    text-align: center;
  }

  .search input {
    height: 5vw;
    margin: 1vw 0;
  }

  .belowSearch img {
    height: 27vw;
    width: 20vw;
  }

  .belowSearch {
    gap: 22vw;
  }

  .search button {
    font-size: 1rem;
    border-radius: 0.7rem;
    padding: 0.1rem 1rem;
    height: 3rem;
  }

  .desc {
    margin: 2vw 0;
  }

  dt {
    font-size: 2rem;
  }

  #secondP {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: 90%;
  }

  .nav h1 {
    margin: 1.1vw 0;
    font-size: 2.7rem;
  }

  .nav p {
    font-size: 0.9rem;
  }

  .search input {
    height: 5vw;
    margin: 1vw 0;
    width: 52vw;
    height: 6vw;
  }

  .belowSearch img {
    height: 34vw;
    width: 28vw;
  }

  .belowSearch {
    gap: 29vw;
  }

  .search button {
    font-size: 1.2rem;
    border-radius: 0.9rem;
    padding: 0.1rem 1rem;
    height: 3rem;
  }

  .char p {
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
  }

  .desc {
    margin: 2vw 0;
  }

  dt {
    font-size: 2rem;
  }

  #secondP {
    display: none;
  }

  #title,
  #rating {
    font-size: 2rem;
  }
}

@media (max-width: 450px) {
  .container {
    width: 95%;
    height: 90%;
  }

  .nav h1 {
    margin: 1.1vw 0;
    font-size: 2.2rem;
  }

  .nav p {
    display: none;
  }

  .search input {
    margin: 1vw 0;
    width: 57vw;
    height: 9vw;
    padding: 2px 16px;
  }

  .belowSearch {
    flex-direction: column-reverse;
    gap: 7vw;
  }

  .search {
    gap: 3vw;
    margin-bottom: 8vw;
  }

  .search button {
    font-size: 1.1rem;
    border-radius: 0.8rem;
    padding: 0.1rem 0.3rem;
    height: 2.5rem;
  }

  .belowSearch img {
    height: 90vw;
    width: 66vw;
  }

  .cast {
    display: none;
  }

  .char {
    gap: 5vw;
  }

  .char p {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    font-weight: 900;
  }

  .desc {
    margin: 2vw 0;
  }

  dt {
    font-size: 2.5rem;
    margin-top: 3vw;
  }

  dd {
    font-size: 1.3rem;
  }

  #secondP {
    display: none;
  }

  #title,
  #rating {
    font-size: 2.6rem;
  }
}
