* {
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'GeneralSans-Regular', sans-serif;
}

body {}

@media all {
  b, strong {
    font-family: "GeneralSans-Bold", sans-serif;
  }

  i {
    font-family: "GeneralSans-Italic", sans-serif;
  }

  h1, h2, h3 {
    font-family: "Junicode-BoldCondensed", sans-serif;
  }

  h1 {
    font-size: 50px;
    line-height: 1.2em;
    margin-bottom: 0.5em;
  }

  p {
    margin-bottom: 0.3em;
  }

  h2.quote {
    text-align: center;
    font-size: 35px;
    line-height: 1.5em;
  }

  h2.quote::before {
    content: "«";
  }

  h2.quote::after {
    content: " »";
  }

  .bg-vert {
    background-color: var(--vert);
  }

  div.bg-vert>div>div>h1, div.bg-vert>div>div>p, div.bg-vert>div>div>h2 {
    color: var(--beige);
  }

  .bg-jaune {
    background-color: var(--jaune);
  }

  .bg-rouge {
    background-color: var(--rouge);
  }

  .bg-beige {
    background-color: var(--beige);
  }

  .container {
    display: inline-block;
    align-content: start;
    gap: 10px;
    width: 100%;
    padding-bottom: 25px;
  }

  iframe.map {
    width: 100%;
  }

  .flex-item {
    box-sizing: border-box;
    display: block;
  }

  .text-center {
    text-align: center;
  }

  header {
    position: fixed;
    z-index: 3;
  }

  .bg-header {
    height: 100vh;
    background-image: url(/img/headerimgcropped.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-clip: border-box;
    position: static;
    top: 0;
  }

  .bg-header.h35 {
    height: 35vh;
    filter: brightness(0.4);
  }

  .title {
    position: relative;
    top: 0;
    left: 0;
    margin-left: var(--margin);
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  nav {
    position: fixed;
    bottom: 0;
    left: 0;
    padding-left: 15px;
    min-height: 35px;
    width: 100%;
    z-index: 10;
    text-align: center;
    margin-bottom: 10px;
  }

  a, a:visited {
    color: black;
    white-space: normal;
    text-decoration: none;
    transition: 0.2s ease-out;
  }

  a:hover {
    color: var(--rouge);
  }

  a.button {
    background-color: var(--rouge);
    border-radius: 31px;
    display: inline-block;
    cursor: pointer;
    color: var(--jaune);
    font-family: 'Junicode-BoldCondensed', sans-serif;
    font-size: 25px;
    padding: 6px 25px 15px 25px;
    margin: 5px;
    text-decoration: none;
    align-items: start;
    line-height: 1em;
    text-align: center;
    vertical-align: top;
  }

  a.button.disabled, a.button.disabled:hover {
    cursor: not-allowed;
    filter: grayscale(100%);
    background-color: var(--rouge);
    color: var(--jaune);
  }

  a.button:hover {
    background-color: var(--jaune);
    color: var(--rouge);
  }

  a.button:active {
    position: relative;
    top: 1px;
  }

  img {
    max-width: 100%;
    max-height: 100%;
  }

  footer {
    width: 100%;
    background-color: var(--tonique);
    color: white;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 4.5em;
  }

  footer .container, footer .flex-row {
    padding: 0;
    margin: 0;
  }

  footer a, footer a:visited {
    color: var(--jaune);
  }

  footer a:hover {
    color: var(--beige);
  }

  /*SLIDESHOW CSS */
  /* Slideshow container */
  .slideshow-container {
    position: relative;
    margin: 0;
  }

  /* Hide he images by default */
  .mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5 {
    display: none;
  }

  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.1s ease-out;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: var(--jaune);
  }

  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }

  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active, .dot:hover {
    background-color: #717171;
  }
}

@media only screen and (min-width: 801px) {
  .mobile-only {
    display: none;
  }

  h2.quote {
    padding-left: 25vw;
    padding-right: 25vw;
  }

  .flex-row {
    box-sizing: border-box !important;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.4em;
    margin: var(--margin);
  }

  .f10 {
    width: 10%;
  }

  .f20 {
    width: 20%;
  }

  .f30 {
    width: 30%;
  }

  .f40 {
    width: 40%;
  }

  .f50 {
    width: 50%;
  }

  .f60 {
    width: 60%;
  }

  .f70 {
    width: 70%;
  }

  .f80 {
    width: 80%;
  }

  .f100 {
    width: 100%;
    max-width: calc(100vw - (3 * var(--margin)));
  }

  .landing-text {
    background-color: white;
    border-radius: var(--radius);
    width: 45vw;
    padding: 23px;
  }
}

@media only screen and (max-width: 800px) {
  .desktop-only {
    display: none;
  }

  .flex-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: var(--margin);
    margin-top: var(--margin);
  }

  nav {
    padding: 0;
  }

  header {
    position: sticky;
  }

  #header {
    margin-bottom: 2vh;
  }

  footer {
    text-align: center;
    padding-bottom: 20vh;
  }

  footer p {
    text-align: center;
  }

  iframe.map {
    width: calc(100vw - (3 * var(--margin))) !important;
  }

  .bg-header {
    position: absolute;
    z-index: 1;
    height: 50vh;
    margin-bottom: 5vh;
  }

  .flex-row.top {
    margin-top: 0;
    margin-bottom: 5px;
  }

  .landing-text {
    background-color: white;
    border-radius: var(--radius);
    margin: auto;
    width: 80vw;
    padding: 20px;
  }
}
