:root {
  --clair: rgb(205, 183, 211);
  --sombre: rgb(34, 12, 41);
  --accent: rgb(255, 79, 79);
}

@font-face {
  font-family: "tex";
  src: url("texgyreschola-math.otf");
}


@font-face {
  font-family: "garamont";
  src: url("t\)_Italic.otf");
}



nav {
  width: 100%;
  top: 0;
  /* bottom: 0; */
  position: fixed;
}

nav ul {
  display: flex;
  list-style: none;
  /* position: fixed; */
  z-index: 1000;
  width:  100%;
  margin: 0;

  justify-content: left;
  padding-left: 0;
  height: 2rem;
  background: var(--clair);
  align-items: center;
}

nav ul li {
  /* border-right: solid 1px var(--vert); */
  width: auto;
  text-align: center;
  background-color: var(--clair);
  height: auto;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family: garamont;
  font-size: 1.5rem;
  color: var(--sombre);
  height: auto;

}

nav ul li a::after{
  content: " > ";
  height: auto;
  font-size: 1.2rem;

}
nav ul li a::before{
  content: " < ";
  height: auto;
  font-size: 1.2rem;
}

nav ul li a:hover {
  color: var(--accent);
  text-decoration: none!important;
}


body {
  display: grid;
  grid-template-rows: repeat(12, 1fr);
  grid-template-columns: repeat(12,1fr);
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: var(--sombre);
  color: var(--clair);
  font-family: "tex";
  margin-top: 2rem;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    display: none;
}

header {
  /* background-color: aliceblue; */
    grid-column: 1/7;
    grid-row: 1/2;
    width: 100%;
    display: flex;
    margin-block: 10px;
}

header h1 {
  padding-inline: 20px;
  font-size: 3em;
  margin: 0;
  font-family: "garamont";
  font-weight: normal;

}

header h2 {
  font-variant: all-small-caps;
  font-weight: normal;
    margin: 0;

}

#two {
  grid-row: 1/2;
  grid-column: 11/13;
  display: flex;
  flex-direction: column;
  
}

#two ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  width: 100%;
    margin-block: 10px;
/*  justify-content: space-around;*/
}

#two ul li {

  padding-inline: 0;
  /* background-color: var(--accent); */
  font-family: "garamont";
  font-size: 1.5em;
  padding-block: 1%;


}

#two ul li a {
    color: var(--clair);

}
#two ul li:nth-of-type(2), #two ul li:nth-of-type(3), #two ul li:nth-of-type(4), #two ul li:nth-of-type(5){
    padding-inline: 6%;
}

#two ul li:nth-of-type(3) {
  display: none;
}

#two ul li:hover, #two ul li:hover a, #two ul li:target a {
  color: var(--accent);
}

#two ul li::before {

  padding-right: 2px;
}


.Actu #post{
  grid-column: 7/13;
  /* border: solid 1px black; */
  padding: 1%;
  grid-row: 2/13;
  overflow-y: scroll;
  padding-inline: 20px;
   border-left: dotted 2px var(--accent);


}

#post p {
  font-size: 1.3em;
  line-height: 1.35em;
}

#post p strong {
  font-weight: normal;
  border-bottom: dotted 1px var(--clair);
  font-family: "garamont";
}

#post p#top {
    text-align: center;
    font-variant: small-caps;
    font-family: "garamont"
}

#post h2.title::after {
  content: "/";
}

#post h2.title {
  text-align: right;
      margin-block: 0;
}

details.fr summary, details.en summary {
    font-family: 'garamont';
    list-style-type: none;
        cursor: pointer;
        border: none;
        padding-block: 1%;
}

details.fr summary::before,
details.en summary::before{
  content: "→ "
}

details.fr[open] summary::before,
details.en[open] summary::before{
  content: "↓ "
}

details.en, details.fr {
  margin-left: 4em;
  color: var(--accent);
  justify-content: space-between;
  border: none!important;
}



details.en p, details.fr p {
  font-size: 1.2em!important;
  padding-inline: 2%;
      display: table-cell;
}

