/*
 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, body{
    min-height: 100dvh;
}

header{
    z-index: 2;
}

main{
    margin-top: -130px;
}

.bricks-button.bricks-background-primary{
	position: relative;
  overflow: hidden;
}

.bricks-button.bricks-background-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    right: 0;
    bottom: 0;
    width: 130%;
    height: 0%;
    margin: auto;
    transform: rotate(-45deg);
    background-color: var(--bricks-color-blccoy, #172000);
    transition: 700ms cubic-bezier(0.6, 1.5, 0.4, 0.7);
}

.bricks-button.bricks-background-primary:hover::before {
    height: 450%;
}

.bricks-button.bricks-background-primary span{
	z-index: 2;
}

.bricks-button.bricks-background-secondary{
	position: relative;
  overflow: hidden;
}

.bricks-button.bricks-background-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    right: 0;
    bottom: 0;
    width: 130%;
    height: 0%;
    margin: auto;
    transform: rotate(-45deg);
    background-color: var(--bricks-color-casaai, #1a9120);
    transition: 700ms cubic-bezier(0.6, 1.5, 0.4, 0.7);
}

.bricks-button.bricks-background-secondary:hover::before {
    height: 450%;
}

.bricks-button.bricks-background-secondary span{
	z-index: 2;
}

.bricks-button.bricks-background-light{
	position: relative;
  overflow: hidden;
}

.bricks-button.bricks-background-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    right: 0;
    bottom: 0;
    width: 130%;
    height: 0%;
    margin: auto;
    transform: rotate(-45deg);
    background-color: var(--bricks-color-blccoy, #172000);
    transition: 700ms cubic-bezier(0.6, 1.5, 0.4, 0.7);
}

.bricks-button.bricks-background-light:hover::before {
    height: 450%;
}

.bricks-button.bricks-background-light span{
	z-index: 2;
}