@import url('https://fonts.googleapis.com/css2?family=Redressed&display=swap');
/* general puurpose styles */


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

body {
    background-color: #36454F;
}

.wrapper {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    padding-top: 5rem;
    padding-left: 250px;
}

@media (max-width: 480px) {
    .wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
}

ul {
    list-style-type: none;
}

.title-font {
    font-family: 'Redressed', cursive;
}

/* header styles */

.movieHeader {
    position: fixed;
    z-index: 3;
    background: #f18d8d;
    left: 0;
    top: 0;
    right: 0;
    padding-top: 1em;
    padding-bottom: 0.5em;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

@media (max-width: 480px) {
    .movieHeader {
        
    }
}

.logo-info{
    padding-left: 1.25rem;
}

.logo-info .title {
    font-size: 25px;
}

@media (min-width: 481px) {
    .hamburger-menu {
        display: none;
    }
}

.navigation {
    padding-right: 1.5rem;
}

@media (max-width: 480px) {
    .navigation {
        display: none;
    }
}

.my-nav {
    display: grid;
    place-items: center;
    row-gap: 10px;
    position: relative;
}

.avatar-img {
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
}

/* end of header styles */


/* sidebar styles */

.sidebar-section {
    position: fixed;
    left: 0;
    top: 3rem;
    bottom: 0;
    background: #353935;
    width: 200px;
    color: gray;
}

@media (max-width: 480px) {
    .sidebar-section {
        position: absolute;
        z-index: 5;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        color: #333;
        border-radius: 15px;
        max-width: 100%;
        height: 200px;
        transform-origin: top;
        
        display: none;
    }
    

    .sidebar-section.showSidebar {
        display: block;
        transition: 0.6s ease;
    }
}

.sidebar-nav {
    padding: relative;
    padding-left: 1.25rem;
}

@media (max-width: 480px) {
    .sidebar-nav {
        padding: 0 !important;
    }
}


.menav {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .menav {
        align-items: center !important;
    }

    .menav li.active {
        background: #f18d8d;
        padding: 5px;
        width: 100%;
    }
}

.menav li {
    margin-bottom: 1em;
    text-align: center;
}

/* end of sidebar styles */

img{
    display: block;
    max-width: 100%;

}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1.5em;
}

@media (max-width: 480px) {
    .container {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
}

.images {
    height: 200px;
    width: auto;
}

.intro-section {
    width: 50vw;
    display: flex;
    justify-content: space-between;
}

.form-section input {
    padding: 0.4em;
    outline: none;
    border: none;
    
}

.search-bar {
    position: relative;
    
}

.search-icon {
    position: absolute;
    right: 0;
}

.search-icon img {
    height: 25px;
    transform: rotate(-90deg);
    margin: 2px;
    cursor: pointer;
}



/* movie styles */

.card {
    display: grid;
    place-items: center;
}

.card img {
    padding-bottom: 10px;
}

.card h5{
    text-align: center;
    color: #fff;
    max-width: 10em;
}