html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  background-color: white;
  color: black;
  line-height: 1.4;
  font-size: 1.3rem;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 95.5;
}

h1, h2 {
  text-align: center;
}

.poster-image {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 32px auto;
}

.titre-seul {
  display: block;
  border: 1px solid grey;
  max-width: 1080px;
  margin: auto;
}

nav {
  display: block;
  border-bottom: 1px solid grey;
  border-top: 1px solid grey;
}

nav ul {
  display: block;
  padding: 0;
  margin: 0;
  text-align: center;
  list-style-type: none;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  display: inline-block;
  padding: 8px 16px;
  color: black;
  text-decoration: none;
}

nav ul li a:hover {
  color: white;
  background-color: grey;
}

.spectacles {
  display: flex;
  justify-content: center;
  /*space-evenly;*/
  flex-wrap: wrap;
}

.spectacle {
  display: inline-block;
  max-width: 500px;
  padding: 16px;
  padding-bottom: 80px;
  border: 1px solid grey;
  position: relative;
  margin: 32px;
}

.spectacle .finition  {
  position: absolute;
  top: 34px;
  left: 29px;
  background: white;
  padding: 4px 8px;
  transform: rotate(-8deg);
}

.spectacle .poster {
  max-width: 100%;
}

.spectacle .titre {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  padding: 6px 0;
  border-bottom: 1px solid grey;
}

.spectacle .description {
  font-size: 0.8em;
}

.spectacle .plus-dinfos {
  display: block;
  text-align: right;
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.spectacle a {
  text-decoration: none;
  color: black;
}

.spectacle .plus-dinfos a {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  color: white;
  background-color: #666;
}

.spectacle .plus-dinfos a:hover {
  background-color: black;
}

.agenda {
  display: block;
  max-width: 1080px;
  margin: 32px auto;
  padding: 16px;
  padding-top: 0;
  border: 1px solid grey;
}

.agenda h2 {
  text-align: center;
  border-bottom: 1px solid grey;
  padding: 8px;
  margin: 0;
}

.agenda-list {
  padding: 0;
  margin: 32px auto;
  list-style-type: none;
}

.agenda-list li {
  display: inline-block;
}

.agenda-event {
  display: inline-block;
  /*max-width: 200px;*/

  border: 1px solid grey;
  padding: 16px;
  margin: 16px;
}

.agenda-date {
  display: block;
  font-size: 0.9;
  border-bottom: 1px solid grey;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.agenda-summary {
  font-weight: bold;
  display: block
}


.lieu {
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 32px auto;
  padding: 16px;
  padding-top: 80px;
  border: 1px solid grey;
  gap: 16px;
  position: relative;
}

.lieu h2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  border-bottom: 1px solid grey;
  margin: 0 16px;
  padding: 8px 0;
}

.lieu .photo {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  height: 500px;
  background-image: url(img/lelieu.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
}

.lieu .description {
  display: inline-block;
  flex-grow: 1;
  flex-basis: 500px;
}


.smaller {
  font-size: 0.8em;
}

.centrer {
  text-align: center;
}

.plaque-mon-p p:first-child {
  margin-top: 0;
}