* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'Bri'; 
  src: url('../lexia_readable/LexieReadable-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Bri'; 
  src: url('../lexia_readable/LexieReadable-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
body{
  color: #371c09 !important;
  background-color: #eaffc0;  
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px 30px 20px;
  display: flex;
  align-items: center;
  transition: 0.3s ease-out;
  backdrop-filter: blur(8px) brightness(0.5);
  -webkit-backdrop-filter: blur(8px) brightness(0.5);
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  color: white;
  font-size: 14px;
  z-index: 3;
  &.mask {
    top: 150px;
    mask-image: linear-gradient(black 70%, transparent);
    -webkit-mask-image: linear-gradient(black 70%, transparent);
  }
  &.mask-pattern {
    top: 300px;
    mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
    mask-size: auto 20px, 100% 100%;
    mask-repeat: repeat-x, no-repeat;
    mask-position: left bottom, top left;
    
    -webkit-mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
    -webkit-mask-size: auto 30px, 100% 100%;
    -webkit-mask-repeat: repeat-x, no-repeat;
    -webkit-mask-position: left bottom, top left;
  }

  @media (min-width: 640px) {
    padding: 16px 50px 30px 50px;
  }
}

nav.is-hidden {
  transform: translateY(-100%);
}

a {
  color: inherit;
  text-decoration: none;
  &:hover,
  &:focus {
    text-decoration: underline;
  }
}
.list {
  list-style-type: none;
  margin-left: auto;
  display: none;
  @media (min-width: 640px) {
    display: flex;
  }
  li {
    margin-left: 20px;
  }
}
.menu {
  display: inline-block;
  padding: 0;
  font-size: 0;
  background: none;
  border:  none;
  margin-left: 20px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,.5));
  &::before {
    content: url("data:image/svg+xml, %3Csvg%20xmlns=%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox=%270%200%2024.8%2018.92%27%20width=%2724.8%27%20height=%2718.92%27%3E%3Cpath%20d=%27M23.8,9.46H1m22.8,8.46H1M23.8,1H1%27%20fill=%27none%27%20stroke=%27%23fff%27%20stroke-linecap=%27round%27%20stroke-width=%272%27%2F%3E%3C%2Fsvg%3E")
  }
  @media (min-width: 640px) {
    display: none;
  }
}
img {
  width: 100%;
}

body {
  margin: 0; 
  font-size: 20px; 
  font-family: 'Bri', sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

.gras{
  font-weight: bold;
  font-size : 35px;
  text-align : center;
  padding: 1em 1em 0.1em 1em; 
}

p{
  font-family: 'Bri', sans-serif;
  padding: 1em 0.1em 0.1em 1em;  
}

h1{
  text-align: center;   
}

.timeline-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: #333;
  left: 50%;
  top: 10;
  bottom: 100;
  transform: translateX(-50%);
}

.spacer{
  height : 50px;  
}

.spacer1{
  height: 50px; 
} 

.spaace{
  height : 50px; 
}

h2{
  margin: 0; 
  padding: 0; 
}

p2{
  font-size: .85em;
  line-height: 1.4em; 
  margin-bottom: 0; 
}

.big {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timeline {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.timeline .tronc {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.timeline .tronc img{
  display: block;
  width: 14%; 
  height: auto;
}

.timeline img {
  display: block;
  width: 5%;
  height: auto;
}

.timeline .rondelle {
  position: relative;
  margin-right: -5%;
  width: 30%;
  margin: 0 -15%;
}

.rondelle img {
  width: 100%;
  z-index: 1;

  @media (min-width: 1400px) {
    width: 75%;
    transform: translateX(15%);
  }
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 16px;
  z-index: 2;
  font-family: 'Bri', sans-serif;
  font-weight: bold;
}