@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

:root {
    --primary-color:#22254b;
    --secondary-color: black;
  
}

* {
  box-sizing: border-box;
}

body {
  background-color: rgba(151,151,151,0.03);
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
.logo img{
  height: 117px;
  width: 190px; 
  position: absolute;
  left: 0rem;
  top: 0px;

}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
nav{
  display: flex;
  justify-content:right;
  align-items: center;
  width:100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background-color: rgb(13, 54, 95);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

nav .menu{
  display: flex;
   }
nav .menu li a{
  height: 40px;
  line-height: 43px;
  margin: 22px;
  padding: 0px  2px;
  display: flex;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bolder;
  color: #666;
  letter-spacing: 1px;
  text-align: right;
  font-family: sans-serif;
  
}
 
.search {
  background-color: transparent;
  border: 2px solid   #666;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #666;
}

.search::placeholder {
  color: #666;
}

.search:focus {
  outline: none;
  background-color: var(--primary-color);
}
nav.menu li a:hover{
  background-color: #242424;
  color:black;
  box-shadow: 5px 10px 30px rgba(53,53,53,0.1);
  transition: all ease 0.2s;


}

main {
  margin-top: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  background-color: var(--secondary-color);
  background-image: ;
}

.movie {
  width: 350px;
  margin: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}
.movie img {
  width: 100%;
}
.movie-info {
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 1rem;
  letter-spacing: 0.5px;
}

.movie-info h3 {
  margin-top: 0;
}
.movie-info span {
  background-color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-weight: bold;
}

.movie-info span.green {
  color: lightgreen;
}

.movie-info span.orange {
  color: orange;
}

.movie-info span.red {
  color: red;
}

.overview {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  max-height: 100%;
  transform: translateY(101%);
  overflow-y: auto;
  transition: transform 0.3s ease-in;
  backdrop-filter: blur(10px);
  color: #fff;
}
.movie:hover .overview {
  transform: translateY(0);
}

footer{
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #666;
  margin-top: 0rem;
  padding: .3rem 0;
  background-color:var(--primary-color);
}
footer h1{
  font-size: 1.4rem;
  color: #666;
}