/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

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

* {
	margin: 0;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

input, button, textarea, select {
	font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

p {
	text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

/**
 * Fonts
 */

@font-face {
	font-family: "Raleway";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/Raleway-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Raleway";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/Raleway-Bold.ttf") format("truetype");
}

/**
 * Project
 */

:root {
	--color-beige: #fbf6ef;
	--color-gray: #d8ccbb;
	--color-toffee: #76573e;
	--color-burgundy: #490000;

	--font-primary: "Raleway", sans-serif;
}

html {
	background-color: var(--color-gray);
	font-family: var(--font-primary);
}

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

body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	justify-content: space-between;
	min-height: 100dvh;
}

body::before {
	content:"";
	display: block;
}

main {
	max-width: 64rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.main__logo {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

ul {
	display: flex;
	padding-left: 0;
	color: var(--color-burgundy);
	text-transform: uppercase;
	margin-bottom: 2rem;
	font-weight: 600;
	font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
}

li {
	list-style-type: none;
}

li:not(:last-child) {
	margin-right: .5em;
}

li:not(:last-child)::after {
	content: ".";
	margin-left: .5em;
}

.btn {
	box-shadow: 0 0 0 2px var(--color-burgundy);
	border-radius: 5rem;
	padding: .5rem 1.25rem;
	color: var(--color-burgundy);
	text-decoration: none;
	background-color: var(--color-beige);
	display: inline-flex;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1rem, 0.9038rem + 0.3846vw, 1.25rem);
	transition: all ease .15s;
}

.btn:hover {
	box-shadow: 0 0 0 3px var(--color-burgundy);
	transform: scale(1.025);
}

footer img {
	width: 4rem;
}

footer {
	padding-bottom: 3rem;
	bottom: 0;
}

/**
 * Animations
 */
.main__logo {
	animation: fadeIn 1s ease-out;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

ul {
	animation: fadeIn 1.25s ease-out;
	opacity: 0;
	animation-fill-mode: forwards;
	font-weight: 600;
}

ul li {
	animation: fadeIn 1.25s ease-out;
	opacity: 0;
	animation-fill-mode: forwards;
	letter-spacing: .075em;
	font-weight: 600;
}

li:first-child {
	animation-delay: .25s;
}

li:nth-child(2) {
	animation-delay: .4s;
}

li:nth-child(3) {
	animation-delay: .55s;
}

.btn {
	animation: fadeIn 1.5s ease-out;
	opacity: 0;
	animation-fill-mode: forwards;
	animation-delay: 1s;
}
