/* um dos fundametos do clean code é comentar somente o necessario,
porem, por estar aprendendo eu faço comentarios descrevendo a funçao de 
cada elemento */

/* declarando variaveis das cores e do rem, que seram utilizados em todo css*/
html {
  --red: #e50914;
  --black: #141414;

  font-size: 62.5%; /* define o rem com tamanho de 10px*/
}

/*
 resetando a margin e o padding e definindo ue o conteudo nao saia sobre a borda 
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  overflow-x: hidden;
  background: var(--black);
}

/* -------------------------------header------------------------------------------  */

header .logo {
  color: var(--red);
  font-size: 4vw;
  font-family: "Bebas neue";
  margin-right: 7vw;
}

header nav a {
  text-decoration: none;
  color: #aaa;
  margin-right: 1vw;
  font-size: 1vw;
  filter: 0.3s;
}

header nav a:hover {
  filter: brightness(1.5);
}

header .conteiner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  background-position: center;
  position: absolute;
  margin-left: 2vw;
}

header .nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#perfil {
  height: 2vw;
  cursor: pointer;
}

.icons {
  height: 2vw;
  margin-left: 2vw;
}

.menu-hideen {
  height: 2vw;
  margin-left: 2vw;
  display: none;
  cursor: pointer;
}

.sm-menu {
  display: flex;
  flex-direction: column;
}

.menuzinho {
  position: absolute;
  width: 100%;
  height: 100px;
  display: flex;
  margin-top: 6vh;
  justify-content: right;
}
.sm-menu {
  display: none;
  margin-right: 0;
  width: 130px;
  margin-right: 2rem;
  background-color: rgba(135, 138, 135, 0.384);
  border-radius: 4px 0 4px 4px;
}

.sm-menu li {
  padding-top: 2px;
  padding-bottom: 2px;
  margin: auto;
}

.sm-menu li > a {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: #141414;
}

.show {
  display: flex;
  margin-right: 0;
  width: 130px;
  margin-right: 2rem;
  background-color: rgba(135, 138, 135, 0.384);
  border-radius: 4px 0 4px 4px;
}

/* --------------------------------------- responsivo header--------------------------------------------------- */

@media screen and (max-width: 576px) {
  ul.topnav li {
    display: none;
  }

  header .logo {
    font-size: 7vw;
  }

  .icons,
  #perfil,
  .menu-hideen {
    height: 5vw;
  }

  .menu-hideen {
    display: inline;
  }
}
/* --------------------------------------- banner do filme principal------------------------------------------- */
.main-movie .conteiner {
  width: 90vw;
  margin-left: 2rem;
  width: 40rem;
  margin-top: 60px;
}
.main-movie {
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.582) 100%,
      transparent 100%
    ),
    url("../img/main-img.jpg");
  width: 100vw;
  height: 60rem;
  padding-top: 15rem;
  background-size: cover;
}

h3,
p {
  color: rgb(255, 255, 255);
  /*font-family: 'Helvetica Neue';*/
  font-size: 2rem;
}

button {
  border: none;
  border-radius: 0.4rem;
  height: 3.5rem;
  width: 11rem;
  font-weight: bolder;
  margin-right: 8px;
  cursor: pointer;
  /*transitsion: 1s ;*/
}

button:hover {
  /* transform: scale(1.01); */
  filter: brightness(1.5);
}

.btn-watch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-watch img {
  height: 1.4rem;
  color: aqua;
  margin-right: 3px;
}

.btn-informations {
  background: #646262;
  width: 15rem;

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-informations img {
  height: 1rem;
  margin-right: 3px;
}

.main-movie .title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: "Trebuchet MS";
}

i {
  padding-right: 5px;
}

.main-movie .description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  flex-direction: row;
}

.movies {
  height: 50rem;
}

.movies .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: var(--red);
  width: 5rem;
  font-size: 3rem;
  height: 31rem;
}
.less {
  margin-left: -2rem;
  background: linear-gradient(transparent);
  background: linear-gradient(to right, var(--black) 70%, transparent 100%);
}

.next {
  margin-right: 3rem;
  margin-left: 129rem;
  background: linear-gradient(to left, var(--black) 70%, transparent 100%);
}

.movies .movies-cap {
  width: 15vw;
  object-fit: cover;
  object-position: center;
}

.movies .conteiner,
.movies ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.movies .conteiner {
  width: 100vw;
  background: linear
    linear-gradient(to right, black 10%, transparent 90%, black 10%);
}

li {
  display: inline-block;
  list-style: none;
}

li:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
  cursor: pointer;
}
.movies ul {
  display: flex;
  overflow: hidden;
}
.movies img {
  margin-right: 1.2rem;
}

.title-category {
  margin-left: 2rem;
  margin-bottom: -5rem;
  margin-top: 10rem;
}

.title-2 {
  margin-left: 2rem;
  margin-bottom: -5rem;
  margin-top: 2rem;
}

footer .conteiner {
  display: flex;
  height: 30vh;
  width: 100vw;
  margin-top: 62rem;
  border-top: 5px solid rgb(135, 138, 135);
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: #646262;
}

.icons-footer {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}

.conteiner .footer-icons {
  width: 5rem;
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: #b20710;
  border-radius: 4px;
}
