@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-image: url("./assets/cool-background.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  background-color: rgb(41, 41, 41);
  display: grid;
  justify-content: center;
  height: 100vh;
  text-align: center;
}
h1 {
  background-color: rgb(41, 41, 41, 0.6);
  border-radius: 1rem;
  color: white;
  margin: 1rem;
  padding: 0.5rem;
}

.movie-card {
  display: grid;
  grid-template-columns: 300px;
  grid-template-rows: 420px 50px 80px;
  border-radius: 1rem;
  background-color: white;
  text-align: center;
  transition: transform 300ms;
}
.movie-card:hover {
  transform: scale(1.02);
}
.img-container {
  background-image: url("https://i.ibb.co/wYfDvXV/Snipaste-2021-02-19-20-00-41.png");
  background-size: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  pointer-events: none;
}
.movie-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.react-container {
  padding: 0 1rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: #c2c2c2 solid 1px;
}
.react-container div {
  cursor: pointer;
}

.like {
  background-color: #3eff6f;
  padding: 0.8rem;
  border-radius: 1rem;
  transition: filter 300ms;
}
.dislike {
  background-color: #ff2f4b;
  padding: 0.8rem;
  border-radius: 1rem;
  transition: filter 300ms;
}
.not-watched {
  border: 2px solid gray;
  padding: 0.5rem;
  border-radius: 1rem;
  color: gray;
  transition: background 300ms;
}
.hide {
  opacity: 0;
  display: none;
}
.suggestion {
  margin: 2rem;
  background-color: #3eb2ff;
  padding: 0.5rem;
  border-radius: 1rem;
  color: white;
  cursor: pointer;
  transition: all 500ms;
}
.not-watched:hover {
  background-color: #d3d3d3;
}
.suggestion:hover,
.like:hover,
.dislike:hover {
  filter: brightness(0.8);
}

.react-more {
  margin: 1rem;
  font-size: 1.5rem;
  color: white;
  background-color: #ddc141;
  padding: 0.5rem;
  border-radius: 1rem;
  cursor: pointer;
}

footer {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 1rem;
  width: 200px;
}
footer a {
  text-decoration: none;
  color: white;
}
