body {
  font-family: 'Century Gothic', sans-serif;
}

header {
  padding: 0 50px;
  border: solid 1px #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  display: flex;
}

section {
  width: 40%;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

aside {
  width: 20%;
  text-align: end;
  padding-right: 20px;
}

aside ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}

/* Search bar container */
#search-bar-container {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 20px 0;
}

input {
  width: 75%;
}

/* Search result */
.result-card {
  border: 1px solid rgb(233, 232, 232);
  border-radius: 10px;
  padding: 15px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.result-card:hover {
  background-color: rgb(233, 232, 232);
}

.result-card img {
  height: 150px;
  border-radius: 10px;
}

.result-card p {
  font-weight: bold;
}

#pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Person details */
#person-details {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

#photo-identity {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
}

#identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

#person-details>p {
  padding: 20px;
  text-align: justify;
  margin: 0;
}

#person-details img {
  width: 250px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Movies and tv shows */
#movies-and-tv {
  display: flex;
}

#movies-and-tv ul {
  width: 50%;
  list-style: none;
  padding: 10px;
  margin: 0;
}

ul li {
  /* border-radius: 5px; */
  border: 1px solid lightgray;
  border-radius: 5px;
  margin-top: 10px;
  padding: 5px;
}

ul li:hover {
  background-color: rgb(233, 232, 232);
}