@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== CORES DO PROJETO ===== */
:root {
  --cor-fundo: #141414;
  --cor-navbar: #1f1f1f;
  --cor-destaque: #e50914;
  --cor-destaque-sec:#590E0E;
  --cor-texto: #F2F2F2;
  --cor-texto-secundario: #b3b3b3;
}
body{
    margin: 0;
    padding: 0;
    background-color: #141414;
    box-sizing: border-box;
    font-family:"Cabin", sans-serif;
    color: #F2F2F2;
}
header{
  background-color:var(--cor-navbar);
}
header h1{
  font-size: 60px;
  font-weight: bold;
  margin-left: 40px;
  color: #e50914;
}
h1{
  font-size: 50px;
}
h2{
  font-size: 30px;
}
#banner {
  height: 90vh;
  background-image: url(imgs/img_interestelar.jpeg); 
  background-size: cover; 
  background-position: center;
  display: flex;
  align-items: center
}
.conteudo {
  margin-left: 50px;
  color: white;
  max-width: 500px;
}

.banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 90vh;
  background: linear-gradient(to right, rgba(0,0,0,0.8), transparent);
}

.btn-play {
  background-color: #e50914;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  margin-right: 10px;
  cursor: pointer;
  font-weight: bold;
}

.btn-info {
  background-color: rgba(109,109,110,0.7);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}
.btn-play:hover {
  background-color: #b20710;
}

.btn-info:hover {
  background-color: rgba(109,109,110,1);
}
nav{
  background-color: #1f1f1f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 200px;
}
nav ul {
  display: flex;
  gap: 15px; /* espaço entre os botões */
  list-style: none; /* tira bolinha */
}

nav a {
  text-decoration: none; /* tira sublinhado */
  color: white; /* cor do texto */
  background-color: #e50914; /* vermelho */
  padding: 10px 20px; /* espaço interno */
  border-radius: 20px; /* deixa arredondado */
  font-weight: bold;
}

nav a:hover {
  background-color: #b20710; /* cor mais escura ao passar mouse */
}

#filmes, #series, #trailers, #trilhas{
  padding: 40px;
}
#filmes img,
#series img {
  width: 180px;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
  margin-left: 200px; 
  display: inline;
  gap: 20px;/*gap é o espaço entre elementos semelhante a margin*/
  transition: all 1s ease ;
  cursor: pointer;
}
#filmes img:hover{
  scale:200%;
  box-shadow: 2px 2px 10px #b3b3b3;
}
#series img:hover{
  scale:200%;
  box-shadow: 2px 2px 10px #b3b3b3;
}
#trailers {
  padding: 40px;
}

#trailers video {
  width: 400px;
  border-radius: 12px;
}

#trailers p {
  margin: 10px 0;
  font-size: 30px;
  
}
#trailers {
  display: flex;
  gap: 30px;
}
.trailer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;/*padding diferente do gap ou margin é o espaço dentro do elemento*/
  margin-left: 40px;
}
#trilhas{
  padding: 40px;
}
#trilhas img{
  width: 1000px;
  height: 560px;
  border-radius: 50px;
  object-fit: cover;
  padding: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

.card-audio {
  position: relative; /* permite posicionar coisas dentro */
  width: 400px;
  margin-left: 220px;
}
  

/* player por cima da imagem */
.audio-player {
  position: absolute;
  bottom: 50px; /* fica na parte de baixo */
  left: 10px;
  right: 10px;

  background-color: rgba(0,0,0,0.6); /* fundo escuro transparente */
  padding: 10px;
  border-radius: 10px;
}

.audio-player p {
  color: white;
  margin-bottom: 5px;
  font-size: 30px;
}