* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
}
.navbar {
  width: 100%;
  height: 50px;
  background-color: white;
  font-family: "Sen", sans-serif;
  transition: all 1s ease-in-out;
}
.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 50px;
  height: 100%;
  color: white;
}
.logo-container {
  flex: 1;
}
.logo a {
  font-size: 30px;
  color: #4dbf00;
  display: inline-block;
}
.logo a {
  transition: 0.5s all ease-in-out;
}
.logo a:hover {
  transform: rotate(360deg);
}
.menu-container {
  flex: 6;
}
.menu-list {
  list-style: none;
  display: flex;
}
.menu-list-item {
  display: inline-block;
  transition: 0.5s all ease-in-out;
  margin-right: 30px;
  color: #444343;
}
.menu-list-item:hover {
  color: #a9c937;
  transform: rotate(360deg);
}
.menu-list-item.active {
  font-weight: bold;
}
.profile-container {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.theme-switch {
  position: relative;
}

.theme-switch__input {
  position: absolute;
  opacity: 0;
  z-index: 1;
}

.theme-switch__input:focus + .theme-switch__label,
.theme-switch__input:hover + .theme-switch__label {
  background-color: lightSlateGray;
}

.theme-switch__input:focus + .theme-switch__label span::after,
.theme-switch__input:hover + .theme-switch__label span::after {
  background-color: lightBlue;
}

.theme-switch__label {
  margin: 60px;
  display: inline-block;
  width: 50px;
  height: 25px;
  border-radius: 50px;
  text-align: center;
  background-color: slateGray;
  box-shadow: -4px 4px 15px inset rgba(0, 0, 0, 0.4);
  transition: background-color 200ms ease-in-out;
  position: relative;
}

.theme-switch__label::before,
.theme-switch__label::after {
  text-align: center;
  display: flex;
  align-items: center;
  height: 25px;
  font-size: 25px;
  position: absolute;
}

.theme-switch__label::before {
  content: "\263C";
  right: 100%;
  margin-right: 10px;
  color: orange;
}

.theme-switch__label::after {
  content: "\263E";
  left: 100%;
  top: -4%;
  margin-left: 10px;
  color: lightSlateGray;
}

.theme-switch__label span {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 100%;
}

.theme-switch__label span::after {
  position: absolute;
  top: calc(100% + 15px);
  left: 5px;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background-color: lightBlue;
  box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.4);
  transition: transform 1000ms, background-color 200ms;
}
body.dark-theme {
  background-color: #181818;
}
body.dark-theme .footer-container {
  background-color: #181818;
}
body.dark-theme .menu-list-item {
  color: white;
}
body.dark-theme .menu-list-item:hover {
  color: #4dbf00;
}
body.dark-theme .movie-list-title {
  color: white;
}
body.dark-theme .container {
  background-color: #181818;
}

body.dark-theme .navbar {
  transition: all 1s ease-in-out;
  background-color: #222;
}
body.dark-theme .btn-next {
  color: white;
}
body.dark-theme .btn-prev {
  color: white;
}
body.dark-theme .theme-switch__label {
  background-color: #444;
}
#modal {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-height: 500px;
  height: 500px;
  max-width: 500px;
  display: none;
  position: fixed;
  top: 50%;
  justify-content: space-between;
  flex-direction: column;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  color: #fff;
  padding: 20px;
  z-index: 1000;
  width: 100%;
  transition: all 1s ease-in-out;
}

#modal img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 1s ease-in-out;
}

#modal button {
  background-color: #ff4444;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

#modal button:hover {
  background-color: #cc0000;
}

body.dark-theme #modal {
  background: #333;
  color: white;
}
.theme-switch__input:checked + .theme-switch__label {
  background-color: lightSlateGray;
}

.theme-switch__input:checked + .theme-switch__label::before {
  color: lightSlateGray;
}

.theme-switch__input:checked + .theme-switch__label::after {
  color: turquoise;
}

