/*@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

.eb-garamond-regular {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.eb-garamond-bold {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-style: normal;
}
*/
body {
  background-color:  grey;/*#FFF8DC #D3D3D3*/
  font-family: cursive/*"EB Garamond", serif*/; 
  font-size: 1.1rem;
  color: #FFFFFF;
  text-align: center;
}

details {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 2rem;
  border-radius: 6px;
  overflow: hidden;
}
details:hover {
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
details p {
  margin: 1rem;
}

summary {
  /*background: linear-gradient(180deg, #B22222, #FF0000);*/
  background: linear-gradient(45deg, #FFFFFF,   #228B22 ,#000000);
  padding: 1rem;
  cursor: pointer;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 2rem;
}
summary:hover, details[open] summary {
  /*background: linear-gradient(90deg, #DC143C, #FF0000);*/
  background: linear-gradient(45deg, #000000,#228B22);
  color: #f1c40f;
}
li {
  list-style-type: trad-chinese-informal;
  list-style-position: inside;
  font-size: 1.4rem;
}
table {
  overflow: scroll;
  table-layout: fixed;
  border-collapse: collapse;
  /*border: 1px solid lightcoral;*/
  box-shadow: 1px 1px -1px -1px lightcoral;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}
td {
  text-align: center;
}
audio {
  width: 50%;
  background: #FFFFF; /*white*/
  border-radius: 90px;
  box-shadow: 3px 3px 10px rgba(0,0, 0, 0.4);
  transform: scale(1.4);
}
.centrer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}
h1 {
  color: darkred;
  font-family: cursive;
  font-size: 4em;
  font-weight: bold;
  text-transform: uppercase;
  /*text-shadow: 3px 3px 2px black;*/
  text-shadow: 3px 3px 5px black;
}
.ombre {
  color: black;
  font-size: 1.2rem;
  font-style: italic;
  /*font-weight: bold;  
  font-family: cursive;
  text-transform: capitalize;
  text-shadow: 3px 3px 2px black;*/
  text-shadow: 1px 1px 0px darkred;
}

a:link {
  color:  #800000; /* maroon rgb(128,0,0) / rgb(72,61,139) darkslateblue / #2F4F4F = gris vert rgb(47,79,79) , #006400 vert */
  text-decoration: none;
}

a:visited {
  color: #000080;/*#D2691E orange*/
  text-decoration: none;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

a:hover {
  color: red;
  text-decoration: none;
}
.pad {padding: 2rem;
}
.pad5 {
  padding-inline-start: 5px ;
}
.posth {position: absolute; top: 10%; left: auto; right: auto;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2%;
  }
  .outer {
  border: 2px solid yellow;
  padding:2% 2%;
}
  .modal {
  visibility: hidden;
  opacity: 0;
  position: relative;/* sticky; a essayer*/
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex; /*block*/
  align-items: center;
  justify-content: center;
  overflow: auto;
  /*background: rgba(77, 77, 77, .7);*/
  transition: all .2s;
}
  .modal:target {
  visibility: visible;
  opacity: 1;
}
  .modal_content {
  background: ghostwhite;
  color: black;
  border-radius: 10px;
  position: relative;
  /*width: 500px;*/
  max-width: 70%;
  max-height: 80%;
  padding: 1.5em 2em;
}

  .modal_close1{
  position: absolute;
  top: 10px;
  right: 10px;
  color: red;
  font-size: 2rem;
  font-weight: bold;
  background: grey;
  text-decoration: none;
}
  .modal_close2{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: red;
  font-size: 2rem;
  font-weight: bold;
  background: grey;
  text-decoration: none;
}
