/*
Theme Name: Spectacle
Author: Widelab
Author URI: https://www.widelab.co/
Theme URI:
Tags: full-site-editing, block-patterns
Text Domain: spectacle
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

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

} */

html.lenis  {
    overflow: hidden;
  }

  @media (max-width: 75rem) {
	html.lenis {
		overflow: auto!important;
	}
}

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

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	background-image: url(assets/images/grain.png);
	background-repeat: repeat;
	background-size: 75px 75px;
}

.entry-content{
	overflow-x: clip;
}

main{
	padding-top: 0!important;
	padding-bottom: 0!important;
}

html.lenis, html.lenis body {
	height: auto;
}

html.lenis body.home {
    overflow: clip!important;
	height: 100vh;
}

@media (max-width: 75rem) {
	html.lenis body.home {
		height: auto!important;
	}
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

.lenis.lenis-scrolling iframe {
	pointer-events: none;
}