html,
body {
  margin: 0;
  height: auto;
  min-height: 100%:
}

html {
  font-size: 14px;
}

@media screen and (min-width: 32em) {
  html { font-size: 16px; }
}

@media screen and (min-width: 48em) {
  html { font-size: 18px; }
}

body {
  font-family: 'Merriweather', serif;
  line-height: 1.5;
  font-size: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background-color: #fff;
  color: #333;
}

.site {
  margin: 0 auto;
  max-width: 60rem;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: "Lato", sans-serif; */
  font-weight: 900;
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

p {
  color: #333;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p {
  text-align: center;
}

h1, h2, h3, h4, h5 {
  width: 100%;
}

h1, h2 {
  color: #8A0000;
}


h1 { font-size: 4.5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.1rem; }
p { font-size: 1rem; }


@font-face {
  font-family: Alice;
  src: url(/Alice-Regular.ttf);
}

body {
  font-family: Alice;
  margin: 0;
  padding: .5rem 1rem;
  position: relative;
  overflow-x: hidden;
}

body::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url('background.jpg');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.3;
    content: "";
    z-index: -1;
}

.mairie-box-wrapper,
.domaine-box-wrapper
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.mairie-box,
.domaine-box
{
  flex-grow: 1;
  flex-shrink: 0;
}


.domaine-box { flex-basis: 95%; }
.mairie-box { flex-basis: 95%; }

@media screen and (min-width: 30em) {
  .domaine-box { flex-basis: 30%; }
}
@media screen and (min-width: 45em) {
  .mairie-box { flex-basis: 25%; }
}

.tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.person-tag {
  flex-basis: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: .5rem auto;

  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
}

@media screen and (min-width: 30em) {
  .person-tag { flex-basis: 40%; }
}

.person-tag:nth-child(2n+1) {
  flex-direction: row-reverse;
}

.person-text {
  flex-grow: 1;
}

.person-text .suptext {
  font-weight: 600;
  margin-bottom: .2rem;
}

.person-text .subtext {
  margin-top: .2rem;
  margin-bottom: .3rem;
  font-size: .8rem;
}

.person-text .telephone {
  margin-top: .2rem;
  margin-bottom: .5rem;
}

.person-tag img {
  margin: .5rem 1rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}

.notre-adresse {
  flex-basis: 100%;
}

.suptitle {
  margin-bottom: 1rem;
}

.date {
  margin-top: 1rem;
}

/*
.card {
  background: rgba(255, 255, 255, 0.7);
  // border: 1px solid #000;
  margin: 2rem 0;
  padding: 0 1rem 2rem 1rem;
  border-radius: 5px;
}
*/

.button-wrap {
  margin: 1rem auto;
  text-align: center;
  display: block;
}

.button {
  width: auto;
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  margin: 1rem auto;
  padding: .5rem 1rem .5rem 1rem;
  border-radius: 5px;
}


.mini-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  margin: 1rem 0;
  padding: 0 1rem 2rem 1rem;
  border-radius: 5px;
}

.password-mini-card {
  padding: 0 1rem 0 1rem;
}

.mairie-box, .domaine-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  padding: 0;
  border-radius: 5px;
}

.mairie-box {
  margin: .5rem .5rem;
  padding: 0 .5rem;
}

.domaine-box {
  margin: .5rem .5rem;
  padding: 0 .5rem;
}

/*
.mairie-box:first-child {
  margin-left: 0;
}
.mairie-box:last-child {
  margin-right: 0;
}
*/

.question {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  padding: 0 1rem .5rem 1rem;
  margin: .5rem 0;
  border-radius: 5px;
}

.question .question-title {
  font-weight: 600;
}

.banner {
  max-width: 90%;
  margin: 1rem auto;
}

img {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: blue;
}

a:visited {
  color: blue;
}
