@import url(../inc/reset.css);
@import url(../inc/reset.css);
body {
  font-family: "Josefin Slab", serif;
  line-height: 25px;
  background-color: rgba(227, 195, 145, 0.6); }
  body a:hover {
    color: #ff5a5f;
    text-underline: none; }

nav {
  line-height: 50px;
  background: #6b9aad;
  height: 50px;
  width: 100%;
  position: fixed;
  z-index: 10; }
  nav li {
    line-height: 50px;
    float: left;
    font-size: 120%;
    margin: 2px 10px 20px 30px; }
    nav li a {
      line-height: 50px;
      text-decoration: none;
      color: white; }
    nav li a:hover {
      text-decoration: none;
      color: #ff5a5f; }
  nav .contact {
    float: right;
    margin: 2px 10px 20px 30px; }

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  /* Stay in place */
  z-index: 99999999;
  /* Sit on top */
  left: 0;
  top: 0;
  overflow-x: hidden;
  /* Disable horizontal scroll */
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  background-color: rgba(255, 90, 95, 0.9); }
  .overlay li {
    color: #6b9aad; }

.overlay-content {
  margin-top: 100px;
  z-index: 9;
  display: block; }
  .overlay-content span {
    margin: 80px; }
  .overlay-content a {
    line-height: 40%;
    font-size: 10vw;
    margin: 25px;
    width: 100%;
    height: auto;
    margin-top: 5%;
    float: left;
    -ms-grid-column-align: center;
    justify-self: center;
    margin-left: 15%;
    text-decoration: none;
    color: white; }
  .overlay-content a:hover {
    color: #548cbe; }

.close {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px; }
  .close img {
    width: auto;
    height: 150px; }

@media (min-width: 930px) {
  .on {
    display: none; } }

@media (max-width: 928px) {
  nav {
    line-height: 250%;
    font-size: 150%;
    height: 50px; }
    nav li > a {
      line-height: 25px;
      display: none; }
      nav li > a span {
        margin: 80px; }
    nav img {
      display: none; }
  nav .on {
    color: white;
    display: block;
    margin-left: -10px;
    margin-top: 7px;
    cursor: pointer; } }

footer {
  width: 100%;
  height: 100%;
  background: #6b9aad;
  color: white;
  position: -webkit-sticky;
  position: sticky; }
  footer .address {
    float: left;
    margin: 10px 0px 10px 10px; }
  footer .tel {
    float: right;
    margin: 10px 10px 0 0; }
  footer .share {
    clear: both;
    width: 100%; }

main h1 {
  height: 150px;
  padding-top: 90px;
  margin-bottom: 70px;
  font-size: 250%;
  line-height: 125%;
  text-align: center; }

main figure {
  overflow: hidden;
  height: 100%; }

main img {
  width: 100%; }

main p,
main figure,
main h2,
main div {
  width: 100%; }

main .carousel-indicators {
  z-index: 1; }

main .carousel-indicators li {
  height: 15px;
  width: 15px;
  background-color: #ff5a5f;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin: 2%; }

main ol {
  position: initial;
  z-index: -1;
  margin-bottom: 15px; }

main h2 {
  font-size: 150%;
  text-align: center;
  margin: 40px 0 40px 0;
  line-height: 125%; }

main section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 45% 45%;
  grid-template-columns: 45% 45%;
  grid-gap: 3%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  width: 95vw;
  margin: 40px 0 40px 0; }
  main section .texte {
    margin-left: 10px;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-grid-column: 2/ span 1;
    grid-column-start: 2/ span 1; }
  main section .carou {
    -ms-grid-column: 1 /span 1;
    grid-column-start: 1 /span 1;
    -ms-grid-row-align: center;
    align-self: center; }

@media (max-width: 928px) {
  main h1 {
    height: 200px;
    padding-top: 70px;
    font-size: 250%;
    line-height: 125%;
    text-align: center; }
  main section {
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 30px; }
    main section img,
    main section figure {
      max-height: 80vh; }
    main section .texte {
      margin: 0px 30px 40px 30px; }
  main .i {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse; } }
