/*
 Theme Name:   Hot House
 Theme URI:    https://www.hot-h.co.uk
 Description:  A custom theme for Hot House, built using Bricks Builder.
 Author:       thisishel.
 Author URI:   https://thisishel.com
 Template:     bricks
 Version:      1.1
 Text Domain:  hot-house
*/

.brxe-button.bricks-button {
  width: fit-content;
  gap: 4px;
  padding-right: 10px;
  transition: all 0.1s ease-in-out;
  padding-left: 0px;
}

body {
	--hh-page-transition-opacity: 0;
  --hh-page-transition-header-offset: 0px;
}

.brxe-button.bricks-button span:last-of-type {
/*  margin-left: 10px; */
}

  .brxe-button.bricks-button:hover {
    padding-right: 0px;
    color: #8F7B49!important;
  }

  .brxe-button.bricks-button > :last-child {
    transition: transform 0.1s ease-in-out;
  }

  .brxe-button.bricks-button:hover > :last-child {
    transform: translateX(10px);
  }

  .brxe-button.bricks-button svg  {
    transition: all 0.1s ease-in-out;
  }

	.brxe-button.bricks-button:hover svg path  {
    fill: #8F7B49!important;
  }

.bricks-type-hero, .hero-text, h2.hero-text, h3.hero-text {
    font-size: 4rem;
    line-height: 1.2;
    font-family: "Playfair Display";
    font-weight: 400;
    text-wrap: pretty;
}

number-flow {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

body::before {
  content: '';
  position: fixed;
  inset: var(--hh-page-transition-header-offset) 0 0 0;
  background-color: #f8f4e8 !important;
  background-image: none !important;
  opacity: var(--hh-page-transition-opacity);
  pointer-events: none;
  mix-blend-mode: normal;
  z-index: 99999;
}

#brx-header {
  z-index: 100000;
  will-change: transform;
}

@include media-breakpoint-down(md) {
  .bricks-type-hero, .hero-text, h2.hero-text, h3.hero-text {
    font-size: 2.5rem;
  }
}

@include media-breakpoint-down(sm) {
  .bricks-type-hero, .hero-text, h2.hero-text, h3.hero-text {
    font-size: 1.8rem;
  }
}

#brx-header .brxe-section {
  backdrop-filter: blur(8px);
}

:where(.brxe-nav-menu) .bricks-nav-menu .sub-menu {
    line-height: 30px;
}

ul.sub-menu {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

  ul.sub-menu a {
  transition: color 0.2s ease, transform 0.2s ease;
  }

  ul.sub-menu a:hover {
    color: #8F7B49!important;
  }

body #brx-header {
    position: fixed;
}