@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --secondry-color: #1c2120;
  --red-color: red;
  --background-color: black;
}
.container {
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

::-webkit-scrollbar {
  width: 7px;
}
/* change the scrollbar in the website */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(255, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(255, 0, 0);
  outline: none;
}
body {
  font-family: "Roboto", sans-serif;
  position: relative;
}
.favoriteAlert{
  position: fixed;
  top:-200px;
  height:70px;
  padding:15px;
  width:60%;
  left: 50%;
  transform: translateX(-50%);
  background: #959595c7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
  font-size: 20px;
  transition: 400ms;
  text-align: center;
}
.favoriteAlert.active{
  top: 10px;
}
/* main section with header start */
.main {
  background-image: url(https://www.m9.news/wp-content/uploads/2024/07/multiplexes-2025.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 20px 0 0 0;
  position: relative;
  overflow: hidden;
}
.main::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(to top, black,rgba(0, 0, 0, 0.629), transparent);
}
/* For Navbar */
header nav {
  padding: 0px 20px 0px 10px;
  background-color: var(--background-color);
  border-radius: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 99.8%;
  height: 99%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
header nav h1 {
  color: #fff;
}

header nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
header nav a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  text-transform: uppercase;
  padding: 6px 22px;
  background:red;
  border-radius: 20px;
}
header nav h3.userName {
  color:red;
  display: none;
  text-decoration: underline;
  cursor: pointer;
}
header nav.logedIn a {
  display: none;
}
header nav.logedIn h3.userName {
  display: block;
}
/* End of navbar */

/* Watch-Discover */
.Watch-Discover {
  width: 100%;
  height: 90vh;
  position: relative;
}
.Watch-Discover .watch {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
}
.Watch-Discover .watch h1 {
  font-size: 48px;
  color: red;
}
.Watch-Discover .discover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main button {
  border: none;
  position: relative;
  width: 290px;
  height: 75px;
  padding: 0;
  z-index: 2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  cursor: pointer;
  background-color: transparent;
  transform: translateY(8px);
}

.main button:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0px 0 0 0 var(--red-color);
  transition: all 2s ease;
}

.main button:hover:after {
  box-shadow: 0px -13px 56px 12px var(--red-color);
}

.main button span {
  position: absolute;
  width: 100%;
  font-size: 20px;
  font-weight: 300;
  left: 50%;
  top: 39%;
  letter-spacing: 3px;
  text-align: center;
  transform: translate(-50%, -50%);
  color: rgb(248, 248, 248);
  transition: all 2s ease;
}

.main button:hover span {
  color: white;
}

.main button:before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  background-color: black;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 1s ease;
}

.main button:hover:before {
  width: 100%;
}

.card {
  margin: 0 auto;
  padding: 10px;
  background: var(--background-color);
  text-align: center;
  border-radius: 40px;
  position: relative;
  height: 75px;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.card::after,
.card::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: conic-gradient(
    from var(--angle),
    red,
    red,
    blue,
    blue,
    red
  );
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  /* z-index:; */
  padding: 3px;
  border-radius: 40px;
  animation: 3s spin linear infinite;
}
.card::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}
@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

/* main section with header end */
/* movies list section start */
.moviesList {
  min-height: 100vh;
  background: var(--background-color);
  width: 100%;
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}
.moviesList form {
  min-width: 290px;
  max-width: 500px;
  height: 44px;
  margin: 0 auto 60px;
  position: relative;
}
.moviesList form input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: solid 2px white;
  border-radius: 20px;
  padding: 5px 5px 5px 45px;
  color: white;
  outline: none;
}
.moviesList form label {
  color: white;
  font-size: 25px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.thumbnail {
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.thumbnail button {
  color: white;
  text-decoration: none;
  font-size: 22px;
  border: solid 1px white;
  width: 130px;
  display: inline-block;
  padding: 8px 5px;
  text-align: center;
  text-transform: capitalize;
  transition: 400ms;
  cursor: pointer;
  background:transparent;
}
.thumbnail button.active {
  background: var(--red-color);
  border-color: var(--red-color);
}
.moviesList .container .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 300px));
  grid-gap: 15px;
  margin: 60px 0 0;
  justify-content: center;
}
 .container  .movieBox {
  position: relative;
  border: solid 1px gray;
  border-radius: 10px;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}
 .container  .movieBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 400ms;
}
 .container  .movieBox:hover img {
  transform: scale(1.05);
  filter: brightness(50%);
}
.container  .movieBox::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -80px;
  background: linear-gradient(to top, var(--red-color), transparent);
  width: 100%;
  height: 80%;
  z-index: 1;
  transition: 400ms;
}
 .container .movieBox:hover::before {
  bottom: -30px;
}
 .container  .movieBox span {
  color: white;
  position: absolute;
  left: 10px;
  bottom: 30px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 18px;
  z-index: 2;
}
 .container  .movieBox .addFav {
  position: absolute;
  top:10px;
  right: 10px;
  font-size: 30px;
  color: white;
  z-index: 2;
}
 .container  .movieBox .addFav.active {
  font-weight: 800;
  color: crimson;
}
/* movies list section end */


/* footer start */
footer {
  background-color: var(--secondry-color);
  padding: 20px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.footer-logo p {
  font-size: 14px;
  color: #777;
}
.footer-logo p span {
  color: var(--red-color);
  font-weight: bold;
}

.footer-logo .imageLogo img{
  width: 80px;
  height: 80px;
}
.footer-profiles {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.footer-profiles .profile {
  text-align: center;
  margin:30px 0;
}

.footer-profiles .profile img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.footer-profiles .profile p {
  margin-top: 5px;
  color: white;
}
