body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #f1831d;
  padding: 1rem;
}

nav {
  background-color: white;
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav h1 {
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

nav ul li a:hover{
  text-decoration: none;
  color: rgb(64, 148, 24);
  font-weight: bold;
  transition: 1s;
  
}

.serie-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.contenedor-series {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contenedor-temporadas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.temporada {
  background-color: #e88f30;
  height: 310px;
  width: 300px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex: 1 1 200px;
  max-width: 200px;
  margin: 0.5rem;
}

.temporada:hover {
  transform: scale(1.05);
}

.temporada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 2px solid #fff;
  border-radius: 2px;
}

.temporada p {
  margin: 0 0 0;
  color: rgb(0, 10, 11);
  font-family: sans-serif;
  font-size: 1.2rem;
}

footer {
  background-color: #E04E39;
  text-align: center;
  padding: 1rem;
  color: white;
  position: relative;
  top: 100px;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav ul {
    flex-direction:column;
    gap: 0.5rem;
  }

  .contenedor-temporadas {
    flex-wrap:wrap; 
    overflow-x: unset;
    scroll-snap-type: none;
    font-size: 20px;
  }

   .temporada {
    flex: 1 1 200px; 
    max-height: 210px; 
    margin: 2px;
    max-width: 130px;
  }

  .serie-contenido{
    font-size: 15px;
  }
}