.theme-switch__input:checked + .theme-switch__label span::after {
  transform: translate3d(25px, 0, 0);
}
.content-container {
  display: flex;
  flex-direction: column;
  gap: 126px;
}
.left-menu-icon {
  color: white;
  font-size: 20px;
  margin-bottom: 40px;
}
.container {
  transition: all 1s ease-in-out;
  background-color: white;
  min-height: calc(100vh - 50px);
  color: white;
}

.featured-content {
  height: 50vh;
  padding: 50px;
}

.featured-title {
  width: 200px;
}
.featured-desc {
  width: 500px;
  color: lightgrey;
  margin: 30px 0;
}
.featured-button {
  background-color: #4dbf00;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-weight: bold;
}
.swiper-slide {
  margin-right: 0 !important;
  justify-content: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 300px !important;
}
.swiper {
  overflow: hidden !important;
}
.movie-list-container {
  padding: 20px 20px;
  position: relative;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.movie-list-wrapper {
  position: relative;
  overflow: hidden;
}
.movie-list-item-img {
  width: 270px;
  height: 200px;
  object-fit: cover;
  transition: all 1s ease-in-out;
  border-radius: 20px;
}
.movie-list {
  display: flex;
  align-items: center;
  height: 300px;
  transform: translateX(0);
  transition: all 1s ease-in-out;
}
.movie-list-item {
  position: relative;
}
.movie-list-item:hover .movie-list-item-img {
  opacity: 0.5;
}
.movie-list-item:hover .movie-list-item-title {
  opacity: 1;
}
.movie-list-item:hover .movie-list-item-desc {
  opacity: 1;
}
.movie-list-item:hover .movie-list-item-button {
  opacity: 1;
}

.movie-list-item-title {
  background-color: #333333a8;
  padding: 0 10px;
  font-size: 25px;
  font-weight: bold;
  position: absolute;
  top: 10%;
  left: 50px;
  opacity: 0;
  transition: 1s all ease-in-out;
}
.movie-list-item-desc {
  background-color: #333333a9;
  padding: 10px;
  font-size: 14px;
  position: absolute;
  top: 30%;
  left: 50px;
  width: 230px;
  opacity: 0;
  transition: 1s all ease-in-out;
}
.movie-list-item-button {
  padding: 10px;
  background-color: #4dbf00;
  color: white;
  border-radius: 10px;
  outline: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 1s all ease-in-out;
}

.btn-prev {
  position: absolute;
  bottom: -90px;
  left: 10%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-size: 78px;
  transform: rotate(360deg);
  transition: all 1s ease-in-out;
  color: black;
  cursor: pointer;
}
.btn-next {
  position: absolute;
  z-index: 1;
  bottom: -90px;
  right: 10%;
  transform: translate(-50%, -50%);
  font-size: 78px;
  color: black;
  transition: all 1s ease-in-out;
  cursor: pointer;
  transform: rotate(180deg);
}

.container.active {
  background-color: white;
}

.movie-list-title {
  color: #181818;
  padding: 20px;
}

.sidebar.active {
  background-color: white;
}
.left-menu-icon.active {
  color: black;
}
.navbar-container.active {
  background-color: white;
  color: black;
}
.toggle.active {
  background-color: black;
}
.toggle-ball.active {
  background-color: white;
  transform: translateX(-20px);
}
.arrow.active {
  color: black;
  opacity: 0.7;
}
footer {
  width: 100%;
  height: 100px;
  background: #ffffff;
}
.footer-container {
  display: flex;
  align-items: center;
  padding: 0 50px;
  height: 100%;
  color: white;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}
.footer-menu ul {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
@media only screen and (max-width: 1200px) {
  .movie-list-container {
    margin: 0 !important;
  }
}
@media only screen and (max-width: 940px) {
  .menu-container {
    display: none;
  }
  .featured-desc {
    width: 300px;
    color: lightgrey;
    margin: 30px 0;
  }
  .featured-content {
    height: 70vh;
    padding: 50px;
  }
}

@media only screen and (max-width: 450px) {
  .featured-desc {
    width: 200px;
  }
}
