/*
Theme Name: Unstoppable Events
Template: celebrate
Version: 1.0.22.1
*/

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&family=Inter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://use.typekit.net/dga5kif.css");

:root {
	accent-color: var(--wp--preset--color--primary);
    --wp--style--gallery-gap-default: var(--wp--custom--flex-gap--gallery);
    --wp--style--unstable-gallery-gap: var(--wp--custom--flex-gap--gallery);
    --color--senary--darker--5: hsl(from var(--wp--preset--color--senary) h s calc(l - 5));
}

::selection {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}

::-moz-selection {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}

input, select, textarea  {
	font-family: var(--wp--preset--font-family--body-font);
}

@media (max-width: 1279px) {
	.entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
	.entry-content .is-layout-constrained:not(.is-layout-constrained .is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
		max-width: var(--wp--custom--flex-width--mobile-constrained);
	}

	.is-layout-constrained .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
		max-width: none;
	}
}

.wp-element-button,
.wp-block-button__link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wp-element-button::before,
.wp-block-button__link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wp--preset--gradient--shine);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.wp-element-button:hover::before,
.wp-block-button__link:hover::before {
    transform: translateX(100%);
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    box-shadow: var(--wp--preset--shadow--glow-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-image: none;
}

.celebrate-child-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.celebrate-child-fade.is-visible {
    opacity: 1;
}

.sticky.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}


/* Vertically center cells in celebrate slider galleries (logo bar).
   Flickity top-aligns its absolutely positioned cells and sizes the
   viewport from their natural heights, so center by offsetting each
   cell instead of resizing it: the translate property composes with
   Flickity's inline transform without overriding it. */
.celebrate-gallery-format-slider .wp-block-gallery .flickity-viewport figure.wp-block-image {
    top: 50%;
    translate: 0 -50%;
    margin: 0;
}
