:root{
    --background : #2A7B9B;

    --titres : #051810;
    --hover : #08451c;
    --texte : #050a07;
    --separations : #1b6444a5;
    --boxes : #00000017;
    --webring : #39b06a;
}

html{
    background-color: var(--background);
    background: -webkit-linear-gradient(145deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
    background: -moz-linear-gradient(145deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
    background: linear-gradient(145deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(
      startColorstr="#2A7B9B",
      endColorstr="#57C785",
      GradientType=0
    );
    height: 100%;

    color: var(--texte);
    font-family: monospace;
}

body{
    font-size: 1.3750em;
}

header{
    margin: 2%;
    padding: 0.65em;
    margin-bottom: 0;
}

p{
    width: 60%;
    margin: auto auto;
    text-align: left;
    margin-top: 10px;
}

.menu{
	text-align: center;
	text-decoration: none;
  display: inline-block;
  padding-top: 10px;
}

.menu > a{
    padding: 0.65em;
	transition-property: background-color, color;
	transition-duration: 0.15s;
	transition-timing-function: ease-out;
	border-radius: 5px;
}

.menu > a:hover{
    color: var(--hover);
    
}

a {
    color: var(--texte);
}

a:hover{
    color : var(--hover);
}

a:visited{
    color: var(--texte);
}

#heading{
  padding-top: 2px;
  text-align: center;
}

#canvas{
  margin: auto 20rem;
  text-decoration: none;
  margin-bottom: 3%;  
}


span{
  color: var(--titres);
}


footer{
  text-align: center;
  padding: 10px;
  color: var(--texte);
}

hr{
  width: 100%; 
  height: 1px; 
  background-color: var(--separations); 
  border: none;
}

h2{
    font-size: 20px;
    color: var(--titres);
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
}

h3{
    font-size: 25px;
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 10px;
    color: var(--titres);
    margin-top: 8px;
}

h4{
    font-size: 20px;
    color: var(--titres);
    text-align: center;
    margin-top: 0;
}

nav > a:hover {
    color: var(--hover);
}

/* Members badges */
#members{
    bottom: 0;
    justify-self: center;
    text-align: center;
    color: var(--texte);
    list-style: none;
    padding-left: 40%;
}

#members li{
    display: flex;
    margin-top: 2rem;
    height: 31px;
}

a{
  margin-left: 10px;
}

#member_img{
    height: 31px;
    width: 88px;
    box-sizing: border-box;
}



/* Tree animation */
#tree{
    display: grid;
    grid-auto-flow: column;
}

.box{
    border: 1px solid var(--titres);
    border-radius: 5px;
    align-self: end;
    justify-self: center;
    padding: 10px;
    padding-left: 50px !important;
    background-color: var(--boxes);
}

.treeList {
    justify-self: center;
    padding-left: 0;
    list-style-type:none;
    resize:none;
    white-space: pre;
}

.treeList li {
    resize:none;
}

.treeList li:nth-child(1) {
    animation:animateBranches1 20s linear infinite
  }
  .treeList li:nth-child(2) {
    animation:animateBranches2 20s linear infinite;
    animation-delay:0.5s
  }
  .treeList li:nth-child(3) {
    animation:animateBranches3 20s linear infinite;
    animation-delay:1s
  }
  .treeList li:nth-child(4) {
    animation:animateBranches4 20s linear infinite;
    animation-delay:1.5s
  }
  .treeList li:nth-child(5) {
    animation:animateBranches5 20s linear infinite;
    animation-delay:2s
  }
  .treeList li:nth-child(6) {
    animation:animateBranches6 20s linear infinite;
    animation-delay:2s
  }
.treeList li:nth-child(7) {
    animation:animateBranches5 20s linear infinite;
    animation-delay:2s
}
.treeList li:nth-child(8) {
    animation:animateBranches6 20s linear infinite;
    animation-delay:2s
}
.treeList li:nth-child(9) {
    animation:animateBranches5 20s linear infinite;
    animation-delay:2s
}

  @keyframes animateBranches1 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-14px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(14px)
    }
    100% {
      transform:translateX(0)
    }
  }
  @keyframes animateBranches2 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-10px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(10px)
    }
    100% {
      transform:translateX(0)
    }
  }
  @keyframes animateBranches3 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-8px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(8px)
    }
    100% {
      transform:translateX(0)
    }
  }
  @keyframes animateBranches4 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-6px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(6px)
    }
    100% {
      transform:translateX(0)
    }
  }
  @keyframes animateBranches5 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-5px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(5px)
    }
    100% {
      transform:translateX(0)
    }
  }
  @keyframes animateBranches6 {
    0% {
      transform:translateX(0)
    }
    25% {
      transform:translateX(-3px)
    }
    50% {
      transform:translateX(0)
    }
    75% {
      transform:translateX(3px)
    }
    100% {
      transform:translateX(0)
    }
}

/* Responsive */

@media screen and (max-width: 700px) {
  #canvas{
      width: 100%;
  }

}
