/*
 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: smooth;
}

body {
    background-image:linear-gradient(to right,var(--color-primary-dark),var(--color-primary-dark));
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-attachment:fixed;
}

/* Button animation */
.bricks-button {
    position: relative;
}

.bricks-background-primary:after {
    content: '';
    visibility: visible;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,var(--color-orange),var(--color-orange));
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    border-radius: 5em;
    animation: button-pulse 4s infinite ease-in-out;
    transition: all 5s ease-in-out;
}

@keyframes button-pulse {
    50%,100% {
        width:120%;
        height:150%;
        opacity:0
    }
    0% {
        opacity:0
    }
    10% {
        opacity:.4
    }
}

/* Form */
form.brxe-form div.message.success {
    background-color: rgba(242, 242, 242, 0.1);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

/* Section with Background */
@media (min-width: 1025px) {
	.section-bckg {
		background-attachment: fixed;
	}
}