#titre_randonnee{
	position: fixed;
	padding: 2.5em;
}
.scroller{
	width: 100%;
	height: 60vh;
	overflow-y: scroll;
	scrollbar-width: thin;
    position: absolute;
}

/*CSS de la page Loading*/

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    font-family: 'Comfortaa', sans-serif;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
        }
    to {
        transform: rotate(360deg);
    	}
    }

#loading-screen p {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}

#start{
    position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
				
}

button {
  background: linear-gradient(253.58deg, #6BE38D 1.55%, #00997B 66.84%);
  position: fixed;
  padding: 16px 24px;
  z-index: 10;
  color: white;
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
}

 button:after {
    background: linear-gradient(253.58deg, #00997B 1.55%, #6BE38D 66.84%);
    content: '';    
    display: block;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -10;
    transition: opacity 0.5s;
    border-radius: 8px;
  }

button:hover:after {
  opacity: 1;    
}

	
#object-info{
	box-shadow: 10px 5px 5px rgba(56, 56, 56, 0.171);
				
}

a{
	color: black;
}
	
body {
    cursor: default; /* Default cursor */
}

@keyframes fade {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

#object-info{
    max-width: 384px;
   opacity: 1;
   animation: fade 1s linear;
    position: fixed;
    height: 98%;
    color: rgb(56, 54, 54);
    background-color: #ffffff;
    border-radius: 50px;
   
    display: none;
    margin: 10px 10px 10px 30px;
}

#info-image{
    width: 100%;
}

#btn_exit{
    width: 38.4px; 
    height: auto; 
    cursor: pointer;
    position: absolute;
    top : 0; 
    right: 0; 
    padding: 20px;
}

#info-content {
    color: rgb(92, 89, 89);
    background: rgb(53, 53, 53);
    padding: 10px;
    max-width: 500px;
	height: 850px;
    border-radius: 5px;
}

#info-title {
	padding: 10px 10px 10px 10px;
    margin: 10px 0 5px 0;
    font-size: clamp(1rem, 2vw, 1.3rem);   /* min: 16px, max: 22px */
	font-family: Permanent Marker;
}

#info-subtitle {
	padding: 10px 10px 10px 10px;
    margin: 5px 0;
    font-size: clamp(1rem, 0.5vw, 1rem);   /* min: 16px, max: 22px */
    color: #292828;
	font-family: comfortaa;
}

#info-description {
	padding: 10px 10px 10px 10px;
    margin-top: 10px;
	font-family: comfortaa;
    font-size: clamp(1rem, 0.5vw, 1rem);   /* min: 16px, max: 22px */
}

 #explication_icones {
    position: fixed; 
    right: -260px;
    width: 300px;
    /* height: auto; */
    padding: 2em;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    }

    #explication_icones.active {
    right: 260px;
    }

footer{
	position: fixed;
	padding: 2em;
	bottom: 0;
	right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
}

#pop-up_infos{
 position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    font-family: 'Comfortaa', sans-serif;
transform: scale(0.0);
  transition: visibility 0s linear 0.5s,opacity 0.5s linear, transform 0.5s ease;
  opacity: 0;
  visibility: visible;


}

#pop-up_infos.active {
  opacity: 1;
  visibility: visible;
   transform: scale(1);
}

 #pop_infos{
z-index: 1;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     gap: 20px;
     padding: 20px;
    width: 40vw;
    height: 65vh;
    background-color: white;
    border-radius: 50px;
    box-shadow: 10px 5px 5px rgba(56, 56, 56, 0.171);
/* top: 15%;
left: 30%; */
  object-fit: contain;
   
 }
 
 p{
    color: #000;
    font-size: 1.5vh;
 }

#info_gif{
  
 width: 100%;
  height: auto;
  max-height: 60%;
  object-fit: contain;
  display: block;
}

span{
    font-weight: bold;
    color: #9bc64a;
}

#btn_ok {

  width: 7vw;
 
  cursor: pointer;
  
}  

#btn_ok:hover {
  filter: drop-shadow(0 0 0.2rem #a0a0a0);
}


/* Réglages pour Mobile*/
 @media(max-width: 768px)
 {
    h3{
        font-size: 1em;
    }
    body{
        /* font-size: 10px; */
    }
    #info-title{
        font-size: 1.5em;
    }
    #object-info{
        height: 100%;
        margin: 0;
        margin-top: 50px;
        z-index: 9999;
        max-width: 100vw;
        border-radius: 50px 50px 0px 0px;
    }
    #explication_icones {
        width: 250px;
    /* position: fixed;
    right: -260px;
    width: 200px;
    padding: 2em;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1); */
    }

    #explication_icones.active {
    right: 0;
    }

    #info-description{
        height: 1500px;
    }

    #pop_infos{
        width: 80vw;
    }

    #btn_ok{
        width: 9em;
    }

 }

 @media(max-width : 1024px) and (orientation: landscape)
 {

    #object-info{
        height: 98%;
        width: 40%;
        margin: 10px 30px 10px 10px;
        z-index: 9999;
        font-size: 0.8rem;   
    }
    #info-subtitle{
        font-size: 0.6rem;
    }
    #info-description{
        font-size: 0.6rem;
    }
 }