@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

:root {
  --primary-color: rgb(8, 8, 8);
  --secondary-color: rgb(85, 67, 185);
}
a {
  display: none;
  position: absolute;
  top: 70px;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 20px;
  color: white;
  text-align: center;
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  background-color: var(--secondary-color);
}

.maski {
  /* justify-content: flex-start; */
  /* justify-content: center; */
  font-size: 3rem;
  font-weight: 20 2000;
  font-synthesis-weight: 20 20;
  font-family: inherit;
  color: #000000;
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    /* background-image: url(https://gifdb.com/images/high/black-background-blue-meteor-shower-96b6ypkabnn7d0jm.gif); */
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRYhVGM66vN1VunMy0hmlY5fGNH_zr9_44wcBVBME8JVnj3k2561vNi8HJG-QwvnpRUsFA&usqp=CAU);

    /* background-image: url(https://i.pinimg.com/originals/80/f4/b4/80f4b4c09340c2e7c46ca4254a14d9ff.gif); */
    /* background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSFcWoVXdR3nwIYvHx38mgGpWszQ9nfpmGroBmZurzgKRR4EDKCAGWND8VvxOGfeYs9n_w&usqp=CAU); */
    /* background-image: url(https://i.pinimg.com/originals/9e/4c/54/9e4c5447abdeb94e87507ec8bd95d6ff.gif); */
    /* background-image: url(https://i.pinimg.com/originals/23/60/50/2360503f1de2dfdc02c7b538698bca1a.gif); */
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }
}

/* .search {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  justify-content: flex-end;
  /* padding-top: 50px; */
/* margin-top: 00px; */
/* margin-left: 500px;
} */

/* .search {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  margin-top: 40px;
  color: black;
}

.search::placeholder {
  color: black;
}

.search:focus {
  outline: none;
  background-color: var(--secondary-color);
} */

form {
  position: relative;
  top: 70px;
  /*   flex-wrap:wrap; */
  right: 10%;
  transform: translate(-50%, -50%);
  transition: all 1s;
  width: 50px;
  height: 50px;
  background: white;
  box-sizing: border-box;
  border-radius: 25px;
  border: 4px solid white;
  padding: 5px;
}
input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42.5px;
  line-height: 30px;
  outline: 0;
  border: 0;
  display: none;
  font-size: 1em;
  border-radius: 20px;
  padding: 0 20px;
}

.fa {
  box-sizing: border-box;
  padding: 10px;
  width: 42.5px;
  height: 42.5px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  color: #07051a;
  text-align: center;
  font-size: 1.2em;
  transition: all 1s;
}

form:hover,
form:valid {
  width: 200px;
  cursor: pointer;
}

form:hover input,
form:valid input {
  display: block;
}

form:hover .fa,
form:valid .fa {
  background: #07051a;
  color: white;
}

/* a {
  display: none;
  position: absolute;
  top: 70px;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 20px;
  color: white;
  text-align: center;
  width: 100%;
} */

/* form:valid a {
  display: block;
} */
button {
  background-color: var(--secondary-color);
  border: var(--secondary-color);
}
/* body {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  background: #07051a;
} */

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.movie {
  width: 200px;
  margin: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.movie img {
  width: 100%;
}

.movie-info {
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  padding: 0.5rem 1rem 1rem;
  letter-spacing: 0.5px;
}

.movie-info h3 {
  margin-top: 0;
}

.movie-info span {
  background-color: var(--primary-color);
  /* padding: 10px 10px;
  border-radius: 40px; */
  border-radius: 50px 50px;
  padding: 8px 8px;
  /* margin: 3px; */
  font-weight: bold;
}

.movie-info span.green {
  color: lightgreen;
}

.movie-info span.orange {
  color: orange;
}

.movie-info span.red {
  color: red;
}

.overview {
  background-color: #fff;
  padding: 1rem;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  max-height: 100%;
  transform: translateY(101%);
  overflow-y: auto;
  transition: transform 0.3s ease-in;
}

.movie:hover .overview {
  transform: translateY(0);
}
.tag {
  color: white;
  /* background-color: green; */
  border-radius: 50px 50px;
  padding: 10px 20px;
  margin: 5px;

  cursor: pointer;
  display: inline-block;
}

.line {
  color: white;
}
.tag:hover {
  background-color: rgb(90, 90, 90);
}
#tags {
  width: 80%;
  /* background-color: green; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
}
.tag.highlight {
  background-color: white;
  color: black;
}
.pagination {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
}
.current {
  border-radius: 60px;
  border: 5px solid #3c3b3a;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 900;
  margin-top: 10px;
  margin-bottom: 30px;
}
.page {
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 30px;
}
.page.disabled {
  cursor: not-allowed;
  color: orange;
}

.know {
  background-color: black;
  font-weight: bold;
  text-align: center;
  width: fit-content;
  padding: 10px 10px;
  border-radius: 6px;
  color: white;
  margin-top: 5px;
  cursor: pointer;
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 15%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 50px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  opacity: 50% 10% var(--primary-color);
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
.frame-style {
  border: 1px solid black;
  width: 90%;
  height: auto;
  margin: 1% 5%;
  /* display: flex; */
}
.responsive {
  max-width: 100%;
  border-width: 5px;
  /* border-radius: 10% 10%; */
}
