@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@500&family=Lobster&family=Noto+Sans+JP&family=Raleway:wght@400;500;900&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Redressed&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #ffffff;
    background-color:#1a1a1a;
}

.noSelect { 
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -khtml-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
    -webkit-tap-highlight-color: transparent; 
}

/*----------------- LINKS ICONS AND BUTTONS --------------*/
li {
    list-style: none;
}
a, a:active, a:hover, a:focus {
    text-decoration: none;
    outline: 0; 
    border: none;
    padding: 0;
}

/*-----------------END OF LINKS ICONS AND BUTTONS --------------*/

/*----------------- SHOWCASE SECTION --------------*/
.hamburger {
    display: none;
}
.showcase {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    font-family: 'Encode Sans Condensed', sans-serif;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    transition: 0.2s;
}
.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-self: center;
    align-items: center;
    position: fixed;
    left: 0;
    width: 100%;
    height: 10vh;
    color: #ffffff;
    background-color: #000000;
    margin-top: 0;
    padding: 10px 10vw;
    opacity: 9;
    z-index: 111;

}
.navbar {
    display: flex;
    justify-content: space-between;
    align-self: center;
    width: 300px;
}
.navbar li a {
    align-self: center;
    color: #f4f4f4;
    font-size: 14px;
    font-weight: 500;
}

.navbar li .activelink, .navbar li a:hover{
    height: max-content;
    color: #78092F;
    border-bottom: 1px solid #78092F;
}
.search {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 270px;
    position: relative;
    align-items: center;
    position: absolute;
    right: 30px;
}
.search input {
    position: relative;
    outline: none;
    border: 1px solid #ffffff;
    width: 240px;
    padding: 7px 10px;
    padding-left: 30px;
    border-radius: 20px;
}

.search #search-icon {
    font-size: 28px;
    padding-left: 5px;
    position: absolute;
    transform: translateX(-10%);
    z-index: 11;
    color: #000000;
    cursor: pointer;
}
.search .iconify {
    font-size: 26px;
}

.slider-container {
    box-shadow: 0 0px 10px rgba(228, 228, 228, 0.56), 0 0px 10px rgba(228, 228, 228, 0.53);
    height: 80vh;
    width: 90vw;
    border-radius: 20px;
    margin-top: 12vh;
    position: relative;
    overflow: hidden;
}
.slide{
    opacity: 0;
    height: 80vh;
    width: 90vw;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: multiply;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.2s ease;
}
.slide.active {
    opacity: 1;
}
.arrow {
    z-index: 100;
}
#left {
    position: absolute;
    top: 47%;
    left: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 50px;
    color: #f4f4f4;
    cursor: pointer;
}
#right {
    position: absolute;
    top: 47%;
    right: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 50px;
    color: #f4f4f4;
    cursor: pointer;
}
#right:hover, #left:hover {
    outline: none;
    color: #78092F;
}
.slides-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 100;
}
.slides-content .rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #78092F;
    width: 70px;
}
.rating .iconify {
    font-size: 36px;
    align-items: center;
}
.rating p{
    font-size: 14px;
    font-weight: 600;
    color: #7A380A;
}
.slides-content h1 {
    font-family: 'Raleway', sans-serif;
    margin-top: -40px;
    font-size: 4rem;
}
.slides-content .date {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 12px;
}
.slides-content .genre {
    margin-bottom: 5px;
    font-size: 14px;
}
.slides-content a {
    display: flex;
    font-weight: 500;
    text-transform: uppercase;
    background-color:#78092F;
    color: #ffffff;
    outline: none;
    border: 2px solid #78092F;
    border-radius: 20px;
    align-items: center;
    margin-top: 40px;
    padding: 5px 25px;
    font-size: 12px;
    z-index: 1;
    opacity: 11;
    transition: 1s ease;
}
.slides-content a:hover {
    background-color: transparent;
    color: #ffffff;
    transform: scale(0.9);
}
.slides-content a .iconify {
    font-size: 30px;
}

