html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #000;
  font-family: 'Roboto', sans-serif;
  overflow-y: scroll;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none;
}

.parallax-wrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
  overflow-y: scroll;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none;
}

.parallax-wrapper::-webkit-scrollbar, html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
  width: 0px!important;
}

.menu {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 50;
}

.menu-bkd {
  background-color: rgba(50, 50, 50, 0.8);
}

.menu-item {
  display: inline-flex;
  flex-direction: column;
  font-size: 15px;
  color: white;
  padding: 15px 0;
  margin-left: 25px;
  width: 100px;
  position: relative;
  
}

.menu-item a {
  width: 100%;
  height: 100%;
  
  text-decoration: none;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px black;
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 4px;
  width: 0%;
  color: transparent;
  background: #fff;
  transition: all .5s;
}

.menu-item:hover::after {
  width: 100%;
}

.page {
  position: relative;
  scroll-snap-align: center;
}

#p1 {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

.background {
    background-image: url("../img/concert_2_1.jpg");
    filter: grayscale(100%);
    /* opacity: 0.55; */
    width: 100%;
    position: absolute;
    min-height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
}

.caption .title {
  color: white;
  font-weight: 400;
  font-size: 45px;
  letter-spacing: 10px;
  margin-left: 10%; 

}
.caption .description {
  color: white;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 5px;
  width: 60%;
  margin-top: 3%;
  margin-left: 10%;
}

.expand {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 24px;

  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
.expand a,
.expand a:focus,
.expand a:visited,
.expand a:active,
.expand a:hover {
  text-decoration: none;
  color: white;
}

.expand > a > span {
  font-size: 40px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/*
    Page Présentation

*/

#p2 {
  background-color: rgba(255, 255, 255, 0.95);
  color: black;
  height: 500px;
}

.p2-wrapper,
.offer-slider-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: visible;
}

.p2-wrapper {
  flex-direction: row;
}

.offer-content {
  text-align: center;
  font-size: 15px;
  width: 50%;
}

#offer-pic {
    background-image: url("../img/formules/3/2.jpg");
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.offer-content-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
}

.offer-content-description {
  font-size: 24px;
  font-weight: 400;
}

/**
  Page Formules
*/

#p3 {
  background-color: rgba(0, 0, 0, 0.95);
  color: white;
  padding-top: 200px;
  padding-bottom: 200px;
}

#p3 h4 {
  margin: 0;
  width: 100%;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 200px;
}

#p3 .formule-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 50px;
}

#p3 .formule-wrapper fieldset {
  width: 800px;
  height: 400px;
  display: flex;
  flex-direction: row;
}

#p3 .formule-wrapper fieldset legend {
  font-size: 25px;
}

#p3 .formule-wrapper fieldset div {
  width: 50%;
  height: 100%;
}

#p3 .formule-wrapper fieldset .offer-descr {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#p3 .formule-wrapper fieldset iframe,
#p3 .formule-wrapper fieldset img {
  border: 1px solid white;
}


#p3 .formule-wrapper fieldset img,
#p3 .formule-wrapper fieldset iframe {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/**
  Page Contact
*/

#p4 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  column-gap: 50px;
  width: 100%;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.95);
}

#p4 fieldset {
  border: 1px solid black;
  width: 450px;
  color: black;
  height: 200px;
}

#p4 fieldset legend {
  font-size: 28px;
}

#p4 fieldset h4 {
  font-size: 24px;
}

#p4 fieldset h5 {
  font-size: 20px;
}

#p4 fieldset ul {
  list-style-type: none;
}

#p4 fieldset:nth-of-type(2) ul {
  padding: 0;
}

/**
  Footer
*/

footer {
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #bdbdbd;
  width: 100%;
}

footer h4 {
  font-size: 10px;
}



/*
  Gallery
*/

#gallery {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
}

#gallery-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-active {
  display:flex !important;
}

.gallery-bar {
  position: absolute;
  width: 100%;
  height: 50px;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.gallery-bar span{
  user-select: none;
}

.gallery-bar span:hover{
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

#gallery img {
  object-fit: cover;
  width: 100%;
  height: 80%;
  display: none;
}

#gallery .active {
  object-fit: contain;
  width: 100%;
  height: 70%;
  display: block;
}


@media (max-width: 1024px) {
  #p3 .formule-wrapper fieldset {
    width: 400px;
    height: 200px;
  }
  #p3 .formule-wrapper fieldset img,
  #p3 .formule-wrapper fieldset iframe {
    height: 150px;
  }
  #p4 {
    flex-direction: column;
  }
  #p4 fieldset {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  
}

@media (max-width: 768px) {
  .offer-content-title {
    font-size: 30px;
  }
  
  .offer-content-description {
    font-size: 14px;
  }
  .menu {
    display: none;
  }
}

@media (max-width: 480px) {
  #p3 .formule-wrapper fieldset {
    width: 290px;
    height: 150px;
  }
  #p3 .formule-wrapper fieldset legend {
    font-size: 20px;
  }
  #p3 .formule-wrapper fieldset .offer-descr {
    font-size: 12px;
  }
  #p3 .formule-wrapper fieldset img,
  #p3 .formule-wrapper fieldset iframe {
    height: 100px;
  }
  .offer-content-title {
    font-size: 20px;
  }
  .offer-content-description {
    font-size: 12px;
  }
  .caption .title {
    font-size: 35px;
  }
  #p4 fieldset {
    width: 300px;
    height: 155px;
    font-size: 12px;
  }
}