html,body,footer,main {
    margin-top: 0%;
    margin-bottom: 0%;
    margin-left: 0%;
    margin-right: 0%;
    background-color: rgb(214, 214, 214);
}
p,h2 {
    font-family: "Patua One", serif;
    font-weight: 400;
    font-style: normal;
}

/* css en tete */
.imagelogo{
    display: flex;
    flex-direction: row;
    background-color: rgb(214, 214, 214);
}
.logo1 {
    width: 10%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}
.logo1 img {
    object-fit: cover;
    width: 100%;

}
.logochinte {
    width: 40%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}
.logochinte img {
    object-fit: cover;
    width: 100%;
    
}
.logoskif {
    width: 40%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}
.logoskif img {
    object-fit: cover;
    width: 80%;
}
.logo5 {
    width: 10%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}
.logo5 img {
    object-fit: cover;
    width: 100%;
}
/* fin css en tete */
/* onglet nav */
.nav {
    display: flex;
    flex-direction: row;
    background-color: black;
    align-items: center;
}
.ongletaccueil, .ongletouetquand,.ongletfederation,.ongletcontact,.ongletkarate,.ongletenbref,.ongletgalerie,.ongletvideo {
    display: flex;
    justify-content: center;
    flex: 1;
    align-items: center;

}
.nav a {
    text-decoration: none;
    color: white;
    align-items: center;
}
.nav p {
    line-height: 1;
    align-items: center;
    padding-top: 10px;
}
.nav a:hover , .text a:hover {
    color: gray;
}
/* fin css onglet nav */
/* img central accueil */
.imgaccueil img  {
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: -1;
    margin-bottom: 0%;
    padding-bottom: 0%;
}
.text a      {
    text-decoration: none;
    color: black
}
.text {
    position: absolute; /* Positionne le texte sur le diaporama */
    top: 100%; /* Centrer verticalement */
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuste précisément le centrage */
    color: black; /* Couleur du texte pour qu'il soit visible sur le fond */
    text-align: center; /* Centre le texte */
    z-index: 2; /* S'assure que le texte est au-dessus de l'image */
    font-family: "Patua One", serif;
    padding: 10px; /* Espace autour du texte */
    background-color: rgb(214, 214, 214);
    border-radius: 50px;
}
.sitation {
    color: rgb(130,130,130);
}
/* fin img centrale accueil */
/* logo facebook dans footer */
.footer-basic {
  background-color: rgb(214, 214, 214);
  color:black;
  padding-top: 20px;
}

.footer-basic a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-basic a:hover {
  opacity:1;
}
.social img:hover {
    content: url(photo/enveloppe2.png);
}
.footer-basic .social {
  text-align:center;
  padding-bottom:25px;
}

.footer-basic .social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid black;
  margin:0 8px;
  color:inherit;
  opacity:0.75;
}

.footer-basic .social > a:hover {
  border: 1px solid red;
  color:rgb(255, 0, 0)
}
.social img{
    width: 40px;
    height: auto;
    margin-bottom: 5px;
}
/* fin facebook dans footer*/
/* footer */ 

.boxfooter {
    display:grid;
    grid-template-columns: 33% 33% 33%;
    height: auto;
    background-color: rgb(214, 214, 214);
    padding: 0;
}
.boxfooter h2{
    line-height: 0.8;
}
.gauche {
    place-items: center;
    display: grid;
}
.milieu {
    place-items: center;
    display: grid;
}
.droit{
    place-items: center;
    display: grid;
}
.droit a:hover {
    color: red;
    text-decoration: none;
}
.gauche a:hover {
    color: red;
    text-decoration: none;
}
.copy {
  position: fixed;
  bottom: 5px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.3); /* fond noir très transparent */
  color: white;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  user-select: none; /* Empêche la sélection du texte */
  white-space: nowrap; /* Texte sur une seule ligne */
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  cursor: default;
  z-index: 1000; /* Toujours au-dessus */
}
.copy a {
    text-decoration: none;
    color: white;
}
.copy a:hover {
    color: white;
    text-decoration: none;
}
.copy p {
  margin: 0;
  padding: 0;
}

/* fin footer*/
.titre {
    text-align: center;
}
.texteouetquand {
    text-align: center;
}
/* css map */
/* css map*/
#map {
    height: 500px;
    width: 90%;
    max-width: 800px;
    margin: auto;
    border: solid 4px white
}

