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


/**************** 
    Typography
*****************/

body {
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin: 0 auto;
    background: #121212;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    text-shadow: 1px 1px 5px black;
}

a {
    color: #f5f5f5;
    text-decoration: none;
}

a:hover {
    color: #7e7e7e;
}

button {
    background: none;
    border: none;
    color: #f5f5f5;
}

button:hover {
    color: #7e7e7e;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    padding: 0px 50px;
    background-image: url("bg-image.png");
    background-color: #5a5a5a;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: 0% 25%;
}

header a {
    font-weight: 700;
    font-size: 1.125rem;
    text-shadow: 1px 1px 5px black;
    margin-top: 5px;
}

/********************* 
  Search-bar layout 
*********************/

#search-bar {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 75%;
    transform: translateY(-50%);
    border-radius: 6px;
}

#search-bar input {
    padding: 15px;
    padding-left: 45px;
    width: 70%;
    background-color: #343434;
    border: none;
    border-radius: 5px 0 0 5px;
    color: #A5A5A5;
    cursor: text;
}

#search-bar input::before,
#search-bar input:focus{
    outline: 1px solid rgba(255, 255, 255, 0.5);
}

#search-bar button {
    width: 30%;
    background: #4B4B4B;
    border-radius: 0px 5px 5px 0px;
    color: #f5f5f5;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

#search-bar i {
    position: absolute;
    align-self: center;
    left: 0;
    padding-left: 15px;
    color: grey;
    font-size: 1.125rem;
}

#main-container {
    text-align: center;
    
}


/********************* 
Films container layout 
*********************/

#wrapper {
    display: flex;
    flex-direction: column;
    margin: 30px auto;
    width: 80%;
    
}

#films-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.fa-magnifying-glass {
    font-size: 5rem;
    color: #2E2E2F;
    
}

#films-container img {
    width: 100px;
    height: 150px;
    object-fit: cover;
}

.film-info p, a {
    font-size: 0.875rem;
    padding: 0 10px 0 0;
}

.film-info i {
    font-size: 1rem;
}

.film-plot p {
    color: #A5A5A5;
    font-size: 0.875rem;
    text-align: left;
}

#films-container .film-title,
#films-container .film-info {
    display: flex;
}



#films-container h3 {
    margin: 0;
    font-size: 1.25rem;
    
}
#films-container .film-title {
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

#films-container .film-info {
    justify-content: space-between;
    margin-bottom: 10px;
}


hr {
    margin-top: 30px;
    border: 1px solid #2C2C2C;
}

.fa-circle-plus {
    font-size: 1rem;
}

.fa-film,
#blank-page {
    color: #404040;
}

.fa-film {
    font-size: 4rem;
    margin-top: 200px;
}

