/*
Theme Name: Organizer
Theme URI: https://wordpress.com/themes/organizer/
Description: Organizer has a simple structure and displays only the necessary information a real portfolio can benefit from. It's ready to be used by designers, artists, architects, and creators.
Version: 1.0.1
Author: Automattic
Author URI: https://wordpress.org/themes/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: organizer
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}
.attachment-post-thumbnail  {
  filter: grayscale(100%) !important;
  mix-blend-mode: multiply !important;
  opacity: 0.95;
  transition: filter 0.10s ease, mix-blend-mode 0.5s ease, opacity 0.5s ease !important;
}

.attachment-post-thumbnail:hover  {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1;
  transition: filter 0.5s ease, mix-blend-mode 0.5s ease, opacity 0.5s ease !important;
}

/*anime texte*/

h2.magic {
  font-size: 5em;
  font-weight: 900;
  line-height: 1;
  /* Pas d'animation par défaut */
	animation: text-shadow 6.5s ease-in-out infinite;
}




@keyframes text-shadow {
  0%, 3.6% {  
    /* Départ et longue pause à la fin */
    transform: translateY(0);
    text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
  }

  0.9% {  
    /* Première étape de l'animation */
    transform: translateY(-1em);
    text-shadow: 
      0 0.125em 0 #0c2ffb, 
      0 0.25em 0 #2cfcfd, 
      0 -0.125em 0 #fb203b, 
      0 -0.25em 0 #fefc4b;
  }

  1.8% {  
    /* Deuxième étape de l'animation */
    transform: translateY(0.5em);
    text-shadow: 
      0 -0.0625em 0 #0c2ffb, 
      0 -0.125em 0 #2cfcfd, 
      0 0.0625em 0 #fb203b, 
      0 0.125em 0 #fefc4b;
  }

  2.7% {
    /* Troisième étape de l'animation */
    transform: translateY(-0.25em);
    text-shadow: 
      0 0.03125em 0 #0c2ffb, 
      0 0.0625em 0 #2cfcfd, 
      0 -0.03125em 0 #fb203b, 
      0 -0.0625em 0 #fefc4b;
  }

  3.6% {  
    /* Retour au point de départ pour la fin de l'animation */
    transform: translateY(0);
    text-shadow: 
      0 0 0 #0c2ffb, 
      0 0 0 #2cfcfd, 
      0 0 0 #fb203b, 
      0 0 0 #fefc4b;
  }
	 100% {
    transform: translateY(0);
    text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
  }
}


@media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
}


/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}