@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
:root {
  --primary-color: #22254b;
  --secondary-color: #373b69;
  --third-color: #717ecd;
  --white-color: #fff;
}

*,
*::before,
*::after {
  padding: e;
  margin: 0;
  border: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

ul,
I ol,
li {
  list-style: none;
}

img {
  vertical-align: top;
}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  background: linear-gradient(135deg, #3c4699 0%, #1d2140, #3c4699 100%) fixed;
  background-size: cover;
  scroll-behavior: smooth;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

#btnTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: var(--third-color);
  color: whitesmoke;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  z-index: 99;
}

#btnTop:hover {
  background-color: #555;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#btnTop.fade {
  opacity: 1;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 100%;
  background-color: var(--secondary-color);
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.header input[type="search"] {
  width: 100%;
  margin: 20px 0;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 0.8em;
  color: var(--white-color);
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  overflow: hidden;
}

.header ::-webkit-input-placeholder {
  color: var(--third-color);
}

.header :-ms-input-placeholder {
  color: var(--third-color);
}

.header ::-ms-input-placeholder {
  color: var(--third-color);
}

.header ::placeholder {
  color: var(--third-color);
}

.header ::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  margin-left: 0.4em;
  background-image: url("assets/svg/cancel-btn.svg");
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.header :focus {
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  color: var(--white-color);
}

.header :-webkit-autofill,
.header :-webkit-autofill:hover,
.header :-webkit-autofill:focus {
  font-family: "Poppins", sans-serif !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: var(--white-color) !important;
}

.main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.main .cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  overflow: hidden;
}

.main .card {
  position: relative;
  width: 300px;
  margin: 16px;
  color: var(--white-color);
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: var(--secondary-color);
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-animation: animationCard 0.5s;
          animation: animationCard 0.5s;
}

@-webkit-keyframes animationCard {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.25;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 0.5;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes animationCard {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.25;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 0.5;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

.main .card:hover {
  -webkit-transform: scale(1.025);
          transform: scale(1.025);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

.main .card:hover .overview {
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
}

.main .card img {
  height: 450px;
  width: 300px;
}

.main .card .movie-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0px 20px 10px;
  letter-spacing: 0.5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
}

.main .card .movie-info h3 {
  -webkit-margin-before: 1em;
          margin-block-start: 1em;
  -webkit-margin-after: 1em;
          margin-block-end: 1em;
  -webkit-margin-start: 0px;
          margin-inline-start: 0px;
  -webkit-margin-end: 0px;
          margin-inline-end: 0px;
  font-size: 1em;
  font-weight: bold;
  overflow: hidden;
  overflow-wrap: anywhere;
  overflow-wrap: break-word;
}

.main .card .movie-info div {
  padding: 5px 10px;
  margin-left: 15px;
  margin-right: 5px;
  font-weight: bold;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.main .card .movie-info .red {
  color: red;
}

.main .card .movie-info .orange {
  color: orange;
}

.main .card .movie-info .green {
  color: lightgreen;
}

.main .overview {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-height: 100%;
  background-color: #fff;
  color: black;
  padding: 2rem;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  overflow-wrap: break-word;
  overflow-y: auto;
}

.main .overview h3 {
  margin-bottom: 10px;
}

.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 0;
  width: 100%;
  font-size: 1.1rem;
  background-color: var(--secondary-color);
  -webkit-box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
}

.footer p {
  color: var(--third-color);
}

.footer a {
  color: var(--third-color);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.footer a:visited {
  color: var(--third-color);
  text-decoration: none;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.footer a:hover {
  color: var(--white-color);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.footer .rsschool {
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.footer .rsschool path {
  fill: var(--third-color);
  -webkit-transition: fill 0.3s ease-in-out;
  transition: fill 0.3s ease-in-out;
}

.footer .rsschool:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.footer .rsschool:hover path {
  fill: var(--white-color);
  -webkit-transition: fill 0.3s ease-in-out;
  transition: fill 0.3s ease-in-out;
}

.btns {
  width: 100%;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.btns > * {
  margin: 10px 10px 10px 0px;
  display: inline-block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.btn[disabled] {
  pointer-events: none;
  background-color: var(--secondary-) !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #9f9f9f !important;
  cursor: default;
}

.btn {
  display: inline-block;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 7px 14px;
  background-color: var(--third-color);
  color: white;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 16px;
  border: none;
  outline: none;
  -webkit-transition: background-color 0.3s ease-out;
  transition: background-color 0.3s ease-out;
}

.btn.active {
  border: 2px solid var(--third-color);
  padding: 6px 13px;
}

.btn:hover {
  background-color: #555;
}
/*# sourceMappingURL=style.css.map */