body {
    max-width: 850px;
    margin: 15px auto;
    width: 96%;
    font-size: 1.25em;
    line-height: 1.25;
    font-family: "Times New Roman", serif;
}

h1 {
    margin-top: 0.75em;
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    margin-top: 35px;
    margin-bottom: 9px;
    border-bottom: 1pt solid #D7D7D7;
}

dialog[open] > h2 {
    margin-top: 0px;
}

p {
    text-align: justify;
    line-height: 1.55;
    margin-bottom: 0px;
}

ul {
    margin-top: 7px;
}

a {
	color: #33e;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	color: red;
}

code {
    font-size: 85%;
    background-color: #F7F7F7;
    border: 1px solid #D7D7D7;
    border-radius: 4px;
    padding: 3px 4px;
    line-height: 1.35;
}

li {
    line-height: 1.5;
    text-align: justify;
    padding-left: 0.25em;
}

pre.bloc {
    padding: 5px;
    border: 2px solid #D7D7D7;
    background-color: #F7F7F7;
    border-radius: 7px;
    font-size: 15px;
    font-family: "Noto Sans Mono", monospace;
    margin: 4px auto 20px;
    max-width: 750px;
}

.blocNom {
    padding: 4px 10px;
    float: right;
    border: 2px solid #D7D7D7;
    border-radius: 7px;
    font-size: 10px;
    font-family: "Noto Sans Mono", monospace;
    background-color: white;
    position: relative;
    top: -10px;
}

tag {
  display: inline;
  user-select: none;
  border: 1px solid grey;
  background-color: whitesmoke;
  padding: 2px 5px;
  border-radius: 5px 0px;
  font-size: 70%;
  margin: 0px 6px 0px 0px;
  vertical-align: central;
  font-family: sans-serif;
}

dialog button, dialog input, dialog textarea {
    font-size: 1.25em;
}

dialog button {
    padding: 0 20px;
}

.popup {
    width: 30em;
    user-select: none;
}
.popup .fermer {
    float: right;
    cursor: pointer;
    font-size: 120%;
}
.popup .fermer:hover {
    color: red;
}

.offre {
    border: 2px solid #88f;
    background-color: #f3f3ff;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    margin-left: 30px;
    margin-right: 20px;
    padding: 10px 15px;
    border-radius: 13px;
    transition: border 0.75s;
    animation-name: par-la-droite;
    animation-duration: 0.5s;
}
.offre:first-of-type {
    animation-duration: 0.4s;
}
.offre:hover {
    border: 2px solid #8f8;
    background-color: #dfd;
    cursor: pointer !important;
    transition: border 0.75s;
}
@keyframes par-la-droite {
  from {
    translate: 30vw 0;
  }
  to {
    translate: 0 0;
  }
}


/* @media only screen and (max-width: 810px) { pre.bloc { font-size: 15px; } body { font-size: 1.2em; } } */
@media only screen and (max-width: 760px) { pre.bloc { font-size: 14px; } body { font-size: 1.1em; } }
@media only screen and (max-width: 710px) { pre.bloc { font-size: 13px; } body { margin: 15px auto; } }
@media only screen and (max-width: 660px) { pre.bloc { font-size: 12px; } }
@media only screen and (max-width: 610px) { pre.bloc { font-size: 11px; } }
@media only screen and (max-width: 560px) { pre.bloc { font-size: 10px; } }
