@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  overflow-x: hidden;
  background: #161616;
  font-family: 'Poppins', sans-serif;
}

header{
  margin: 0;
}
#loader{
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #161616db url("load.gif") no-repeat center;
  z-index: 999;
  
}
#nav{
  overflow-x: hidden;
  display: flex;
  height: 4rem;
  background-color: #333333c0;
  overflow-y: hidden;

  
}
button:hover{
  opacity: 0.7;
  transition: 0.5s;
}
#nav:after{
  background-color: #161616;
}
#click{
  cursor: pointer;
  color: #fff;
  visibility: hidden;
}
#name{
    font-family: 'Playball', cursive;
    font-weight: bold;
    color: #fff;
    font-size: 2vw;
    margin-top: 1vh;
    /* padding-right: 5vw; */
    position: absolute;
    margin-left: 12vw;
}
#img{
  object-fit: cover;
}
#ul{
    /* position: relative;
    left: 25vw;
    font-size: 1.3vw; */
    margin-left: 20vw;
    margin-top: 2.4vh;
    display: flex;
    flex-direction: row;
    /* margin: 5vw; */
}
a{
  text-decoration: none;
}
li{
  margin-left: 4vw;
  list-style-type: none;
  margin-right: 2vw;
}
#logo{
  margin-left: 1rem;
}
#home{
  color: #fff;
}

#home:hover{
  color: #e25428;
  transition: 0.5s;
}
#current{
  color: #E50916;
  transition: 1s;
}
/* #home */

#section{
    position: relative;
   left: 33vw;
}

#search{
  color: #fff;
  width: 110px;
  height: 35px;
  margin: 10px 10px;
  border-radius: 30px;
  z-index: 999;
  background: linear-gradient(to right, #E50916, #e25428);
  border: 0;
  outline: none;
  color:  rgba(243, 237, 237, 0.575);
  cursor: pointer;
  font-weight: bolder;
  font-size: 1.5rem;
}

#user{
  position: relative;
  color: #e25428;
  margin-left: 20rem;
  font-size: 3vw;
  /* padding-top: 4vh; */
  top: -2.5vh;
}
#use{
  /* margin-b: 6vh; */
}

#btn{
  border: none;
  background: linear-gradient(to right, #E50916, #e25428);;
  width: 8rem ;
  color: #fff;
  max-width: 8rem;
  text-transform: uppercase;
  height: 3rem;
}
.headerbg{
  background-color: rgba(0, 0, 0, 0.377);
  color: white;
  background-image: url("blackpanther3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: soft-light;
  width: 100%;
  height: 100vh;
  
}

header section{
  position:relative;
  top: 3rem;
  margin-left: 2rem;
  justify-content: space-between;
}

header section h1{
  font-size: 6rem;
  color: #fff;
}
header section article{
  position: relative;
  font-family: sans-serif;
  justify-content: space-between;
  top: 5rem;
  width: 35rem;
 
}
#r{
  position: relative;
  top: 2rem;
  font-size: 3rem;
  font-weight: lighter;
}
#inner{
  position: relative;
  font-size: 1.2rem;
  top: 1.4rem;
  justify-content: space-between;
}
#d1{
  cursor: pointer;
  margin: 0.5rem;
}
#d2{
  cursor: pointer;
  margin: 0.5rem;
}
#d3{
  cursor: pointer;
  margin: 0.5rem;
}
#btn2{
  background: linear-gradient(to right, #E50916, #e25428);
  border: none;
  font-size: 0.8rem;
  width: 6.3rem;
  height: 2.6rem;
  color: #fff;
}

#bplay{
  position: relative;
  top: 6rem;
}

#btn3{
  background: linear-gradient(to right, #E50916, #e25428);
  color: #fff;
  font-size: 0.8rem;
  border: none;
  width: 9rem;
  height: 3.5rem;
}
#playbtn{
  position: relative;
  top: 1rem;
  margin-left: 1rem;
  margin-right: 1.5rem;
  color: #fff;
  font-size: 3rem;
}

#btrailer{
  font-size: 1.3rem;
}

.item-a { width:200px; }
.item-b { width:340px; }
.item-c { width:290px; }
.item-d { width:220px; }
.item-e { width:350px; }
@media (max-width: 768px) {
    .item-a { width:100px; }
    .item-b { width:240px; }
    .item-c { width:190px; }
    .item-d { width:120px; }
    .item-e { width:250px; }
}
.cS-hidden {
  height: 1px;
  opacity: 0;
  filter: alpha(opacity=0);
  overflow: hidden;
}

