@keyframes couleurTexte {
    0% {color: rgb(255, 0, 0); /* Rouge */}
    50% {color: rgb(255, 255, 255); /* Blanc */}
    100% {color: rgb(255, 0, 0); /* Retour au Rouge */}
}
@keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
  }
  
  @keyframes couleurTexte {
    0% {
        color: rgb(255, 0, 0); /* Rouge */
    }
    50% {
        color: rgb(255, 255, 255); /* Blanc */
    }
    100% {
        color: rgb(255, 0, 0); /* Retour au Rouge */
    }
}
* {box-sizing: border-box;}
body{
    background-color: #0F257A;
    text-align: center;
}
p {
    font-size: 1.2rem; 
    color: #fff;
}
img {
    border: 5px solid #FCDD44; 
    border-radius: 5px;
   
}
img:hover {
 /* border: 5px solid red;*/  border-radius: 5px; box-shadow:8px 8px 10px 0 rgba(255, 255, 255, 05);/*0,0,0,0.5*/
}
a, em {
    color: red;
}
h2, span, .texte, .textebas, .textebas p, .cadrebas_texte, .bloc {
    color: #ffffff;
}
.main{}
.content, .cadrebas_texte, .textebas, .textebas p {margin: auto;}
.texte, .textebas, .textebas p, .cadrebas_texte {
    font-size: 1.2rem; 
}
.texte { 
    width:100%;
    line-height: 30px;
    font-family :Arial, Helvetica, sans-serif; 
    font-weight: bolder;
    }
.texte_anim{
    margin-bottom:25px;
}
.container {display: flex; justify-content: center;}
.block{}
.textebas{
    width: 70%;
}
.textebas, .textebas p {
    font-family:Arial, Helvetica, sans-serif;
    font-weight: normal; 
     /* padding-top:15px;*/
    margin-top: 10px;
}
.cadrebas_texte {
    font-family:Arial, Helvetica, sans-serif; 
}
.image {
    display: block;max-width: 40%; height:auto;
}
 .text-flottant {
     animation: float 3s ease-in-out infinite;
 }
 .bloc {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 2s forwards, float 6s ease-in-out infinite;
        margin: auto ;/*1rem 0*/
        max-width: 67rem;
        text-align: center;
        line-height: 1.6rem;
        font-size: 1.2rem;
  }
      .bloc:nth-child(1) { animation-delay: 0s, 0s; }
      .bloc:nth-child(2) { animation-delay: 2s, 0s; }
      .bloc:nth-child(3) { animation-delay: 4s, 0s; }
.container {
      position: relative;
      width: 100%;
      /* max-width: 800px; */
    margin: auto;
}
.overlay {
      position: absolute; 
      bottom: 0; 
      background: rgb(0, 0, 0);
      background: rgba(0, 0, 0, 0.5); /* Black see-through */
      color: #f1f1f1; 
      width: 42%;
      transition: .5s ease;
      opacity:0;
      /*color: white; */
      font-size: 20px;
      /*padding: 20px;*/
      text-align: center;
      margin:auto;
}
.container:hover .overlay {
    opacity: 1;
}
.texte-animation {
    /*width: 100%;*/
   animation: couleurTexte 3s infinite; 
}
.cadre-ombre {
    /* 1. Dimensions et Centrage */
    max-width: 850px; /* Exemple de largeur maximale */
    margin: 20px auto;
    
    /* 2. Cadre interne (Optionnel : espace entre l'image et l'ombre) */
    background-color: white; 
    padding: 10px; 
    
    /* 3. L'Ombre Portée (box-shadow) */
    /* Valeurs: décalage-x | décalage-y | flou | étalement | couleur */
    box-shadow: 
    /* Ombre principale légère pour la profondeur */
       0 8px 16px rgba(0, 0, 0, 0.2),
    /* Ombre plus subtile pour un effet plus doux */
    0 4px 6px rgba(0, 0, 0, 0.1); 
        
    /* 4. Bordure simple (optionnel, pour un look plus net) */
    border: 1px solid #ccc;
}
.cadre-relief {
    /* 1. Dimensions et Centrage */
    max-width: 850px;
    margin: 20px auto;
    background-color: #eee; /* Un fond légèrement gris aide l'effet 3D */
    padding: 5px; 
    
    /* 2. L'Effet de Relief (border-style) */
    /* Une bordure épaisse est nécessaire pour voir l'effet 3D */
    border-width: 15px;
    border-color: #ccc #aaa #888 #bbb; /* Couleurs différentes pour simuler la lumière */
    
    /* Le style clé pour le relief : */
    border-style: ridge; 
    /* OU : border-style: groove; pour un effet de cadre encastré */
    
    /* 3. Ombre intérieure subtile (pour l'effet de profondeur) */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}