* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Color scheme */
:root {
  --md-dark-color: #282727;
  --dark-color: #363535;
  --light-dark-color: #666565;
  --yellow-color: #e8d934;
}


a {
  text-decoration: none;
}


body {
  min-width: 308px;
}

img {
  width: 100%;
  display: block;
}


/* Outer-container */

.outer-container {
  min-height: 100vh;
  background-color: var(--dark-color);
}

.outer-container .container {
  max-width: 1500px;
  margin: 0px;
  padding: 0  100px;
}
/* End of outer-container */


/* logo */

.logo {
  padding: 10px;

}
.logo a {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  padding: 2px;
}

.logo a img{
  width: 80px;
  height: 40px;
  padding: 2px;
}

#fav,
#lastSearch {
  font-size: 30px;
  margin-right: 10px;
  padding: 4px;
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
#logo {
  flex: 1;
}
/*End of logo*/

.static{
  color: white;
  font-size: 40px;
}
.Animation{
  background-color:var(--md-dark-color);
  padding: 100px 0px 20px 0px;
  justify-content: center;
  text-align:center ;
}
/* Text Animation - Search container */
#element{
  color:var(--yellow-color);
  font-size: 40px;
}


.search-container {
  background-color: var(--md-dark-color);
  padding: 200px 0px 50px 0px;
  /* height: 200px; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-right: 4px solid var(--light-dark-color); */
  /* border-bottom: 2px solid var(--light-dark-color); */
}

.search-element {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}



.search-element .form-control {
  padding: 1rem 2rem;
  font-size: 1.4rem;
  border: none;
  outline: none;
  border-radius: 50px;
  /* width: 350px; */
  width: 800px;
  color: var(--light-dark-color);
}

.search-list {
  position: absolute;
  right: 0  ;
  left: 0;
  top: 100%;
  max-height: 500px;
  overflow-y: scroll;
  z-index: 10;
}

.search-list .search-list-item {
  background-color: var(--light-dark-color);
  padding: 0.5rem;
  border-bottom: 1px solid var(--dark-color);
  /* width: calc(350px - 8px); */
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.search-list .search-list-item:hover {
  background-color:  var(--yellow-color);
}

.search-list-item {
  display: flex;
  align-items: center;
}
.search-item-thumbnail img {
  width: 50px;
  margin-right: 1rem;
}

.search-item-info h3 {
  font-weight: 600;
  font-size: 1rem;
}

.search-item-info p {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-weight: 600;
  opacity: 0.6;
}

/* thumbnail */
.search-list::-webkit-scrollbar {
  width: 8px;
}

.search-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.search-list::-webkit-scrollbar-thumb {
  background-color: var(--yellow-color);
  outline: none;
  border-radius: 10px;
}

/* js related class */
.hide-search-list {
  display: none;
}

/* End of Search container */




/* Movie Page css*/

.result-container {
  padding: 3rem 0;
}

/* poster image container */
.movie-poster img {
  max-width: 300px;
  margin: 0 auto;
  border: 4px solid #fff;
}

/* Movie infromation Container */
.movie-info {
  text-align: center;
  color: #fff;
  padding-top: 3rem;
}

.movie-title {
  font-size: 2rem;
  color: var(--yellow-color);
}

.movie-misc-info {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.movie-info .year {
  font-weight: 600;
}

.movie-info .rated {
  background-color: var(--yellow-color);
  padding: 0.4rem;
  margin: 0 0.4rem;
  border-radius: 3px;
  font-weight: 600;
}

.movie-info .released {
  font-size: 0.9rem;
  opacity: 0.9;
}

.movie-info .writer {
  padding: 0.5rem;
  margin: 1rem 0;
}

.movie-info .genre {
  background-color: var(--light-dark-color);
  display: inline-block;
  padding: 0.5rem;
  border-radius: 3px;
}

.movie-info .plot {
  max-width: 400px;
  margin: 1rem auto;
}

.movie-info .language {
  color: var(--yellow-color);
}

.movie-info .awards {
  font-weight: 300;
  font-size: 0.9rem;
  margin: 0.9rem 0;
}

.movie-info .awards i {
  color: var(--yellow-color);
  margin: 0 0.2rem;
}

/* Add to Favourites button */
#addToFav {
  display: block;
  width: 80%;
  margin: auto;
  margin-top: 20px;
  font-size: 1.5rem;
  text-transform: uppercase;
  background-color: #292929;
  padding: 10px 20px;
  outline: none;
  border: none;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--yellow-color);
  cursor: pointer;
}
#addToFav:hover {
  background-color: grey;
}
/* End of Movie Page  */


