body {
  background-color: #2c3333;
  color: #fff;
}

body::-webkit-scrollbar {
  display: none;
}

/* CSS for NAVBAR */

.site-name {
  position: absolute;
  color: rgb(253, 206, 35);
  top: 0;
}

#search-bar {
  height: 40px;
  width: 36vw;
  margin-left: 48pc;
}

form {
  width: inherit;
  background-color: rgb(109, 114, 121);
  border-radius: 50px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

input {
  width: 90%;
  height: 2.5rem;
  outline: none;
  padding: 1.5rem;
  border: 0;
  background-color: transparent;
  color: aquamarine;
}

::placeholder {
  opacity: 0.6;
  color: #8f0c0c;
}

#search-btn {
  height: 2.9rem;
  width: 4.5rem;
  border: transparent;
}

.search-icon {
  font-size: 25px;
  color: #3d3e43;
}

#show-favourites {
  display: none;
  font-size: 1.7rem;
}

/* CSS for MAIN SECTION */

#main-section {
  min-height: 89vh;
  width: 65%;
}

h2 {
  padding-left: 0.5rem;
  margin: 2% 4%;
  color: rgb(253, 206, 35);
}

#Suggestions-container {
  min-height: 100%;
  justify-content: center;
  padding: 2rem;
  background-color: cadetblue;
}

/* card  */

a {
  box-sizing: border-box;
}

#card-container {
  width: inherit;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

.card {
  border: transparent;
  background-color: rgb(18, 21, 21);
  width: 10rem;
}

.card > img:hover {
  opacity: 0.8;
  cursor: pointer;
}

.card-title {
  font-size: medium;
  font-weight: 500;
}

.card-title a {
  text-decoration: none;
  color: #fff;
}

.card-title a:hover {
  text-decoration: underline;
}
.center {
  text-align: center;
}
.card-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.fa-star {
  color: rgb(253, 206, 35);
}

.text-decoration {
  text-decoration: none;
}

#rating {
  color: #fff;
  font-size: small;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fav-btn {
  border: transparent;
  background-color: transparent;
  text-align: center;
}

.fa-heart {
  color: rgb(207, 194, 194);
}

.fa-heart:hover {
  color: #ec0638;
}

/* FAVORITES SECTION */

#favorites-section {
  width: 33%;
  height: 100vh;
  background-color: cadetblue;
  z-index: 1;
  flex-direction: column;
}

#empty-fav-text {
  margin-top: 40%;
  margin-left: 15%;
}

#fav-movies-container {
  width: 90%;
  height: 90%;
}
.fav-movie-card {
  padding-right: 1rem;
  width: 95%;
  background-color: rgb(12, 11, 11);
  border-radius: 10px;
  overflow: hidden;
}

.fav-movie-poster {
  width: 80px;
  height: 100px;
}

.fav-movie-name {
  text-decoration: none;
  color: #fff;
}

.fav-movie-name:hover {
  color: #fff;
  text-decoration: underline;
}

.movie-card-details {
  width: 60%;
}

.delete-btn {
  cursor: pointer;
}

.fa-trash-can {
  color: #eb6582;
  font-size: 1.3rem;
}

.fa-trash-can:hover {
  color: #ec0638;
}
