.avatarNote .avatar {
  object-fit: cover;
  height: 76px;
  width: 76px;
  position: fixed;
  z-index: 1;
  top: 16px;
  left: 16px;
  pointer-events: none;
}
.avatarNote .bandeau {
  display: flex;
  align-items: center;
  justify-content: center;    
  height: 76px;
  position: fixed;
  z-index: 1;
  top: 108px;
  left: 16px;
  width: calc(100% - 32px);
}
.note {
/*  max-width: 680px;*/
/*  margin: 0 auto;*/
display: flex;
flex-direction: column;
align-items: center;
}
.note-header {
  display: flex;
  align-items: center;
  justify-content: center;  
  margin-bottom: 56px;
  width: calc(100% - 32px);
  border-left: 1px dashed var(--color-text);
  border-right: 1px dashed var(--color-text);
  padding: 0 8rem;
}
.sous-titre {
  font-style: italic ;
/*  font-size: 1rem;
  line-height: 16px;
  color: var(--color-text-grey);*/
}
.introduction {
  max-width: 1136px;
  text-align: center;
  font-weight: normal;
  font-size: 32px;
  line-height: 38px;
  font-style: italic;
}
.note-footer {
  padding: 6rem 0;
}
.note-date {
  color: var(--color-text-grey);
}
.note-tags {
  display: flex;
  margin-bottom: 1.5rem;
}
.note-tags li {
  margin-right: .5rem;
}
.note-tags a {
padding: 4px 12px 4px 12px;
  background-color: var(--color-white);
  border-radius: 8px;
}
.note-tags a:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.mainNote section {
  opacity: 0; /* Initialement invisible */
  transform: translateY(4px); /* Position légèrement décalée */
  transition: opacity 1.2s ease-in-out, transform 1s ease-in-out; /* Animation */
}
.mainNote section:first-child {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.mainNote section.visible {
  opacity: 1; /* Devenu visible */
  transform: translateY(0); /* Position normale */
}

.note p {
  font-family: Redaction;
  font-size: 22px;
  line-height: 30px;
}

.note .gallery {
  width: 980px;
  max-width: unset;
}

canvas {
  width: 100% !important;
  height: auto !important;
}
section:has(.navCTRL) {
  height: unset !important;
  width: 100%;
  margin-top: unset !important;
}
.navCTRL {
  position: absolute;
  bottom: 29%;
  width: 440px;
  height: 116px;
  left: calc(50% - 220px);
  background-color:#FFFFFF;
/*  filter: drop-shadow(0px 4px 4px #0000ff52);*/
  box-shadow: 0px 4px 8px 0px #0000ff52;
}
.navCTRL ul {
  font-size: unset;
  margin: 0 !important;
  width: auto;
}
.navCTRL p {
  font-size: 16px;
  margin: 0 !important;
}
.navTOP {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 8px;
  height: 25px;
}
.action {
  display: flex;
}
.navCTRL button {
  font-size: 16px;
  margin-bottom: 2.5px !important;
  padding: 2px 8px;
}
.navCTRL li {
  width: 100%;
}
.navCTRL input {
  border: none; /* Supprime le contour principal */
  outline: none; /* Supprime le contour lors du focus */
  appearance: none; /* Retire les styles par défaut spécifiques au navigateur */
  -webkit-appearance: none; /* Compatibilité Safari/Chrome */
  -moz-appearance: none; /* Compatibilité Firefox */
  cursor: pointer;
}
input[type="color"]::-moz-color-swatch {
  border: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: none;
}
input[type="color"] {
  width: 100%;
  height: 67px;
}
input[type="range"] {
  width: 100%;
  margin-top: -5px;
  height: 24px;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(230,230,255,1) 100%); 
}
#colorC {
  height: 91px;
}

.navCTRL figcaption {
  color: white;
  mix-blend-mode: difference;
  padding-left: 8px;
  font-size: 12px;
  position: absolute;
  line-height: 24px;
}

.boutonRandom {
  color: white;
  background-color: var(--color-code-blue);
}
#boutonDownload {
  color: var(--color-code-blue);
  text-decoration: underline;
}

.sommaireNote {
  margin: 64px 32px 256px;
}
/*.sommaireNote span:hover {
  background-color: var(--color-code-blue);
  color: var(--color-background);
  border-radius: 3px;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}*/

.buttons {
  display: flex;
  position: fixed;
  z-index: 1;
  bottom: 80px;
  right: 40px;
  font-size: 88px;
  line-height: 64px;
  font-family: var(--font-picto-Up);
  color: var(--color-code-blue);
  mix-blend-mode: multiply;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}
.buttons.visible {
  visibility: visible;
  opacity: 1;
}

#up {
margin-right: 8px;
} 
#down {
}
#up:hover,
#down:hover {
  font-family: var(--font-picto-Down);
}
.background {
  color: var(--color-background);
  left: 0;
  position: absolute;
  z-index: -1;
}

.narration {
  display: flex;
  width: 100%;
  justify-content: center;
  position: fixed;
  z-index: 100;
  font-size: 18px;
  color: white;
  padding: 0 154px 0 132px;
  top: 24px;
  mix-blend-mode: difference;
}

.next {
}

}

.nav {

}
.nav:hover {

}

@media screen and (max-width: 1081px) {

.sommaireNote {
  margin: 32px 16px 0px;
  overflow-x: hidden;
}

.narration {
  display: none;
  width: 100%;
  justify-content: center;
  position: fixed;
  z-index: 100;
  font-size: 12px;
  color: white;
  padding: 0px 0px 0px 0px;
  top: 16px;
  mix-blend-mode: difference;
}

.buttons {
  display: flex;
  flex-direction: column;
/*  gap: 12px;*/
  bottom: 56px;
  right: 32px;
  font-size: 64px;
  line-height: 32px;
}
#up {
  margin-right: 0px;
  margin-bottom: 12px;
}

.navCTRL {
  position: relative;
  bottom: unset;
  top: -3px;
  width: 100%;
  height: 116px;
  left: 0px;
  filter: unset;
  box-shadow: 0px -10px 30px -10px #0000ff52;
}
.navCTRL ul {
  display: flex;
  flex-direction: row;
}


}