body {
  padding: 0em;
  margin: 0em;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
li {
  padding-inline: 0.5em;
  margin: 0.5em;
}
main {
  display: grid;
  width: 99vw;
  grid-template-areas:
    "search search search search search"
    "res res show movies histo"
    "res res show movies likes";
  gap: 1em;
  grid-column: 1fr 1fr 1fr 1fr;
  justify-items: center;
  justify-content: center;
}
header,
footer {
  display: flex;
  justify-content: center;
  background-color: blanchedalmond;
}
header {
  margin-bottom: 0.5em;
}
footer {
  margin-top: 0.5em;
}
section {
  overflow: auto;
}
/* Rend le scroll discret pour les navigateurs basés sur WebKit */
::-webkit-scrollbar {
  width: 8px; /* Largeur de la barre de scroll */
}

::-webkit-scrollbar-track {
  background: transparent; /* Couleur de fond de la piste de scroll */
}

::-webkit-scrollbar-thumb {
  background: #c8c7c7; /* Couleur de la barre de scroll */
  border-radius: 4px; /* Coins arrondis de la barre de scroll */
}

aside {
  width: 15vw;
  display: none;
}
#search {
  grid-area: search;
}
#res {
  grid-area: res;
  background-color: lightpink;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: auto;
  max-height: 70vh;
  justify-items: stretch;
}
#movies {
  grid-area: movies;
  background-color: lightyellow;
  overflow: auto;
  max-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#histo {
  grid-area: histo;
  background-color: lightblue;
  overflow: auto;
  max-height: 70vh;
}
#show {
  grid-area: show;
  background-color: lightgreen;
  overflow: auto;
  max-height: 70vh;
  max-width: 20vw;
}
#likes {
  grid-area: likes;
  background-color: lightgray;
  overflow: auto;
  max-height: 70vh;
}
.card {
  width: 10vw;
  height: 25vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5em;
  padding-top: 0.5em;
}
.card p {
  text-align: center;
}
.card img {
  max-width: 50vh;
  max-height: 20vh;
  border: 0px solid transparent;
  border-radius: 25%;
}
.active {
  background-color: whitesmoke;
  cursor: pointer;
  border: 0px solid whitesmoke;
  border-radius: 0.5em;
}

#infosActor img,
.movieCard img {
  max-width: 10vw;
  margin: auto;
  align-items: center;
  border: 0px solid transparent;
  border-radius: 25%;
  margin-top: 1em;
}

#infosActor p,
#infosActor h2 {
  text-align: center;
  margin: 0.5em;
}
#infosActor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.movieCard {
  display: flex;
  margin: 0.5em;
  align-items: center;
}
.movieCard img {
  max-width: 7vw;
  margin: auto;
  border: 0px solid transparent;
  border-radius: 25%;
}
.infosFilm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: 0.2em;
}
.infosFilm span {
  font-weight: bold;
  font-size: large;
}
