@font-face {
  font-family: "Archia";
  src: url("archia-bold-webfont.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Archia";
  src: url("archia-regular-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

* {
	font-family: "Archia", ui-sans-serif, sans-serif;
	margin: 0;
	padding: 0;
}

body {
	background-color: #FDFBF7;	
	display: flex;
	min-height: 100dvh;
	flex-direction: column;
	justify-content: space-between;
}

footer {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	gap: calc(2vw + 1rem);
	width: 88vw;
	max-width: 40rem;
	margin: 1.5rem auto 1.5rem auto;
}

a {
	color: #6FAFCE;
}

h1 {
	margin-bottom: .8rem;
}

h2 {
	margin-bottom: 1rem;
}

h3 {
	margin-bottom: 1rem;
}

p {
	line-height: 1.5;
	margin-bottom: 1rem;
}

#results {
	margin-top: 20px;
}

.form-wrapper {
	width: 88vw;
	max-width: 40rem;
	margin: 3rem auto 1.5rem auto;
}

.inputButton {
	display: flex;
	font-size: 1.1rem;
}

input, .inputButton button {
	font-size: 1.1rem;
}

label p {
	margin-bottom: .3rem;
}

#query {
	height: 2rem;
	width: 82%;
	border: .1rem solid #8AC18A;
	border-radius: 1rem 0 0 1rem;
	border-right: 0;
	padding-left: .8rem;
	margin-bottom: 1em;
	background: #FFFEFB;
}

#searchButton {
	height: 2.2rem;
	width: 6rem;
	max-width: 30%;
	border: .1rem solid #8AC18A;
	border-radius: 0 1rem 1rem 0;
	color: #FDFBF7;
	background: #8AC18A;
	margin-bottom: 1em;
}

#searchWithin {
	display: none;
}

#secondaryQuery {
	height: 2rem;
	width: 82%;
	border: .1rem solid #6FAFCE;
	border-radius: 1rem 0 0 1rem;
	border-right: 0;
	padding-left: .8rem;
	margin-bottom: 1em;
	background: #FFFEFB;
}

#secondarySearch {
	height: 2.2rem;
	width: 6rem;
	max-width: 30%;
	border: .1rem solid #6FAFCE;
	border-radius: 0 1rem 1rem 0;
	color: #FDFBF7;
	background: #6FAFCE;
	margin-bottom: 1em;
}

@media screen and (max-width: 30rem) {
	input, .inputButton button {
		font-size: 1rem;
	}
	
	label p {
		font-size: .9rem;
	}
}

#searchButton:hover {
  background: linear-gradient(to left, #6FAFCE, #8AC18A); 
}

.session-wrapper {
	width: 88vw;
	max-width: 40rem;
	margin: 2rem auto 0 auto;
}

.session-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 0;
	row-gap: 1rem;
}

.link {
	display: block;
	padding: .7rem 1rem .7rem 1rem;
}

.link:nth-child(3n+1) {
	position: relative;
	border: .1rem solid #B98ACD;
	border-right: 0;
	border-radius: 1rem 0 0 1rem;
}

.link:nth-child(3n+2) {
	border: .1rem solid #B98ACD;
	border-right: 0;
	border-left: 0;
	border-radius: 0;
}

.link:nth-child(3n) {
	border: .1rem solid #B98ACD;
	border-left: 0;
	border-radius: 0 1rem 1rem 0;
}

.link:nth-child(6n+1), .link:nth-child(6n+2), .link:nth-child(6n+3) {
	border-color: #B98ACD;
}

.link:nth-child(6n+4), .link:nth-child(6n+5), .link:nth-child(6n) {
	border-color: #E78EA5;
}

