/*======================================
Theme Name: Wayfarers
Theme URI: https://divicake.com/
Description: A bespoke website by AboveMedia
Version: 1.0
Author: AboveMedia
Author URI: https://abovemedia.co.uk
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */


/*--- Abovemedia Link Text ---*/
.am-gradient-text {
  /* Fallback: Set a background color. */
  background-color: lilac;
	
  font-weight: 900;
  
  /* Create the gradient. */
  background-image: linear-gradient(90deg, #AC33FF, #FFFFFF);
  
  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

/* Pen Swoosh under Headers - SVG */
/* Ensure the parent .swoosh is relative for positioning context */
.swoosh {
  position: relative;
}

/* Swoosh under h3 */
.swoosh h3 {
  position: relative;
  display: inline-block;
}

.swoosh h3::after {
  content: '';
  position: absolute;
  bottom: -12px; /* Adjust to move it closer or further from h3 */
  left: 0;
  width: 100%;
  height: 50px; /* Adjust the height of the swoosh */
  background-image: url('https://way1.abovemedia.co.uk/wp-content/uploads/2024/11/swoosh-design.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(-0deg); /* Adjust rotation as needed */
  z-index: -1; /* Ensure the swoosh is behind the text */
  opacity: 0.4; /* Adjust the value to your liking (0 is fully transparent, 1 is fully opaque) */

}