#post ul {
  padding: 0;
}

#post ul li {
  font-size: 1.4em!important;
padding-left: 0;
  padding-block: 0.5%;
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: left;
}

#post a {
  border-bottom: dotted 1px var(--accent);
}

#post a:hover {
  color: var(--accent);
}

details em {
  font-family: "garamont";
  font-size: 1.2em;
  break-after: always;
 
}

ul li strong {
  font-family: "garamont"!important;
  font-size: 1.4em;
  display: flex;
  margin-inline: 2%;
  
}

ul li em {
  display: flex;
  font-style: normal;
  margin-left: 2%;
  width: 50%;
}



.description p {
  font-size: 1.6em;
  line-height: 1.4em;
}
p.signature {
  font-size: 1em;
}

h2 {
  font-family: "garamont";
  font-variant: small-caps;
}

h3 {
  text-align: center;
  color: var(--accent);
  padding-top: 1%;
  margin-bottom: 0;
  font-size: 2.5em;
  font-family: "garamont";
  font-weight: normal;

}

h3::before {
  content: ": : : :::::::::::::::::::::: ";
}

h3::after {
  content: " :::::::::::::::::::::: : : :  ";
}

h4 {

  font-family: "garamont";
  font-size: 1.8em;
  font-weight: normal;
  padding-block: 1%;
  margin-top: 0;
  color: var(--clair);
  text-align: center;
  padding-inline: 10%;

}

.Intention #post{
  grid-column: 4/13;
  /* background: beige; */
  padding: 1%;
  grid-row: 2/13;
  overflow-y: scroll;
  font-family: "garamont";
}

#post h1 {
  font-size: 2.4em;
  font-family: "garamont";
  font-weight: normal;
  text-align: center;
}

p ~ h1 {
  margin: 0;
  padding: 0;
}

h1 ~ p {
    text-align: center;
}

#one {
  /* background: yellow; */
  grid-row: 1/2;
  grid-column: 8/13;
}

#one ul {
  display: flex;
  padding: 0;
}

#one ul li {
  border: solid 1px var(--sombre);
  list-style: none;
  
}

a {
  color: var(--clair);
  text-decoration: none;

}

#one {
  display: none;
}

h1 {
  letter-spacing: 2px;
}

.Actu .description {
  grid-column: 1/7;
  grid-row: 2/12;
  padding: 2%;
  padding-inline: 20px;
  color: var(--accent);
  height: 100%;
  overflow-y: scroll;
}

.Actu #two_phone {
  display: none;
}


 
/* @media only screen and (min-width: 600px) {
 
} */

@media only screen and (max-width: 600px) {

nav ul {
    flex-direction: column;
    width: 100%;
  }

nav ul li {
    width: 100%;
    text-align: left;
    border-bottom: solid 1px var(--vert);
    border-bottom: solid var(--sombre) 1px;
  }

 nav ul li a {
    font-size: 1.3rem!important;
  }


  body {
    display: flex;
    flex-direction: column;
    grid-template-rows: repeat(12, 1fr);
    grid-template-columns: repeat(12,1fr);
    margin: 0;
    padding: 0;
    /* height: 100vh; */
    width: 100%;
    overflow-y: scroll;
    background-color: var(--sombre);
    color: var(--sombre);
    font-family: "tex";
    height: 100%;
    margin-top: 3.5rem;
  }
  
  header {
    grid-column: 1/12;
    grid-row: 1/2;
    width: 100%;
display: block;
    background-color: var(--sombre);
  }
  
  header h1 {
    padding-inline: 4%;
    padding-block: 2%;
    font-size: 1.8em;
    margin: 0;
    text-align: end;
    color: var(--clair);
    font-weight: normal;
  }

  header h2 {
    padding-inline: 4%;
    padding-block: 2%;
    font-size: 1.3em;
    margin: 0;
    text-align: end;
    color: var(--clair);
    font-weight: normal;
  }
  
#one {
  display: none;
}

  #two_phone #two {
    display: flex;
    flex-direction: column;
    margin-top: 1%;
  }
  
  #two_phone #two ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: space-between;
  }
  
  #two_phone #two ul li {
    padding-block: 1%;
    padding-inline: 1%;
    background-color: rgb(255, 255, 255);

  }
  
  .Actu #post{
    padding: 1%;
    overflow-y: scroll;
    padding-inline: 4%;
  
  }
  
  p {
    font-size: 1.2em;
    line-height: 1.4em;

  }
  