@media only screen and (max-width:992px) {
  /* #ul{
    z-index: 9999;
    font-size: 1rem;
    position: relative;
    left: 0;
    right: 0;
    background-color: #333333c0;   
  } */
  /* #section{
    display: none;
  } */
 
}


@media only screen and (max-width:768px) {

  /* #section{
    display: none;
  } */
  
  #nav{
    background-color: #080808c7;
  }  

  /* #ul{
    z-index: 9999;
    font-size: 1rem;
    position: relative;
    left: 0;
    background-color: #080808c7;    
  } */

  .headerbg{
    background-color: rgba(0, 0, 0, 0.377);
    color: white;
    background-image: url("Blackpanther.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh; 
  }

  header section h1{
    font-size: 2rem;
    color: #fff;
  }

  #form{
    color: #181818;
  }
  #info{
    font-family: sans-serif;
    font-size: 10px;
    justify-content: space-between;
    width: 50vw;
  }
  
  #r{
    position: relative;
    top: 1.3rem;
    font-size: 1.5rem;
  }


  #inner{
    position: relative;
    font-size: 0.7rem;
    top: 1rem;
    justify-content: space-between;
  }

  #d1{
    cursor: pointer;
    margin: 0.2rem;
  }
  #d2{
    cursor: pointer;
    margin: 0.2rem;
  }
  #d3{
    cursor: pointer;
    margin: 0.2rem;
  }
  #btn2{
    background-color: #E50916;
    border: none;
    font-size: 0.8rem;
    width: 4rem;
    height: 1.6rem;
    color: #fff;
  }

  #btn3{
    background-color: #E50916;
    color: #fff;
    font-size: 0.8rem;
    border: none;
    width: 5rem;
    height: 2rem;
  }
  #playbtn{
    position: relative;
    top: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: #fff;
    font-size: 2rem;
  }
  
  #btrailer{
    font-size: 0.6rem;
  }
} 

.container{
  background-color: #333333ee;
  z-index: 99;
  height: 30rem;
  width: 360px;
  border-radius: 1rem;
  position: relative;
  margin: 4% auto;
  overflow: hidden;
}

#create{
  text-align: center;
  margin-bottom: 40px;
  color:  rgba(243, 237, 237, 0.575);
}

.container form{
  width: 280px;
  position: absolute;
  top: 100px;
  left: 48px;
  transition: 0.5s;
}

form input{
  width: 100%;
  padding: 10px 5px;
  margin: 5px 0;
  border: 0;
  border-bottom: 1px solid #E50916;
  outline: none;
  background: transparent;
}

.btn-box{
  width: 100%;
  margin: 30px auto;
  text-align: center;
}

form button{
  width: 110px;
  height: 35px;
  margin: 0 10px;
  border-radius: 30px;
  background: linear-gradient(to right, #E50916, #e25428);
  border: 0;
  outline: none;
  color:  rgba(243, 237, 237, 0.575);
  cursor: pointer;
}
#form2{
  left: 450px;
}

.step-row{
  width: 100%;
  height: 40px;
  margin-left: 0;
  right: 1rem;
  display: flex;
  align-items: center;
  position: relative;
}
.step-col{
  width: 240px;
  text-align: center;
  color: rgba(243, 237, 237, 0.575);
  position: relative;

}
#progress{
  position: absolute;
  height: 100%;
  width: 180px;
  background: linear-gradient(to right, #E50916, #e25428);
}
#progress::after{
  content: '';
  height: 0;
  width: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  position: absolute;
  right: -20px;
  top: 0;
  border-left: 20px solid #e25428;
}
.already{
  position: relative;
  top: 25rem;
  color: rgba(243, 237, 237, 0.575);;
  text-align: center;
}
.already h5 a{
  color: #e25428;
}
.already h5 a:hover{
  text-decoration: none;
  opacity: 0.7;
  transition: 0.5s;
}
@media only screen and (max-width:768px) {
  .container{
    background-color: #080808c7;
  }
  form input{
    color: #a3a1a1;
  }
}
.popular-carousel{
  display: flex;
}
.carousel-img{
  width: 300px;
  height: 300px;
  margin: 2rem;
}
#left-arrow{
  color: rgba(197, 194, 194, 0.911);
  position: absolute;
  top: 60rem;
  left: 2rem;
  font-size: 4rem;
}
#right-arrow{
  color: rgba(197, 194, 194, 0.911);
  position: absolute;
  top: 60rem;
  right: 2rem;
  font-size: 4rem;

}
#p-check{
  position: absolute;
  top: 9.7rem;
  right: 1rem;
  color: green;
  display: none;
}
#cp-check{
  position: absolute;
  top: 13rem;
  right: 1rem;
  color: green;
  display: none;
}
#match-note{
  position: relative;
  align-items: center;
  color: rgba(243, 237, 237, 0.575);
  display: none;
}
#log {
  position: relative;
  color: rgba(243, 237, 237, 0.575);
  display: none;
}
#welcome{
  color: rgba(243, 237, 237, 0.575);
  margin-left: 2rem;
  font-size: 2rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}
