@charset "UTF-8";

/* BOTÃO VOLTAR */
.btn-voltar {
  position: fixed;
  top: 15px;
  left: 15px;
  background: #e50914;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  z-index: 1000;
}

/* PLAYER */
.player-container {
  width: 100%;
  max-width: 900px;
  margin: 80px auto 20px;
}

video {
  width: 100%;
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .row {
    gap: 10px;
    padding: 10px;
  }

  .article {
    min-width: 140px;
    height: 200px;
  }

  .btn-voltar {
    font-size: 12px;
    padding: 8px 12px;
  }
}
body { 
  margin: 0;
  font-family: Arial, sans-serif;
  background: #141414;
  color: rgb(255, 255, 255);
    
}

.search-box {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.search-box input {
  width: 60%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  outline: none;
}

.anime-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* HEADER */

header {
  padding: 15px 30px;
  background: #000;
 

  
 
}

 

header h1 {
  color: #fdfdfd;
    margin: 0;
  font-family: Arial, sans-serif;
  background: #141414;
  color: rgb(255, 255, 255);
  -webkit-text-stroke: 2px #000;

}

/* BANNER */
.banner {
  height: 60vh;
  background: url("https://static.crunchyroll.com/cr-acquisition/assets/img/start/hero/us-global/background-desktop.jpg") center/cover;
  display: flex;
  align-items: center;
  padding-left: 40px;
}

.banner h2 {
  font-size: 3rem;
  max-width: 500px;
}

/* SEÇÕES */
.section {
  padding: 20px;
}

.section h2 {
  margin: 20px 0 10px;
}

/* FILEIRAS */
.row {
  display: flex;
  overflow-x:  auto;
  gap: 15px;
  padding-bottom: 10px;
}

.row::-webkit-scrollbar {
  height: 6px;
}
.row::-webkit-scrollbar-thumb {
  background: #e50914;
  border-radius: 10px;
}

/* CARDS */
.article {
  position: relative;
  min-width: 180px;
  height:  250px;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.article img {
  width: 100%   ;
  height: 100%;
  object-fit: cover;
}

.article::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.article h3 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
}

.article:hover {
  transform: scale(1.1);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
}