h1, h2 {
  color: var(--clair);
}

  h3 {
    text-align: center;
    color: var(--accent);
    padding-block: 1%;
    font-size: 2em;
    font-weight: normal;
  }
  
  h3::before {
    content: ": :::: ";
  }
  
  h3::after {
    content: " :::: :";
  }
  

  h4 {
    width: 80%;
    color: var(--clair);
    font-size: 1.4em;
  }
  
  .Intention #post{
  padding: 1%;
    overflow-y: scroll;
  }
  
  #post h1 {
    font-size: 2em;
    font-weight: normal;
  }

  .Actu #post {
    border: none!important;
  }

  #post p {
    color: var(--clair);
  }
  
  .Actu #two_phone {
display: block;
  }

  #two {
    display: none;
  }
  
  #two_phone ul {
    display: flex;
    justify-content: center;
    padding: 0;
    flex-direction: column;
  }
  
  #two_phone ul li {
    border: solid 1px var(--sombre);
    list-style: none;
    display: flex;
    justify-content: center;
    padding-block: 2%;
    background: var(--accent);
    box-shadow: 2px 2px var(--accent);
    width: fit-content;
    /* transform: rotate(-10deg);
    transform-origin: left; */
    margin-block: 1%;
    margin-inline: 4%;
    padding-inline: 3%;
    font-size: 1.2em;
  }



  details.en p, details.fr p {
    display: block;
    padding-left: 0!important;
    color: var(--accent)!important;
  justify-content: space-between;
  border: none!important;
  }

  blockquote p {
    font-size: 1.1em!important;
    overflow-wrap: anywhere;
  }

  blockquote {
        margin: 1%;
  }
  
  a {
    color: var(--sombre);
    text-decoration: none;
    font-family: "garamont";
    font-size: 1.2em;
  }
  
 
  
  h1 {
    letter-spacing: 2px;
  }
  
  .Actu .description {
    padding: 2%;
    padding-inline: 4%;
    color: var(--accent);
  }

  .description p {
    font-size: 1.2em;
  }

#two_phone summary {
    position: fixed;
    left: 0;
    top: 0;
    margin-top: 4rem;
  }

#two_phone details[open] {
    position: fixed;
    top: 10%;
    width: 100%;

  }

#two_phone details[open] summary {
position: fixed;
padding-inline: 4.5%;
padding-block: 3%;
  }

#two_phone summary::marker {
    content: "+";
}

#two_phone details[open] summary::marker {
  content: "-";

    }

.phone_description {
  position: absolute;
}

#two_phone summary {
  background: var(--accent);
  width: fit-content;
  padding-inline: 4%;
  /* border-radius: 100%; */
  padding-block: 3%;
  border: solid 1px var(--sombre);
  box-shadow: 2px 2px var(--accent);

}

#post ul li {
color: var(--clair);
padding-block: 1%;
}

ul li em {
  display: flex;
  font-style: normal;
  margin-left: 2%;
  width: 100%;
}


details .en, details .fr  {
  display: block;
  margin-left: 10%;
}

details .en p, details .fr p  {
  font-size: 1.1em!important;
  color: var(--accent)!important;

}


}


@media print {
  @page {
  size: A4;
}


body {
  width: auto;
  height: 100%;
  display: block;
}

.description {
page-break-after: always;
}
.description p {
  font-size: 16px;
}

#two {
  display: none;
}

h2.title {
  display:none;
}


h3:first-of-type {
  page-break-before: avoid;
}
h3 {
  page-break-before: always;
}
.Actu #post {
  border-left: none;
}
}
