body {
  background-color: #000000;
  color: #DDDDDD;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
  width: 100%;
}

.title {
  color: #FF3C7A;
  font-size: clamp(9.375rem, -2.6rem + 47.9vw, 39.3125rem);
  line-height: 0.8;
  margin: 0;
  font-family: "Passion One", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title--right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2%;
}
.title--footer {
  rotate: 180deg;
}

.titleTop {
  color: #DDDDDD;
  font-size: clamp(2.235625rem, -3.6201rem + 23.423vw, 16.875rem);
}

.titleBottom {
  color: #989898;
  font-size: clamp(2.235625rem, -3.6201rem + 23.423vw, 16.875rem);
}

h2 {
  font-size: clamp(1.25rem, 0.8382rem + 1.8824vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 63px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__logo-container {
  display: flex;
  justify-content: center;
}
.hero__text {
  max-width: 800px;
  font-size: clamp(1.25rem, 0.8382rem + 1.8824vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 63px;
}

.selector {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.selector__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: fixed;
  bottom: 47px;
  right: auto;
  top: auto;
  width: 293px;
  height: 80px;
  transform: translateX(0);
  background-color: #131313;
}
.selector__item {
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.selector__item:hover {
  color: #FF3C7A;
}
.selector__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.selector__item--active {
  font-weight: 700;
  color: #FF3C7A;
}

.main__filters {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.main__filters .select__element {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}
.main__filters .select__list {
  background-color: rgba(225, 225, 225, 0.1);
  color: #DDDDDD;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 20px;
  min-width: 320px;
  cursor: pointer;
}
.main__filters .select__list:focus {
  outline: none;
  border-color: #DDDDDD;
}
.main__filters .search__input {
  background-color: rgba(255, 255, 255, 0.2);
  color: #DDDDDD;
  border: 1px solid rgba(225, 225, 225, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 20px;
  min-width: 320px;
}
.main__filters .main__reset {
  background-color: rgba(225, 225, 225, 0.3);
  color: #DDDDDD;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 35px;
  font-size: 20px;
  cursor: pointer;
  transition: scale 0.3s ease;
}
.main__filters .main__reset:hover {
  scale: 1.05;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0;
}

.result-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.result-block--line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 40px;
}
.result-block__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.result-block__list--left {
  align-items: end;
}
.result-block__item {
  width: 100%;
  max-width: 450px;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #000000;
  color: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  z-index: 1;
  font-weight: bold;
}
.result-block__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress, 0%);
  background-color: #DDDDDD;
  z-index: -1;
}
.result-block__item span {
  position: relative;
  z-index: 1;
}
.result-block__title {
  font-size: 20px;
  font-weight: 400;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.result-block--opposite {
  flex: 6;
}
.result-block--right {
  flex: 6;
  padding-left: 20px;
}
.result-block--right .result-block__list {
  display: block;
  height: 400px;
}
.result-block--right .result-block__list .result-block__item {
  position: absolute;
  background: transparent;
  padding: 0;
}
.result-block--right .result-block__list .result-block__item img {
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.result-block--right .result-block__list .result-block__item img:hover {
  transform: scale(1.1);
}
.result-block--right .result-block__list .result-block__item:nth-child(1) {
  top: 0;
  right: 0;
  width: 160px;
}
.result-block--right .result-block__list .result-block__item:nth-child(2) {
  top: 10%;
  left: 0;
  width: 100px;
}
.result-block--right .result-block__list .result-block__item:nth-child(3) {
  bottom: 5%;
  left: 40%;
  width: 120px;
}
.result-block--right .result-block__list .result-block__item:nth-child(4) {
  bottom: 30%;
  left: 18%;
  width: 80px;
}

.footer {
  background-color: #000000;
  text-align: center;
  margin-top: 150px;
}
.footer__logo-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  rotate: 180deg;
}
.footer__info {
  margin-top: 84px;
}
.footer__link {
  display: inline-block;
  color: #DDDDDD;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.footer__link:hover {
  color: #FF3C7A;
}
.footer p {
  color: #DDDDDD;
  margin: 10px 0;
}

@media (min-width: 900px) {
  .section-genre {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main__filters .select__element {
    flex-direction: row;
  }
  .main__filters .select__element--column {
    flex-direction: column;
  }

  .hero__logo-container {
    margin: 0 20px;
  }

  .content {
    flex-direction: row;
  }

  .result-block--line {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px;
    padding-bottom: 0;
  }
  .result-block--right .result-block__list .result-block__item:nth-child(1) {
    top: 0;
    right: 10%;
    width: 150px;
  }
  .result-block--right .result-block__list .result-block__item:nth-child(2) {
    top: 20%;
    left: 10%;
    width: 80px;
  }
  .result-block--right .result-block__list .result-block__item:nth-child(3) {
    bottom: 0;
    left: 55%;
    width: 100px;
  }
  .result-block--right .result-block__list .result-block__item:nth-child(4) {
    bottom: 20%;
    left: 20%;
    width: 70px;
  }
}
.year__item--active {
  color: #FF3C7A;
}

.selector__item--active {
  font-weight: 700;
  color: #FF3C7A;
}

.actor, .genre, .year {
  display: none;
}

.block--show {
  display: block;
}

/* rajout des style du diagram*/
.diagram-grid {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.bar-year {
  width: 50px;
  font-size: 0.9em;
  color: #DDDDDD;
  font-weight: bold;
  text-align: right;
}

.bar-wrapper {
  flex-grow: 1;
  background-color: rgba(221, 221, 221, 0.1);
  height: 25px;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: #FF3C7A;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.bar-count {
  color: #000000;
  font-size: 0.8em;
  font-weight: bold;
}

.year__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: 100%;
}
.year__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
}
.year__item {
  flex: 0 0 auto;
  padding: 10px 15px;
  min-width: 75px;
  text-align: center;
  color: #989898;
  background-color: rgba(225, 225, 225, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.year__item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #DDDDDD;
}
.year__item--active {
  background-color: rgba(225, 225, 225, 0.3);
  color: #DDDDDD;
  font-weight: bold;
  border: 1px solid #DDDDDD;
}
.year__all {
  display: none;
}

.btn__valider--year {
  background-color: rgba(225, 225, 225, 0.3);
  color: #DDDDDD;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 35px;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 10px;
}
.btn__valider--year:hover {
  transform: scale(1.05);
}

.btn__fleche {
  display: none;
}

/*# sourceMappingURL=app.css.map*/