@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
* {
  font-family: 'Roboto';
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  background: #457fb4;
  font-family: "Roboto", sans-serif;
  display: flex;
  height: 100vh;
}

.movies {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.movie {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 350px;
  height: fit-content;
  padding: 20px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 5px 20px 3px #000000a0;
}

.poster-cont {
  width: 230px;
}

.banner {
  border-radius: 25px;
  width: 100%;
  height: 350px;
  object-fit: cover;
  box-shadow: 0 5px 20px 3px #000000a0;
}

.info-cont {
  width: 100%;
  text-align: center;
}

.title {
  font-weight: bold;
  font-size: 1.75em;
  text-transform: uppercase;
}

.year {
  color: #999;
  font-size: 0.75em;
  margin-bottom: 10px;
}

.director {
  color: hsl(180, 50%, 50%);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
}
.director:hover {
  text-decoration: underline;
}
.director:visited {
  color: hsl(240, 50%, 50%);
}

.rating {
  color: black;
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.rating.fresh{
  color: red;
}
.rating.rotten{
  color: green;
}

.tomatometer {
  width: 80px;
  color: white;
  padding: 15px 0;
  border: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}