:root {
  --background: #afafce;
  --purple: #9a4e9f;
}
* {
  /* 
  box-sizing: border-box;
   */
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: larger;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0)
    ),
    url("../images/purple.jpg");
  background-size: cover;
  background-attachment: fixed;
}

img {
  width: 400px;
  height: 500px;
  border-radius: 10px;
}

p {
  text-decoration: none;
}

.title {
  text-align: center;

  /* This doesn't look good 
  height: 50px;*/

  color: white;
  background-color: black;
}

.header {
  padding: 10px;
  background-color: black;
  margin-bottom: 15px;
  margin-top: -7px;
}

.header-two {
  display: flex;
  justify-content: space-between;
}

.generator {
  /* This doesn't look good
  width: 25%;
  */

  text-align: center;
}

.randomizer {
  display: flex;
  align-content: center;
}

.btn {
  background-color: var(--purple);
  width: 300px;
  height: 75px;
  margin: 10px 20px;
  font-size: 25px;
  color: white;
  border-radius: 1rem;
}

.history-header {
  background: linear-gradient(355deg, #000, #9a4e9f);
  color: white;
  margin: 10px;
  padding: 7px;
}

.history-btn {
  background-color: var(--purple);
  width: 300px;
  height: 50px;
  margin: 5px 20px;
  font-size: 15px;
  color: white;
  border-radius: 1rem;
  display: block;
}

.clear-btn {
  background-color: var(--purple);
  width: 300px;
  height: 50px;
  margin: 5px 20px;
  font-size: 15px;
  color: white;
  border-radius: 1rem;
  display: block;
}

.movie-info {
  width: 65%;
  margin: 20px;
  height: 500px;
  text-align: center;
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.border {
  border: 1px solid black;
}

.watch-movie-info {
  background-color: #f3cfcf80;
  border-bottom: 4px solid #6a226c;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.backbtn {
  background-color: #dce189;
  padding: 15px;
  line-height: 50px;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #000;
  font-weight: bolder;
  font-size: larger;
}

.go-back {
  margin: 20px;
}

@media screen and (max-width: 980px) {
  .header-two {
    flex-wrap: wrap;
    flex-direction: column;
  }


  .header{
    font-size: 35px;
  }

  .btn{
    width: 200px;
    font-size: 20px;

  img {
    height: 400px;
    width: 300px;
  }

}
