
/* selecteur universel */ /* ce truc sert à éviter les decallages de padding ou margin par defaut existant sur certaines balises */
* { box-sizing: border-box; }

/*body { 
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
    line-height: 1.5; 
    margin: 0; 
    padding: 0; 
    background: #f7f7fb; 
    color: #222; 
}
*/

body 
{   font-family : Trirong, Poppins, sans-cherif; 
    font-size : 20px; 
    background-color: rgb(248, 243, 243);
}

.sous_section
{
    text-align : center;
    /*background-color: purple;*/
    color: blue;
    margin : auto;
    width : 60%;
    margin-bottom: 10px;
    text-shadow: 4px 4px 4px white;
}

.header_avec_image
{
    display : inline-block;
    width : 60%;
    height: 500px;
    margin-left: 20%;
    background-image: url("../img/image_principale.jpeg");
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    background-size: cover;
    border-radius : 20px;
    padding : 10px;
}

.header_sans_image
{
    display : inline-block;
    width : 60%;
    margin-left: 20%;
    height : 500px;
    padding : 10px;
}

h2 
{   font-family : Audiowide; 
    text-align:center; 
    color : blue;
    width : 60%; 
    margin : auto;
    margin-bottom: 20px; 
    border-bottom : 1px black solid; 
    text-shadow:4px 4px 4px white;
}

video 
{ 
    width: 320px; 
    height : 240px;
}

footer 
{   position: static; 
    left:10px; 
    right:10px; 
    bottom:10px; 
    background:black; 
    text-align:center; 
    min-height:40px; 
    color: white;
}

iframe, video
{
    width: 100%;
    height : 100%;
    border: 1px solid black;
    border-radius: 10px;
}

/* <= 768px : empile tout en 1 colonne, boutons full width */
@media (max-width: 768px) {

  .header_avec_image, .header_sans_image, h2 { 
    width: 90%; 
    margin-left: 5%;
    height: 200px;
  }
  
   video { 
    width: 100%; 
    height : auto;
   }

   .grand_cadre_du_chat { width: 90%; }

  footer { position: static; }  /* évite de recouvrir le contenu */
}

/* <= 480px : densifie encore */
@media (max-width: 480px) {
    
  .header_avec_image, .header_sans_image, h2 { 
    width: 90%; 
    height: 200px;
    margin-left: 5%;
  }
 
   video { 
    width: 100%; 
    height : auto;
   }

   .grand_cadre_du_chat { width: 90%; }

   footer { position: static; }  /* évite de recouvrir le contenu */
}