body {
  background: url("/images/background.webp");
  background-size: cover;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #373d3f;
  margin: 0;
  padding: 0;
}

.Container {
  clear: both;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

a {
  color: #373d3f;
}

a:focus {
  color: red;
  font-weight: bolder;
}

a.external::after {
  content: url(/images/external-link.svg);
  display: inline-flex;
  height: 1em;
  padding-left: 0.4em;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Calluna';
  line-height: 150%;
  margin: 0;
}

h1 {
  font-size: 39.06px;
}

h2 {
  font-size: 31.25px;
  margin: 1em 0 0.2em 0;
}

h3 {
  font-size: 25px;
  margin: 0.6em 0 0.2em 0;
}

h4 {
  font-size: 20.83px;
  margin-bottom: 16px;
}

h5 {
  font-size: 16px;
  margin-bottom: 8px;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  text-decoration: underline;
}

blockquote {
  border-left: 5px solid #dd9999;
  padding: 0 2em 0 2em;
}

p + h5 {
  margin-top: 32px;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

p:has(img) {
  text-align: center;
}

abbr {
  border-bottom: 1px dotted #373d3f;
}

.archives {
  display: flex;
  flex-wrap: wrap;
}

.archives article {
  padding-left: 1em;
  padding-right: 1em;
  width: calc(50% - 2em);
}

.archives article h2 {
  font-size: 1.2em;
}

.loader-wrapper {
  display: grid;
  grid-template-columns: 1fr 4fr;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
  width: 400px;
}

.loader-wrapper div {
  animation: spin 2s linear infinite;
  display: table-column-group;
  height: 30px;
  width: 30px;
  border: 5px solid #fff0;
  border-top: 5px solid #555;
  border-radius: 50%;
}

.loader-wrapper p {
  padding-top: 0.5em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.meta-published {
  color: #999;
  margin-bottom: 1em;
}

.button {
  margin: 0 1em 0 1em;
  padding: 8px 24px;
  background: #373d3f;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12.8px;
  font-weight: bold;
  border-radius: 24px;
  line-height: 24px;
  display: inline-block;
}

.violet {
  background: blueviolet;
}

.tac {
  text-align: center;
}

.tad {
  text-align: right;
}

.flex {
  display: flex;
}

.mt128 {
  margin-top: 128px;
}

.mt64 {
  margin-top: 64px;
}

.mt32 {
  margin-top: 32px;
}

.mb64 {
  margin-bottom: 64px;
}

.logo-chatons {
  float: left;
  height: 25vw;
}

.logo-front {
  display: block;
  margin: 3em auto 2em;
}

.logo-small {
  display: inline;
  margin: 0 2em 0 0;
  height: 3em;
  vertical-align: middle;
}

nav {
  margin: 0;
  overflow: hidden;
  padding: 0;
}

nav section {
  display: grid;
  grid-template-columns: 2fr 3fr;
}

nav section h2 {
  font-size: 1em;
  margin: 0;
}

nav section ul {
  border-left: black 1px solid;
  margin: 0;
  padding-left: 0.8em;
}

nav section ul li {
  list-style: none;
}

.Hero h1 {
  font-size: 1.5em;
}

.news-entry h3 {
  position: relative;
  padding-left: 2em;
  padding-top: 0.2em;
}

.news-entry h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 48px;
  width: 48px;
}

.blog-entry h3::before {
  background: transparent url(/images/uicons/comment.svg) center center no-repeat;
}

.event-entry h3::before {
  background: transparent url(/images/uicons/alarm-clock.svg) center center no-repeat;
}

.event-elapsed h3 {
  color: grey;
  text-decoration: line-through;
}

.services {
  border: lightblue 4px solid;
  padding: 0.6em;
}

.services-title {
  position: relative;
  padding-left: 64px;
  line-height: 48px;
}

.services-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background-color: #b9daf6;
  border-radius: 50%;
}

.services-icon-bookmark::before {
  background: #b9daf6 url(/images/uicons/bookmark.svg) center center no-repeat;
}

.services-icon-camera::before {
  background: #b9daf6 url(/images/uicons/camera.svg) center center no-repeat;
}

.services-icon-cloud::before {
  background: #b9daf6 url(/images/uicons/users.svg) center center no-repeat;
}

.services-icon-megaphone::before {
  background: #b9daf6 url(/images/uicons/megaphone.svg) center center no-repeat;
}

.services-icon-messages::before {
  background: #b9daf6 url(/images/uicons/comments.svg) center center no-repeat;
}

.services-icon-edit::before {
  background: #b9daf6 url(/images/uicons/book-alt.svg) center center no-repeat;
}

.services-icon-email::before {
  background: #b9daf6 url(/images/uicons/at.svg) center center no-repeat;
}

.services-icon-file-conversion::before {
  background: #b9daf6 url(/images/uicons/file-conversion.svg) center center no-repeat;
}

.services-icon-gear::before {
  background: #b9daf6 url(/images/uicons/settings.svg) center center no-repeat;
}

.services-icon-leaf::before {
  background: #b9daf6 url(/images/uicons/leaf.svg) center center no-repeat;
}

.services-icon-list::before {
  background: #b9daf6 url(/images/uicons/list-check.svg) center center no-repeat;
}

.services-icon-ml::before {
  background: #b9daf6 url(/images/uicons/paper-plane.svg) center center no-repeat;
}

.services-icon-pencil::before {
  background: #b9daf6 url(/images/uicons/pencil.svg) center center no-repeat;
}

.services-icon-web::before {
  background: #b9daf6 url(/images/uicons/globe.svg) center center no-repeat;
}

.services-icon-share::before {
  background: #b9daf6 url(/images/uicons/share.svg) center center no-repeat;
}

.services-icon-key::before {
  background: #b9daf6 url(/images/uicons/key.svg) center center no-repeat;
}

.services-software {
  margin-top: 2em;
}

.services-software div {
  display: flex;
  justify-content: space-evenly;
  padding-top: 1em;
  padding-bottom: 1em;
}

.services-link a {
  align-self: center;
}

.services-link img {
  height: 2em;
}

.services-link p {
  align-self: center;
  font-size: small;
  font-weight: bold;
  padding-left: 0.8em;
  width: 4em;
}

.frame {
  border: 1px black solid;
  overflow: hidden;
  padding: 1em;
}

.three-cols {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1em 0;
}

.Two-cols-One-row,
.Two-cols-Two-rows {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 64px 0;
}

.footer h2 {
  font-size: 1.2em;
  margin-bottom: 0;
}

.footer hr + p {
  font-size: 0.8em;
  margin-bottom: 2em;
}

.footer p + p {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 48.33px;
  }

  nav section {
    border-left: black 1px solid;
    display: block;
    padding-left: 2em;
  }

  nav section h2 {
    font-size: 1.5em;
  }

  nav section ul {
    border: none;
    padding: 0;
  }

  .Hero {
    height: calc(75vh - 16em);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .Hero h1 {
    font-size: 48.33px;
  }

  .logo-chatons {
    height: 12vw;
  }

  .logo-front {
    margin: 10em auto 0;
    height: 25vh;
  }

  .three-cols {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 64px;
    grid-row-gap: 0;
  }

  .Two-cols-One-row {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 64px;
    grid-row-gap: 64px;
  }

  .Two-cols-Two-rows {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 64px;
    grid-row-gap: 64px;
  }
}
