* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    background-color: black;
}

nav {
    height: 70px;
    width: 100%;
    /*background: black;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .name {
    margin-left: 20px;
    font-size: large;
    color: white;
    font-weight: bold;
    text-align: center;
}

nav p::first-letter {
    color: yellow;
}

/*nav button {
    background-color: transparent;
    outline: none;
    width: auto;
    border: none;
}*/

nav i, nav  {
    margin-right: 20px;
}

.mid {
    width: 100%;
    height: 150px;
    background-color: #454545;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.mid p {
    color: white;
    font-weight: bold;
    font-size: xx-large;
    margin-right: 10px;
}

.input {
    display: block;
}

.mid input {
    width: 400px;
    height: 40px;
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
}

.search-list {
    width: 420px;
    max-height: 400px;
    background-color: #413839;
    overflow-y: auto;
    position: absolute;
    border-radius: 10px;
    display: none;
}

.list-movie {
    display: flex;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 90%;
    height: 100px;

    margin-left: 5%;
    cursor: pointer;
}

.list-movie .poster {
    width: 80px;
    height: 100%;
}

.poster img {
    width: 80px;
    height: 100%;
}

.list-movie .poster-details {
    display: block;
}

.poster-details li {
    list-style: none;
    margin-top: 20px;
    font-weight: bold;
    margin-left: 10px;
    color: white;
}

.main {
    height: 70vh;
    width: 100%;
    /*background-color: black;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.main .movie-thumbnail {
    width: 325px;
    height: 80%;
    margin-right: 20px;
}

.movie-thumbnail img {
    width: 100%;
    height: 100%;
}

.main .details {
    width: 525px;
    height: 80%;
}

.details p {
    color: white;
    margin-bottom: 15px;
    margin-top: 10px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.details span {
    text-align: center;
    color: white;
    text-align: center;
}

.details .rated {
    padding: 9px;
    color: yellow;
}

@media screen and (max-width: 1023px) {
    .main .movie-thumbnail {
        margin-top: 15px;
    }
}

@media screen and (max-width: 468px) {
    .movie-thumbnail img {
        margin-left: 4%;
    }
    .mid input {
        width: 300px;
    }

    .input .search-list {
        width: 320px;
    }

    .main .movie-thumbnail {
        height: 60%;
    }

    .poster-details li {
        font-size: small;
    }
}