* {
  /* Evita que o padding empurre as bordas para fora */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.center {
  align-items: center;
  display: flex;
  justify-content: center;
}

body {
  height: 100%;
  width: 100%;
  background-image: url('https://www.alura.com.br/assets/img/imersoes/dev-2021/dia-04-aluraflix-e-filmes.png');
  background-color: rgba(0, 0, 0, 30%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  font-family: 'Roboto Mono', monospace;
  text-align: center;
}

.forward {
  height: auto;
  top: 10px;
  width: 60%;
  margin: auto;
  background-color: rgba(0, 0, 0, 30%);
  border-radius: 10px;
  padding: 5px;
  position: relative;
}

.forward * {
  color: white;
  font-size: 16px;
}

.modal-erro {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: white;
  text-align: center;
  position: fixed;
  z-index: 97;
  overflow: hidden;
}

.modal-erro span {
  width: 300px;
  height: 100px;
  left: 0;
  background: black;
  color: white;
  position: relative;
  border-radius: 10px;
  background-color: rgb(80, 00, 00, 98%);
}

.modal-video-geral {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0, 75%);
  position: fixed;
}

.modal-video-trailer {
  position: absolute;
  border-radius: 10px;
  width: 600px;
  height: 355px;
}

/* Botão Resumo */
.modal-video-trailer button {
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 99;
  cursor: pointer;
}

.modal-video-iframe {
  width: 560px;
  height: 315px;
}

.forward a {
  color: white;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.container-opcoes {
  margin: 5px;
  color: white;
  font-size: 16px;
}

select {
  width: 120px;
  height: 25px;
  font-size: 15px;
  font-weight: bold;
  padding: 0 10px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

select option {
  font-size: 15px;
  margin: 5px;
  outline: none !important;
  color: black;
  -webkit-appearance: none;
}

button {
  width: 121px;
  height: 25px;
  font-size: 15px;
  font-weight: bold;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.container-cadastro {
  width: 300px;
  height: 0;
  border-radius: 10px;
  color: white;
  background-color: rgb(0, 0, 0, 30%);
  flex-direction: column;
  align-items: center;
  transition: all 1s ease-in-out;
  overflow: hidden;
  opacity: 0;
  display: inline-flex;
  position: relative;
}

.container-cadastro.ativo {
  height: 405px;
  margin: 10px 0 5px;
  opacity: 1;
  padding: 0 0 5px;
  transition: all 1s ease-in-out;
}

fieldset {
  border: 2px solid white;
  border-radius: 5px;
  padding: 0 10px 10px;
  position: absolute;
}

legend {
  margin: 0 auto;
  padding: 0 5px;
}

.container-cadastro input {
  width: 100%;
  height: 30px;
  color: white;
  font-size: 16px;
  padding: 0 10px;
  border-radius: 3px;
  background-color: transparent;
  border: 2px solid white;
  outline: none;
  /*Remove a borda de quando clica no campo*/
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.container-cadastro-campo {
  margin: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.container-cadastro button {
  margin: 5px 0 0;
}

.container-movies {
  margin: 10px;
  width: 206px;
  background-color: rgb(0, 0, 0, 30%);
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
  padding: 12px 12px 8px;
  position: relative;
}

.container-movies h2 {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0, 75%);
  border-radius: 10px;
  color: white;
  font-size: 16px;
  opacity: 0;
  padding: 0 10px;
  /*Funciona apenas com o position relative do elemento pai mais próximo*/
  position: absolute;
  transition: all 500ms ease-in-out;
}

.container-movies:hover h2 {
  opacity: 1;
}

.page-title {
  color: #ffffff;
  font-size: 48px;
  margin: 0;
}

.page-subtitle {
  color: #ffffff;
  margin-top: 5px;
}

.page-logo {
  width: 200px;
}

body>img {
  margin: 0 10px;
}

.mostra-container-cadastro {
  position: relative;
  overflow: hidden;
  transition: color 200ms ease-in-out;
}

.mostra-container-cadastro:after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background: #0074bd;
  z-index: -1;
  -webkit-transition: width 200ms ease-out;
  transition: width 200ms ease-out;
}

.mostra-container-cadastro:hover {
  color: #FFF;
}

.mostra-container-cadastro:hover:after {
  /* hover: passar o mouse em cima
     after: após o mouse já estiver em cima */
  width: 110%;
}

.mostra-container-cadastro:active:after {
  background-color: #0f55aa;
}

footer {
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, .5);
  color: white;
  font-size: 12px;
  font-family: Arial, sans-serif;
  padding: 3px;
  position: fixed;
  text-align: center;
}