@media (min-width: 700px) {
    .top-bar {
        max-height: 10vh;
    }
    .section-links {
        margin-left: 4rem;
    }
}
@media (max-width: 756px) {
    .slides-content h1 {
        font-size: 2.3rem;
    }
}
@media (max-width: 700px) {

    .slides-content h1 {
        margin-bottom: 20px;
        font-size: 2rem;
    }
    #left {
        font-size: 34px;
        left: 5px;
    }
    #right {
        font-size: 34px;
        right: 5px;
    }
    .showcase {
        position: relative;
    }
    .top-bar {
        height: 9vh;
        flex-direction: column;
        overflow: hidden;
    }
    .search {
        position: absolute;
        top: 50% ;
        transform: translateY(-50%);
        right: 10px;
    }
    .navbar{
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        transition: ease-in 100ms;
        overflow: hidden;
        min-height: 100%;
        width: 100vw;
        background-color:#000000;
    }
    .line {
        display: flex;
        width: 30px;
        height: 2.5px;
        background: #f4f4f4;
        margin:6px;
    }
    .line1 {
     padding-left: 5px;
    }
    .line2 {
        width: 22px;
    }
    .line3 {
        width: 18px;
    } 
    .hamburger {
        position: absolute;
        top: 50% ;
        transform: translateY(-50%);
        left: 0;
        display: block;
        cursor: pointer;
        z-index: 100;
        overflow: hidden;
        padding: 0px 20px;
    }
    .navbar.open {
        pointer-events: all;
        transition: all 0.4s ease;
    }
    .navbar li {
        opacity: 0;
        overflow: hidden;
        align-self: center;
        transition: ease 0.4s;
    }
    .navbar li a{
        font-size: 16px;
        color: #fff;
        font-weight: normal;
        overflow: hidden;
    }
    
    .navbar li:nth-child(1){
        margin-top: 50px;
        transition: all 0.2s ease 0.2s;
    }
    .navbar li:nth-child(2){
        transition: all 0.2s ease 0.2s;
    }
    .navbar li:nth-child(3){
        transition: all 0.2s ease 0.4s;
    }
    .navbar li:nth-child(4) {
        transition: all 0.2s ease 0.4s;
    }
    .navbar li:nth-child(5) {
        transition: all 0.2s ease 0.6s;
    }
    
    li.fade {
        opacity: 3;
    }
    
    .toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
    width: 25px;
    }
    
    .toggle .line2{
    opacity: 0;
    }
    
    .toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
    width: 25px;
    }
}


.bottom-bar {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 10vh;
    align-content: center;
    padding: 0px 5rem;
}
.bottom-bar .sm-icon {
    display: flex;
    justify-content: space-between;
    width: 110px;
}
.sm-icon .iconify {
    font-size: 30px;
    border-radius: 50%;
    padding: 5px;
    background: #78092F;
    cursor: pointer;
}
.sm-icon .iconify:hover {
    color: #0f1419;
    background-color: #f4f4f4;
    transform: scale(0.95);
}
.explore {
    display: flex;
    align-self: center;
    align-items: center;
}
.explore .iconify {
    font-size: 40px;
}
@media (max-width: 786px) {
    .bottom-bar{
        padding: 0 2em;
    }
}

/*---------SECTIONS NAV SECTION------------*/
.section-links {
    margin-top: 10px;
    padding: 10px 1rem;
    background-color: #1a1a1a;
}
.section-links button {
    background-color: transparent;
    color: #fff;
    padding: 5px 10px;
    margin-top: 10px;
    outline: none;
    border: 2px solid #78092F;
    border-radius: 40px;
    transition: 300ms ease-in;
}
.section-links button:hover {
    transform: scale(0.95);
    background-color: #78092F;
}
.section-links .btn-active {
    background-color: #78092F;
    border-radius: 40px;
}
.section-links .btn-active:hover {
    background-color: transparent;
    transform: scale(0.95);
}

/*---------END OF SECTIONS NAV SECTION------------*/

