* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


@font-face {
    font-family: 'earl'; 
    src: url(font/Earl-Regular.otf);   
}

@font-face {
    font-family: 'Caslon Italic'; 
    src: url(font/ACaslonPro-Italic.otf);   
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;


}
/* pour l'utiliser plus tard 
text-shadow: 2px 2px #ff0000;*/

/* style de la Homepage */


video {
  position: fixed;
  top: -4em;
  left: 0;
  max-width: 100vw;
  padding:0;
  margin:0;
  z-index:3;
}

/* style de la Homepage */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 115vh;
  object-fit: cover;
  z-index: -1;
}

.grid{

}

h1{
  font-family: 'earl';
  font-size: 40px;
  text-align: center;
  z-index: 4;
  margin-top: 2em;
  max-height: 20em;
  margin-bottom: 2em;
}

html {
  font-family: 'earl'; 
  color: var(--color-text);
  background: var(--color-background);
  text-shadow: 2px 2px 5px rgb(215,245,255,0.2);
}

main {
  position:absolute;
  top:3em;
  width:100%;
}

footer a:hover {
  letter-spacing: 6px;
    cursor: pointer;
}


.columns{
  display: inline-flex;
    position: relative;
    justify-items: baseline;
    padding: 0em 4em 0em 2em;
    width: 33%;
    margin-top: 10%;
    font-family: 'Caslon Italic';
    font-size: 1.5em;
    margin-left:1em;
}

figure{
  position:relative;

}

figure img {
  max-width: 100%;
}

figure p {
  font-family: 'Caslon Italic';
  font-size:0.8em;
  top:0;
  margin: 1rem;
  position: absolute;
  
}

figcaption{
  padding: 1em;
  font-size: 1rem;
 text-align: center;
  font-family: 'Caslon Italic';
  display:block;
  position: relative;
  z-index: revert-layer;
  margin-top: -7rem;
}

body {
  padding: var(--padding);
  max-width: rem;
  margin: 0 auto;
  color: #f5b718;;
}

header li {
  list-style: none;
}

.eleno a:hover {
  letter-spacing: 6px;
    cursor: pointer;
}

a.menu {
  position: relative;
  transition: opacity 0.3s ease;
  font-family: 'Caslon';
}

a.menu:hover{
  visibility: hidden;
}

a.menu::after {
  content: ''; /* Pas de texte initial */
}

a.menu:hover::after {
  content: 'back';
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
  text-align: center;
  padding:1em;
  font-family: 'earl';


}

li {
  list-style: none;
  padding: 5px;
}

ul {
  display: inline;
}

a {
  color: currentColor;
  text-decoration: none;
  font-size: 28px;
}


.eleno{
  text-align:right;
  margin-right:1.5em;
}

.eleno a{
  display:block;
  padding: 5px;
  text-align: right;
  top:0;
}

.text {
  display:block;
  text-align: center;
  font-size: 5.5em;
  vertical-align: middle;
  z-index:revert-layer;
  position:relative;
  margin-top: 4em;
  margin-bottom:5em;

}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: 2rem;
  margin-left: 2rem;
  margin-bottom: 6rem;
  padding: 0.5rem;
  background: transparent;
  z-index: 1;
  width:100%;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: flex;
  padding: 2rem;
}
.menu a {
  padding: 1rem;
  display: block;
  font-size: 1em;
  color: hidden;
}
.menu a[aria-current] {
  text-decoration: underline;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}




.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

.text caption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}


.footer {
  line-height: 2em;
  width:100%;
  height:100%;
  margin-right:2em;
  margin-left:2em;
  margin-top: 45em;
  position:fixed;
      text-shadow: 2px 2px 5px rgb(0,0,0,0.5);

}

.footer .bottom{
display: inline-block;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: baseline;
    justify-items: stretch;
    width: 33%;
}

.colophon{
  text-align:right;
  margin-right:1em;
}
.contact{
  text-align:right;
    margin-right:1em;
}

.friends{
  text-align:left;
}

.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
}




.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 0rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}


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



  .scroll-indicator{
  visibility: hidden;
  }

  a.menu{
     font-size: 155%;
        text-align: center;
        padding: 10px;
        max-width: fit-content;
        position: fixed;
        }


.menu a{

  border:solid;
border-radius: 20px;
border-color: #f5b718;
  padding:7px;
  margin-top: 10px;


}

    .header{
      margin-left: 0;
        display: table-caption;
        text-align: center;
    }


    .header .eleno{
    display: inline-flex;
    }


.main{
  padding: 0;
  flex:1;
  position: relative;
 }

 .main .columns{
  margin-top: 40%;
        padding: 1px;
        width: 43%;
        font-size: 15px;
        max-height: fit-content;
        max-width: fit-content;
 }

 .content-full-image {
  min-height: 100vh;
}


body {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

   .eleno {
        margin-left: 3px;
        text-align: center;
        margin-top: 35px;
        margin-right: 20px;

    }

    .eleno a{
      padding-top: 15px;
      display:inline;
    }

.text {
    display: block;
    text-align: center;
    font-size: 4em;
    vertical-align: middle;
    z-index: revert-layer;
    position: relative;
    margin-top: 3em;
    padding-right: 0em;}

  .submenu-links {
    display: flex;
    position-area: center;
    justify-content: space-evenly;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 0em;
    margin-left: 0em;
    margin-top: 2em;
    width: 100%;}

    ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 20px;
    unicode-bidi: isolate;
}

    .footer{
      width:400px;
      margin-left:0;
      margin-right:0;
      margin-top: 2em;
      position: relative;
      left:0;
      right:0;
    }

      .footer .bottom{
     display:inherit;
     width:100%;
     text-shadow: 0;
    }

    .friends{
      text-align:left;
      padding-left: 15px;
    }

    .contact{
             margin-top:20px;
      text-align:left;
          padding-left: 15px;
    }

    .colophon
    { margin-top:20px;
      text-align:left;
          padding-left: 15px;
    }

.bottom a{
  border:solid;
border-radius: 20px;
border-color: #f5b718;
  padding:7px;}

  .eleno i{
    margin-left:11px;
    margin-right:11px;
  } 



}
