@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body{
    display: flex;
  flex-direction: column;
    height: 100vh;
}

header{
    background-image: url(https://images.unsplash.com/photo-1753944847480-92f369a5f00e?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1171);
    background-size: 150%;
    background-position: 50% 60%;
    height: 200px;
    min-height: 200px;
    background-blend-mode:exclusion;
    background-color: black;
    color: white;
}

h1{
    
    font-size: 3rem;
    margin: 0;
    text-align: center;
}


.header-content{

    position: relative;
    background-color: rgba(0,0,0,0.8);
    height: 100%; /* reference to the header height */
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    

}

.link{
    text-align: center;
    align-self: center;
    height: fit-content;
}
.link:hover{
    cursor: pointer;
    color: #D1D5DB;
}



form{
    display: flex;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 60vw;
    background: #D1D5DB;
    border-radius: 6px;

box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
-webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
-moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
}

form input{
    width: 100%;
    border: 1px solid #D1D5DB;
    padding: 0.5rem 1rem;
    border-radius: 6px 0 0 6px;
    outline: 0;


}

button{
    padding: 0.5rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0 6px 6px 0;
    background-color: hsl(210, 40%, 98%);
    color: #374151;

}

main{
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.empty{
      display: flex;
      flex-direction: column;
    justify-content: center;
    font-size: 1.5rem;
    gap:1rem;
    font-weight: bold;
    margin: auto;
    color: #DFDDDD;
    max-width: 25rem;
    text-align: center;
    

}
.empty img{
    width: 60%;
    align-self: center;
}

a{
    text-decoration: none;
    color: inherit;
}

.lets-add{
    color: black;
    font-size: 14px;
 
    
}

.lets-add img{
height: 18px;
width: 18px;
margin-right: 0.5rem;

}

.movie-list{
    display: none; /* default is none until search results populated */

    padding: 3rem 3rem 3rem 3rem;
    margin: auto;
    margin-top: 0;
}

.movie{
    display: flex;

}

.movie-poster{
    height: 12rem;
    aspect-ratio: 2/3;
}

.movie-details{
    margin: 2rem 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.movie-title{
    font-weight: 600;
    font-size: 18px;
}

.movie-info{
    gap: 1rem;
    font-size: 0.75rem;
}

hr{
    margin: 1rem 0 1rem 0;
    height: 0;
    border: 1.5px solid #E5E7EB;

}

.poster{
    width: 100%;
}

.movie-plot
{

    color: #6B7280;
    line-height: 20px;
}

.flex{
    display: flex;
}

.add{

    display: flex;
    gap: 0.2rem;
}

.add:hover{
    cursor: pointer;
}

.info1{
    gap:0.5rem;
}

.rating{
    font-size: 12px;
}

footer{
    background-color: darkgray;
    color: white;
    padding: 1rem;
    margin-bottom: 0;
    text-align: center;
}

footer a{
    color:lightblue;
}