body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
}

h4 {
    font-weight: 400;
}

h5 {
    font-size: 8px;
    font-weight: 100;
}

h6 {
    font-size: 4px;
    font-weight: 100;
}

@media only screen and (max-width : 430px) {

}
#map {
    background-color: red;
    width: 100%;
    height: 100vh;
    background-image: url(images/1-carte.jpg);
    background-size: contain;
    position: relative;
}

#search-bar-map {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

#bar-1 {
    width: 60%;
    height: 60%;
    background-color: black;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bar-1 * {
    margin: 1.5em;
}

#bar-1 input {
    width: 60%;
    background: none;
    border: none;
    font-size: 1rem;
    color: white !important;
}

#bar-1 img, #search-bar img {
    height: 50%;
}

#filter {
    height: 60px;
    width: 60px; 
    background-color: black;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    z-index: 500;
    width: 70%;
    height: 8vh;
    background-color: rgb(255, 255, 255);
    position: fixed;
    bottom: 2%;
    border-radius: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

nav a {
    height: 100%;
    width: 10%;
    display: flex;
    justify-content: ;
    align-items: center;
}

nav a img{ 
    width: 30px;
}

#rechercher {
    width: 70%;
    height: 7vh;
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.geo-filter {
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 100%;
    display: flex;
    justify-content: center;
}

.geo-filter img {
    width: 24px;
}

#center-map {
    height: 40px;
    width: 140px;
    background-color: black;
    color: #00FF47;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Page cherrche */

#search {
    width: 100vw;
    height: 25vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-bloc {
    width: 80%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#search-bar {
    width: 100%;
    height: 50px;
    background-color: black;
    border-radius: 40px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search-bar * {
    margin: 1.5em;
}

#search-bar input {
    width: 80%;
    background: none;
    border: none;
    font-size: 1rem;
    color: white !important;
}

#type-recherche {
    margin-top: 1em;
    height: 100%;
    width: 100%;
}

.type-recherche2 {
    margin-top: 10  px;
}

.type-recherche {
    width: 70%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-self: center;
}

.type-recherche div {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px black solid;
    color: rgb(0, 0, 0);
    border-radius: 20px;
}

.type-butt {
    text-decoration: none;
    padding: 1em;
    color: black;
    font-size: 0.8em;
}

#plus {
    display: flex;
}

#les-randos {
    display: flex;
    flex-direction: column;
    padding: 1em;
}

#carousel-rando {
    width: 95%;
    height: 15.5vh;

    position: relative;
    overflow-x: auto; /* Permet le défilement horizontal */
    display: flex; /* Dispose les .randos en ligne */
    align-self: center;
}

.randos {
    background-color: rgb(0, 0, 0);
    width: 150px;
    height: 135px;
    flex-shrink: 0; /* Empêche le redimensionnement des éléments pour qu'ils restent de taille fixe */
    margin: 5px;
    border-top-left-radius: 30px; 
    border-top-right-radius: 30px; 
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    justify-content: center;
}

.bloc-info-rando {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bloc-info-rando div {

}

.nom-rando {
    margin-top: 2px;
    height: 15px;
    display: flex;
    align-items: center;
}

.img-rando {
    background-color: grey;
    width: 90%; height: 50%;
    border-top-left-radius: 30px; 
    border-top-right-radius: 30px;
}

.info-rando {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    height: 20px;
    width: 91px;
    align-items: center;
}

.info-rando div {
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.info-rando div h6 {
    margin: 0;
    color: grey;
}

.info-rando div p {
    font-size: 6px;
    margin: 0;
}

.etoile {
    height: 12px;
    display: flex;
}

.voir-plus {
    margin-left: 0.6em;
    color: black;
    font-size: 0.8rem;
}

.les-randos-titre * {
    margin: 0;
}

.les-randos-titre {
    margin-bottom: 10px;
}

#afaire  {
    margin: 1em;
}

.les-randos-titre p {
    font-size: 0.8rem;
}

#afaireListe {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-around;
}

.faireBloc {
   flex: 0 0 auto;
    width: 90px; 
    height: 120px; 
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px black solid;
}

.faireBloc h5 {
    font-weight: bold;
    margin: 0;
}

.faireBloc p {
    font-size: 0.4rem;
    margin: 0.9em;
    text-align: center;
}

.faireBloc div {
    border: 1px solid black;
    width: 70%;
    height: 50%;
}

