* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(240, 248, 255, 0);
}
body {
    background-color: rgb(14,14,14);
    min-height: 150vh;
    color: aliceblue;
}

a {
    text-decoration: none;
    color: aliceblue;
    text-align: center;
}
button {
    background-color: transparent;
    cursor: pointer;
    outline: none;
}
img {
    cursor: pointer;
}
header {
    position: relative;
    left: 0px;
    width: 100%;
    background-image: -webkit-linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.76), rgba(0,0,0,0.86)),url('../asset-images/shazam-hero.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 40vh;
    margin-bottom: 70px;
}
.header_nav {
    position: fixed;
    background-color: rgb(10,10,10);
    padding: 5px;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 25px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.60);
    z-index: 10;
}
.header_nav #LOGO {
    width: 140px;
}
.header_nav .menu {
    background-color: none;
    padding: 0;
    width: 36px;
    position: absolute;
    right: 0;
    top: 15px;
    margin-right: 10px;
    transition: .2s;
    z-index: 12;
}
.header_nav .menu:active {
    background-color: rgba(240, 248, 255, 0.3);
}
.header_nav .menu:hover {
    background-color: rgb(32,33,36);
    border-radius: 2px;
    transition: .2s;
}
.header_nav #menu {
    display: block;
    margin: 0 auto;
    width: 36px;
}
.header_nav .menu-list {
    display: none;
    width: 100%;
    padding: 10px;
    padding-bottom: 0;
    height: auto;
    text-align: center;
    line-height: 2rem;
    font-size: 0.98rem;
    font-weight: 600;
    background-image: -webkit-linear-gradient(rgba(0,0,0,0.878), rgba(0,0,0,0.878)),url('/img/footer.webp');
}
.header_nav .menu-list ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.header_nav .menu-list ul li {
    border-bottom: 1px solid rgba(240, 248, 255, 0.3);
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.header_nav .menu-list ul li:hover {
    background-color: rgba(240, 248, 255, 0.1);
}
.header_nav .menu-list ul li p {
    color: aliceblue;
    opacity: .8;
    transition: .4s;
}
.header_nav .menu-list ul li p:hover {
    color: red;
    margin-left: 12px;
    transition: .4s;
}
.container {
    top: 12vh;
    position: relative;
    height: auto;
    width: 100%;
    padding: 10px;
}
.container h1 {
    font-size: 2.4rem;
    font-weight: 700;
}
.container p {
    font-size: 60%;
    font-weight: 600;
    line-height: 1.1rem;
}
.contain {
    top: 11vh;
    padding: 10px;
    width: 100%;
    position: relative;
}
.contain button {
    font-size: 84%;
    font-weight: 600;
}
.contain #btn1 {
    padding: 6px 10px;
    background: rgba(255, 0, 0, 0.89);
    border: none;
    margin-right: 20px;
    border-radius: 30px;
}
.contain #btn1:active {
    background-color: #c10303;
}
.contain #btn2 {
    padding: 4px 10px;
    background: transparent;
    margin-right: 6px;
    border: 2.6px solid aliceblue;
    border-radius: 30px;
}
.contain #btn2:hover {
    background-color: rgba(240, 248, 255, 0.2);
}
.contain #btn2 img {
    width: 12px;
    display: inline;
}
/* horizontal navigation for mobile phones */
.nav {
    display: block;
    margin: auto;
}
.nav ul {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0;
    bottom: 0px;
    left: 0px;
    background-color: rgb(14, 14, 14);
    height: 3rem;
    width: 100%;
    z-index: 10;
}
.nav > ul > li {
    position: relative;
    list-style-type: none;
}
.nav > ul > li > a {
    font-size: 94%;
    font-weight: 700;
    transition: .4s;
    margin-bottom: -10px;
}
.nav > ul > li > a:hover {
    transition: .4s;
    color: red;
}
/* Main body */
main {
    padding: 10px;
    padding-top: 30px;
    margin-bottom: 3rem;
}
h2 {
    font-size: 1.0rem;
    margin-bottom: 10px;
}
.movie-trailer {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 100%;
    height: 180px;
    margin-bottom: 30px;
}
.tube {
    width: auto;
    position: absolute;
    margin-top: calc(90px - 25px);
    left: 50%;
    transform: translate(-50%);
}
.casts-list {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    overflow-x: scroll;
}
.casts-list .image-container {
    width: 100px;
    min-height: auto;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.89);
    box-shadow: 0 15px 30px rgba(0,0,0,0.30), 0 11px 8px rgba(0,0,0,0.22);

}
.casts-list .image-container img {
    width: 100px;
    height: 140px;
}
.casts-list .image-container .image-description {
    padding: 5px;
    text-align: center;
    width: 100%;
    font-size: 76%;
    text-align: left;
    color: black;
}
.showcase {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}
.showcase img {
    width: 80%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: auto;
}
.about-movie {
    margin: auto;
    padding: 8px;
    width: 80%;
    color: rgb(61, 160, 218);
    max-width: 340px;
    background-color: rgb(24,24,24);
    border-radius: 5px;
    text-align: left;
}
.about-movie h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.about-movie p {
    font-size: 0.8rem;
    line-height: 1.7rem;
}
.about-movie p .ico {
    width: 16px;
    margin-right: 5px;
    margin-bottom: -3px;
    opacity: 0.7;
}
.download {
    width: 40%;
    margin: auto;
    margin-top: 14px;
    overflow: hidden;
}
.download a {
    display: block;
    margin: auto;
    background-color: aqua;
    color: #000000;
    padding: 6px 8px;
    border-radius: 8px 0px 8px 0px;
}
.download a:active {
    background-color: rgb(2, 209, 209);
}
.h3 {
    font-size: 1rem;
    margin-top: 60px;
    margin-bottom: 0px;
}
.h3 span {
    display: block;
    margin-top: 10px;
    padding: 0.5px;
    width: 40%;
    border-radius: 20px;
    background-color: rgba(240, 248, 255, 0.8);
}
h4 {
    font-size: 80%;
    width: 100%;
    white-space: wrap;
}
.similar {
    display: flex;
    overflow-x: scroll;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
}
.similar .similar-movies {
    text-align: left;
}
.similar .similar-movies img {
    margin-right: 10px;
    width: 135px;
    height: 200px;
    border-radius: 30px;
    margin-bottom: 6px;
}
.similar .similar-movies h4 {
    width: 80%;
}
.recommend-container {
    position: relative;
    margin: auto;
    max-width: 1660px;
}
.recommended {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height:auto;
}
.recommended .recommended-movies {
    min-height: 200px;
    max-width: 150px;
    margin: 10px;
    margin-left: 0;
    border: none;
    text-align: left;
    border-radius: 5px;
}
.recommended .recommended-movies img {
    width: 150px;
    height: 220px;
    margin-bottom: 10px;
}
@media only screen and (max-width: 339px) {
    .recommended .recommended-movies img {
        width: 135px;
        height: 200px;
    }
}
@media only screen and (min-width: 380px) {
    .recommended .recommended-movies img {
        width: 165px;
        height: 240px;
    }
}
/* Laptop & Desktop */
@media only screen and (min-width: 769px) {
    
header {
    background-image: -webkit-linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.76), rgba(0,0,0,0.86), rgba(0,0,0,0.9)),url('../asset-images/shazam-hero.webp');
    min-height: 80vh;
    margin-bottom: 70px;
    padding: 45px;
}
.header_nav {
    padding: 5px 35px;
    min-height: 25px;
}
.header_nav #LOGO {
    width: 200px;
}
.header_nav .menu {
    width: 48px;
    top: 25px;
    margin-right: 45px;
}
.header_nav #menu {
    width: 40px;
}
.header_nav .menu-list {
    display: none;
    width: 100%;
    background-image: -webkit-linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),url('/img/footer2.webp');
}
.container {
    top: 16vh;
    position: relative;
    height: auto;
    width: 100%;
    padding: 0px;
}
.container h1 {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.container p {
    font-size: 100%;
    font-weight: 600;
    line-height: 1.5rem;
}
.contain {
    top: 18vh;
    padding: 0px;
    width: 100%;
    position: relative;
}
.contain button {
    font-size: 94%;
}
.contain #btn1 {
    padding: 8px 20px;
    background: rgba(255, 0, 0, 0.92);
}
.contain #btn1:hover {
    background-color: #c10303;
}
.contain #btn2 {
    padding: 6px 20px;
}
.contain #btn2 img {
    width: 16px;
    margin-left: 5px;
    margin-bottom: -1px;
}
    .nav {
        display: none;
    }
    
