html, body{
    margin: 0;
}

body{
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#header-content{
    background-image: url("../images/posters.png");
    background-color: #0E0E0E;
    color: white;

}

.center-element{
    width: 97%;
    margin: 0 auto;
}

.inner-header{
    display: flex;
    justify-content:space-between;
    align-items:center;
    min-height: 210px;
}

#header-content h1, #header-content h2{
    margin: 0;
}

#header-content h1{
    font-size: 2.625em;
}
#header-content h2{
    font-size: 0.875em;
}

.inner-header  a{
    color: white;
    text-decoration: none;
}
.inner-header a:hover, .inner-header a:focus{
    color: #9CA3AF;
}

.search{
    margin-top: -0.8em;
}

main{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.justify-content-center{
    justify-content: center;
}

.display-none{
    display: none;
}

.light-gray-text{
    color: #DFDDDD;
}

.heavy-gray-text, footer a{
    color: #6B7280;
}

#movie-list{
    margin-top: 2em;
}

.mov-container-div, .line1-div, .line2-div{
    display: flex;
    gap: 1em;
}

.mov-container-div, .line2-div{
    justify-content: space-between; 
}

.mov-container-div{
    padding: 1.5em 0;
    border-bottom: 1px dotted #E5E7EB;
}

.img-poster{
    width: 100px;
    height:calc(100px * 3 / 2) /*150px;*/
}

.line1-div{
    padding: 0.25em 0;
    align-items: center;
}
.title-h2{
    padding: 0;
    margin: 0;
    font-size: 1.5em;
}
.line2-div{
    width: 90%;
    color: #111827;
    font-size: 0.875em;
}

.movie-button{
    border-radius: 50%;
    background-color: #1C1C1C;
    color: white;
    border: none;
}
.movie-button:hover, .movie-button:focus{
    background-color: #969393;
    color: #1C1C1C;
}

.button-text{
    display: inline-block;
    margin-left: 0.5em;
}

.action-text{
    font-size: 0.5em;
}

footer{
    font-size: 0.75em;
    text-align: center;
}

footer a{
    text-decoration: none;
}
footer a:hover, footer a:focus{
    color: #1C1C1C;
}

@media (min-width: 1024px){
    /*
    body{
        background-color:azure;
    }
*/
    .center-element{
        width: 800px;
    }

    .img-poster{
        width: 110px;
        height:calc(110px * 3 / 2) /*150px;*/
    }

    .movie-info-div{
        min-width: 865px;
    }

    .line1-div{
        padding: 1em 0;
    }

    .line2-div{
        width: 60%;
    }
}