@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

:root {
  --white: #eeeeee;
  --lighter-white: #aaaaaa;
  --black: #000000;
  --lighter-black: #222222;
  --gray: #333333;
  --red: #ff0000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

img {
  display: block;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: var(--black);
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: "Varela Round", sans-serif;
  background-color: var(--black);
  color: var(--white);
}

header {
  margin: 0;
  padding: 0 10px;
  height: 50px;
  width: 100%;
  background-color: var(--gray);
  position: fixed;
  top: 0;
  z-index: 100;
}

footer {
  margin: 0;
  padding: 0 10px;
  height: 50px;
  width: 100%;
  background-color: var(--gray);
  position: fixed;
  bottom: 0;
  z-index: 100;
}

img.nav-icon-active {
  height: 25px;
  align-items: center;
  justify-content: center;
}

img.nav-icon {
  height: 25px;
  align-items: center;
  justify-content: center;
  filter: grayscale(0%) opacity(0.2);
}

.top-nav {
  list-style: none;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.bottom-nav-item {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  padding: 60px 10px;
  animation: fadeIn 1s;
}

h1 {
  font-size: 22px;
  color: var(--white);
  text-align: center;
}

h2 {
  font-size: 20px;
  color: var(--white);
  text-align: center;
  margin: 10px 0;
  padding: 0;
}

h3 {
  font-size: 18px;
  color: var(--white);
  text-align: left;
  margin: 27px 0 9px 0;
  padding: 0;
}

p {
  font-size: 16px;
  color: var(--lighter-white);
  text-align: center;
  margin: 4px 0;
  padding: 0;
}

.movies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

.movie {
  border-radius: 10px;
  color: var(--black);
  text-align: center;
  position: relative;
}

.movie img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 2 / 3;
}

.movie-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 10px;
}

.movie-poster img {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  height: 100%;
}

.movie-info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

.movie-info-box {
  background-color: var(--lighter-black);
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
}

.movie-info-value {
  font-size: 16px;
  margin: 4px 0 8px 0;
  color: var(--white);
}

.movie-info-property {
  font-size: 14px;
  margin: 8px 0 4px 0;
  color: var(--lighter-white);
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  border-radius: 10px;
}

.movie-link {
  background-color: var(--lighter-black);
  border-radius: 10px;
  padding: 5px;
  margin: 10px 0;
  text-align: center;
}

input[type="text"],
input[type="text"]:focus {
  outline: none;
  text-decoration: none !important;
  width: 100%;
  text-align: center;
  font-family: "Varela Round", sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 10px;
  margin: 10px 5px 0 0;
  display: inline-block;
  border: 1px solid var(--lighter-black);
  border-radius: 10px;
  box-sizing: border-box;
  background-color: var(--lighter-black);
  color: var(--lighter-white);
}

input#password {
  text-decoration: none !important;
}

button[type="submit"] {
  width: 100%;
  background-color: var(--red);
  color: white;
  padding: 10px 10px;
  font-family: "Varela Round", sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 10px 0;
  border: 1px solid var(--red);
  border-radius: 10px;
}
