* {
    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;
    font-family: 'Bri', sans-serif;
    background-color: #cdabe0;   
  }
  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;
    z-index: 4;
    font-size: 14px;
    &.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%;
  }

.spacer{
    height : 100px;  
}

body {
  font-family: 'Bri', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 20px auto;
}

h1 {
    text-align: center;
}

.team-member {
  position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #371c09;
    padding: 20px;
    margin-bottom: 20px;
}

.team-member h2 {
    margin-top: 0;
}

.it {
    font-style : italic; 
}

.canard {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 100%;
    width: auto;
    z-index: 1;
}
