@import url("https://use.typekit.net/vei6fvy.css");

html {
	scroll-behavior: smooth;
}

body {
	background-color: #f0f0f0;
	color: #262626;
	font-family: vista-sans, sans-serif;
	font-weight: 200;
	font-style: normal;
	font-size: 23px;
	line-height: 1.4;
	padding-bottom: 3rem;
}

nav {
	background-color: #6b1a43;
}

@media (min-width: 800px) {
	nav {
		left: 0;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 100;
	}
}

nav h1 {
	color: #f0f0f0;
	font-family: mr-eaves-sans, sans-serif;
	font-weight: 700;
	font-style: italic;
	font-size: 2rem;
	margin: 0;
	text-align: center;
	width: 100%;
}

@media (min-width: 800px) {
		nav h1 {
		font-size: 2.25rem;
		margin: 2.5rem 0 .5rem 0;
		text-align: left;
	}
}

nav ul {
	font-size: 1rem;
	list-style-type: none;
	padding: .5rem 0 0 0;
	margin: 0;
	text-align: center;
	width: 100%;
}

@media (min-width: 800px) {
	nav ul {
		padding: 1rem 0 0 0;
		text-align: right;
	}
}

nav li {
	display: inline-block;
	margin-left: .5rem;
}

nav li a {
	color: #f0f0f0;
	position: relative;
	text-decoration: none;
}

nav li a:hover {
	color: #f0f0f0;
}

nav li a:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #f0f0f0;
	visibility: hidden;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	transition: all 300ms ease-in-out 0s;
}

