*, *::after, *::before {
  box-sizing: border-box;
}

.top a {
    float: right;
    text-align: center;
    display: block;
    color: rgb(0, 0, 0);
    padding: 15px 15px;
    text-decoration: none;
    font-size: 20px;
    background-color: rgb(243, 202, 32);
    border: solid 4px rgb(0, 8, 20);
    border-right: none;
  
  }


::placeholder{
  color: rgb(243, 202, 32);
  font-size: 20px;
}

.search-bar {
  margin-top: 0.5rem;
  display: flex;
  flex-grow: 1;
  padding: 0 5rem;
  
}

.search-input {
  width: 100%;
  font-size: 1rem;
  padding: 0.6em;
  background-color: rgb(20,61,89);
  border: 3px solid rgb(243, 202, 32);
  color: rgb(243, 202, 32);
  font-size: 20px;
}

.search-button {
  border: 3.5px solid rgb(243, 202, 32);
  background-color: rgb(20,61,89);
  display: flex;
  align-items: center;
  cursor: pointer;

}

.border1 {
  width: 95%;
  border: 5px solid rgb(0, 8, 20);
}

.border2 {
  display: flex;
  align-items: center;
  border: 5px solid rgb(0, 8, 20);
  border-left: none;
}


body {
    color: rgb(233, 233, 233);
    background-color: rgb(0, 8, 20);
    margin: 0;
    padding: 0;
  }


.topic-container{
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.topic{
    padding: 0 1rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 35px;
    text-shadow: 8px 8px 8px rgb(148, 148, 148);
    background-color: rgba(255, 183, 3 , 0.8);
    border-radius: 10%;
    border: 6px solid black;
    
}


 .recommend{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  grid-gap: 2rem 1rem;
  padding: 2rem 0;
  margin: 0 1.5rem;
}

.recommend * img {
  border-radius: 3%;
  transition: 0.3s;
  width: 200px;
  height: 280px;
  box-shadow: 0px 7px 10px 5px rgb(0,0,0);
}

.recommend0 img:hover,.recommend1 img:hover,.recommend2 img:hover,.recommend3 img:hover,.recommend4 img:hover,.recommend5 img:hover,.recommend6 img:hover,.recommend7 img:hover
{
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.9) ;
  transform: scale(1.2);
  border-radius: 7%;
  box-shadow: 0px 8px 10px 10px rgb(0, 0, 0);
}


recommend {
  display:inline;
  border-style: solid;
  background-color: rgb(244,180,26);
  border-width: 5px;
  font-size: 35px;
  text-shadow: 1px 0px 1px rgb(0, 0, 0);
  font-style: italic;
  color: rgb(0, 0, 0);
  margin: 0 1rem;
  padding: 0 0.3rem;

}





.head-background{
  background-image: url(../database/image/head-background.jpg);
  background-size: 100%;
  border-bottom: 5px solid rgb(0, 0, 0) ;
  background-attachment: fixed;
  display : flex;
  flex-direction: column;
}






.movie1,.movie2,.movie3,.movie4,.movie5,.movie6,.movie7,.movie8, .movie9
{
  display:grid; 
  margin: 1rem 1rem;
  grid-template-columns: repeat(2, 5fr);
  text-align: left;
  color: rgb(233, 233, 233);
  padding: 10px 0px;
  text-decoration: none;
  font-size: 22px;
  background-color: rgb(0, 0, 12);
  background-position: right;
}

.name{
  margin: 0 2rem;
  border-bottom: 1px solid rgb(124, 124, 124);
  text-shadow: 0px 1px 3px white;
}

.infotxt{
  margin: 0 2rem;
  color: grey;
}

.storyLine {
  font-size: 21px;
  margin: 0 2rem;
  text-align: justify;
  color: rgb(255, 183, 3);

}

.movie2,.movie3,.movie4,.movie5,.movie6,.movie7,.movie8,.movie9{
  display:none;
}

.trailer1{
  margin: 0.5rem 0.5rem;
}










/* info block*/


.infogrid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  font-size: 16px;
  color: rgb(233, 233, 233);
  padding: 5rem 0.5rem;
  margin: 0 0.1rem;
  background-image: url("../database/image/infobackground.jpg");
  border-style: solid;
  text-align: center;
}

.infogrid a:link a:visited a:hover a:active {
  color: white;
  text-decoration: none;
}



