*{
    margin: 0;
}

body{
     background-color: #030303;
     font-family: 'Times New Roman', Times, serif;
     margin: 0;
}
header{
    
    display: flex;
    justify-content: center;
    background-color: #363636;
}
h1{
    color: whitesmoke;
    align-self: center;
    margin-left: 5rem;
}
.search{
    margin: 3rem;
   margin-left: 5rem;
    background-color: transparent;
    border: 2px solid #e9e9ec;
   border-radius: 50px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    align-items: right;
}
.search::placeholder{
    color: #7378c5;
}
main{
    display: flex;
    flex-wrap: wrap;
    margin: 50px;
}

.movie{
    width:300px;
    margin: 1rem;
    background-color: rgb(61, 61, 208) ;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    padding: 10px;
}

.movie img{
    width: 100%;
}

.movie-info{
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 1rem;
    letter-spacing: 1px;
}

.movie-info span{
    background-color: #eee;
    padding: 0.25rem 0.25;
    border-radius: 3px;
    font-weight: bold;
}

.movie-info span.red{
    color: red;
}
.movie-info span.blue{
    color: blue;
}
.movie-info span.goldenrod{
    color: goldenrod;
}
.movie-info span.green{
    color: green;
}

.overview{
    background-color: #eee;
    color: rgb(61, 61, 208);
    padding: 2rem;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 100%;
    transform: translateY(101%);
    transition: transform 0.3s ease;

}

.movie:hover .overview{
    transform: translateY(0);
}