body {
  background-color: #000000;
  margin: 0;
  font-family: Roboto, sans-serif;
}

header {
  background-color: #262626;
  margin-top: 0;
  width: 100%;
}

nav {
  max-width: 1300px;
  margin-inline: auto;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.sinehan {
  text-transform: uppercase;
  font-family: 'Racing Sans One', sans-serif;
}

.T2 {
  text-decoration: none;
  font-size: 2.2rem;
  font-family: 'Racing Sans One', sans-serif;
  font-weight: 300;
  color: white;
  transition: color 0.3s ease;
}

.T2:hover {
  color: #ffe658;
}

.T1 {
  font-weight: 800;
  font-family: 'Racing Sans One', sans-serif;
  text-decoration: none;
  font-size: 2.5rem;
  margin-right: auto;
  margin-left: 0;
  background-color: #ffe658;
  padding-inline: 10px;
  border-radius: 20px;
  color: #000000;
}

@media (max-width: 550px) {
  nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-block: 15px;
    gap: 15px;
  }

  .T1 {
    margin: 0;
    font-size: 2rem;
    padding: 5px 15px;
  }

  .T2 {
    font-size: 1.8rem;
  }
}


.recommendation {
  color: whitesmoke;
  margin-top: 50px;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 80px;
  padding-inline: 20px;
}

.recommendation h1 {
  font-family: Racing Sans One ,sans-serif;
  border-top: whitesmoke solid 2px;
  width: fit-content;
}

.recommendation h2 {
  margin-top: 50px;
  font-size: 1.7rem;
}

.recommendation p{
  margin-block: 40px;
  font-size: 1.2rem;
}

.recommendation img {
  width: 180px;
  border: 2px solid whitesmoke;
  float: left;
  margin-right: 20px;
  transition: border 0.3s ease;
}

.recommendation img:hover {
  border: 2px solid #ffe658;
}

.presentation {
  color: whitesmoke;
  margin-top: 60px;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 80px;
  padding-inline: 20px;
}

.presentation h2 {
  font-family: Racing Sans One ,sans-serif;
  border-top: whitesmoke solid 2px;
  font-size: 1.7rem;
  width: fit-content;
}

.presentation p{
  margin-block: 40px;
  font-size: 1.4rem;
}

.derniers-ajouts {
  margin: 60px auto;
  max-width: 1300px;
  padding-bottom: 30px;
  border: 2px solid #ffe658;
  border-radius: 10px;
}

.derniers-ajouts h2 {
  font-family: 'Racing Sans One', sans-serif;
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.derniers-ajouts a {
  text-decoration: none;
}

.liste-ajouts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.carte-ajout {
  width: 200px;
  background-color: #262626;
  border: 3px solid whitesmoke;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  transition: border 0.3s;
}

.carte-ajout:hover {
  border: 3px solid #ffe658; 
}

.carte-ajout img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-bottom: 2px solid whitesmoke;
  transition: border 0.3s;
}

.carte-ajout img:hover {
  border-bottom: 2px solid #ffe658; 
}

.carte-ajout p {
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  color: white;
  margin: 10px 0;
}

.carousel-container {
  max-width: 1300px;

  margin: 50px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid #ffe658;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.filter {
  background-color: #262626;
  margin-bottom: 50px;
  padding-block: 20px;
  padding-inline: 15px;
  font-size: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  color: whitesmoke;
}

.filter label {
  margin-left: 30px;
}

.filter select {
  padding: 10px;
  color: black;
  background-color: #ffe658;
  border: 4px solid black;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
}

.search {
  margin-left: auto;
  margin-right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search input {
  padding: 10px;
  border-radius: 20px;
  width: 300px;
  border: none;
  outline: none;
}

.submit-search {
  display: none;
}

@media (max-width: 1120px) {
  .filter {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 15px;
  }

  .filter label {
    margin-left: 0;
  }

  .search {
    margin: 0;
    width: 100%;
    justify-content: space-between;
  }

  .search input {
    width: 100%;
  }
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: #262626;
  color: #ffe658;
  border: 2px solid #ffe658;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: bold;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 10px;
}

.FilmSerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  padding-inline: 25px;
  margin-bottom: 50px;
}

