* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

/*SIDE NAV SECTION*/
.header_wrapper {
    width: 100%;
    height: 100px;

    background-color: #c0c0c0;
}

.main_marvel_logo {
    display: none;

    position: absolute;
    top: 20px;
    left: 30px;

    height: 50px;
    width: 100px;
}

.main_marvel_logo img {
    height: 100%;
    width: 100%;
}

.navbar-menu-toggle {
    display: none;

    position: absolute;
    top: 30px;
    right: 30px;

    color: #ffffff;
}

.navbar-menu-toggle:hover {
    cursor: pointer;
    color: #c20f0f;
}

.side-navbar {
    z-index: 100;

    display: none;

    position: fixed;
    top: 0px;
    right: -72%;

    padding: 20px;

    width: 50%;
    height: calc(var(--vh, 1vh) * 100);

    transition: 1s;

    background-color: #888888cb;
    color: white;
}

.side-navbar .xicon {
    display: inline;

    position: relative;
    left: 82%;
    
    font-size: 20px;
}

.xicon:hover {
    cursor: pointer;
    color: black;
}

.side-navbar-links {
    margin-top: 30px;
}

.side-navbar-link {
    margin-bottom: 30px;
}

.side-navbar-link-watchlist {
    margin-left: 10px;
}

.side-navbar-link a {
    text-decoration: none;
    font-size: 18px;

    color: white;
}

.side-navbar-links a:hover {
    cursor: pointer;
    color: #000000;
}

.side-navbar-link .active {
    padding: 5px;
    background-color: #c20f0fcb;
    border-radius: 5px;
}

/*HEADER SECTION*/
a {
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    gap: 16%;

    position: relative;

    height: 70px;
    width: 1240px;
    max-width: 90%;

    margin: auto;
    padding-top: 15px;
}

.nav_main_logo {
    height: 70px;
    width: 130px;
}

.nav_main_logo img {
    height: 100%;
    width: 100%;
}

header nav a {
    margin-right: 20px;
    padding: 5px 10px;

    transition: 0.2s;

    font-size: 15px;
    font-weight: 500;

    color: #eee;
}

header nav a.active,
header nav a:hover {
    border-radius: 5px;

    background-color: #c20f0fcb;
}

.fav_movie_icon::before {
    position: absolute;
    top: 40px;
    left: 90%;

    content: "\f008";
    font-family: FontAwesome;
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
}

.fav_movie_icon:hover {
    cursor: pointer;
    color: #c20f0f
}

.fav_movie_hovertext {
    display: none;

    position: absolute;
    top: 65px;
    left: 88.3%;
}

.fav_movie_icon:hover+.fav_movie_hovertext {
    display: inline;
}

/*FAVOURTIE MOVIE SIDEBAR*/
.watchList_nav_container {
    z-index: 200;

    position: fixed;
    top: 0;
    right: -100%;

    width: 400px;
    height: calc(var(--vh, 1vh) * 100);

    padding: 20px 5px;

    background-color: white;
    box-shadow: 0px 1px 4px rgba(40, 37, 37, 0.1);
    box-sizing: border-box;
}

.watchList_nav_container > *:last-child {
    margin-bottom: 30px;
}

.watchList-active {
    right: 0;

    transition: 0.5s;
}

#nav_close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;

    font-size: 1.5rem;

    padding: 5px;
}

#nav_close:hover {
    cursor: pointer;
    color: #c20f0fcb;
}

.watchList_nav_title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;

    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.watchList_nav_content{
    height: calc(100% - 50px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box; 
}

.watchList_nav_content::-webkit-scrollbar{
    display: none;
}

.watchList_nav_box {
    display: grid;
    grid-template-columns: 20% 70% 10%;
    justify-content: space-between;
    align-items: center;

    padding: 10px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.2);

    user-select: none;

    backdrop-filter: blur(30px);
    box-shadow: 0px 0px 30px rgba(204, 156, 156, 0.37);
    background-color: #f5f5f5;

    position: relative;
}

.watchList_image {
    height: 100px;
    width: 60px;
}

.watchList_image .watchList_image_src {
    height: 100%;
    width: 100%;
}

.watchListed_detail {
    display: grid;
    gap: 0.1rem;
}

