@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://fonts.googleapis.com/css2?family=Saira+Stencil+One&display=swap");
:root {
  --panneau-fond: hsl(60, 100%, 5%);
  --bouton-texte:#f2f2cc;
  --bouton-fond:#996;
}

.centrer, .bouton, #pres-options span.radio > label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.bouton, #pres-options span.radio > label {
  font-family: arial;
  font-weight: bold;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.8);
          box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: var(--bouton-texte);
  background-color: var(--bouton-fond);
  border-radius: .5em;
  padding: 0 .5em;
  cursor: pointer;
}

.bouton:hover, #pres-options span.radio > label:hover {
  background-color: #AA0;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  background-color: var(--panneau-fond);
  background-image: url(../img/gravier_480_texture.png);
  background-size: 120px;
}

body header {
  font-family: 'Saira Stencil One', cursive;
  text-align: center;
  letter-spacing: -.05ch;
  word-spacing: .3ch;
  color: var(--bouton-fond);
  margin-top: .15em;
  text-shadow: .05em .05em .15em #0008;
}

body header * {
  margin: 0;
}

div.milieu {
  display: -ms-grid;
  display: grid;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  gap: 1em;
  -ms-grid-columns: auto 2fr 1fr;
      grid-template-columns: auto 2fr 1fr;
  padding: 1em;
}

#body {
  background-color: white;
  color: #333;
  display: -ms-grid;
  display: grid;
  gap: 1em;
  -ms-grid-columns: auto 1fr;
      grid-template-columns: auto 1fr;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  overflow: auto;
  padding: 1em;
}

#pres-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
  gap: 0.5em;
}

#pres-options > div {
  display: contents;
}

#pres-options span.radio {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-height: 3em;
}

#pres-options span.radio > label {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  padding: 0 1em;
}

#pres-options span.radio > input {
  display: none;
}

#pres-options span.radio > input:checked + label {
  background-color: yellow;
  color: #660;
  text-shadow: none;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
  -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.8);
          box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.8);
}

#pres-options span.radio:hover > label {
  background-color: #aa0;
}

#code {
  background-color: var(--panneau-fond);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-family: monospace;
  gap: 0.25em;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  position: relative;
}

#code > div {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  -webkit-box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3) inset;
          box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3) inset;
  overflow: hidden;
  padding: 0.5em;
  position: relative;
}

#code > div > * {
  white-space: pre-wrap;
}

#code > div:before {
  color: rgba(0, 0, 0, 0);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.07);
  font-size: 60px;
  position: absolute;
  right: 10px;
  top: 10px;
  letter-spacing: -0.07em;
  font-family: verdana;
  font-weight: bold;
  text-align: right;
  pointer-events: none;
}

#code > #code-html {
  background-color: #dfd;
  background-color: #eef6ee;
}

#code > #code-html:before {
  content: "<HTML>";
}

#code > #code-css {
  background-color: #ddf;
  background-color: #eeeef6;
}

#code > #code-css:before {
  content: "{CSS}";
}

input.toggle {
  display: none;
}

input.toggle + label {
  position: relative;
  float: right;
  display: block;
  background-color: red;
  text-align: right;
}

input.toggle + label:before {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  content: "\2d";
  content: "\23f7";
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  line-height: 0;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: bold;
  border-radius: 100%;
  z-index: 100;
  cursor: pointer;
}

input.toggle:checked + label:before {
  content: "\2d";
  content: "\23f4";
}

input.toggle:checked + label + * {
  -webkit-box-flex: 0 !important;
      -ms-flex: 0 1 1em !important;
          flex: 0 1 1em !important;
}

div.description {
  background-color: #f2f2d9;
  border: 1px solid #cccc66;
  padding: .5em;
}

div.description code {
  font-family: courier;
  background-color: #c9c99c;
  padding: 0 .5ch;
  letter-spacing: -.1ch;
}

div.description h2 {
  margin: 0;
  display: none;
}

div.description h3 {
  font-family: 'Saira Stencil One', cursive;
  font-size: 2.5em;
  font-weight: normal;
  margin: 0;
}

div.description h4 {
  margin: 0;
  margin-top: 1em;
  border-bottom: 1px solid;
}

div.description > ol {
  margin: 0;
  list-style-type: none;
}

div.description ol, div.description ul {
  padding-left: 1em;
}

div.description .balise {
  quotes: "<" ">";
}

div.description .balise::before {
  content: open-quote;
}

div.description .balise::after {
  content: close-quote;
}

div.description .nowrap {
  white-space: nowrap;
}

@media all {
  header {
    font-size: 5em;
    line-height: .7em;
  }
}

@media all and (min-width: 1200px) {
  header {
    font-size: 8vw;
  }
}

@media all and (max-width: 800px) {
  header {
    font-size: 7vw;
  }
  div.milieuzzz {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
  }
  div.milieuzzz #body {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 15em;
            flex: 1 0 15em;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  div.milieuzzz #pres-options {
    font-size: 2vw;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
  div.milieuzzz #pres-options > div {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  div.milieuzzz .radio {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 9em;
            flex: 1 0 9em;
  }
  div.milieuzzz .radio label {
    padding: 0;
  }
  div.milieuzzz #code {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 20em;
            flex: 1 0 20em;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  div.milieuzzz #code > div {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
  }
}

@media all and (max-aspect-ratio: 1 / 2) {
  header {
    font-size: 16vw;
  }
}

p:focus-within {
  background-color: red;
}

@-webkit-keyframes glow {
  0% {
    -webkit-box-shadow: 0 0 0em rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 0em rgba(0, 0, 0, 0.3);
  }
  50% {
    -webkit-box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
            box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
  }
}

@keyframes glow {
  0% {
    -webkit-box-shadow: 0 0 0em rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 0em rgba(0, 0, 0, 0.3);
  }
  50% {
    -webkit-box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
            box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
  }
}
/*# sourceMappingURL=style.css.map */