#forgot{
  background: none;
  position: absolute;
  top: 16rem;
  left: 0rem;
  color: #e25428;
}
#forgot:hover{
  text-decoration: none;
  opacity: 0.7;
  transition: 0.5s;
}
#view{
  position: relative;
  color: rgba(243, 237, 237, 0.575);
}
#choose{
  color: rgba(243, 237, 237, 0.575);
  text-align: center;
  margin-top: 5vh;
  font-size: 3rem;
}
#genres{
  position: relative;
  left: 28vw;
  display: flex;
  flex-direction: row;
  margin-top: 10vh;
}
#genres button{
  font-size: 1.3rem;
  width: 10vw;
  height: 10vh;
  margin: 0 10px;
  border-radius: 10px;
  background: linear-gradient(to right, #E50916, #e25428);
  border: 0;
  outline: none;
  color:  rgba(243, 237, 237, 0.575);
  cursor: pointer;
}

@media only screen and (max-width: 605px) {
  #movies{
    position: absolute;
    left: 25%;
  }
  #click{
    position: relative;
    margin-left: 35vw;
    font-size: 10vw;
    margin-top: 1vh;
    visibility: visible;
  }
  #name{
    position: absolute;
    margin-top: 2.6vh;
    margin-left: 20vw;
  }
}
#categories{
  position: relative;
}

#cover{
  width: 60vw;
  height: 20rem;
  position: relative;
  top: 10rem;
  left: 17rem;
  border-radius: 1rem;
  box-shadow: #E50916;
  background: linear-gradient(to right, #e50918d2, #e25328b9);
}

#alert{
  position: relative;
  top: 4rem;
  display: none;
  left: 35rem;
}


@media only screen and (max-width:1300px) {

  body{
    overflow-x: hidden;
  }
  #choose{
    font-size: 3vw;
    text-align: left;
    width: 50vw;
    margin-left: 17vw;
  }
  #cover{
    width: 65vw;
    height: 20rem;
    left: 10rem;
  }
  #genres{
    position: relative;
    width: 50vw;
    left: 20vw;
    overflow-x: hidden;
  }
  #genres button{
    width: 7vw;
    height: 7vh;
  }

  #movies img{
    width: 30rem;
    height: 30rem;
  }

}
#account_footer{
  position: absolute;
  /* margin-top: 30vh; */
  top: 99;
}
@media only screen and (max-width:1200px) {
  body{
    overflow-x: hidden;
  }
  #ul{
    margin-left: 20vw;
  }
  .headerbg{
    background-color: rgba(0, 0, 0, 0.377);
    color: white;
    background-image: url("Blackpanther.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh; 
  }
  #user{
    display: none;
  }
  /* #ul{
    position: relative;
    left: 50vw;
  } */
  /* #name{
    position: relative;
    left: 30vw;
  } */
}
@media only screen and (max-width:992px) {
  #name{
    position: relative;
    left: 1vw;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 7rem;
    width: 13rem;
    font-size: 2rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 16rem;
  }
}

@media only screen and (max-width:920px) {
#movies img{
  width: 20rem;
  height: 20rem;
}
}
@media only screen and (max-width:750px) {
#movies img{
  width: 15rem;
  height: 15rem;
}
}
#back_movies{
  position: absolute;
  top: 5rem;
  margin: 2rem;
  right: 3rem;
  width: 110px;
  height: 35px;
  border-radius: 30px;
  background: linear-gradient(to right, #E50916, #e25428);
  border: 0;
  outline: none;
  display: none;
  color:  rgba(243, 237, 237, 0.575);
  cursor: pointer;
}
#back_movies:hover{
  text-decoration: none;
  opacity: 0.7;
  transition: 0.5s;
}
@media only screen and (max-width:605px) {
  nav{
    margin-right: 3vw;
    width: 100vw;
  }
  nav #ul{
    position: absolute;
    /* top: 70px; */
    margin-top: 4rem;
    left: 0;
    /* right: 0; */
    /* padding-left: -15vw; */
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.377);
    width: 100vw;
    /* width: 100%; */
    margin-left: -3vw;
    z-index: 999;
    overflow: hidden;
    transition: max-height 0.5s;
}
nav #ul li{
    display: block;  
    margin-right: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}
