@import url("https://fonts.googleapis.com/css2?family=Electrolize&display=swap");
/* !base css start */

* {
  margin: 0;
  list-style: none;
}

body {
  font-family: "Electrolize", serif;
  
}

.container {
  background-color: black;
  color: white;
}
/* !base css end */
/* ! Navbar Start*/
/* Header */
.navbar {
  background-color: black;
  color: white;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 50px;
}
/* Logo */
.logo {
  color: rgb(255, 70, 70);
  font-size: 30px;
}

/* Menu */
.menu-list {
  display: flex;
  column-gap: 30px;
  padding: 0;
}

.menu-list-item {
  cursor: pointer;
  transition: all 0.5s;
}

.menu-list-item.active {
  font-weight: bold;
}

.menu-list-item:hover {
  font-weight: bold;
}
.profile-container {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.profile-picture {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}
.profile-text-container {
  display: flex;
  align-items: center;
  column-gap: 5px;
  line-height: 1;
}

.toggle {
  background-color: white;
  width: 40px;
  height: 20px;
  border-radius: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.toggle-icon {
  color: goldenrod;
}

.toggle-ball {
  width: 18px;
  height: 18px;
  background-color: black;
  border-radius: 50%;
  position: absolute;
  right: 1px;
  cursor: pointer;
  transition: 0.5s ease all;
}
/* ! Navbar End*/
/* ! Sidebar Start*/
/* Sidebar */
.sidebar {
  background-color: black;
  color: white;
  height: 100%;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
  padding-top: 60px;
  position: fixed;
  top: 0;
}
.sidebar i {
  font-size: 20px;
  cursor: pointer;
}
/* ! Sidebar End*/

/* ! Featured Content Start*/
.content-wrapper {
  margin-left: 50px;
}
.featured-content {
  background: url("img/spiderman.jpg");
  padding: 50px;
  height: calc(100vh - 160px);
  background-size: 100% 100%;
}
.featured-title {
  width: 400px;
}
.featured-desc {
  width: 500px;
  background-color: #ffffff80;
  padding: 10px;
  margin: 30px 0;
  color: black;
}
.featured-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.featured-buttons button {
  padding: 10px 25px;
  border-radius: 2px;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  column-gap: 10px;
  font-size: 16px;
  font-weight: bold;
}
.featured-buttons .info-button {
  background-color: rgb(142, 142, 142, 0.5);
  color: white;
}

/* ! Featured Content End*/
/* ! Filter Start*/
.movie-list-filter {
  margin: 20px 0 20px 50px;
  padding: 20px;
}
.movie-list-filter select {
  background-color: black;
  color: white;
  padding: 7px 0;
  width: 125px;
}

/* ! Filter End*/
/* !Movie List Start */
.movie-list-container {
  margin-left: 70px;
}

.movie-list {
  padding: 0;
  height: 300px;
  display: flex;
  align-items: center;
  column-gap: 30px;
  transform: translateX(0);
  transition: 1s all ease-in-out;
}
.movie-list-wrapper {
  overflow: hidden;
  position: relative;
}
.movie-item {
  position: relative;
}
.movie-item:hover .movie-item-title,
.movie-item:hover .movie-item-buttons {
  opacity: 1;
}
.movie-item:hover .movie-item-img {
  transform: scale(1.2);
  margin: 0 30px;
  opacity: 0.5;
}
.movie-item-img {
  width: 289.75px;
  height: 200px;
  object-fit: cover;
  transition: 1s all ease-in-out;
}

.movie-item-title {
  background-color: rgb(40, 40, 40, 0.4);
  padding: 0 10px;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10%;
  left: 50px;
  opacity: 0;
  transition: 1s all ease-in-out;
}
.movie-item-buttons {
  background-color: rgb(40, 40, 40, 0.4);
  padding: 10px;
  font-weight: bold;
  position: absolute;
  bottom: 10%;
  left: 50px;
  display: flex;
  column-gap: 20px;
  opacity: 0;
  transition: 1s all ease-in-out;
}
.movie-item-buttons i {
  cursor: pointer;
  opacity: 0.5;
  font-size: 20px;
  transition: 0.5s all ease;
}
.movie-item-buttons i:hover {
  opacity: 1;
}

.arrow {
  width: 100px;
  display: flex;
  font-size: 120px;
  position: absolute;
  right: 20px;
  top: 100px;
  opacity: 0.5;
  transition: 0.5s ease all;
  cursor: pointer;
}
.arrow:hover {
  opacity: 1;
}

/* !Movie List End */
/* !Dark Mode Start */
.container.active {
  background-color: white;
}
.navbar.active {
  background-color: white;
  color: black;
}
.sidebar.active {
  background-color: white;
}
.sidebar i.active {
  color: black;
}
.movie-list-title.active {
  color: black;
}

.toggle.active {
  background-color: black;
}
.toggle-ball.active {
  background-color: white;
  transform: translateX(-20px);
}
.movie-list-filter select.active {
  background-color: white;
  color: black;
}
/* !Dark Mode End */

/* !Responsive Start  */
@media only screen and (max-width: 800px) {
  .menu-container {
    display: none;
  }
  .featured-content{
    height: 50vh;
  }
  .featured-title{
    width: 200px;
  }
  .featured-desc{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    max-width: 200px;
    padding: 0;
  }

  .arrow {
    font-size: 100px;
    right: 10px;
  }

  .movie-item:hover .movie-item-img {
    transform: scale(1.1);
    margin: 0 10px;
  }
}
/* !Responsive End  */
