
html{
  background-color: #eed;
  background-image: linear-gradient(to right, #dcd2b8 7px, #eed 60px, #eed calc(100% - 60px),#dcd2b8 calc(100% - 7px));
  background-repeat: repeat;
  padding: 0px;
  margin: 0px;
  scrollbar-width: thin;
  scrollbar-color: #633 #dcd2b8;
  scroll-behavior: smooth;
}

html::before{
  content: '';
   background-image: linear-gradient(to bottom, #dcd2b8 7px, #eed0 60px);
  display: block;
  position: fixed;
  width: 100%;
  height: 60px;
  top: 0;
  left: 0;
  margin: 0px;  
  z-index:3;
}

html::after{
  content: '';
   background-image: linear-gradient(to top, #dcd2b8 7px, #eed0 60px);
  display: block;
  position: fixed;
  width: 100%;
  height: 60px;
  bottom: 0;
  left: 0;
  margin: 0px;
  z-index:3;
}


body{
  text-align: justify;
  color: #633;
  background-color: #eed;
  background-color: #eed0;
  background-image: none;
  padding: 15px;
  margin: 20px;
  text-shadow : -2px 1px #b80;
  min-width: 164px;
  min-height: calc(100vh - 76px);
}

main{
  margin: auto;
  max-width: 700px;
}

.blockCentre{
  display: block;
  position: relative;
  margin: auto;
  padding: 0;
  width:min-content;
}

img{
  user-select: none;
}

img.logo{
  width: 5ex;
  height : 5ex;
  vertical-align: middle;
}

img.logoLeft{
  float: left;
}

img.logoRight{
  float: right;
}

img.imgMoyenne{
  height: auto;
  width: min( 250px, 60vw);
}

img.imgLarge{
  height: auto;
  width: min( 500px, 60vw);
}

img.imageTitre{
  z-index: 5;
  display: block;
  position: absolute;
  vertical-align:middle;
  width:40vw;
  max-width:350px;
  top: min(7vw, 20px);
  left: 0;
  right: 0;
  margin: auto;
  padding:auto;
  padding-left: 5vw;
  text-align: center;
  
  width:60vw;
  top:1vmin;
  position: relative;
}

main > section > p, ul, li{
  color: #334;
  text-shadow: none;
  font-family: sans-serif;
}

main > section > p{
  margin: 1ex 1ex;
}

em{
  color: #000;
  text-shadow : -1px 1px #b97;
}


h1, h2{
  font-family: serif;
  text-align: left;
}

h1{
  text-align: center;
  max-width: 22em;
  overflow: hidden;
  margin: auto;
  margin-top: 1em;
  margin-bottom: 1.5em;
  display: block;
  position: relative;
  z-index: 4;
  height: 0;
  display: none;
  color: #f60
}

h1.titrePageSecondaire{
  margin-top: 0vmin;
margin-bottom:10vmin;
}


h2{
  margin-top: 4ex;
  margin-bottom: .5ex;
}

*::selection{
  color : #ca4;
  background-color : #856;
  text-shadow : -1px 1px #ff0;
}


p::selection, ul::selection, li::selection{
  color : #fec;  
  background-color : #734;
  text-shadow : -1px 1px #000;
}

a::selection{
  color : #0cc;
  background-color : #734;
  text-shadow : -1px 1px #000;
}

em::selection{
  color: #fff;
  background-color: #957;  
  text-shadow: -1px 1px #000;
}



a:link {
  
  text-decoration-line: none;
  text-shadow: -1px 0px #ba9;
  color: #087;
  font-weight: bold;
  transition: 100ms linear;
  position: relative;
}

a:visited {
  color: #06a;
}

a:hover{
  color: #099;
  text-shadow: none;
}

a::after {
  content: '';
  position: absolute;
  top: 0.2ex;
  bottom: 0;
  left: 50%;
  width: 0%;
  padding: 1.2ex 0px;
  border-top: solid 0px  #09A;
  border-bottom: solid 0px  #09A;
  border-image: linear-gradient(to right, #09A0 10%, #09A ,#09A0 90%);
  border-image-slice: 1;
  transition: 0.2s;
}

a:hover::after {
  width: 150%;
  left: -25%;
  border-top-width: 1px;
  border-bottom-width: 1px;
}

a.externe:link{
  color: #777;
  text-shadow: -1px 0px #999;
}

a.externe:visited{
  color: #999;
}

a.externe:hover{
  color: #777;
  text-shadow: none;
}


a.externe::after {
  
  top: 0.01ex;
  border-image: none;
  border-color: #999;
  border-image: linear-gradient(to right, #9990 10%, #999 ,#9990 90%);
  border-image-slice: 1;
}


a.lienImage:link{
  color: none;
  text-shadow: none;
}

a.lienImage:visited{
  color: none;
}

a.lienImage:hover{
  color: none;
  text-shadow: none;
}


a.lienImage::after {
  display:none;
}



.centre{
  width:100%;
  display:inline-block;
  text-align:center;
}

.droite{
  width:100%;
  display:inline-block;
  text-align:right;
}



footer{
  font-family: sans-serif;
  font-weight: bold;
  text-align: right;
  font-size: calc(0.3em + 1vh);
  display: block;
  position: fixed;
  width: 100%;
  height: 60px;
  bottom: 0;
  right: 0;
  margin: 0px;
  z-index: 4;
}

footer:hover p{
  color: #000f;
  margin-bottom: 4px;
  margin-right: 12px;
  font-size: 106%;
}

footer p{
  z-index: 4;
  text-shadow: none;
  color: #0003;
  margin-right: 20px;
  margin-bottom: 2px;
  position: fixed;
  bottom: 0;
  right: 0;
  transition: 300ms ease;
}


@media (prefers-color-scheme: dark) {

  html{
    background-image: linear-gradient(to right, #1d1d1f 7px, #252627 60px, #252627 calc(100% - 60px),#1d1d1f calc(100% - 7px));
    scrollbar-color: #da5 #1d1d1f;
    scrollbar-color: #ffd42c #1d1d1f;
  }
  
  html::before{
    background-image: linear-gradient(to bottom, #1d1d1f 7px, #25262700 60px);
  }

  html::after{
    background-image: linear-gradient(to top, #1d1d1f 7px, #25262700 60px);
  }

  
  body{
    color: #da5;
    color: #ffd42c;
    background-color: #25262700;
    text-shadow : none;
  }

  main > section > p, ul, li{
    color: #d0d0c8;
    color: #e0e0e0;
  }

  
  em{
    color: #f60;
    text-shadow : none;
  }

  .txtAcp::before{color: #ffd42c;}
  .txtAcp::after{color: #ffd42c;}
  
  
  a:link {
    text-shadow: none;
    color: #9f5;
  }

  a:visited {
    color: #0cf;
  }

  a:hover{
    color: #9f5;
    text-shadow: none;
  }

  a::after {
    top: 0.01ex;
    border-image: none;
    border-color: #bf7;
    border-image: linear-gradient(to right, #bf70 10%, #bf7 ,#bf70 90%);
    border-image-slice: 1;
  }

  a.externe:link{
    color: #ffe;
    text-shadow: none;
  }

  a.externe:visited{
    color: #c4c4c0;
    color: #909088;
    color: #e0e0e0;
  }

  a.externe:hover{
    color: #ffe;
    text-shadow: none;
  }

  a.externe::after {
    border-image: none;
    border-color: #eff;
    border-image: linear-gradient(to right, #eff0 10%, #eff ,#eff0 90%);
    border-image-slice: 1;
  }


  *::selection{
    color : #0cf;
    background-color : #333;
    text-shadow: none;
  }

  p::selection, ul::selection, li::selection{
    color : #252627;  
    background-color : #909088;
    text-shadow: none;
  }

  a::selection{
    color : #ffd42c;
    background-color : #909088;
    text-shadow: -2px 1px #333;
  }

  em::selection{
    color: #fff;
    background-color: #f60;  
    text-shadow: none;
  }


  footer:hover p{
    color: #f60;
  }

  footer p{
    color: #e0e0e044;
  }
}
/**/