nav #ul li a{
    color: #fff;
     
}
  #movies img{
    width: 15rem;
    height: 15rem;
    position: relative;
    left: -5rem;
  }
  #cover{
    width: 70vw;
    height: 20rem;
    left: 10rem;
  }
 
}
@media only screen and (max-width:872px) {

  #choose{
    font-size: 1.6rem;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 5rem;
    width: 13rem;
    font-size: 2rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 12rem;
  }
}
@media only screen and (max-width:680px) {
  #choose{
    font-size: 1.2rem;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 4rem;
    width: 11rem;
    font-size: 1.6rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 10rem;
  }
}
@media only screen and (max-width:590px) {
  #choose{
    font-size: 1rem;
  }
  #hero{
    position: relative;
    top: 10rem;
  }
  body{
    overflow-x: hidden;
  }
  #info{
    display: none;
  }
  td{
    font-size: 1.2;
  }
  th, td{
    margin-left: 1vw;
    margin-right: 1vw;
    color: #717171;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 3rem;
    width: 9rem;
    font-size: 1.6rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 8rem;
  }
}
@media only screen and (max-width:490px) {
  #choose{
    font-size: 0.8rem;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 2rem;
    width: 8rem;
    font-size: 1.6rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 7rem;
  }
}
@media only screen and (max-width:390px) {
  #choose{
    font-size: 0.7rem;
  }
  th{

    display: flex;
    flex-direction: column;
  }
  td{
    background-color: #fff;
    display: flex;
    flex-direction: column;
  }
  td{
    color: #fff;
    font-size: 40pxpx;
  }
  .genre{
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    left: 1rem;
    width: 6rem;
    font-size: 1.2rem;
  }
   #cover{
    width: 50vw;
    height: 40rem;
    left: 6rem;
  }
}
#search-text{
  width: 50vw;
  margin-right: 2vw;
  margin-left: 1vw;
  color: #717171;
}


#display{
  visibility: hidden;
}
#display2{
  visibility: visible;
  width: 100%;
  margin-left: 3vw;
  margin-right: 3vw;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 45vw 45vw;
  
}
#display li{
  flex: 1;
  align-items: center;
  list-style: none;
  margin: 10px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  background: #272727;
}
#display2 li img{
  width: 30vw;
  height: 40vh;
  object-fit: fill;
  border-radius: 12px;
}
#display2 li h2{
  color: #bebbbb;
  font-size: 1.8em;
  padding: 15px 10px 0;
  margin-top: auto;
  font-family: "Oswald", sans-serif;
}
table{
  margin-left: 1vw;
}
#over{
  padding-right: 3vw;
}
td{
  color: #fff;
  font-size: 1.5vw;
}
th, tr{

  margin-left: 0.1vw;
  margin-right: 0.1vw;
}
th, td{
  color: #bebbbb;
}
.form{
  width: 110px;
  height: 35px;
  position: relative;
  top: 90vh;
  margin: 0 10px;
  border-radius: 30px;
  z-index: 999;
  background: linear-gradient(to right, #E50916, #e25428);
  border: 0;
  outline: none;
  color:  rgba(243, 237, 237, 0.575);
  cursor: pointer;
}
#prev{
  z-index: 999;
  margin-left: 3rem;
}
#next{
  z-index: 999;
  margin-left: 56rem;
}
#goto{
  margin-top: 1rem;
  margin-left: 2rem;
  font-size: 2rem;
  color: #E50916;
  cursor: pointer;
}
#goto:hover{
  text-decoration: none;
  opacity: 0.5;
}

#copyright{
  background: linear-gradient(to right, #E50916, #e25428);
  color: rgba(197, 192, 192, 0.925);
  height: 4rem;
  bottom: 0rem;
  width: 100%;
  
}

footer{
  margin-top: 1rem;
  width: 100vw;
}
#movies_footer{
  position: relative;
  width: 100vw; 
  top: 99vh;
  bottom: 0rem;
 }
#innercopy{
  text-align: center;
   margin-top: 50px; 
  padding: 20px;
  margin: 0;
}

#icresponse{
  display: none;
}

@media only screen and (max-width:768px) {

  #copyright{
    background: linear-gradient(to right, #E50916, #e25428);
    color: rgba(197, 192, 192, 0.925);
    overflow-x: hidden;
    height: 4rem;
  }
  #innercopy{
    display: none;
  }
  #icresponse{
    display: block;
    text-align: center;
    margin-top: 50px; 
    padding: 20px;
    margin: 0;
  }


}
#header{
  visibility: hidden;
}

#timage{
  width: 20vw;
  height: 20vh;
}