.adn {
  position: relative;
  background-color: var(--color-bg);
  padding: 40px 0;
}

.adn > img:first-child {
  position: absolute;
  right: 10%;
}

.heading {
  justify-self: center;
  line-height: 1.1;
}

.sign {
  font-family: var(--font-sign);
  color: var(--color-accent);
  font-weight: 500;
  justify-self: center;
}

.adn-content {
  display: flex;
  margin: 100px 0 50px 0;
  gap: 80px;
}

.adn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.title-text {
  margin-bottom: 10px;
}

.title {
  font-size: 24px;
  font-weight: 700;
}

.story {
  position: relative;
  background-color: var(--color-bg-second);
}

.heading-story {
  position: absolute;
  top: 0%;
  right: 50%;
  margin-top: 50px;
}

.container-story {
  overscroll-behavior: none;
  width: 900%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.container-story .panel {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container-story svg {
  overflow: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container-story svg .line {
  filter: blur(1.5px);
}

.container-story svg .color-line {
  filter: blur(15px);
}

.container-story svg circle {
  opacity: 0;
}

.top {
  width: 350px;
  height: auto;
  border-radius: 20px;
  position: absolute;
  top: 5%;
  right: 55%;
}

.container-panel {
  position: absolute;
  top: 55%;
  left: 50%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.title-panel {
  font-weight: 700;
  font-size: 24px;
  padding: 0;
  margin: 20px 0 0 0;
}

.title-text {
  font-size: 20px;
  font-weight: 700;
}

.lead {
  font-size: 18px;
  font-weight: 400;
}

.horaires {
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 100px 0;
}

@media screen and (max-width: 1023px) {
  .adn > img:first-child {
    width: 15%;
  }
  .adn-content {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    margin: 60px 0 50px 0;
  }
  .adn-content img {
    width: 600px;
    height: auto;
  }

  .heading-story {
    position: relative;
    padding-top: 40px;
    right: 0;
    text-align: center;
  }

  .panel svg {
    height: 0;
    margin-top: -20px;
  }

  .container-story {
    width: 100%;
    height: auto;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .container-story .panel {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 10px 0;
    gap: 20px;

  }

  .container-story svg {
    overflow: hidden;
    position: relative;
  }

  .top {
    width: 350px;
    height: auto;
    position: relative;
    top: 0;
    right: 0;
  }

  .container-panel {
    position: relative;
    top: 0;
    left: 0;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .title-panel {
    font-weight: 700;
    font-size: 24px;
    padding: 0;
    margin: 20px 0 0 0;
  }

  .title-text {
    font-size: 20px;
    font-weight: 700;
  }

  .lead {
    font-size: 18px;
    font-weight: 400;
  }
}

@media screen and (max-width: 767px) {
  .adn > img:first-child {
    width: 10%;
  }

  .horaires {
    margin: 50px 0;
  }

  .adn-content {
    margin: 40px 0 50px 0;
  }


  .heading-story {
    padding-top: 20px;
  }

  .panel svg {
    height: 0;
    margin-top: -20px;
  }

  .container-story {
    padding-bottom: 20px;
  }

  .container-story .panel {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 0px;
    margin: 0 0 60px 0;
  }

  .top {
    width: 350px;
    height: auto;
  }

  .container-panel {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .title-panel {
    text-align: center;
  }

  .title-text {
    text-align: center;
  }

  .lead {
    text-align: center;
  }
  
}
