/*
 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
*/

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

::-moz-selection { 
background: var(--at-primary);
color: var(--at-white);
}
::selection { 
background: var(--at-primary);
color: var(--at-white);
}

.logo-sticky {
  display: none !important;
}
.brx-sticky.scrolling .logo-default {
  display: none !important;
}
.brx-sticky.scrolling .logo-sticky {
  display: block !important;
}

/* Stack divs */
.stack {
  display: grid;
  place-content: center;
  > * {
    grid-area: 1 / 1;
  }
}

.gradient-text {
  background: -webkit-linear-gradient(45deg, var(--at-primary-l-2), #37A6BB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gutenberg content styles */
h4.wp-block-heading {
  font-size: var(--at-heading--xs);
  margin: 1em 0 0.5em 0;
}
h3.wp-block-heading {
  font-size: var(--at-heading--s);
  margin: 1em 0 0.5em 0;
}
h2.wp-block-heading {
  font-size: var(--at-heading--m);
  margin: 1em 0 0.5em 0;
}
ul.wp-block-list { margin-top: 0;}