/*
 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.1
 Text Domain:  bricks
*/

html {
	scroll-behavior: auto;
}

/* =========================
   Link underline
========================= */
.txt-link-1,
.menu-item a {
  position: relative;
  text-decoration: none;
}

.menu-item a {
  width: fit-content !important;
}

.txt-link-1::before,
.menu-item a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.txt-link-1:hover::before,
.menu-item a:hover::before,
.menu-item a[aria-current="page"]::before {
  transform: scaleX(1) !important;
}