.watchList_title {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.WMT{
    color: black !important;
    cursor: default !important;
}

.watchList_title:hover {
    color: #c20f0fcb;
}

.file_loc {
    display: none;
    color: aqua;
}

.watchList_rating,
.watchList_genre {
    font-size: 0.8rem;
    font-weight: 400;
}

.star::before {
    content: "\f005";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: rgb(253, 165, 57);
}

.watchList_view {
    display: inline-block;

    width: 40px;

    border-radius: 5px;

    margin-top: 10px;
    padding: 5px 15px 5px 15px;

    user-select: none;

    background-color: rgb(213, 213, 213);
}

.watchList_view:hover {
    cursor: pointer;

    color: white;
    background-color: #c20f0fcb;
}

.watchList_remove {
    position: absolute;
    bottom: 15px;
    right: 20px;

    font-size: 20px;

    user-select: none;

    color: rgb(0, 0, 0);
}

.watchList_remove:before{
    content: "\f014";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.watchList_remove:hover {
    cursor: pointer;
    color: #c20f0fcb;
}

/*CONTAINER SECTION*/
.container {
    min-height: calc(var(--vh, 1vh) * 100);

    margin: 20px;
}

.container_title h2 {
    font-size: 25px;
}

.product-search {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 10px;

    width: 80%;

    margin: 20px auto 20px auto;
    padding: 10px 20px 10px 20px;

    border: solid black 2px;
}

.product-search input {
    width: 100%;

    font-size: 18px;

    background-color: transparent;
}

.product-search input:focus {
    outline: none;
}

.container_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;

    padding-top: 20px;
}

.container_content_child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    height: 300px;
    width: 200px;

    border-radius: 5px;

    padding: 10px;

    transition: 0.5s;

    box-shadow: 2px 2px 1px rgb(209, 209, 209);
    background-color: rgb(241, 241, 241);
}

.container_content_child:hover {
    cursor: pointer;
    background-color: #c3c3c3cb;
    transform: scale(1.1);
}


.content_child_image img {
    border-radius: 5px;

    height: 220px;
    width: 150px;
}

.content_child_text {
    width: 100%;
}

.content_child_text .title_text {
    font-size: 15px;
    font-weight: 500;
}

.content_child_text .para_text {
    font-size: 13px;
    font-weight: 400;

    color: #272727;
}

.para_text .star_icon::before {
    content: "\f005";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;

    color: rgb(255, 187, 0);
}

.heart_icon {
    position: relative;
    top: 0;
    left: 60px;

    font-size: 20px;
}

.heart_icon:hover {
    cursor: pointer;
    color: rgb(213, 85, 123);
}

.heart_icon::before {
    content: "\f08a";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.heart_icon_active:hover {
    cursor: pointer;
    color: rgb(175, 175, 175);
}

.heart_icon_active::before {
    content: "\f004";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;

    color: rgb(213, 85, 123);
}

/*NAVIGATION SECTION*/
.navigation_button_container {
    display: flex;
    justify-content: end;

    margin: 20px;
    padding-right: 50px;
}

.navigation_button_child {
    border-radius: 15px;

    height: 50px;
    width: 50px;

    text-align: center;

    box-shadow: 1px 1px 2px rgb(91, 91, 91);
    background-color: rgb(239, 239, 239);
}

.navigation_button_child:hover {
    cursor: pointer;

    color: white;
    background-color: #c20f0fcb;
}

.navigation_button_child p {
    padding-top: 15px;
}

.navigation_button_child .back_icon::before {
    content: "\f015";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
}

/*FOOTER SECTION*/
.footer_container {
    position: relative;
    bottom: 0;
    left: 0;

    width: 100%;

    background-color: #c20f0fcb;
}

.footer_container p {
    text-align: center;
    font-size: 15px;

    padding: 20px;

    color: white;
}



@media screen and (max-width: 768px) {

    .main_marvel_logo {
        display: block;
    }

    .navbar-menu-toggle {
        display: block;
    }

    .side-navbar {
        display: block;
    }

    header {
        display: none;
    }

    .fav_movie_icon,
    .fav_movie_hovertext {
        display: none;
    }

    .wrapper {
        display: none;
    }

}

@media screen and (max-width: 550px) {

    .side-navbar .xicon {
        top: 7px;
        left: 85%;
    }

    .watchList_nav_container {
        width: 250px;
    }

    #nav_close {
        font-size: 1.2rem;
    }

    .watchList_nav_title {
        font-size: 1.3rem;
    }

    .watchList_nav_box {
        grid-template-columns: 20% 70% 2%;
        gap: 10px;
    }

    .watchList_image {
        height: 70px;
        width: 40px;
    }

    .watchList_title {
        font-size: 0.8rem;
    }

    .watchList_rating,
    .watchList_genre {
        font-size: 0.6rem;
    }

    .watchList_view {
        margin-top: 2px;
        padding: 2px 5px 2px 5px;
    }

    .watchList_remove {
        bottom: 12px;
        right: 25px;
        font-size: 17px;
    }

    .container_content {
        justify-content: flex-start;
    }

    .container_content_child {
        height: 200px;
        width: 120px;
    }

    .content_child_image img {
        height: 120px;
        width: 80px;
        border-radius: 5px;
    }

    .content_child_text .title_text {
        font-size: 12px;
    }

    .content_child_text .para_text {
        font-size: 10px;
    }

    .heart_icon {
        position: relative;
        top: 0px;
        left: 18px;

        font-size: 16px;
    }

    .navigation_button_container {
        padding-right: 10px;
    }

}