header #left a:first-child p{
  text-decoration: underline;
}

main{
  padding-top: 8em;

}

.content-left{
  grid-column: 1/span 11;
  display: grid;
  grid-template-columns: 15px repeat(5, 1fr 15px);
}

.content-left h1,
.content-left .st,
.content-left p{
grid-column: 1/span 10;
}

.st{
  border-bottom: solid 1px black;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  padding-top: 0.5rem;
}

.label{
  grid-column: 1/span 3;
}

.content{
  grid-column: 4/span 7;
}

.tableau h3{
  margin-bottom: 0.5em;
}


.tags{
  margin-bottom: 2rem;
  padding-top: 0.5rem;
  margin-top: 1rem;
  border-top: solid 1px black;
  grid-column: 1/span 10;
  color: var(--random-color);
}

.tags a:hover{
  text-decoration: underline;
}

.tags a:after{
  content: ",";
}

.tags a:last-child:after{
  content: "";
}

.wrapper{
  overflow: hidden;
  position: fixed;
  top: 0;
  max-height: 100vh;
}

.right{
  width: calc(50vw - 30px);
  right: 50px;
}

.content-scroll-right{
  overflow-y: auto;
  max-height: 100vh;
  padding-top: 150px;
}

.content-scroll-right::-webkit-scrollbar { width: 0 !important }
.content-scroll-right { overflow: -moz-scrollbars-none; }
.content-scroll-right { -ms-overflow-style: none; }

img{
  float: left;
}

.content-scroll-right .landscape{
  width: 100%;
  margin-bottom: 0.5rem;
}

.content-scroll-right .portrait{
  width: calc(50% - 0.25em);
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

.content-scroll-right .portrait:nth-child(2n) {
    margin-left: 0;
}

/*------------------------OVERLAY-----------------------*/

#overlay{
  position: absolute;
  left: 0;
  grid-template-columns: 15px repeat(12, 1fr 15px);
  top: 0;
  max-height: 100vh;
  height: 100vh;
  width: 100vw;
  padding: 0px 50px;
  color: white;
  overflow-y: auto;
  display: none;
  z-index: 99;
  box-sizing: border-box;
  background-color: var(--random-color);
}

#overlay::-webkit-scrollbar { width: 0 !important }
#overlay { overflow: -moz-scrollbars-none; }
#overlay { -ms-overflow-style: none; }

#overlay #left p:first-child{
  margin-bottom: 0.5rem;
}

#overlay #left{
  float: left;
}

#overlay #right{
  float: right;
}

.moreheader{
  float: left;
  top: 0;
  left: 0;
  position: sticky;
  padding: 20px 0px;
  z-index: 90;
  width: 100%;
}

#overlay #right #logo-white svg{
  height: 100px;
}

#logo-white svg{
  fill: white;
}

.moretitle,
.morechapeau{
  grid-column: 1/span 12;
}

.moretitle{
  margin-bottom: 1rem;
}
.morechapeau{
  margin-bottom: 1rem;
}

.morecontent{
  grid-column: 8/span 11;
}

.button{
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

#morebutton{
  grid-column: 1/span 4;
}

#linkbutton{
  grid-column: 8/span 4;
}

#linkbutton h3{
   text-align: right;
}

#close{
  background:none;
  border:none;
  color: white;
  cursor: pointer;
}

#close p{
  font-size: 60px;
  transform: rotate(45deg);
}


@media (max-width: 1200px){
  #overlay #right #logo-white svg{
  height: 85px;
}
}
@media (max-width: 1000px){


#overlay{
  padding:0;
}
.content-left{
  grid-column: 1/span 25;
}

  .right{
    width: 100%;
    position: relative;
  }

  .content-scroll-right{
    width: calc(100% + 20px);
    padding-top: 3em;
    max-height: none;
  }

  .wrapper{
  position: relative;
  height: auto;
  right: 0;
  grid-column: 1/span 25;
  max-height: none;
}

.content-left h1,
.content-left .st,
.content-left p,
.tags{
grid-column: 1/span 11;
}

footer{
  position: relative;
}

.moretitle,
.morechapeau{
  grid-column: 2/span 22;
}

.morecontent{
  grid-column: 4/span 20;
}

}

@media (max-width: 700px){
.content-left{
  grid-column: 2/span 23;
}

#overlay #right #logo-white svg{
  height: 55px;
}

.moreheader{
  padding: 20px 15px;
  width: 100%;
}

#close{
  line-height: 3em;
}

}

@media (min-width: 1800px){
  .right {
    width: calc(50vw - 8%);
    right: 8%;

  }
  #overlay{
    padding: 0 8%;
  }
}