
@media screen and (max-width: 768px) {
  header {
    padding: 40px 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .informaticiens-card {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding: 10px;
  }

  .informaticiens-card img {
    height: 180px;
  }

  .container3 {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  footer p {
    font-size: 0.9rem;
  }
  .projets{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
h3{
  font-size: 30px;
  font-weight: bold;
  margin: auto;
}
.pp{
   font-size: 25px;
   font-weight: bold;
   padding: 10px 10px;
}

    body
{
    background-color: rgb(202, 163, 144);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
}
header, footer{
  padding: 1rem;
}
a{
  display: inline-block;
  margin: 0 10px;
}
header 
{
    background-color: rgb(7, 7, 70);
    color: aliceblue;
    text-align: center;
    padding: 10px 20px;
}    
header div
{
   font-size: 1rem;
   font-weight: bolder;
   font-family: Arial, Helvetica, sans-serif;
   line-height: 1.6;
}

h2{
    border-radius: 8px;
    background-color: rgb(181, 139, 139);
    font-weight: bold;
}
.container ,.container1, .container3,.container4,.container5{
    padding: 10px;
    max-width: 100%;
}
.informaticiens-histoire
{
    padding: 10px 10px;
    text-align: center;
    background-color: antiquewhite;
    font-size: 1rem;
}

.informaticiens
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}

.informaticiens-card
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(203, 194, 184);
    border-radius: 8px;
    box-shadow: 10px 10px 10px black ;
    overflow: hidden;
    transition: transform 0.3s;
    gap: 10px;
    padding: 10px;
}
.informaticiens-card a{
  font-size: 0.9rem;
  padding: 8px 12px;
}
.p
{
    font-size: 1.6rem;
    font-weight: bold;

}
.informaticiens-card p{
  font-size: 1rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
}
.informaticiens-card:hover{
    transform:Y(-5px);
}
.informaticiens-card img{
   
    max-width: 100%;
    height: 250px;
    display: block;
    border-radius: 8px;
}
 .links-info {
    text-decoration: none;
    border-radius: 8px;
    background-color: rgb(4, 19, 87);
    color: rgb(208, 224, 225);
    padding: 10px 10px;
   
}

 a:hover
{
   background-color: rgb(246, 140, 11);
}

.links-entete{
  text-decoration: none;
    border-radius: 4px;
    background-color: rgb(188, 196, 232);
    color: rgb(37, 4, 68);
    padding: 5px 5px;
    justify-content: space-between;
}
.links-infos{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;

}
.links-infos a{
  margin: 5px;
  font-size: 1rem;
  text-decoration: none;
  width: 90%;
  text-align: center;
  font-size: 1rem;
}
@media (max-width:768px){
  .links-infos{
    flex-direction: column;
    align-items: center;
  }
  .links-infos a{
    font-size: 1.2rem;
    padding: 10px;
  }
}
footer
{
    background-color: rgb(7, 7, 70);
    color: aliceblue;
    justify-content: space-between;
}
.container3
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-link a
{
    text-decoration: none;
    border-radius: 4px;
    background-color: rgb(208, 224, 225);
    color: rgb(4, 19, 87);
    padding: 10px 10px;
   
}
.social-link a:hover
{
   color: rgb(246, 140, 11);
}








/*-----------------------------LES BIOS----------------------------------------------------------------------------------------*/

    .HERO {
      background-color: #f9f9f9;
      padding: 40px 20px;
      font-family: Arial, sans-serif;
      max-width: 800px;
      margin: auto;
      line-height: 1.6;
    }
    .titre{
      
        text-align: center;
        font-weight: bold;
        margin: auto;
        font-family: 'Courier New', Courier, monospace;
    }

    .HERO h1 {
      text-align: center;
      color: #222;
      font-size: 32px;
      margin-bottom: 20px;
    }

    .HERO img {
      display: block;
      margin: 0 auto 20px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
    }

    .bio-block {
      background-color: white;
      padding: 20px;
      margin-bottom: 20px;
      border-left: 4px solid #0077cc;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      border-radius: 8px;
    }

    .bio-block h2 {
      margin-top: 0;
      color: #0077cc;
    }

    .bio-block ,ul ,ol{
      padding-left: 20px;
      display: inline-block;
      margin-bottom: 20px;
      text-decoration: none;
      color: white;
      background-color: #443675;
      padding: 10px 20px;
      border-radius: 6px;
    }

    .bio-block p{
      display: inline-block;
      margin-bottom: 20px;
      text-decoration: none;
      color: white;
      background-color: #443675;
      padding: 10px 20px;
      border-radius: 6px;
    }

    @media screen and (max-width: 600px) {
      .HERO {
        padding: 20px 10px;
      }
        .apropos {
        padding: 20px 10px;
      }

      .apropos h1 {
        font-size: 24px;
      }
       .HERO h1 {
        font-size: 24px;
      }

      .bio-block h2 {
        font-size: 18px;
      }
    }


/*-----------------------------------apropos-----------------------------------*/
.about , .parcours , .projets , .contact-me
{
    background-color: rgb(9, 21, 195);
    border-radius: 10px;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 20px;
    margin: 0;
  
    
}



.apropos img
{
      display: block;
      margin: 0 auto 20px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
}
.apropos
{
   line-height: 1.6;

}
.container5{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
   padding: 20px 20px;

}



/*CONTACTES*/
.contacts
{
    padding: 80px 20px;
    background-color: #f5ecec;
    text-align: center;
}
.contacts h2
{
    font-size: 32px;
    margin-bottom: 30px;
}
.contact-form
{
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input,
.contact-form textarea{
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}
.contact-form button {
    background-color: rgb(37, 2, 84);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    }




  .return-link
{
    text-decoration: none;
    border-radius: 4px;
    background-color: rgb(208, 224, 225);
    color: rgb(4, 19, 87);
    padding: 10px 10px;
   
}
.return-link a:hover
{
   color: rgb(246, 140, 11);
}


@media  screen and (max-width:768px){
   .links-infos{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
   }
   
   .links-infos a{
    width: 90%;
    text-align: center;
    font-size: 1rem;
   }
   .informaticiens-card p{
    font-size: 1rem;
   }
   .informaticiens-card a{
     font-size: 0.9rem;
     padding: 8px 12px;
   }
   .galery{
    grid-template-columns: 1fr;
   }
   .contact-form input,
   .contact-form textarea{
    font-size: 1rem;
    width: 100%;
   }
}
.tarif{
  font-size: 30px;
  background-color: #0077cc;
  color: #f9f9f9;
  text-align: center;          /* 👉 centre tout */
  padding: 20px;
}

.imgtarif{
  max-width: 100%;             /* 👉 l'image ne dépasse JAMAIS l'écran */
  height: auto;                /* 👉 garde la bonne proportion */
  border-radius: 10px;
  margin-top: 10px;
}

/* 👉 Responsive pour mobile */
@media (max-width: 600px){
  .tarif{
    font-size: 20px;           /* texte légèrement plus petit */
    padding: 15px;
  }

  .imgtarif{
    max-width: 100%;           /* reste bien dans l'écran */
  }
}

.gg{
  font-weight: bold;
  background-color: #443675;
  color: aliceblue;
  border-radius: 10px;
}



