@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&display=swap");

:root {
	/* ### Primary */
	--Desaturated-Red: hsl(214, 43%, 58%);
	--Soft-Red: hsl(0, 93%, 68%);

	/* ### Neutral */
	--Dark-Grayish-Red: hsl(0, 6%, 24%);

	/* ### Gradients */
	/* - Linear, 135deg, from hsl(0, 0%, 100%), to hsl(0, 100%, 98%) */
	/* - Linear, 135deg, from hsl(0, 80%, 86%), to hsl(0, 74%, 74%) */
	--Font-size: 16px;
	--Family: "Josefin Sans", sans-serif;
	/* - Weights: 300, 400, 600 */
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: var(--Family);
}

html {
	overflow-x: hidden;
	font-size: var(--Font-size);
	min-height: 100vh;
	width: 100vw;
	background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
	background-attachment: fixed;
}
body {
	overflow-x: hidden;
	font-size: var(--Font-size);
	min-height: 100vh;
	width: 100vw;
	background: url(./images/hero-desktop.jpg) right top no-repeat;
	background-size: contain;
}

.container {
	background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
	background-attachment: fixed;
}

img {
	max-width: 100%;
}

header .logo {
	width: 7rem;
	margin: 2rem 0 2rem 2rem;
}

.hero img {
	width: 100%;
}

main {
	display: flex;
	justify-content: center;
	align-items: center;
}

main h1 {
	font-size: 3rem;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--Dark-Grayish-Red);
	letter-spacing: 0.6rem;
	line-height: 1.05;
	text-align: center;
	margin: 2.5rem 0 1rem 0;
}

main h1 span {
	font-weight: 300;
	color: var(--Desaturated-Red);
}

main .lead {
	margin: 0rem 2.3rem 2.3rem 2.3rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	color: var(--Desaturated-Red);
}


@media (min-width: 549px) {
	.hero {
		display: none;
	}

	body {
		min-height: 100vh;
	}

	.container {
		width: 61%;
		min-height: 100vh;
		min-width: 400px;
		max-width: 850px;
		background-attachment: fixed;
		background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
	}

	header .logo {
		width: 10rem;
		margin: 2rem 0rem 2rem 8vw;
	}

	main h1 {
		text-align: left;
		margin: 2.5rem 2rem 1rem 8vw;
	}

	main .lead {
		width: 65%;
		margin: 0rem 0rem 2.3rem 8vw;
		text-align: left;
	}

}