/**
 * GamesVTV Base Styles
 * @package GamesVTV
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--gv-font-sans);
	font-size: var(--gv-text-body);
	line-height: var(--gv-leading-body);
	color: var(--gv-text-primary);
	background-color: var(--gv-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--gv-text-primary);
	text-decoration: none;
	transition: color var(--gv-duration) var(--gv-ease);
}

a:hover {
	color: var(--gv-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--gv-font-display);
	font-weight: 700;
	line-height: var(--gv-leading-tight);
	color: var(--gv-text-primary);
	margin: 0 0 0.5em;
}

h1 { font-size: var(--gv-text-h1); }
h2 { font-size: var(--gv-text-h2); }
h3 { font-size: var(--gv-text-h3); }

p {
	margin: 0 0 1.25em;
}

.gv-container {
	width: 100%;
	max-width: var(--gv-container);
	margin-inline: auto;
	padding-inline: var(--gv-gutter);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--gv-card-bg);
	clip: auto !important;
	clip-path: none;
	color: var(--gv-text-primary);
	display: block;
	font-size: var(--gv-text-small);
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
