

body{
    /* Modifier la couleur de la page */
/* --------------------------------------------------------------- */
    background-color: white;
    font-family: century, Verdana, Tahoma, sans-serif;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.7)),
        url(assets/arriere_plan.jpg);
    /* Pour que l'image reste fixe quand je scroll */
    background-attachment: fixed;
    /* Pour que l'image prenne tout la page */
    background-size: cover;  
}

/* centerer la page */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* voici comment faire un effet glitch sur le titre */

.glitch {
    position: relative;
    font-size: 2em;
    font-weight: bold;
    color: #1c1919;
    letter-spacing: 0.05em;
    animation: glitchSkew 1s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #2e202d;
    animation: glitchAnim1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    animation: glitchAnim2 3s infinite linear alternate-reverse;
}

@keyframes glitchAnim1 {
    0% { clip-path: inset(20% 0 60% 0); }
    20% { clip-path: inset(80% 0 5% 0); }
    40% { clip-path: inset(50% 0 30% 0); }
    60% { clip-path: inset(10% 0 70% 0); }
    80% { clip-path: inset(60% 0 20% 0); }
    100% { clip-path: inset(30% 0 50% 0); }
}

@keyframes glitchAnim2 {
    0% { clip-path: inset(40% 0 40% 0); }
    20% { clip-path: inset(70% 0 10% 0); }
    40% { clip-path: inset(20% 0 60% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(30% 0 50% 0); }
    100% { clip-path: inset(10% 0 70% 0); }
}

@keyframes glitchSkew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-2deg); }
    20% { transform: skew(0deg); }
}

/* -------------------------------------------------------------------- */

/* voila comment mettre en forme l'introduction */

.blabla { color:rgb(7, 7, 77);font-size: 18px;
    margin-top: 15px;
    margin-bottom: 1px;
    

}

.intro {
  max-width: 900px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.intro h2 {
  text-align: gauche;
  color: #2c3e50;
}

.intro .resume {
  text-align: center;
  margin-top: 20px;
}

.intro .html {
  color: #1abc9c;
  font-weight: bold;
}

.intro .css {
  color: #3498db;
  font-weight: bold;
}

.intro .exercice {
  margin-top: 25px;
}


h1{
/* Les propriétés de type "Font"*/
/* --------------------------------------------------------------- */
font-size: 280%; 
/* couleur */
color: rgb(23, 3, 24);
/* style de l'écriture */
font-style: italic; text-decoration: underline;
/* mettre en gras */
font-weight: 900;
font-size: 40px;
}
/* Modifier couleur des titres h3 et mettre en gras*/

h2{color: rgb(222, 16, 154);
font-style: italic;
font-weight: 900px;
font-size: 25px;
text-decoration: underline;

}
h3{
color: dodgerblue;
font-weight: 900;
}
h4{
    color:rgb(7, 7, 77);
    font-weight: 900;
    font-size: 20px;
    font-style: italic;
    text-decoration: underline;
}

h5{color: darkmagenta;font-size: 90%;}
/* h1,h2, h3, h4, h5{ */
    /* color: blueviolet; */

    #p1{color: rgb(5, 140, 56);}
    .p1{color: darkorange;}
    .div1{color: rgb(8, 94, 8);font-size: 110%;font-weight: 900
    }
    .span1{color: brown;}
    .span2{font-size: 100%;
    color: deeppink;}

 h6{color:rgb(222, 16, 154);font-size: 15px;
    margin-top: 15px;
    margin-bottom: 1px;
    text-decoration: underline;
 }   

  
/* Modifier l'apparence du texte avec la fonction "text" */
/* --------------------------------------------------------------- */
/* text-align */
.span3{text-align: center;}
/* Text-transforme */
.span5{text-transform:uppercase;}
/* texte-deecoration */
.span5{text-decoration: underline;}
.span6{text-decoration: overline;}
.span7{text-decoration: line-through;}

/* text-indent */
.p2{text-indent:30px;}

/* Text-shadow : permet de créer une ombredans le texte */
.p3{text-shadow: 5px 5px 5px blue}

.p4{line-height: 1;}
.p5{line-height: 2; color: darkgreen;}

/* le model des boites en CSS */

.div3{background-color:rgb(78, 230, 39);
            width: 280px; 
            padding: 10px ;
            border: 4px solid rgb(33, 72, 33);
            margin: 5px 
}

/* Propriété CSS Display */
.div5{color: rgb(247, 10, 10);
}
.b1{display: block; border: 1px solid red;}
.b2{display: inline;border: 1px solid black;}
.b3{display: inline-block;border: 1px solid rgb(8, 239, 19);}
.b4{display: flex;border: 1px solid rgb(166, 9, 244);}
.b5{display: grid;border: 1px solid rgb(61, 175, 228);}
.b6{display: none;border: 1px solid rgb(228, 34, 196);}


/* <!-- Propriété CSS Position -- */

.t2{background-color: rgb(182, 182, 238);}
.t3{position: relative;
    left: 50px;     

}

/* Propriété Float et clear */

.f4{float: left;}

/* Mettre en forme un tableau  */

.td1{border: 1px solid black;padding: 20px;
}

/* corriger les contours afin de supprimer les séparations */

.u2{border-collapse: collapse;
}

.co1{background-color: aqua;}
.co2{background-color: bisque;}
.co3{background-color: rgb(104, 202, 234);}

th{background-color:greenyellow;}

.co4{background-color: chocolate; border:1px solid black;padding: 20px; border: 1px 
    solid black;padding: 20px;}


    /* Redimentionner des images avec css */

.imm1{width: 140px;
padding: 10px; 
border: 2px solid black;
}   
.imm2{width: 300px;
    padding: 5px;
    border: 1px solid black;

}
.imm3{width: 200px;
    padding: 5px;
    border: 1px solid black;
}
.imm4{width: 210px;
    padding: 10px;
    border: 2px solid black;
}
.imm5{width: 301px;
    padding: 3px;
    border: 2px solid black;
  
    }

.imm6{width: 288px;
    padding: 3px;
    border: 2px solid black;
    }

/* Redimentionner video */

.vid1{
  width: 300px;   /* largeur fixe */
  height: auto;   /* garde les proportions */
    border: 3px solid #f00f0f;
    border-radius: 3px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);}

