/*!
Theme Name: Insomniafestival
Theme URI: https://insomniafestival.no
Author: Sarah Galantini
Author URI: https://github.com/galantinisarah
Description: FSE theme for Insomniafestival.
Tags: full-site-editing, block-patterns, accessibility-ready, block-styles, custom-colors, custom-logo, custom-menu, editor-style one-column, template-editing, translation-ready, wide-blocks
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: insomniafestival
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Global Normalizer */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

html {
	box-sizing: border-box;
	-ms-overflow-style: scrollbar;
	scroll-behavior: smooth;

}

body {
	overflow-x: hidden;
}

@media (max-width: 900px) {

	html,
	body {
		overflow-x: hidden;
	}

}

a {
	text-underline-offset: 3px;
	text-decoration-thickness: 0.8px;
	transition: all 250ms ease-in-out;

	&:hover,
	&:focus {
		font-style: italic;
	}

}

*,
*::before,
*::after {
	box-sizing: inherit;
	min-width: 0;
	font-synthesis: none !important;
}

strong {
	font-weight: 600;
}

/* FSE Fix for images. */
figure img {
	width: 100%;
	object-fit: contain;
}

.site-footer,
footer {
	@media all and (max-width: 900px) {
		* {
			text-align: center;
			justify-content: center;
		}

		.wp-block-columns {
			flex-direction: column;
			flex-wrap: wrap !important;
		}

		.wp-block-column {
			flex-basis: 100% !important;
			width: 100%;
		}
	}
}
