@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

:root {
    --primary-color: #22254b;
    --secondary-color: #373b69;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    background-color: var(--secondary-color);
}

.search {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: #fff;
}

.search::placeholder {
    color: #7378c5;
}

.search:focus {
    outline: none;
    background-color: var(--primary-color);
}

main {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center; */
    display: flex;
    align-items: center;
    height: 300px;
    transform: translateX(0);
    transition: all 1s ease-in-out;
}

.movie {
    width: 300px;
    margin: 1rem;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.movie img {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.movie-info {
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 1rem;
    letter-spacing: 0.5px;
}

.movie-info h3 {
    margin-top: 0;
}

.movie-info span {
    background-color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-weight: bold;
}

.movie-info span.green {
    color: lightgreen;
}

.movie-info span.orange {
    color: orange;
}

.movie-info span.red {
    color: red;
}

.overview {
    background-color: #fff;
    padding: 2rem;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 100%;
    transform: translateY(101%);
    overflow-y: auto;
    transition: transform 0.3s ease-in;
}

.movie:hover .overview {
    transform: translateY(0);
}



/* Utility Classes */
.container {
    margin: auto;
    max-width: 1100px;
    overflow: auto;
    padding: 0 20px;
}

/* Navbar */
#navbar {
    background: ;
    color: ;
    overflow: auto;
}

#navbar a {
    color: ;
    text-transform: uppercase;
}

#navbar .logo {
    float: left;
    padding-top: 20px;
}

#navbar ul {
    list-style: none;
}

#navbar ul li {
    float: left;
}

#navbar ul li a {
    display: inline-block;
    padding: 20px;
    text-align: center;
}

#navbar ul li a:hover,
#navbar ul li a.current {
    /*background: #444;*/
    color: #f7c08a;
}

/* add on new */
/* add on new */
/* add on ul */
#navbar .n-container {
    text-align: center;
    display: inline-block;
}

#navbar .ul-container {
    display: inline-block;
}

#navbar .ul-container ul li a {
    /*border-right: 1px solid #000;/*rgba(255,255,255, .3)*/
    ;
}

/* add on ul */
#navbar .links {
    display: inline-block;
    float: right;
}

#navbar .links li a {
    display: inline-block;
}


/* Footer */
#main-footer {
    text-align: center;
    background: #19100B;
    color: #fff;
    padding: 25px;
    overflow: auto;
}

/* add-on */
#main-footer a {
    color: #fff;
}

#main-footer ul {
    list-style: none;
    /*float: right;*/
    display: inline-block;
    margin-left: 200px;
}

#main-footer ul li {
    /*float: left;*/
    display: inline-block;
}

#main-footer ul li a {
    display: inline-block;
    padding: 20px;
    text-align: center;
}