/* Main body */
main {
    padding: 45px;
}
h2 {
    font-size: 1.2rem;
}
iframe {
    height: 400px;
    width: 100%;
    max-width: 1660px;
    margin-bottom: 30px;
}
.casts-list {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
    display: block;
    overflow-x: hidden;
}
.casts-list .image-container {
    display: inline-grid;
    min-height: auto;
    margin-right: 5px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.89);
    box-shadow: 0 15px 30px rgba(0,0,0,0.30), 0 11px 8px rgba(0,0,0,0.22);

}
.casts-list .image-container .image-description {
    padding: 5px;
    width: 100%;
    height: 50px;
    font-size: 74%;
    text-align: left;
    color: black;
}
.showcase {
    height: auto;
    margin-bottom: 30px;
}
.showcase img {
    max-width: 340px;
}
.about-movie p {
    font-size: 0.82rem;
}
.download {
    width: 80%;
    max-width: 150px;
}
.h3 span {
    padding: 1px;
    width: 20%;
    border-radius: 50%;
}
h4 {
    font-size: 80%;
}
.similar {
    display: block;
    margin: auto;
    max-width: 100%;
    overflow-x: visible;
    height: auto;
}
.similar .similar-movies {
    display: inline-block;
    text-align: left;
    margin-top: 10px;
}
.similar .similar-movies img {
    margin-right: 10px;
    width: 135px;
    height: 200px;
    border-radius: 25px;
    margin-bottom: 6px;
}
.similar .similar-movies h4 {
    width: 90%;
}
}