.vert { background-color: #00FF47; }
.bleu { background-color: #00E5FF; }
.rouge { background-color: #FF6A00; }
.bleudark { background-color: #4593BA; }
.black { background-color: rgb(53, 47, 47); color: white;}

#social {
    width: 100vw;
    margin-top: 5vh;
    background-color: black;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#titre {
    margin-top: 40px;
    position: relative;
    background-color: #00FF47;
    width: 35%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

#titre h2 {
    text-align: center;
}

#post {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post {
   width: 75%; 
   height: 40vh;
   border-radius: 20px;
   background-color: rgb(61, 58, 58);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: space-between;
   margin-top: 5vh;
   margin-bottom: 5vh;
}

.post-interact {
    width: 65%;
    height: 40px;
    background-color: black;
    border-radius: 50px;
    margin-top: 5%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.pseudo {
    border-radius: 50px;
    background-color:#262626;
    position: relative;
    height: 65%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pseudo div {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #00FF47;
}

.pseudo p {
    color: white;
    font-size: 0.1em;
    margin: 0;
    font-weight: 100;
}

.post-button {
    position: relative;
    height: 65%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap:3px;
}

.post-button div {
    width: 26px;
    height: 100%;
    border-radius: 100%;
    background-color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-button div img {
    width:50%;
}

.description {
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    border-radius: 20px;
    display: flex;
    position: relative;
    justify-content: center;
}

.descrip-bloc {
    width: 80%;
    height: 30px;
    position: relative;
    overflow-x: hidden;
    margin-bottom: 10px;
}

.descrip-bloc p {
    font-size: 0.5em;
    margin: 0;
    color: white;
}

.post1 {
    background-image: url(images/2-photo.png);
    background-size: cover;
}

#profil {
    width: 100%;
    height: 20vh;
    display: flex;
    gap: 10%;
}

#profil > div {
    height: 100%;
}

#pp {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20PX;
}   

#pp-img {
    background-color: black;
    height: 150px;
    width: 150px;
    border-radius: 100%;
}

#info-profil {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10%;
}

#pseudonyme {
    background-color: black;
    color: white;
    font-size: 0.7em;
    width: 9em;
    height: 25px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pseudonyme p {
    margin: 0;
}


#pp-info {
    display: flex;
    flex-direction: column;

}

#pp-info div {
    display: flex;
    gap: 5px;
}
#pp-info div img {
    height: 12px;
}

#pp-info div p {
    width: 100px;
    height: 100%;
    margin: 0;
    font-size: 0.6em;
}

#modifier {
    background-color: black;

    font-size: 0.6em;
    width: 7em;
    height: 20px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modifier a {
    text-decoration: none;
    color: white;
}

#favoris {
    width: 100%;
    height: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#favoris-titre {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#favoris-titre h4 {
    margin: 0;
}

#favoris-titre a {
    margin: 0;
}

#fav-liste  {
    width: 90%; 
    height: 140px; 
    display: flex; 
    flex-wrap: nowrap; 
    gap: 10px;
    overflow-x: auto; 
    padding: 5px; 
    box-sizing: border-box; 

}    

#survous {
    width: 100%;
    height: 70vh;
    background-color: black;
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

#survous > div {
    width: 90%;
}

#performance {
    height: 30vh;
}

#stats {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    display: flex;
    justify-content: center;
}

#kilometre {
    width: 140px;
    height: 145px;
    background-color: #197C35;
    border-radius: 20px;
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

#kilo-objectif {
    background-color: #00FF47;
    width: 100%;
    height: 70%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#kilo-objectif p:nth-child(2) {
    font-size: 0.5em;
    margin: 0;
}

#nombre-km {
    margin: 0;
    font-size: 1.2em;
}

#nombre-km2 {
    margin: 0;
    font-size: 0.2em;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.616);
}

#bar-stat {
    width: 60%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    gap: 20px;
}

.bar-statistique {
    width: 80%;
    height: 45px;
    background-color: #1FC14C;
    border-radius: 50px;
}

.bar-statistique div {
    height: 100%;
    width: 70%;
    background-color: #00FF47 ;
    border-radius: 45px;
}

.bar-bleu {
    background-color: #9F7FCA;
}

.bar-bleu div {
    background-color: #00E5FF;
}

#separateur {
    width: 80%;
    height: 4px;
    background-color: white;
    justify-self: center;
    margin-top: 5vh;
}

#amis {
    width: 90%;
    display: flex;
    justify-self: center;
    flex-direction: column;
    align-items: center;
}

.bar-amis {
    width: 70%;
    height: 50px;
    background-color: white;
    border-radius: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.bar-amis div {
    width: 35px;
    height: 35px;
    background-color: #4593BA;
    border-radius: 100%;
}

.bar-amis h4 {
    color: black;
    font-size: 0.7em;
    font-weight: 600;
    margin: 0;
}

.bar-amis img {
    height: 20px;
    margin: 0;
}