/*
Theme Name: Spry Fox: Friendship Project
Theme URI: 
Author: WP Special Projects
Author URI: https://wpspecialprojects.com
Description: Block theme for the Spry Fox Project Friendship.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cozy-grove-camp-spirit
Tags: 
*/


html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

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

/* FONT SIZES */

.has-large-font-size,
.has-x-large-font-size {
	letter-spacing: -0.01em;
}

.has-xx-large-font-size {
	letter-spacing: -0.02em;
}


/* PAGE.HTML */

.page-bg-parent-gradient {
	background-position: center calc( 72.5vw - var( --wp-admin--admin-bar--height, 0px ) ) !important;
}

.wp-block-post-title {
	text-wrap: balance;
}


/* 404.HTML */

.image-404 {
	position: relative;
}

@keyframes exclamation-intro {
	0% {
		opacity: 0;
		transform: translateY( 50% ) scale( 0 );
	}
	100% {
		opacity: 1;
		transform: translateY( 0% ) scale( 1 );
	}
}

.image-404:before {
	animation: exclamation-intro .3s 1.75s cubic-bezier(0.14, 0.4, 0.09, 0.99) both 1;
	aspect-ratio: 112 / 124;
	background: url(assets/exclamation-bubble_2x.png) no-repeat center;
	background-size: contain;
	content: "";
	display: block;
	position: absolute;
		right: 69%;
		top: -28%;
	width: 40%;
	z-index: 1;
}

@keyframes image-flip {
	45% {
		transform: rotateY( 0deg );
	}
	55% {
		transform: rotateY( 180deg );
	}
	100% {
		transform: rotateY( 180deg );
	}
}

.image-404 img {
	animation: image-flip 3s forwards alternate infinite;
}


/* EDITOR STYLES */

.wp-block-post-title.editor-post-title {
	text-transform: none;
}

/* SEPARATOR */
.is-style-thick {
	border-top: 2px solid currentcolor;
}
