.movieGrid{
  margin: 0;
  padding: 15px 0;
  gap: 15px;
  width: 95%;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 1000px) {
  .movieGrid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 750px) {
  .movieGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

.movieGrid div.movie{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 350px;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  background-color: var(--body-color-light);
  border-radius: var(--border-radius-small);

  border: 1px solid var(--body-color-dark);


  transition: background-color 0.15s ease-in-out;

  
  z-index: 1;

  overflow: hidden;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative; 
}
@media screen and (max-width: 1250px) {
  .movieGrid div.movie{
    height: 325px;
  }

}
@media screen and (max-width: 750px) {
  .movieGrid div.movie{
    height: 50vw;
  }
}
@media screen and (max-width: 600px) {
  .movieGrid div.movie{
    height: 70vw;
  }
}


div.movie .titleRow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 15px 15px 5px;
  box-sizing: border-box;

  color: var(--text-color);

  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 0 15px 0 0;
  box-shadow: 0px 0px 30px 35px rgba(0, 0, 0, 0.45);
}

div.movie .titleRow h1{
  padding: 0;
  margin: 0;

  font-size: 30px;
}

div.movie .titleRow p{
  padding: 0;
  margin: 0;

  font-size: 17px;
  color: var(--primary-color);
  /* font-weight: bold; */
  font-family: var(--heading-font-alt);
}
@media screen and (max-width: 750px) {
  div.movie .titleRow h1{
    font-size: 27px;
  }
  div.movie .titleRow p{
    font-size: 19px;
  }
}


div.movie .buttonRow{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 5px 15px 15px;
  box-sizing: border-box;

  color: var(--text-color);

  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 0 0 15px 0;
  box-shadow: 0px 0px 30px 35px rgba(0, 0, 0, 0.45);

  display: grid;
  gap: 15px;


  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: 'downvote viewed upvote';


}
@media screen and (max-width: 1000px) {
  div.movie .buttonRow{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:  'viewed viewed' 
                          'downvote upvote';
  }
}
div.movie .buttonRow a{
  position: relative;


  margin: 0;
  padding: 3px 0;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  background-color: var(--body-color-light);
  border-radius: var(--border-radius-small);

  transition: background-color 0.15s ease-in-out;

  font-size: 20px;
}

div.movie .buttonRow a.upvote.active{
  color: var(--text-color);
  background-color: var(--green-color);
}
div.movie .buttonRow a.viewed.active{
  color: var(--text-color);
  background-color: var(--primary-color);
}
div.movie .buttonRow a.downvote.active{
  color: var(--text-color);
  background-color: var(--red-color);
}

div.movie .buttonRow a span{
  font-size: 25px;
  font-weight: bold;
  height: 25px;
  width: 25px;
  margin: 0;
}







