@mixin respond($breakpoint) { @if $breakpoint == phone { @media only screen and (max-width: 22.5em) { @content; } //<=360 px } @if $breakpoint == tablet-small { @media only screen and (max-width: 28.125em) { @content; } //<450px } @if $breakpoint == tablet { @media only screen and (max-width: 48.75em) { @content; } //<780px } @if $breakpoint == big-desktop { @media only screen and (min-width: 112.5em) { @content; } //>1800px } } @mixin gradient-text { background: var(--wp--preset--gradient--neon-pink-to-neon-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } @mixin gradient-border { display: flex; align-items: center; justify-content: center; position: relative; background-clip: padding-box; background-color: var(--wp--preset--color--background); border: 2px solid transparent; border-radius: var(--wp--custom--shade--border--radius); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); &::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; margin: -2px; border-radius: inherit; background-image: var(--wp--preset--gradient--neon-pink-to-neon-blue); cursor: pointer; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); } &:hover::before { filter: saturate(400%); } &:hover > * { filter: saturate(400%); } }