/**
 * Base styles.
 *
 * @package Psychologies
 */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--psy-font-body);
	font-size: var(--psy-text-base);
	line-height: var(--psy-line-height-base);
	color: var(--psy-text);
	background-color: var(--psy-background);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--psy-font-heading);
	line-height: var(--psy-line-height-tight);
	letter-spacing: var(--psy-letter-spacing-display);
	margin-top: 0;
	color: var(--psy-text);
}

h1 { font-size: var(--psy-text-5xl); }
h2 { font-size: var(--psy-text-4xl); }
h3 { font-size: var(--psy-text-3xl); }
h4 { font-size: var(--psy-text-2xl); }
h5 { font-size: var(--psy-text-xl); }
h6 { font-size: var(--psy-text-lg); }

p {
	margin-top: 0;
	margin-bottom: var(--psy-spacing-md);
}

a {
	color: var(--psy-primary);
	text-decoration: none;
	transition: color var(--psy-transition-fast);
}

a:hover,
a:focus {
	color: var(--psy-primary-light);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

blockquote {
	font-family: var(--psy-font-heading);
	font-style: italic;
	font-size: var(--psy-text-xl);
	line-height: var(--psy-line-height-base);
	border-left: 3px solid var(--psy-primary);
	padding-left: var(--psy-spacing-lg);
	margin: var(--psy-spacing-xl) 0;
	color: var(--psy-text-muted);
}