/* couleur de la partie liens */

/* Couleur des liens normaux */
a:link {color:rgb(15, 128, 45); /* ou #FF0000, ou rgb(255, 0, 0) */}

/* Couleur des liens au survol */
a:hover {color: orange;}

/* Couleur des liens visités */
a:visited {color: rgb(142, 9, 142);}

/* Couleur des liens au survol */
a:hover {color: orange;}

/* Couleur des liens actifs (au moment du clic) */
a:active {color: green;}


li::marker {
    content: "✓ ";
    color: green;
    font-weight: bold;}

    /* Les transitions en HTML */

.trans{
        width: 300px;
        height: 200px;
        background-color: aquamarine;
        transition:width 1s, background-color 1s;}
.trans:hover{
        width: 350px;
        height: 180px;
        background-color: rgb(226, 231, 82)}   
        
        
     /* les animation en CSS     */

 .anim{ width: 270px;
        height: 70px;
        position: relative;
        background-color: aquamarine;
        animation-name:chgt-couleur;
        animation-duration:2s;
        animation-timing-function:ease;
        animation-delay: 1sec;
        animation-iteration-count: infinite;
        animation-direction: alternate; }

/* Pour anciens navigateurs Safari/Chrome */
@-webkit-keyframes chgt-couleur {
    0% { background-color: #00fff9; top: 0px; left: 0px; }
    25% { background-color: #25d086; top: 0px; left: 30px; }
    50% { background-color: #b7b0f7; top: 30px; left: 30px; }
    75% { background-color: #c53c73; top: 30px; left: 0px; }
    100% { background-color: #00fff9; top: 0px; left: 0px; }
}
/* Version standard (OBLIGATOIRE !) */
@keyframes chgt-couleur {
    0% { background-color: #00fff9; top: 0px; left: 0px; }
    25% { background-color: #25d086; top: 0px; left: 30px; }
    50% { background-color: #b7b0f7; top: 30px; left: 30px; }
    75% { background-color: #c53c73; top: 30px; left: 0px; }
    100% { background-color: #00fff9; top: 0px; left: 0px; }
}
/* .ani{line-height: 1.2px;}   */
   

/* boutons inscription, contact, fair un dont */

/* En-tête */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* position: sticky; */
    top: 0;
    z-index: 1000;}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;}

.logo {
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
    color: #333;}
    

/* Conteneur des icônes */
.icons-container {
    display: flex;
    gap: 40px;
    align-items: center;}

/* Lien icône + texte */
.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;}

.icon-link:hover {
    transform: translateY(-5px);}

/* Cercle de l'icône */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 8px;
    transition: all 0.3s ease;}

.icon-link:hover .icon-circle {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);}

/* Texte sous l'icône */
.icon-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;}

/* COULEURS */

/* Inscription (Bleu) */
.icon-link.inscription .icon-circle {
    background: linear-gradient(135deg, #909dd5, #b99bd8);
    color: white;}

.icon-link.inscription:hover .icon-text {
    color: #8f9fe9;}

/* Contact (Violet/Rose) */
.icon-link.contact .icon-circle {
    background: linear-gradient(135deg, #f093fb, #26ea61);
    color: white;}

.icon-link.contact:hover .icon-text {
    color: #26ea61;}

/* Don (Orange/Rouge) */
.icon-link.don .icon-circle {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;}

.icon-link.don:hover .icon-text {
    color: #ff6b6b;}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;}

    .icons-container {
        gap: 25px;}

    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 24px;}

    .icon-text {
        font-size: 12px;}
}
/* ajouter un bouton bouton recherche */

.search-container {
  position: relative;
  width: 300px;           /* largeur fixe */
  margin: 17px auto;      /* centrer horizontalement */
}

.search-container input {
  width: 100%;
  padding: 10px 40px 10px 40px; /* espace pour la loupe à gauche et le bouton */
  border-radius: 50px;
  border: 2px solid #ccc;
  outline: none;
  font-size: 16px;
  box-sizing: border-box;
}

.search-container button.search-icon {
  position: absolute;
  left: 10px;              /* place la loupe à l’intérieur à gauche */
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #888;
  padding: 0;
}








 




