/******************************************
/* CSS
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
}

/******************************************
/* LAYOUT
/*******************************************/
body {
  background-color: #2c3440;
  color: rgb(69 104 133);
}

nav {
  height: 75px;
  text-align: center;
  padding-top: 25px;
  background-color: #303947;
}

.search {
  height: 250px;
  text-align: center;
}

.result {
  padding-left: 25%;
}

.minSection {
  height: 300px;
  margin: 4% 0;
}

div {
  height: 150px;
}

img{
  display: block;
  width: 27%;
  height: 205px;
  border-radius: 10px;
}

/*********************
myWatchlist layout
*********************/
.mylist {
  float: left;
  width: 11%;
  height: 360px;
  margin-top: 2%;
  margin-left: 12px;
}

.list {
  float: left;
  width: 143%;
  height: 200px;
  text-align: center;
}

.posters {
  width: 60%;
  border-radius: 10px;
  margin: auto;
}

.removeFromWatchlist {
  font-size: 15px;
  width: 23%;
  border-radius: 50%;
  margin-top: 5%;
  font-weight: bold;
}


/******************************************
/* ADDITIONAL STYLES
/*******************************************/
.search h1 {
  font-size: 3em;
}

input {
  width: 23%;
  height: 25%;
  font-size: 2em;
  border-radius: 20px;
  background-color: #e8f0fe;
  border: white solid 1px;
  color: rgb(69 104 133);
}

button {
  height: 25%;
  width: 10%;
  font-size: 2em;
  border-radius: 10px;
  background: #2c3440;
  border: solid white 1px;
  color: rgb(69 104 133);
}

div {
  float: left;
  width: 49.99%;
}

.watchlist {
  display: block;
  height: 25%;
  width: 28%;
  font-size: 15px;
  margin-top: 2%;
}

a {
  text-decoration: none;
  color: rgb(114, 146, 174);
}

.link {
  color: black;
  background-color: #f3ce13;
  padding: 0 5px;
  border-radius: 3px;
  margin-left: 5px;
  font-weight: bold;
}

/************************************
myWatchlist ADDITIONAL STYLES
************************************/
.display {
  display: none;
}

.my {
  text-align: center;
}

.titles {
  font-size: 1em;
  padding: 33px;
  padding-bottom: 0;
  padding-top: 15px;
  height: 55px;
  margin-bottom: 0;
}

/************************************
 media width
************************************/
@media (min-width: 200px) and (max-width: 1000px) {
  .search {
    height: 300px;
  }

  .search h1 {
    padding-bottom: 0;
  }

  input, button{
    width: 80%;
    height: 15%;
    margin-bottom: 2%;
  }

  .result {
    padding-left: 0;
  }

  .minSection {
    height: 450px;
    margin-top: 0;
    margin-bottom: 0;
  }

  div {
    width: 100%;
    height: 127px;
    text-align: center;
  }

  .title, h3 {
    font-size: 1em;
  }

  img {
    width: 38%;
    margin: auto;
  }

  .watchlist {
    margin: auto;
    margin-top: 2%;
    height: 30%;
    font-size: 14px;
  }
}

@media (min-width: 500px) and (max-width: 700px) {
  img {
    width: 30%;
  }
}

@media (min-width: 600px) and (max-width: 700px) {
  img, .watchlist {
    width: 24%;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .search {
    height: 300px;
  }

  .search h1 {
    padding-bottom: 0;
  }

  input, button{
    width: 65%;
    height: 15%;
    margin-bottom: 2%;
  }

  .result {
    padding-left: 0;
  }

  .minSection {
    height: 500px;
  }

  div {
    width: 100%;
    height: 190px;
    text-align: center;
  }

  .title {
    font-size: 2em;
  }

  img {
    width: 20%;
    margin: auto;
  }

  .watchlist {
    margin: auto;
    margin-top: 2%;
    width: 20%;
    height: 20%;
  }
}

@media (min-width: 900px) and (max-width: 1000px) {
  input, button {
    width: 55%;
  }

  img {
    width: 16%;
  }

  .watchlist {
    width: 16%;
  }
}


@media (min-width: 1001px) and (max-width: 1200px) {
  input {
    width: 40%;
  }

  img, .watchlist {
    width: 40%;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  input {
    width: 30%;
  }

  img {
    width: 33%;
  }

  .watchlist {
    width: 33%;
  }
}

@media (min-width: 2000px) and (max-width: 3000px) {
  input {
    width: 15%;
  }

  button {
    width: 5%;
  }

  .minSection {
    height: 685px;
  }
}

@media (min-width: 2000px) and (max-width: 3000px) {
  img {
    width: 30%;
    height: 400px;
  }

  .watchlist {
    width: 30%;
  }
}
/************************************
myWatchlist media width
************************************/
@media (min-width: 200px) and (max-width: 1000px){
  .list {
    width: 142%;
  }

  .mylist {
    width: 35%;
    margin-left: 20px;
  }

  .titles {
    padding: 17px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .posters {
    width: 75%;
  }

  .removeFromWatchlist {
    width: 28%;
    height: 25%;
    margin-left: 0;
  }
}

@media (min-width: 401px) and (max-width: 500px) {  
  .removeFromWatchlist {
    width: 25%;
    height: 25%;
    margin-top: 0;
    margin-left: 0;
  }

  .posters {
    width: 70%;
  }
}

@media (min-width: 501px) and (max-width: 600px) {
 .mylist {
  width: 25%;
 }
}

@media (min-width: 601px) and (max-width: 1000px) {
  .mylist {
    width: 20%;
    margin-left: 18px;
  }

  .posters {
    width: 70%;
  }

  .removeFromWatchlist {
    margin-top: 0;
    width: 25%;
  }
}

@media (min-width: 601px) and (max-width: 700px) {
  .mylist {
    margin-left: 16px;
  }

  .removeFromWatchlist {
    width: 27%;
  }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .mylist {
    margin-left: 22px;
  }

  .posters {
    width: 65%;
  }

  .removeFromWatchlist {
    width: 22%;
  } 
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .mylist {
    width: 17%;
    margin-left: 13px;
  }

  .removeFromWatchlist {
    width: 21%;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .mylist {
    width: 14%;
    margin-left: 19px;
  }

  .removeFromWatchlist {
    width: 20%;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .mylist {
    width: 12%;
    margin-left: 20px;
  }
}

@media (min-width: 2000px) {
  .mylist {
    height: 550px;
  }

  .list {
    height: 385px;
  }

  .removeFromWatchlist {
    width: 18%;
    height: 17%;
  }
}