/*---------POPULAR MOVIES SECTION------------*/
:root {
  --primary-color: #fff;
  --secondary-color: #000;
}
.movies {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
}
.anticipating {
    margin-top: 8vh;
}
.main, .anticipating-movie, .anticipating-tv {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; 
}
.main2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.movie, .tvshow {
  width: 270px;
  margin: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 5px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  width: 350px;
}
.movie img, .tvshow img {
  width: 100%;
}
.movie-info, .tv-info {
  color: #fcfcfc;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.5rem 1rem 1rem;
  letter-spacing: 0.5px;
}
.movie-info h3, .tv-info h3 {
    margin-top: 0;
    flex-basis: 50%;
}
.movie-info span.green, .tv-info span.green {
    font-size: 14px;
    color: lightgreen;
}
.movie-info span.orange, .tv-info span.orange {
    font-size: 14px;
    color: orange;
}
.movie-info span.red, .tv-info span.red {
    font-size: 14px;
    color: red;
}
.ratingMovie, .ratingTv {
    display: flex;
    justify-content: space-between;
    width: 85px;
    background-color: #ffffff;
    padding: 4px 10px;
    align-items: center;
}
.ratingMovie p, .ratingTv p{
    color: #000;
    font-size: 11px;
    font-weight: 700;
}

.overview, .overview-tv {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    padding: 2rem;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 100%;
    transform: translateX(101%);
    transition: transform 0.3s ease-in;
    font-size: 14px;
}
.overview h3, .overview-tv h3 {
 font-size: 25px;
 margin-bottom: 10px;
}
.overview p, .overview-tv p {
    font-size: 12px;
}
.overview h5, .overview-tv h5 {
    margin-top: 20px;
    font-size: 16px;
    color: #ffa8a8;
}
.movie:hover .overview, .tvshow:hover .overview-tv {
  transform: translateY(0);
} 

.progress-steps {
    display: flex;
    justify-content: space-between;
    width: 250px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}
.progress-steps::before {
    content: '';
    background-color: #77777762;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    z-index: -1;
}
.progress {
    background-color: #78092F;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 0%;
    z-index: -1;
    transition: 0.4s ease;
}
.circle {
    background-color: #fff;
    color: #999;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #77777762;
    transition: 0.4s ease;
}
.circle.active-step {
    border-color: #78092F;
    background-color: #78092F;
}
  .name {
      font-size: 20px;
  }
/*----------------- END OF SHOWCASE SECTION --------------*/

/*----------------- FOOTER SECTION --------------*/
footer {
    font-family: 'Redressed', cursive;
    background-color: #cecece;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}
.footer-search {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: center;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 30px;
}
.footer-search h5 {
    font-size: 2rem;
    font-weight: 600;
    padding: 0 30px;
}
.footer-search input {
    width: 100%;
    padding: 10px 10px;
    border-radius: 20px;
    outline: none;
    border: 2px solid #78092F;
    margin-top: 10px;
}
.developer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    min-height: 60px;
    margin-top: 20px;
}
.developer p {
    font-size: 14px;
    font-weight: 800;
}
.developer .mycontact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 25px;
    min-width: 240px;
    max-width: 100%;
}
.developer .mycontact a {
    color: #000;
    transition: 200ms ease;
}
.mycontact a:hover {
    color: #78092F;
    transition: 0.5s ease-in;
    transform: scale(0.95);
}
.rights {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin: 20px 0;
}
.rights p {
    font-size: 14px;
}

.scroll-up button {
    position: fixed;
    bottom: 90vh;
    right: 90%;
    font-size: 3.5rem;
    background-color: transparent;
    color: #78092F;
    outline: none;
    border: none;
    margin: auto;
    align-items: center;
    cursor: pointer;
    z-index: 11;
    transition: 0.4s ease;
    visibility: hidden;
}
.scroll-up button:hover {
    color: #fff;
    transition: 100ms ease;
    transform: scale(0.99);
}
.scroll-up button.active {
    right: 0;
    bottom: 10px;
    visibility: visible;
    transition: 0.6s ease;
}
@media (max-width: 768px) {
    .footer-search h5 {
        font-size: 1.2rem;
    }
}