.stacked-nav {
  width: 100%;
  flex: 2;
}

.stacked-nav-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 10px;
}

.nav-divider {
  height: 1.5px;
  background: #000;
  transition: background 300ms, box-shadow 300ms;
}

.nav-item {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  overflow: hidden;
  transition: background 300ms, box-shadow 300ms, height 300ms;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  font-size: 30px;
  margin-left: 10px;
  font-weight: 200;
  transition: color 300ms;
}

.nav-arrow {
  width: 35px;
  transition: transform 300ms, filter 300ms;
  padding-right: 10px;
}

.nav-item:hover {
  background: #ff1e69;
  box-shadow: 0 0 26px #ff1e69;
}

.nav-title {
  color: black;
}

.nav-item:hover .nav-title {
  color: white;
}

.nav-item:hover .nav-arrow {
  filter: invert(1);
}

.nav-item:hover .nav-points p{
  color: white;
}

/* Divider ABOVE hovered button */
.nav-divider:has(+ .nav-item:hover) {
  background: #ff1e69;
  box-shadow: 0 0 26px #ff1e69;
}

/* Divider BELOW hovered button */
.nav-item:hover + .nav-divider {
  background: #ff1e69;
  box-shadow: 0 0 26px #ff1e69;
}


.nav-expand {
  display: flex;
  gap: 10px;
  padding: 10px;
  max-height: 0;
  opacity: 0;
  transition: max-height 300ms, opacity 300ms;
}

/*
.nav-item.active {
  height: 350px;
  background: #ff1e69;
  box-shadow: 0 0 26px #ff1e69
}

.nav-item.active .nav-title {
  color: white;
}
*/ /*JE PENSAIS QUE ÇA AURAIT AGIT D'UNE MANIÈRE DIFFERENTE, ET JE CROIS QUE J'AIME MIEUX */

.nav-item.active .nav-expand {
  max-height: 300px;
  opacity: 1;
}

.nav-item.active .nav-arrow {
  transform: rotate(90deg);
}

.nav-expand-left,
.nav-expand-right {
  width: 50%;
}

.nav-expand-right {
  padding-left: 35px;
  padding-top: 16px;
}

.nav-expand-left img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nav-points p {
  font-size: 16px;
  margin: 0 0 6px 0;
  font-weight: 300;
  color: black;
  transition: 300ms;
}

.nav-cta {
  display: inline-block;
  margin-top: 10px;
  align-self: flex-end;
  text-decoration: none;
  color: black;
  border: 1px solid black;
  border-radius: 10px;
  corner-shape: squircle;
  margin-top: 30px;
  padding: 6px 12px;
  transition: 300ms;
}

.nav-item:hover .nav-cta {
  color: white;
  border: 1px solid white;
}

.nav-item:hover .nav-cta:hover {
  background-color: white;
  color: #ff1e69;
  transition: 300ms;
}

@media (min-width: 1150px) {
}

@media (max-width: 768px) {
  .nav-title {
    font-size: 16px;

  }

  .nav-arrow {
    width: 14px;
  }

  .nav-points p {
    font-size: 12px;
  }
}
