html, body {
  max-width: 100vw; /* assure que la largeur du body ne dépasse pas la largeur de la fenêtre */
  margin: 0;
  font-size: 12px; /* 1rem = 16px */
}

.container {
  display: flex;
  overflow-x: auto;
  height: 100%;
  scroll-snap-type: x mandatory;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100vh;
  text-align: center;
}

#Title {
  background-color: #cfecec;
}

#UNDESA {
  font-size: 1.4em;
}

#United2 {
  font-size: 1.4em;
}

.peep-image {
  position: absolute;
  bottom: 0;
  left: 1vw;
  width: 25vw;
  height: auto;
  z-index: -1;
}

#sankey-peep {
  left: 22vw;
  width: 12vw;
}

#undesa-peep {
  left: 60vw;
  width: 12vw;
}

#united-peep {
  left: 25vw;
  width: 16vw;
}

.fullscreen-text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10vw; /* Adapt to viewport width */
  font-size: 3rem; /* Use rem for consistency */
  text-align: justify;
}

body {
  font-family: Arial, sans-serif;
  background-color: white;
  color: black;
}

#sankey-viz {
  max-width: 40vw;
  max-height: 5%;
  margin: auto;
}

#undesa-viz{
  max-width: 50vw;
  max-height: 50vh;
  margin: auto;
}

#united-viz {
  max-width: 65vw;
  margin: auto;
}

.big-margin {
  margin-right: 15vw; /* Adapt to viewport width */
  margin-left: 15vw; /* Adapt to viewport width */
}

.small-margin {
  margin-right: 5vw;
  margin-left: 5vw;
}

.top {
  padding-top: 5vh; /* Adapt to viewport height */
}

h1 { 
  text-align: center;
  margin-top: 0;
  font-size: 13rem;
  font-family: Montserrat;
  font-weight: bold;
  color: #006b6b;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  /*padding-top: 5rem;*/
  text-align: center;
  font-size: 5rem;
  font-family: Montserrat;
  font-weight: bold;
  color: #006b6b;
  padding-bottom: 0.75em;
}

h3 {
  text-align: center;
  font-size: 2.4rem;
  padding-bottom: 1vh;
}

p {
  text-align: justify;
  font-size: 1.6rem;
  padding-bottom: 1vh;
  font-family: Montserrat;
}

#Intro p, #Credits p, #United p {
  font-size: 1.7rem;
}

b {
  font-weight: bold;
  color: #006b6b;
}

section {
  padding: 7rem 4rem;
}

#Title {
  padding: 0;
}


.mendatory-scrolling {
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  height: 100vh;
}

#fixedMenu {
  position: fixed;
  font-size: 1rem;
  top: 35%;
  right: 2vw;
  z-index: 10;
  transition: all 1s;
}

#fixedMenu a {
  display: block;
  padding: 0.3rem 0.6rem;
  width: 7rem;
  margin: 0.3rem 0;
  text-align: center;
  color: white;
  background-color: #a7d7d7;
  border-radius: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

#fixedMenu a:hover {
  background-color: #008585;
}

#fixedMenu a.active {
  padding: 0.3rem 0.3rem;
  background-color: #008585;
  color: white;
  font-weight: bold;
}

#fixedMenu.shrinked {
  right: 1vw;
  width: 2rem;
  padding: 0.3rem 0.6rem;
}

#fixedMenu.shrinked a {
  overflow: hidden;
  width: 2rem;
  padding: 0.3rem 0.6rem;
  margin: 0.3rem 0;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0);
}

#fixedMenu.expanded {
  width: 7rem;
  padding: 0.3rem 0.6rem;
}

#fixedMenu.expanded a {
  padding: 0.3rem 0.6rem;
}

.menu-link {
  padding: 0.2rem 0.3rem;
  color: black;
  background-color: #a7d7d7;
  border-radius: 0.3rem;
  text-decoration: none;
}

.menu-link:hover {
  background-color: #008585;
  color: white;
}

.obeep-image {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  object-fit: cover;
  background-color: #a7d7d7;
}

#person-image {
  opacity: 0;
}

.two-columns {
  height: calc(100vh - 2*(5vw + 5vh));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.big-two-columns {
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.text-column {
  flex: 1;
  padding: 0 3vw;
}

.viz-column {
  flex: 2;
}

.big-viz-column {
  flex: 4;
}

.centered-content {
  height: calc(100vh - 2*(5vw + 5vh));
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-profiles {
  display: flex;
  justify-content: center;
}

.author {
  margin: 0 1vw;
  text-align: center;
}

.author p {
  margin: 0.2rem 0;
  text-align: center;
  font-size: 2rem !important;
}

.profile-photo {
  width: 19vw;
  height: 19vw;
  border-radius: 50%;
  object-fit: cover;
  background-color: #a7d7d7;
}

.github-link {
  font-size: 2.5rem;
  color: #008585;
  display: inline-block;
  margin: 0.2rem 0;
}

.github-link:hover {
  color: black;
}

.linkedin-link {
  font-size: 2.5rem;
  color: #008585;
  display: inline-block;
  margin: 0.2rem 0;
}

.linkedin-link:hover {
  color: #2867B2;
}

.info-panel {
  left: 0;
  width: 22vw;
  height: 65vh;
  overflow-y: hidden;
  background-color: rgba(207, 236,	236, 0.4);
  border-radius: 30px;
  padding-left: 1rem;
}

.info-panel h1 {
  padding: 1rem;
  text-align: center;
  font-size: 1.8rem;
  font-family: 'Montserrat';
  color: #006b6b;
}

.info-panel h2 {
  padding-top: 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Montserrat';
  color: #006b6b;
}

.info-panel p {
  font-family: 'Montserrat';
  text-align: left;
}

.hover-info {
  color: black;
  font-family: 'Montserrat';
}

.hover-info p {
  color: black;
  font-size: 1.3rem !important;
  font-family: 'Montserrat';
}

.credits-list {
  font-size: calc(1vw + 1vh);
  text-align: justify;
  list-style: decimal inside;
}

.credits-list a {
  color: #008585;
  text-decoration: none;
}

.credits-list a:hover {
  text-decoration: underline;
}

.centered-content p {
  font-size: calc(1vw + 1vh);
  text-align: center;
}

.bottom {
  text-align: end;
  bottom: 0;
}

.warning {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}