*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#111;
    color:white;
    font-family:Arial, Helvetica, sans-serif;
}

header{
    background:#8b0000;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
}

.logo{
    font-family: Impact, fantasy;
    font-size:2rem;
    font-weight:bold;
    letter-spacing:2px;
}

#search{
    width:300px;
    padding:10px;
    border:none;
    border-radius:4px;
}

main{
    padding:30px;
}

section{
    margin-bottom:40px;
}

h2{
    margin-bottom:15px;
    border-left:5px solid #e50914;
    padding-left:10px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
}

.poster{
    background:#1c1c1c;
    border-radius:6px;
    overflow:hidden;
    transition:0.3s;
}

.poster:hover{
    transform:scale(1.05);
}

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

.poster h3{
    padding:10px;
    font-size:1rem;
}

.poster p{
    padding:0 10px 10px;
    color:gold;
}

.out-of-ten {
  color:gray;
}

.mini-sections{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.mini{
    background:#1b1b1b;
    padding:20px;
    border-radius:8px;
}

.mini ul{
    list-style:none;
}

.mini li{
    padding:8px 0;
    border-bottom:1px solid #333;
}

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    #search{
        width:100%;
    }

    .mini-sections{
        grid-template-columns:1fr;
    }
}