/* 
REMERCIEMENT A 

Code
GAILLARD ROGER 
VINCENT ZAUG 
NILS RUSILLON

Design
TONY CEROVAZ
*/
                                                                                                                                        
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CODE ROGER */

*{box-sizing: border-box;}

#verylong {
  height: 4000vh;
  overflow: auto;
}

#map{
	position: fixed;
	left: 50%;
	top: 50%;
}

#mapWrap{
	position: absolute;
	background-image: url('Carte.png');
	background-position: center;
	background-size: 100%;
}

svg {
 width:  6861.47px;
 height: 3993.93px;
}

polygon{
	stroke: orange;
	stroke-width: 5; 
	fill: none;
	stroke-dasharray: 20;
  stroke-linecap: round;
}

circle.puce{
	stroke: transparent;
	stroke-width: 1;
	fill: none;
}

#dot{
  stroke: rgba(153, 165, 54);
  stroke-width: 2;
  fill: none; 
}

.card{
	display: none;
	position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  color: rgb(0, 0, 0);
  padding: 1em;
}

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

.dotUp{
  padding: 10px;
  background-color: rgba(153, 165, 54);
  border-radius: 100px;
  position: absolute;
}

.cardPict{
  padding: 100px;
  border-radius: 100px;

  background-size: cover;
  background-position: center;

  justify-content: center;
  align-items: center;

  transform: translate(100%);
  position: relative;
  z-index: 9;
  border: 3px solid rgba(153, 165, 54);
}

.card:after{
  content: '';
  position:absolute;
  width: 100%;
  transform: translate(50%);
  border: 2px solid rgba(153, 165, 54);
}

/* CODE TOM */

body {
  font-family: 'Jost', sans-serif;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 35px;
  font-weight: 300;
  letter-spacing: 0.4em;
  margin-top: 0;
}

h2 {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  color: white;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.pop {
  display: none;
  position: absolute;
  transform: translate(-100%, -200%);
}

#popBox{
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

#popBox.show{
  z-index: 999999;
}

.winPop {
  display: none;
  position: absolute;
  width: 75%;
  height: 80vh;
  background: rgba(249, 188, 141, 0.88);
  border-radius: 25px;
  border: 3px solid rgba(249, 188, 141);
  z-index: 999;
  padding: 2rem 0;
}

.winPop.show{
  display: block;
}

.close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 40px;
  right: 40px;
  background-image: url(../icons/cross.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease-in-out;
}

.close:hover {
  transform: scale(1.3) rotate(90deg);
}

/* Close cross */

.popContainer {
  height: 95%;
  overflow-y: scroll;
  padding: 0rem 2rem;
}

.popContainerTitle {
  text-align: center;
  font-size: 22px;
  font-weight: lighter;
  color: white;
}

.popContainer p {
  width: 100%;
  max-width: 45em;
  margin: 0 auto;
  color: white;
  margin-bottom: 1rem;
}

.popContainer .slideshow {
  width: 100%;
  max-width: 80em;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 25px;
  border: 3px solid rgba(249, 188, 141);
}

.slideshow span {
  display: block;
  width: 500px;
}

.slide {
  height: 60vh;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.pop.show,
.winPop.show {
  display: block;
}

/* Pop container */

::-webkit-scrollbar-thumb {
  background-color: rgba(255, 155, 67);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgba(249, 188, 141);
}

::-webkit-scrollbar {
  width: 7px;
}

.simplebar-scrollbar::before {
  height: 100px;
} 

/* Scrollbar */

.map-container {
  width: 100%;
  max-width: 1058px;
  margin: 0 auto;
  margin-top: 5rem;
}

.map-container iframe {
  width: 100%;
  height: 230px;
  border-radius: 15px;
  border: 3px solid #F9BD8D !important;
}

/* Google map */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(249, 188, 141);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1; 
  transition: opacity 1s ease; 
  display: none;
}

.loading-text {
  color: rgb(255, 255, 255);
  font-size: 40px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  text-align: center center;
}

.hidden {
  opacity: 0; 
  pointer-events: none;
} 

/* Loading screen */

.about {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 10px;
}

.shape-button {
  bottom: 10px;
  z-index: 99;
  position: fixed;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(153, 165, 54, 0.800);;
  border: 2px solid rgba(153, 165, 54);
  cursor: pointer;
  transition: all 0.6s ease;
}

.shape-button .text {
  display: none;
  font-size: 14px;
  color: white;
  padding: 25px;
  text-align: left;
  font-size: 16px;
  line-height: 1.3em;
}

.shape-button .h3 {
font-size: 25px;
}

.shape-button span {
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.700);
  font-size: 12px;
}

.shape-button.rectangle .text {
  display: block;
}

.shape-button.rectangle {
  width: 600px;
  height: 350px;
  border-radius: 15px;
}

/* About section */

.text-box {
  max-width: 1058px;
  margin: 0 auto;
  background-color: rgba(242, 116, 6, 0.400);
  border-radius: 20px;
  margin-top: 5rem;
  padding-top: 10px;
  padding-bottom: 3rem;
}

.audio-flex{
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

.webLink {
  text-align: center;
  font-size: 25px;
  font-weight: 400;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.webLink a {
  list-style-type: none;
  color: rgb(227, 227, 227);
}