.case_filmSerie {
  background-color: #ffe658;
  width: 250px;
  border-radius: 10px;
  border: 7px solid #ffe658;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  transition: background-color 0.3s ease;
  transition: color 0.3s ease;
  transition: border 0.3s ease;
}

.case_filmSerie:hover {
  background-color: #262626;
  color: #ffe658;
  border: 7px solid #262626;
}

.case_filmSerie img {
  width: 250px;
  height: 338px;
}

.title_filmSerie {
  margin: 0;
  font-family: Racing Sans One, sans-serif;
  font-size: 1.5rem;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.template-wrapper {
  margin: 50px;
  margin-bottom: 70px;
}

.template {
  color: white;
  font-size: 1.5rem;
  background-color: #262626;
  padding: 15px 30px 40px 30px;
  border-radius: 40px;
  border: 4px solid whitesmoke;
  overflow: hidden;
}

.template img {
  float: left;
  margin-right: 40px;
  margin-bottom: 20px;
  margin-top: 40px;
  border: 4px solid whitesmoke;
  transition: border 0.3s ease;
  width: 310px;
  height: 420px;
}

.template img:hover {
  border: 4px solid #ffe658;
}

.template-content {
  overflow: hidden;
}

.template h2 {
  font-size: 2.5rem;
  font-family: 'Racing Sans One', sans-serif;
}

.pCase {
  margin-bottom: 30px;
}

.clear {
  clear: both;
}

.btn-container {
  text-align: left;
  margin-top: 50px;
}

.btn-retour {
  padding: 15px;
  color: whitesmoke;
  background-color: #262626;
  border: 4px solid whitesmoke;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease, border 0.3s ease;
}

.btn-retour:hover {
  border: 4px solid #ffe658;
  color: #ffe658;
}

.add {
  color: whitesmoke;
  background-color: #262626;
  border-radius: 30px;
  border: 4px solid whitesmoke;
  padding: 25px;
  margin: 50px;
  font-size: 1.3rem;
}

.add_form {
  color: white;
}

.synopsis {
  width: 100%;
  height: 15vh;
  resize: vertical;
  padding: 10px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-button {
  padding-inline: 15px;
  padding-block: 10px;
  color: whitesmoke;
  background-color: #262626;
  border: 4px solid whitesmoke;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 0px;
  transition: color 0.3 ease;
  transition: border 0.3 ease;
}

.form-button:hover {
  border: 4px solid #ffe658;
  color: #ffe658;
}

form p {
  color: darkgrey;
}

form input {
  border-radius: 5px;
  padding: 5px;
}

form textarea {
  border-radius: 5px;
  padding: 5px;
}

label span {
  color: #ffe658;
}

.mentions {
  max-width: 1300px;
  margin: 60px auto;
  padding: 30px;
  background-color: #262626;
  border: 4px solid #ffe658;
  border-radius: 20px;
  color: whitesmoke;
  font-family: Roboto, sans-serif;
}

.mentions h1, .mentions h2 {
  font-family: 'Racing Sans One', sans-serif;
  color: whitesmoke;
}

.mentions h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.mentions h2 {
  font-size: 1.5rem;
  margin-top: 30px;
}

.mentions p {
  font-size: 1rem;
  margin: 15px 0;
  line-height: 1.6;
}

.mentions a {
  color: #ffe658;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .mentions {
    padding: 20px;
    margin: 30px 15px;
  }

  .mentions h1 {
    font-size: 2rem;
  }

  .mentions h2 {
    font-size: 1.2rem;
  }
}

.btn-retour-index {
  padding: 15px;
  color: whitesmoke;
  background-color: #262626;
  border: 4px solid whitesmoke;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease, border 0.3s ease;
}

.btn-retour-index:hover {
  border: 4px solid #ffe658;
  color: #ffe658;
}

.btn-retour-bloc {
  text-align: left;
  margin-top: 50px;
  margin-left: 50px;
}

.footer {
  background-color: #ffe658;
  color: #262626;
  padding: 20px 20px;
  text-align: center;
  margin-top: 30px;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-family: 'Racing Sans One', sans-serif;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section a {
  color: #262626;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #262626;
}

.footer-bottom {
  font-size: 14px;
  color: #262626;
}

footer p span {
  font-family: 'Racing Sans One', sans-serif;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-section {
    text-align: center;
  }
}
