.flexcontainer{
    display: flex;
    flex-direction: row;
}

.flexcontainer1H{
    display: flex;
    flex-direction: row;
}

.nextflixfont {
background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,45,45,1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: 'Bebas Neue', sans-serif;
font-size: 45px;
left: 50%;
right: 50%;
z-index: 10;
/* position: absolute; */
flex: 50%;
border-radius: 50px;
margin: 0;
transition: font-size 1s ease-in-out, text-shadow 1s ease-in-out, -webkit-linear-gradient 2s ease-in-out,
 -webkit-text-fill-color 2s ease-in-out, background 2s ease-in-out;
  }

.nextflixfont:hover {
background: -webkit-linear-gradient(90deg, rgb(255, 170, 170) 0%, rgb(255, 0, 0) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: 'Bebas Neue', sans-serif;
font-size: 75px;
left: 50%;
right: 50%;
margin: 0;
z-index: 10;
/* position: absolute; */
flex: 50%;
text-shadow: 15px 15px 1000px 10px rgba(255,45,45,1);

    }

.header1{
flex: 50%;
height: 75px;
color: white;
background-color: black;
text-align: center;
width: 25%;
margin: auto;
}

.header2{
flex: 50%;
height: 75px;
color: white;
background-color: black;
text-align: center;
width: 100%;
margin: auto;
}

.button1{
background-color: rgba(255, 145, 145, 0.5);
border-radius: 25px;
width: auto;
height: 25px;
color: white;
border: rgb(0, 0, 0);
padding-left: 15px;padding-right: 15px;
text-align: center;
}

.button1:hover{
background-color: rgba(255, 111, 111, 0);
cursor: pointer;
outline: 2px solid rgba(255, 94, 94, 0);
border: 2px solid rgba(255, 0, 0, 0.5);
box-shadow: 0 0 50px 2px rgba(255, 0, 0, 0.582);
transition: box-shadow 1s ease-in-out, outline 1s linear, border 1s linear;
}

.th1{
font-size: 30px;
}

.td1{
font-weight: normal;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
transition: text-shadow 1s linear, background-color 4s ease-in-out;
background: rgba(255, 255, 255, 0);
}

.td1:hover{
    font-weight: 500;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    text-shadow: 0px 0px 15px rgba(255, 202, 202, 0.75);
    padding: 5px;
    height: auto;
}

.movie-nav{
    width: auto;
    height: 50%;
    overflow:auto;
    color: white;
    text-shadow: 0px 0px 2px #000000;
}

.movie-container{
width: 250px;
height: 250px;
background-color: white;
border-radius: 5px;
transition: width .5s ease-in-out, height .5s ease-in-out, box-shadow 1s ease-in-out, scale 1s linear;
overflow: hidden;
}

.movie-container:hover{
/* width: 300px; */
height: 400px;
background-color: white;
cursor: pointer;
box-shadow: 5px 5px 50px 5px rgba(255, 130, 130, 0.3);
z-index: 5;
scale: 104%;
    }

.trailer-nav{
    width: fit-content;
    height: fit-content;
    overflow:auto;
    color: white;
    text-shadow: 0px 0px 2px #000000;
    margin: 0%;
    position:relative;
    left: 10%;
}

.trailer-container{
width: fit-content;
min-width: 500px;
height:  fit-content;
background-color: rgba(255, 255, 255, 0);
border-radius: 15px;
transition: width .5s ease-in-out, height .5s ease-in-out, box-shadow 1s ease-in-out;;
overflow: hidden;
margin: 0%;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    transition: box-shadow 1s ease-in-out, outline 1s linear, border 1s linear;
  }
/* 
  ::-webkit-scrollbar:hover {

    background: rgba(255, 115, 115, 0.05);
    box-shadorgba(255, 115, 115, 0.064)55, 0, 0, 0.582);
    transition: box-shadow 2s ease-in-out, outline 1s linear;
  }
   */
  ::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0); 
  }
   
  ::-webkit-scrollbar-thumb {
    background: #55555555;
    border-radius: 25px; 
    transition: box-shadow 1s ease-in-out, outline 1s linear;
    z-index: 100;
  }
  
  ::-webkit-scrollbar-thumb:hover {

    background: rgba(255, 115, 115, 0.5);

  }

  ::-webkit-scrollbar-thumb:active{
    width: 5px;
    height: 5px;
    box-shadow: 0px 0px 10px .5px rgba(255, 25, 25, 0.7);
    transition: box-shadow 2s linear, width 1s linear, height 1s linear;
  }

  @media screen and (max-width: 10%) {
  img, .movie-nav, .trailer-nav, .movie-container, .trailer-container, .button1 {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
    max-width:100%;
    height: auto;
    float: left;
  }
  .topnav input[type=text] {
    border: 1px solid #ccc;
  }

  iframe, #ytpayer {
    float: none;
    display: block;
    text-align: left;
    width: 10%;
    margin: 0;
    padding: 14px;
    max-width:50%;
    height: auto;
  }
}