/**/
body{
    margin: 0;
    padding: 0;
    position: relative;
}
.body-inner{
  min-height: 100%;
}
.body-content-wrapper{
  padding-bottom: 200px;
}
a, h1, h2, h3, h4, h5, h6, p, textarea{
    font-family: Montserrat, sans-serif;
    color: white;
}
.visible{
  display: block;
}
.carousel-title{
  padding-left: 48px;
}
.carousel-title + p{
  padding-left: 48px;
}
/**/
/* HEADER START */
.menu-link {
  color: white;
  text-decoration: none;
  font-size: 24px;
}
.right-menu-wrapper {
  display:flex;
  margin-right: 60px;
  align-items: center;
}
.right-menu-wrapper img{
  margin-left: 60px;
  cursor: pointer;
}
.left-menu-wrapper{
    display: flex;
    align-items: center;
}
.header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.header .logo{
    margin-right: 80px;
}
.header .left-menu-wrapper a{
    margin-right: 60px;
}
.register-link, .login-link{
  cursor: pointer;
}
.header-alert{
  position: fixed;
  width: 400px;
  right: 20px;
  bottom: -100px;
  background-image: linear-gradient(45deg, #2E1A47, #164489, #008AC6);
  z-index: 10000;
  border-radius: 5px;
  transition: 0.5s ease-out;
  font-family: Montserrat, sans-serif;
  color: white;
  font-size: 20px;
  box-sizing: border-box;
  padding: 20px;
}
/* HEADER END*/
.gradient-background{
    top: 0;
    left: 0;
    position: fixed;
    z-index: -1000;
    background-image: linear-gradient(#2E1A47, #164489, #008AC6);
    width: 100%;
    height: 100vh;
    background-size: 5000px 5000px;
    animation: background_animation 10s infinite alternate;
}
.carousel-cell{
    width: 1550px;
    height: 320px;
    margin-right: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
  }
  
  /* cell number */

  .carousel-movie {
    width: 321px;
    height: 160px;
    margin-right: 50px;
    margin-bottom: 40px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }
  .movie-search-wrapper .carousel-movie,
  .library-movie-wrapper .carousel-movie{
    margin-right: 40px;
  }
  .movie-slider-cell{
    box-sizing: border-box;
  }

  /* movie popup*/
.popup-background{
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
}
.movie-popup{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  max-height: 720px;
  width: 100%;
  height: 100%;
}
.movie-popup .movie-popup-close{
  position: absolute;
  top: 20px;
  right: 20px;
  filter: drop-shadow(0px 0px 4px black);
  z-index: 1000;
  cursor: pointer;
}
.movie-background-image{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-height: 340px;
  height: 100%;
  position: relative;
}
.movie-background-image:after{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.movie-options{
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  width: 100%;
}
.movie-options .purchase-button-wrapper{
  display: flex;
  align-items: center;
}
.movie-options .action-buttons-wrapper{
  display: flex;
  align-items: center;
}
.gradient-button{
  background-image: linear-gradient(45deg, #2E1A47, #184F83, #008AC6, #184F83, #2E1A47);
  background-size: 200%;
  transition: 1s ease-out;
}
.gradient-button:hover{
  background-position: 100%;
}
.small-button{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px;
}
.buy-button, .rent-button, .execute-purchase-button, .login-button{
  padding: 20px 30px;
  font-family: Montserrat, sans-serif;
  color: white;
  font-size: 20px;
  border-radius: 5px;
  margin-right: 20px;
  cursor: pointer;
}
.play-icon{
  margin-right: -5px;
}
.favourite-icon{
  margin-top: -3px;
}
.thumbs-up-icon{
  margin-top: -3px;
}
.thumbs-down-icon{
  margin-bottom: -3px;
}
.movie-info-wrapper{
  background-color: rgba(14, 1, 31, 0.9);
  max-height: 380px;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.movie-info-wrapper .info-top{
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
}
.info-top .movie-name{
  font-size: 40px;
  max-width: 500px;
  margin: 0;
  padding-right: 20px;
  box-sizing: border-box;
}
.movie-details-wrapper{
  display: flex;
  margin-top: 9px;
}
.movie-details-wrapper p{
  margin: 0;
  font-size: 20px;
  white-space: nowrap;
}
.movie-details-wrapper p:not(:last-of-type){
  margin-right: 20px;
}
.movie-description{
  font-size: 20px;
}
/*cart popup*/
.cart-overlay{
  display: none; 
  position: fixed; 
  z-index: 1;  
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center; 
}
.cart-main {
  background-color: rgba(14, 1, 31, 0.9);
  margin: 0 auto;
  padding: 5px;
  width: 60%;
  height: 75%;
  position: relative;
}
.cart-main .cart-content{
  overflow-y: auto;
  max-height: calc(100% - 228px);
}
.basket-close{
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
.cart-main .cart-bottom{
  height: 140px;
  position: absolute;
  bottom: 0;
  max-width: calc(100% - 10px);
  width: 100%;
  text-align: right;
}
.execute-purchase-button{
  display: inline-block;
  margin-right: 80px;
}
.cart-icon{
  width: 300px;
  margin: 0 auto;
  display: block;
}

  .line{
    border-top: 3px solid white;
    border-radius: 1px;
  }

  .cart-movie{
    display: flex;
    align-items: center;
  }
  .cart-movie .movie-price{
    margin-left: 40px;
  }
  .cart-movie .picture{
    height: 123px;
    width: 218px;
    padding-left: 20px;
    padding-top: 10px;
    background-color: black;
    margin-right: 25px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

.cart-rent-buy{
  height: 56px;
  background-image: linear-gradient(135deg,#2E1A47,#008AC6 );
  text-align: center;
  border-radius: 25px;
  font-size: 20px;
  color: white;
  padding: 0 30px;
  outline: none;
  border: none;
}
.cart-rent-buy option{
  color: black;
}
.movie-cost{
  font-size: 20px;
  color: white;
  position: absolute;
  right: 45px;
}

.overall-total{
  font-size: 20px;
  color: white;
  position: absolute;
  right: 45px;
  bottom: 75px;
}
.remove-movie{
  margin: 0 15px 0 auto;
  cursor: pointer;
}
.cart-bottom .total-price{
  text-align: right;
  padding-right: 80px;
}
.cart-bottom .Buy-button{
  margin-right: 50px;
  margin-left: auto;
}
/*user popup*/

.user-overlay{
  display: none;
  background-color: rgba(46,26,71,0.9);
  margin: 0 auto;
  padding: 5px;
  width: 140px;
  height: 182px;
  position: absolute;
  top: 101px;
  right: 11px;
  z-index: 100000;
  color: white;
  font-size: 20px;
  text-align: center;
}
.user-overlay p{
  cursor: pointer;
}
.settings-overlay{
  display: none; 
  position: fixed; 
  z-index: 1;  
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center; 
}

.settings-main {
  background-color: rgba(46,26,71,0.9);
  margin: 0 auto;
  padding: 5px;
  width: 60%;
  height: 75%;
  position: relative;
}

.login-overlay{
    display: none; 
    position: fixed; 
    z-index: 1;  
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center; 
}

.login-main {
    background-color: rgba(14, 1, 31, 0.9);
    margin: 0 auto;
    padding: 5px;
    width: 520px;
    height: 550px;
    position: relative;
}

.login-icon{
  height:100px;
  margin: 0 auto;
  display: block;
  padding-top: 40px;
  padding-bottom:60px ;
}

.login-button{
  border: none;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
  display: block;
}

.login-text{
  font-size: 20px;
  text-align: center;
}
.input-wrapper{
  position: relative;
  margin: 0 auto 40px auto;
  max-width: 300px;

}
.input-wrapper label{
  position: absolute;
  left: 11px;
  top: 18px;
  opacity: 0.6;
  font-family: Montserrat, sans-serif;
  pointer-events: none;
  transition: 0.1s ease;
}
.input-wrapper input:focus ~ label,
.input-wrapper input:valid ~ label{
  top: 2px;
  left: 11px;
  font-size: 12px;
}
.text-input{
  font-size: 20px;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 10px;
  outline: none;
  border: none;
}

.highlighted-movie{
  border-style:solid;
  border-color: white;
  border-width:7px ;
}
.register-overlay{
  display: none; 
  position: fixed; 
  z-index: 1;  
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center; 
}

.register-main {
  background-color: rgba(14, 1, 31, 0.9);
  margin: 0 auto;
  padding: 5px;
  width: 520px;
  position: relative;
}

/* CATEGORIES STYLING */
.categories{
  padding: 0 50px;
  box-sizing: border-box;
}
.category-cards{
  display: flex;
  flex-wrap: wrap;
}
.category-cards .category{
  margin: 0 50px 40px 0;
}
.category .category-image{
  width: 215px;
  height: 340px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
  border-radius: 5px;
}
.title-category {
  font-size: 20px;
  text-align: center;

}

/* SEARCH STYLING */
.Search-popup form{
  margin: 0;
}
.input-search{
  display: none;
  width: 175px;
  height: 40px;
  border: none;
  border-bottom: 2px solid white;
  outline: none;
  background-color: transparent;
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
}
.movie-search-wrapper{
  display: flex;
  flex-wrap: wrap;
  padding: 0 50px;
  box-sizing: border-box;
}
/* LIBRARY STYLING */
.library-movie-wrapper{
  display: flex;
  flex-wrap: wrap;
  padding-left: 50px;
}
@keyframes background_animation{
  0%{
    background-position: 0 0;
  }
  100%{
    background-position: 100% 100%;
  }
}
.footer{
  background-color: rgba(14, 1, 31, 0.9);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}
.user-name{
  margin: 0 0 0 20px;
}