/*
*    Author: Johann Olivares
*    Date: 02/14/2021
*    Version: 1.0
*    Description: General Formating for Sin streaming web application
*/

/* =========================
   Base Typography
   ========================= */

:root {
  --font-primary: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
                  'Segoe UI', Roboto, Arial, sans-serif;
}


/*General Formating*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html, body {
    
    background-color: black;
    text-align: center;
    color: white;
    height: 100%;
    width: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-primary);
}
.container {
    max-width: 92%;
    margin: auto;
    padding: 50px 25px;
}
.cta, .cta_alt {
    background: #fff;
    border-radius: 5px;
    border: 2px solid #fff;
    color: #000;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.cta_alt {
    background: transparent;
    color: #fff;
}
/*End of General Formatting*/

/*Navigation*/
#navBar {
    position: relative;
    text-align: left;
    background-color:  transparent;
    padding: 20px 18px;
    margin-bottom: -78px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
}
#navBar ul {
    display: inline-flex;
    list-style: none;
    gap: 50px;
    color: #ccc;
    cursor: pointer;
    font-weight: 600;
}
#navBar div:nth-child(2) {
    margin: auto 0px;
}
#navBar div:nth-child(3) {
    text-align: right;
    margin: auto 0px;
}
#navBar i {
    font-size: 19px;
    color: #fff;
    cursor: pointer;
}
#navBar i:hover, #navBar a:hover {
    color: #fff;
}
#navBar .img_container {
    text-align: center;
}
#logo img {
    /*height: 20px;*/
    /*object-fit: cover;*/
    /*filter: grayscale(100%) invert(1);*/
    height: 40px;
    object-fit: cover;
}
.navMenu {
    display: inline-flex;
    list-style: none;
    gap: 50px;
    color: #ccc;
    cursor: pointer;
    font-weight: 600;
}
.nav-actions {
    display: flex;
    gap: 50px;
}
.active a {
    color: #fff !important;
}
/*End of Navigation*/

/*Banner*/
#banner {
    box-shadow: inset 250px -50px 150px 110px #000;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;   
}
#hero_wrapper {
    display: flex;
    align-items: end;
    min-height: 75vh;
    text-align: left;
}
#hero_details_wrap {
    max-width: 600px;
    width: 100%;
}
#banner h2 {
    font-size: 45px;
    text-shadow: 3px 3px 9px black;
    padding: 0;
    margin-bottom: 10px;

}
#hero_desc {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 25px;
}
#hero_details {
    margin-bottom: 50px;
}
#hero_play_icon {
    display: flex;
    gap: 10px;
}
/*End of Banner*/

/*Movie styles*/
/* width */
.movie-grid::-webkit-scrollbar {
    background: #ccc;
    border-radius: 10px;
    height: 10px;
    width: 10px;
}

/* Track */
.movie-grid::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}

/* Handle */
.movie-grid::-webkit-scrollbar-thumb {
    background: #fff; 
    border-radius: 10px;
}

/* Handle on hover */
/*.movie-grid::-webkit-scrollbar-thumb:hover {*/
/*    background: #ccc; */
/*}*/
.movie-listings-container {
    position: relative;
    z-index: 10;
}
.listings-header {
    text-align: left;
    padding-bottom: 15px;
    margin: 0;
    font-size: 20px;
}
.movie-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: scroll;
    width: 100%;
}
.movie-grid-item {
    padding: 0;
    margin: 0;
}
.movie-grid-item ul {
    padding: 0;
    list-style-type: none;
    list-style: none;
}
.movie-container{
    overflow: hidden;
    display: flex;
    gap: 25px;
    list-style-type: none;
    width: 100%;
    padding: 0;
    margin: 0;
    
    padding-bottom: 50px;

}
.img-container {
    height: auto;
    width: 325px;

}
#popular-movies li, #trending-movies li, #top-rated-movies li {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 0;

}
.movieImg {
    border-radius: 15px;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
}
/*.movieImg:hover {*/
/*    box-shadow: #fff 0 0 0 5px;*/
/*    transform: scale(1.05);*/
/*}*/

.slider-btn-left {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate(0, -50%);
}
.slider-btn-right {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translate(0, -50%);
}

.slider-btn-left button, .slider-btn-right button {
    background: transparent;
    border: none;
}
.slider-btn-left i, .slider-btn-right i {
    color: #fff;
    font-size: 35px;
}
/*End of Movie styles*/

/*Footer*/
#footer {
    background-color: black;
    color: white;
    text-align: center;;
    width: 100%;
    padding: 50px;
    margin: 0;
}
/*End of Footer*/

/******************************************************************************/
/**RESPONSIVE**/
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 50px 20px;
    }
    .movie-container {
        gap: 15px;
    }
    .img-container {
        width: 150px;
    }
}
@media (max-width: 767px) {
    #hero_wrapper {
        text-align: center;
    }
    #navBar {
        margin-bottom: unset;
    }
    #banner {
        /*box-shadow: inset 0px 0px 60px 30px #000000cf;*/
        box-shadow: unset;
        margin: 20px;
        border-radius: 10px;
        width: unset;
        margin-top: 0;
    }
    #banner h2 {
        font-size: 32px;
    }
    #hero_wrapper {
        min-height: 60vh;
    }
    #hero_desc {
        display: none;
    }
    .banner_actions {
        justify-content: center;
    }
    #hero_details {
        margin-bottom: 25px;
    }
    .cta, .cta_alt {
        padding: 10px 20px;
    }
}