/*
Theme Name: Chikara Holding
Description: Single-screen "Opening Soon" holding page for Chikara 1841, Port Adelaide.
Version: 1.0.0
Author: Anxious To Matter
Text Domain: chikara-holding
*/

*, *::before, *::after { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #050205;
}

body {
	overflow: hidden;
}

.holding {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: #050205;
}

.holding__img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* Desktop / landscape: fill the screen */
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
	user-select: none;
}

/* Portrait / mobile: scale the artwork so the logo and
   "Opening Soon" text fit the width, and fade the photo
   into the dark background at the top and bottom. */
@media (max-aspect-ratio: 1/1) {
	.holding__img {
		width: 240vw;
		height: auto;
		max-width: none;
		object-fit: initial;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
		mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
	}
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