nav li a:hover:before {
	visibility: visible;
	background-color: #white;
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

.nav-wrap,
.home-text {
	margin: 0 auto;
	width: 96%;
}

@media (min-width: 800px) {
	.nav-wrap,
	.home-text {
		width: 80%;
	}
}

@media (min-width: 1100px) {
	.nav-wrap,
	.home-text {
		width: 70%;
	}
}
@media (min-width: 1400px) {
	.nav-wrap,
	.home-text {
		width: 62%;
	}
}

@media (min-width: 800px) {
	main {
		margin-top: 3rem;
	}
}

.carousel {
	position: relative;
}

.carousel-inner {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.carousel-open:checked + .carousel-item {
	position: static;
	opacity: 100;
}

.carousel-item {
	position: absolute;
	opacity: 0;
	transition: opacity 0.6s ease-out;
}

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

.carousel-control {
	cursor: pointer;
	display: none;
	height: 30px;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	text-align: center;
	width: 30px;
	z-index: 10;
}

.carousel-control.next {
	background-image: url("../img/prev.svg");
	left: 1.5%;
}

.carousel-control.next:hover {
	background-image: url("../img/prev-hover.svg");
}

.carousel-control.prev {
	background-image: url("../img/next.svg");
	right: 1.5%;
}

.carousel-control.prev:hover {
	background-image: url("../img/next-hover.svg");
}

.carousel-control.prev, .carousel-control.prev:hover,
.carousel-control.next, .carousel-control.next:hover {
	transition: background-image 300ms linear;
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3,
#carousel-4:checked ~ .control-4,
#carousel-5:checked ~ .control-5,
#carousel-6:checked ~ .control-6 {
	display: block;
}

.carousel-indicators {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 2%;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 10;
}

.carousel-indicators-background {
	display: inline-block;
	height: 20px;
	border-radius: 20px;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0 5px 4px 5px;
}

.carousel-indicators li {
	display: inline-block;
	font-size: .85rem;
	margin-top: -1rem;
	padding: 0;
	line-height: 1;
}

.carousel-bullet {
	color: #f0f0f0;
	cursor: pointer;
	font-size: 35px;
	line-height: 1;
}

.carousel-bullet:hover {
	color: #262626;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet,
#carousel-4:checked ~ .control-4 ~ .carousel-indicators li:nth-child(4) .carousel-bullet,
#carousel-5:checked ~ .control-5 ~ .carousel-indicators li:nth-child(5) .carousel-bullet,
#carousel-6:checked ~ .control-6 ~ .carousel-indicators li:nth-child(6) .carousel-bullet {
	color: #262626;
}

.home-text ul {
	padding-left: 2ch;
}

.home-text ul li {
	margin-bottom: .5rem;
}

.resources,
.author {
	border-top: 1.55px solid #6b1a43;
	margin-top: 6rem;
}

.resources h1,
.author h1 {
	color: #6b1a43;
	font-size: 2.25rem;
	margin: 0;
}

.resources h1 + p,
.author h1 + p {
	margin-top: 0;
}

.resources img,
.author img {
	max-width: 100%;
}

.author {
	border-top: none;
	position: relative;
}
.author h1 {
	position: absolute;
	z-index: 100;
}

.author a {
	color: #262626;
	transition: all 300ms ease-in-out;
}

.author a:hover {
	color: #8c8c8c;
}

.author ul {
	list-style-type: none;
	padding: 0;
}

.author li {
	display: inline-block;
	width: 2rem;
}

.author svg {
	fill: #262626;
	transition: all 300ms ease-in-out;
}

.author svg:hover {
	fill: #8c8c8c;
}

.resources h1 {
	background-color: #6b1a43;
	border-bottom: 1px solid #f0f0f0;
	box-sizing: border-box;
	color: #f0f0f0;
	padding-left: .75rem;
	width: 100%;
}

.resources h2 {
	font-size: 1.75rem;
	margin: 0 0 .125rem 0;
}

.resources h3 {
	font-size: 1.35rem;
	margin-bottom: 0;
}

.resources ul, .resources ol {
	line-height: 1.2;
	margin-top: 0;
}

.amazon {
	color: #f0f0f0;
	background-color: #6b1a43;
	border: 2px solid #6b1a43;
	font-size: 1.75rem;
	font-weight: 500;
	padding: 2px 4px 4px 4px;
	text-decoration: none;
	transition: all 300ms ease-in-out;
}

.amazon:hover {
	color: #6b1a43;
	background-color: #f0f0f0;
	border: 2px solid #6b1a43;
}

.toggler, .untoggler {
	color: #262626 !important;
}

.untoggler {
	display: none;
}

.toggler:target ~ .untoggler {
	display: block;
}

.toggler:target {
	display: none;
}

.toggler ~ div {
	display: none;
}

.toggler ~ div.animate {
	display: block;
	max-height: 0;
	overflow: hidden;
	transition: max-height 300ms ease-in-out;
}

.toggler:target ~ div {
	display: block;
}

.toggler:target ~ div.animate {
	max-height: 400vh;
}

.collapse-wrap {
	border-bottom: 2px #6b1a43 solid;
}

.collapse-wrap .toggler, .collapse-wrap .untoggler {
	text-decoration: none;
}

.collapse-wrap .toggler:hover h2, .collapse-wrap .untoggler:hover h2 {
	color: #8c8c8c;
}

.collapse-wrap .toggler:hover svg, .collapse-wrap .untoggler:hover svg {
	fill: #8c8c8c;
}

.collapse-wrap .toggler h2, .collapse-wrap .untoggler h2 {
	color: #262626;
	padding: .25rem .75rem;
	transition: all 300ms ease-in-out;
}

.collapse-wrap .animate {
	box-sizing: border-box;
	padding: 0 .75rem;
}

.collapse-wrap .animate a {
	color: #262626;
	transition: all 300ms ease-in-out;
}

.collapse-wrap .animate a:hover {
	color: #8c8c8c;
}

.collapse-wrap .animate ol {
	padding-left: 2ch;
}

.collapse-wrap .animate ol li {
	margin-bottom: .55em;
}

.collapse-wrap svg {
	float: left;
	fill: #262626;
	margin: .74rem .5rem 0 .75rem;
	transition: all 300ms ease-in-out;
	width: 1.5rem;
}