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

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	font-family: 'Source Sans Pro', sans-serif;
	color: #212529;
}

a {
	color: #1D809F;
}

a:hover,
a:focus,
a:active {
	color: #155d74;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	margin-top: 0;
}

.container {
	width: 100%;
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

/* Masthead */
.masthead {
	min-height: 45rem;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 8rem 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)),
		url("../img/bg-masthead.jpg") center center / cover no-repeat;
	text-align: center;
	color: rgba(30, 30, 30, 1);
}

@media (min-width: 992px) {
	.masthead {
		min-height: 100vh;
	}

	.masthead h1 {
		font-size: 6.5rem;
	}
}

.masthead h1 {
	font-size: 5rem;
	margin-bottom: 0.25rem;
}

.masthead h3 {
	margin-bottom: 3rem;
}

.masthead .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.masthead .container {
	position: relative;
	z-index: 1;
}

/* Buttons */
.btn {
	display: inline-block;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	border: 1px solid transparent;
	text-decoration: none;
	box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary {
	background-color: #1D809F;
	border-color: #1D809F;
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #155d74;
	border-color: #155d74;
	color: #fff;
}

.btn-outline-dark {
	color: #343a40;
	background-color: transparent;
	border-color: #343a40;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
	color: #fff;
	background-color: #343a40;
	border-color: #343a40;
}

.btn-xl {
	padding: 1.25rem 2.5rem;
}

/* Directory section */
.content-section {
	padding-top: 7.5rem;
	padding-bottom: 7.5rem;
}

.content-section h2 {
	font-size: 3rem;
	margin-bottom: 3rem;
	text-align: center;
}

.github-link {
	display: block;
	text-align: center;
	margin-bottom: 4rem;
}

.github-icon {
	vertical-align: middle;
	margin-right: 0.5rem;
}

.site-list {
	list-style: none;
	padding: 0;
	max-width: 320px;
	margin: 0 auto;
}

.site-list li {
	margin-bottom: 2rem;
}

.site-list li:hover {
	cursor: pointer;
	opacity: 0.8;
}

.site-list a {
	display: flex;
	align-items: center;
	text-decoration: none;
	gap: 1rem;
}

.site-list img {
	width: 60px;
	height: 60px;
	border-radius: 0.25rem;
	flex-shrink: 0;
}

.site-list span {
	font-size: 1.0rem;
	font-weight: 500;
}

/* Footer */
footer {
	padding: 5rem 0;
	text-align: center;
	color: #6c757d;
	font-size: 80%;
}

/* Scroll to top */
.scroll-to-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	display: none;
	width: 50px;
	height: 50px;
	background: rgba(52, 58, 64, 0.5);
	border-radius: 0.25rem;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
}

.scroll-to-top:hover {
	background: #343a40;
	color: white;
}
