/*! base css star  */
@import url("https://fonts.googleapis.com/css2?family=Electrolize&display=swap");
* {
  margin: 0;
}

body {
  font-family: "Electrolize", sans-serif;
}
/*! base css star  */

/*! navbar star  */

.navbar {
  width: 100%;
  height: 60px;
  background-color: black;
  position: sticky;
  top: 0;
  z-index: 1;
}

.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 50px;
  height: 100%;
  color: white;
}

.logo-container {
  flex: 1;
}

.logo {
  font-size: 30px;
  color: rgb(255, 70, 70);
  cursor: pointer;
}

.menu-container {
  flex: 6;
}

.menu-list {
  display: flex;
  justify-content: center;
  column-gap: 30px;
  list-style: none;
}

.menu-list-item {
  cursor: pointer;
}

.menu-list-item:hover {
  font-weight: bold;
}

.menu-list-item.active {
  font-weight: bold;
}

.profile-container {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-text-container {
  margin: 0 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.profile-picture {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.toggle {
  width: 40px;
  height: 20px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.toggle-icon {
  color: goldenrod;
}

.toggle-ball {
  width: 18px;
  height: 18px;
  background-color: black;
  position: absolute;
  right: 1px;
  border-radius: 50%;
  cursor: pointer;
  transition: .5s ease all;
}
/*! navbar end  */

/*! sidebar start  */
.sidebar {
  width: 50px;
  height: 100%;
  background-color: black;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.left-menu-icon {
  color: white;
  font-size: 20px;
  margin-bottom: 40px;
  cursor: pointer;
}
/*! sidebar end  */

.container {
  background-color: #000;
  color: white;
}

/*! featured start  */

.content-wrapper {
  margin-left: 50px;
}

.featured-content {
  height: calc(100vh - 150px);
  padding: 50px;
  background: url("img/spiderman.jpg") no-repeat;
  background-size: 100% 100%;
}

.featured-title {
  width: 400px;
}

.featured-desc {
  width: 500px;
  color: black;
  margin: 30px 0;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
}

.featured-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.featured-buttons button {
  padding: 10px 25px;
  border-radius: 2px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 16px;
  display: flex;
  column-gap: 10px;
}

.featured-buttons .info-button {
  background-color: rgb(145, 142, 142, 0.5);
  color: white;
}

/*! featured content end  */

/*! movie list start  */
.movie-list-container {
  padding: 0 20px;
}

.movie-list-wrapper {
  position: relative;
  overflow: hidden;
}

.movie-list-filter {
  margin: 20px 0;
  padding: 20px;
}

.movie-list-filter select {
  background-color: #000;
  color: white;
  padding: 7px 0;
  width: 125px;
}

.movie-list {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  column-gap: 30px;
  height: 300px;

  /*? JS'de ekle */
  transform: translateX(0);
  transition: all 0.7s ease-in;
}

.movie-list-title {
  line-height: 1;
}

.movie-item {
  position: relative;
}

.movie-item:hover .movie-item-img {
  transform: scale(1.2);
  margin: 0 30px;
  opacity: 0.5;
}

.movie-item:hover .movie-item-title,
.movie-item:hover .movie-item-buttons,
.movie-item:hover .movie-item-button {
  opacity: 1;
}

.movie-item-buttons {
  background-color: rgb(40, 40, 40, 0.4);
  padding: 10px;
  font-size: 20px;
  display: flex;
  column-gap: 20px;
  position: absolute;
  bottom: 10%;
  left: 50px;
  opacity: 0;
  transition: 1s all ease-in-out;
}

.movie-item-buttons i {
  cursor: pointer;
  opacity: 0.5;
  transition: 0.5s all ease;
}

.movie-item-buttons i:hover {
  opacity: 1;
}

.movie-item-img {
  transition: all 0.7s ease-in;
  width: 270px;
  height: 200px;
  object-fit: cover;
}

.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;
}

.arrow {
  width: 100px;
  display: flex;
  font-size: 120px;
  position: absolute;
  top: 100px;
  right: 0;
  /*   transform: translate(-50%, -50%); */
  color: lightgray;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.5s ease all;
}

.arrow:hover {
  opacity: 1;
}
/*! movie list end  */

/*? burayı en son yaz. javascript tarafında geçince yaz  */
/*! dark mode start  */
.container.active {
  background-color: white;
}

.movie-list-title.active {
  color: black;
}

.navbar-container.active {
  background-color: white;
  color: black;
}

.sidebar.active {
  background-color: white;
}

.left-menu-icon.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: 940px) {
  .menu-container {
    display: none;
  }

  .featured-content {
    height: 50vh;
  }

  .featured-title {
    width: 200px;
  }

  .featured-desc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    padding: 0;
    -webkit-box-orient: vertical;
    max-width: 200px;
  }
}
/*! responsive end  */