/* Style des directions sous la carte */
#directions {
    padding: 20px;
    background-color:rgb(214, 214, 214);
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 20px auto;
}
.directions {
    width: 0;
    height: 0;
}
/* Style des instructions de l'itinéraire */
#directions h3 {
    margin-bottom: 15px;
}

#directions ul {
    list-style: none;
    padding-left: 0;
}

#directions li {
    padding: 5px 0;
}


/* Style pour afficher le message d'attente de localisation */
.loading-message {
    background-color: rgba(0, 0, 0, 0.7); /* Fond noir avec transparence */
    color: rgb(255, 255, 255); /* Texte en blanc */
    padding: 20px;
    border-radius: 10px;
    font-size: 24px; /* Taille du texte plus grande */
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%; /* Centrer verticalement */
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuste le positionnement pour le centre exact */
    z-index: 9999; /* Placer le message au-dessus de la carte, mais en dessous des marqueurs */
}
.adresse {
    text-align: center;
}
.fede img{
    height: auto;
    width: 75%;
}
.fede {
    display: flex;
    align-items: center;
    justify-content: center ;
    flex-direction: row;
}
.collone1 {
    width: 10%;
    display: flex;
}
.collone2 {
    text-align: center;
}
.collone2 img{
    border: 2px solid #000;      /* bordure noire de 5px */
    border-radius: 20px; 
}
.collone3 {
    width: 10%;
    display: flex;
}
.policespeciale a{
    font-family: "Patua One", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}
/* css pag karaté */
.pagekarate {
    display: flex;
    flex-direction: row;
}
.pagekaratedroite {
    width: 60%;
    justify-content: center;
    align-items: center;
    display: flex;

}
.pagekaratedroite img {
    width: 80%;
    height: auto;
    border: 2px solid #000;
    border-radius: 20px;
}
.pagekarategauche {
    width: 40%;
    padding-left: 10px;
    text-align: justify;
}
/* css page contact */
.pagecontact{
    display: grid;
    grid-template-rows: 2 ;
    place-items: center;
    border-bottom:0px ;
}
.rh {
    display: flex ;
    flex-direction: column;
}
.pagecontact2{
    display: grid;
    grid-template-columns:1fr;
    place-items: center;
}

.titrecontact{
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-left: 20%;
    margin-right: 20%;
}
.imgcontact {
    display: grid;
    place-items: center;
}
.imgcontactpapa {
    display: grid;
    place-items: center ;
}
.imgcontactpapa img{
    width: 25% ;
    height: auto;
    border: 1.5px solid black;
    border-radius: 14px;
}
.imgcontact img{
    width: 36%;
    height: auto;
    border: 1.5px solid black;
    border-radius: 14px;
}
.description {
    text-align: center;
    margin-top: 10px;
    margin-left: 20%;
    margin-right: 20%;
}
.description a:hover {
    color: rgb(130,130,130);
    text-decoration: none;
}
.description a{
    color: black;
}
.explication {
    display: flex;
    border: solid 1.5px black;
    border-radius: 15px;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2%;
    margin-bottom: 2%;
}
.explication p{
    margin-left: 10px;
    margin-right: 10px;
}
/* css en bref */
.pageenbref {
    display: grid;
    grid-template-rows:5;
    place-items: center;
    gap: 10px;
}
.pageenbref a{
    color: black;
    text-decoration: none;
}
.pageenbref a:hover{
    color: red ;
}
.ligne1, .ligne2 , .ligne3 , .ligne4, .ligne5 {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding: 0;
    margin:0;
}
.aa, .ab, .ba, .bb, .ca, .cb, .da, .db, .ea, .eb {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}
.aa, .bb , .ca , .db, .ea {
    margin-left: 20%;
    margin-right: 20%;
}
.ab img{
    width: 75%;
    height: auto;
    border: solid 2px black;
    border-radius: 25px;
}
.ba img{
    width: 60%;
    height: auto;
    border: solid 2px black;
    border-radius: 25px;
}
.cb img{
    width: 70%;
    height: auto;
    border: solid 2px black;
    border-radius: 25px;
}
.da img{
    width: 65%;
    height: auto;
    border: solid 2px black;
    border-radius: 25px;
}
.eb img{
    width: 50%;
    height: auto;
    border: solid 2px black;
    border-radius: 25px;
}
.galeriefin h4{
    text-align: center;
    justify-content: center;
    display: flex;

}
/* css video */
.videos {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 56.25%;     
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%;
    height: 70%;
    max-width: 100%;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

.videos iframe {
    position: absolute;      
    top: 0;
    left: 0;
    width: 100%;              
    height: 90%; 
    border: none;             
}