body {
  font-family: Arial, sans-serif;
  background-color: #f1f1f1;
  color: #333;
}

h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.search {
  font-size: 24px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.search-buttons {
  display: flex;
  justify-content: center;
  align-items: center; /* Nouvelle propriété pour centrer les éléments verticalement */
  gap: 10px;
  margin-bottom: 20px;
}

#youtube {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #ff2f19;
  color: white;
  border-radius: 5px;
}

#google {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #0087f4;
  color: white;
  border-radius: 5px;
}

#ouedkniss {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #ffb900;
  color: white;
  border-radius: 5px;
}

.search-buttons button:hover {
  background-color: #45a049;
}

.keyboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 5px;
  margin-bottom: 20px;
}

.keyboard {
  font-size: 24px;
  padding: 10px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  text-align: center;
  border-radius: 5px;
  margin: 3px;
}

.space,
.backspace,.clear {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 5px;
  margin: 3px;
}

.space {
  background-color: #333;
}

.backspace {
  background-color: #333;
}

.clear {
  background-color: #333;
}

.space:hover
 {
  background-color: #45a049;
}

.backspace:hover

{
  background-color: orange;
}

.clear:hover

{
  background-color: red;
}
/* Nouveaux styles pour les écrans étroits */

@media screen and (max-width: 600px) {
  .search {
    font-size: 20px;
  }
  
  #youtube, #google {
    font-size: 16px;
    padding: 8px 16px;
  }
  
  .keyboard {
    font-size: 20px;
    padding: 8px;
  }
  
  .space,
  .backspace {
    font-size: 16px;
    padding: 8px 16px;
  }
}

/* Définition de l'animation "flash" */


    /* Applique l'animation "flash" au champ "texteria" */
    .red-text{
       
               background-color: red; 
    }
     
	 
	 .button {
      display: inline-block;
     
      border: none;
      color: white;
      padding: 10px 20px;
      text-align: center;
      text-decoration: none;
      margin: 4px 2px;
      cursor: pointer;
      border-radius: 5px;
    }
	
	 /* Style pour le pied de page */
    footer {
      background-color: #F8F8F8;
      color: #333;
      padding: 20px;
      text-align: center;
      font-size: 14px;
      margin-top: 50px;
    }

    /* Style pour le lien de la signature */
    footer a {
      color: #333;
      text-decoration: none;
      font-weight: bold;
    }

    /* Style pour la div de la signature */
    footer .signature {
      margin-top: 10px;
      font-size: 12px;
    }
	
	/* Style pour le filigrane */
.watermark {
  position: relative;
}

.watermark:after {
  content: "Zmaster Keyboard Clavier Arabe / ???? ?????? ???????";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
}