/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

.arrow-link {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  transition: color .3s;
  position: relative;
  padding-right: 1em;
  text-decoration: none;
  transition: color .3s;
}

.arrow-link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.25em;
  width: 0.5em;
  height: 0.5em;
  border-right-width: 0.15em;
  border-bottom-width: 0.15em;
  box-sizing: content-box;
  transform: translateY(-50%) rotate(-45deg);
  transition: all .3s;
}

.arrow-link:hover::after {
  transform: translateY(-50%) rotate(-45deg) translate(0.25em, 0.25em);
}

.arrow-link::before {
  content: "";
  position: absolute;
  height: 0.15em;
  opacity: 0;
  transform-origin: bottom right;
  top: calc(50% - 0.15em / 2);
  width: 0.15em;
  right: 0px;
  transform: translateX(-4px);
  transition: all .3s;
}

.arrow-link:hover::before {
  opacity: 1;
  width: 0.625em;
  transform: translateX(1px);
}

/* Define a transition duration during page visits */
html.is-changing .transition-fade {
  transition: opacity 0.3s;
  opacity: 1;
}

/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
  opacity: 0;
}

body [data-balloon-pos]:after, body [data-balloon-pos]:before {
  transition: all 0.18s ease-out 0.18s;
}

body [data-balloon]::before {
  --bricks-tooltip-bg: var(--color-slate-200) !important;
}

body [data-balloon]::after {
  background: var(--color-slate-200) !important;
  color: var(--color-slate-500) !important; 
  font-weight: 400 !important;
}

body [data-balloon]:hover:after {
  opacity: 95% !important;
}
