:root {
  --main-color: #046dcc;
  --second-color: #046dcc;
  --bright-color: #6e4aad;
  --darker-color: #2f4858;
  --lighter-color: white;
}

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

body {
  font-family: "Prompt", sans-serif;
  color: white;
  font-style: oblique;
  text-align: justify;
  margin: 0px;
  width: 100%;
  background-image: linear-gradient(
    to right top,
    #2b14c6,
    #293cd3,
    #3458dc,
    #4871e2,
    #6089e6,
    #5a9cef,
    #5daef4,
    #69bff8,
    #52cffe,
    #41dfff,
    #46eefa,
    #5ffbf1
  );

}

header {
  height: auto;
  width: 100%;
  /* overflow: hidden; pour que la carte ne dépasse pas du header */
}

.mainTitle {
  position: absolute;
  padding: 20px;
  font-family: "Permanent Marker", cursive;
  font-size: 40px;
  color: var(--lighter-color);
  text-shadow: 0.1em 0.1em rgba(0, 0, 0, 0.4);
  z-index: 2;
}

svg {
  cursor: help;
}
path {
  fill: transparent;
}

path#zone1-map:hover {
  opacity: 0.25;
  fill: yellow;
}
path#zone2-map:hover {
  opacity: 0.25;
  fill: red;
}
path#zone3-map:hover {
  opacity: 0.25;
  fill: blue;
}
path#zone4-map:hover {
  opacity: 0.25;
  fill: rgb(28, 197, 12);
}

ul {
  padding: 0px;
  margin-bottom: 30px;
  border: 0px;
  list-style-type: none;
  background-color: var(--lighter-color);
  color: var(--main-color);
  display: flex;
  justify-content: space-evenly;
}

li {
  display: inline;
  text-align: center;
  padding: 10px;
}

a {
  text-decoration: none;
  color: var(--main-color);
}

li:hover,
a:hover {
  background-color: var(--second-color);
  color: var(--lighter-color);
  cursor: pointer;
}

.faq {
  color: var(--lighter-color);
}

/**************************************************************************
** MAP
**************************************************************************/
/*.map {
  position: relative;
  width: 100%;
}
 */
/* img.marker {
  height: 20px;
}

img#zone1-map {
  position: relative;
  left: 870px;
  top: 160px;
}

img#zone2-map {
  position: relative;
  left: 750px;
  top: 140px;
}

img#zone3-map {
  position: relative;
  left: 705px;
  top: 130px;
}

img#zone4-map {
  position: relative;
  left: 620px;
  top: 240px;
}*/

/**************************************************************************
** SECTION CAROUSEL
**************************************************************************/
.photos {
  display: flex;
  width: 100%;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 55vw;
  border-radius: 10px;
  margin: 20px auto;
  overflow: hidden;
  box-shadow: 8px 8px 4px -3px rgba(0, 0, 0, 0.7);
}

.carousel-container {
  display: flex;
  position: relative;
  width: 100%;
  animation: carousel 10s ease-in-out infinite;
}
.carousel-container-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
}

@keyframes carousel {
  0%,
  20% {
    transform: translateX(0);
  }
  25%,
  45% {
    transform: translateX(-55vw);
  }
  50%,
  70% {
    transform: translateX(-110vw);
  }
  75%,
  95% {
    transform: translateX(-165vw);
  }

  100% {
    transform: translateX(-220vw);
  }
}

#name-area {
  font-size: 38px;
  color: var(--lighter-color);
  text-align: center;
}

.area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-square {
  display: flex;
  /*display: inline-block;*/
  display: none;
  text-align: center;
  background-color: var(--lighter-color);
  margin: 30px;
  width: 420px;
  height: 680px;
  border-radius: 10px;
  box-shadow: 8px 8px 4px -3px rgba(0, 0, 0, 0.7);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.category-title {
  text-align: center;
  color: var(--darker-color);
}

.category-img {
  width: 90%;
  height: 40%;
  overflow: hidden;
  object-fit: cover;
  margin: 10px;
  border-radius: 5px;
  box-shadow: 6px 6px 3px -2px rgba(0, 0, 0, 0.7);
}

.category-description {
  width: 90%;
  height: 40%;
  margin: 10px;
  padding: 5px;
  background-color: var(--lighter-color);
  color: var(--darker-color);
  text-align: justify;
  text-overflow: ellipsis;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: 100px; */
  width: auto;
  background-color: var(--second-color);
  text-align: center;
}

div.footer {
  width: 80%;
  display: inherit;
  justify-content: space-between;
  align-items: baseline;
}

i {
  width: 40px;
  height: 40px;
  background-color: var(--second-color);
  border-radius: 50%;
  color: var(--lighter-color);
}

.listenAnthem {
  width: 30%;
}
/* Woodsprites */
.woodSprite {
  position: absolute; /* relative;*/
  top: -120px;
  height: 120px;
}


@media screen and (max-width: 800px) {
  body {
    margin: 0px;
    padding: 0px;
    background-image: url("img/map-column.png");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }

  .mainTitle {
    position: absolute;
    padding: 10px;
    font-family: "Permanent Marker", cursive;
    font-size: 28px;
    color: var(--lighter-color);
    text-shadow: 0.1em 0.1em rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  ul {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    border: 0px;
    list-style-type: none;
    background-color: var(--lighter-color);
    color: var(--main-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  li:hover {
    background-color: inherit;
    color: var(--main-color);
  }

  .reservation:hover {
    background-color: inherit;
    color: var(--main-color);
  }

  .carousel {
    position: relative;
    width: 85vw;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 8px 8px 4px -3px rgba(0, 0, 0, 0.4);
  }

  @keyframes carousel {
    0%,
    20% {
      transform: translateX(0);
    }
    25%,
    45% {
      transform: translateX(-85vw);
    }
    50%,
    70% {
      transform: translateX(-170vw);
    }
    75%,
    95% {
      transform: translateX(-255vw);
    }

    100% {
      transform: translateX(-340vw);
    }
  }

  #name-area {
    font-size: 30px;
    color: var(--lighter-color);
    text-align: center;
  }

  .area {
    display: flex;
    flex-direction: column;
  }

  .footer {
    padding: 18px 0;
    margin-left: 5px;
    margin-top: 0;
    border: 0;
    color: var(--lighter-color);
    font-size: 10px;
    display: flex;
    justify-content: space-around;
  }

  .listenAnthem {
    font-size: 10px;
  }
  
  div.footer {
    width: 50%;
    display: inherit;
    justify-content: space-between;
  }

  i {
    width: 15px;
    height: 15px;
    background-color: var(--lighter-color);
    border-radius: 50%;
    color: var(--secondary-color);
  }
  .buttons {
    display: none;
  }
  audio {
    width: 200px;
    height: 40px;
  }

  .listenAnthem {
    width: 50%;
  }
  .woodSprite {
    height: 60px;
  }
}
