/*
Theme Name: Celebrate
Author: Celebrate Creative
Author URI: https://celebratecreative.com
Theme URI: https://celebratecreative.com
Tags: full-site-editing, editor-style, block-styles
Text Domain: celebrate
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4.3
Version: 1.7.3
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	--wp--style--gallery-gap-default: var(--wp--custom--flex-gap--gallery);
}

::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);
}

.entry-content.is-layout-constrained {
	margin: 0px;
	margin-block-start: 0px;
	margin-block-end: 0px;
}

a {
	transition: all 0.3s ease;
}

figure {
	margin: 0;
}

p, h1, h2, h3, h4, h5, h6 {
	margin-block-start: 0px;
    margin-block-end: 0px;
}

root {
	--wp--style--block-gap: 0px !important;
}

body :where(.wp-site-blocks) > * {
	margin-block-start: 0px;
	margin-block-end: 0;
}

body :where(.is-layout-flow) > * {
	margin-block-start: 0px;
	margin-block-end: 0;
}

body :where(.is-layout-constrained) > * {
	margin-block-start: 0px;
	margin-block-end: 0;
}

iframe {
	display: flex;
}

.home>*, .page-template-default>*, .post-template-default>* {
	overflow: clip; 
	max-width: 100% !important;
}

@media ( min-width: 768px ) {
	.wp-block-navigation.nav-primary--mobile {
		display: none;
	}
}

@media ( max-width: 767px ) {
	.wp-block-navigation.nav-primary--desktop {
		display: none;
	}
}

:focus-visible {
    outline: none;
}

@media ( max-width: 767px ) {
	.column-reverse {
		display: flex;
		flex-direction: column-reverse;
	}
}