@charset "UTF-8";
/* CSS Document */

:root{
	--text-color: #1a1c20;
	--link-color: #50009b;/*#d63638;/*,#4a76ee), #CA1551;*/
	--side-color: #fdce33;
	--question-color: #9c72f7;
	--teal-color: #02817c;
	--teal-light: #35aaa67b;
	--teal-shade: #58ac9829;
	--background-color: #eeeff1;
}

* {
	padding: 5px;
	margin: auto;
	gap: 40px;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Nunito', sans-serif;
	background-color: var(--background-color);
}

a {
	text-decoration: none;
	color: var(--link-color);
	transition: 0.1s;
}

mark {
	display: inline-block;
	height: auto;
	line-height: 85%;
	color: var(--background-color);
	background-color: var(--link-color);
	padding: 5px;
	border-radius: 5px;
}

/* GENERAL STYLES -- TEXT */

h1 {
	font-size: 20pt;
	text-align: center;
	padding-top: 100px;
}

h2 {
	font-size: 18pt;
	text-align: left;
}

h3 {
	font-size: 16pt;
	text-align: left;
}

p {
	font-size: 12pt;
	font-weight: normal;
	text-align: justify;
	line-height: 18pt;
}

section {
	gap: 40px;
}
/* FOOTER STYLE */

footer {
	position: fixed;
	width: 100%;
	bottom: 0;
	background-color: var(--background-color);
}

/* NAVIGATION BAR STYLE */

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
	height: 80px;
	position: fixed; /* Set the navbar to fixed position */
  	top: 0; /* Position the navbar at the top of the page */
  	width: 100%; 
	background-color: var(--background-color);
}
nav .left a {
	color: var(--text-color);
	font-size: 16px;
	font-weight: 600;
	margin-left: 5px;
}
nav .right a {
	color: var(--text-color);
	font-size: 14px;
	font-weight: 400;
	margin-right: 5px;
}
nav .right a span {
	margin-left: 2px;
}
@media (max-width:600px) {
	nav {
		padding: 0 20px;
	}
	nav .right a {
		font-size: 16px;
	}
	nav .right a span {
		display: none;
	}
}
nav .right a:hover {
	text-decoration: none;
	color: var(--background-color);
	background-color: var(--text-color);
	border-radius: 5px;
	transition: 0.1s;
}

/* LIST STYLES */

ul {
	padding-left: 25px;
}
ul li a {
	color: var(--text-color);
}
ul li a:hover {
	color: var(--link-color);
}

/* SOURCE BUTTONS */

button {
	display: inline-block;
	color: var(--teal-color);
	background-color: var(--teal-shade);
	border: 1px solid var(--teal-color);
	border-radius: 5px;
	padding: 5px;
}

button:hover {
	text-decoration: none;
	color: var(--background-color);
	background-color: var(--text-color);
	border: 2px solid var(--text-color);
}

hr {
	border: none;
	border-radius: 2px;
	background-color: var(--teal-color);
}

/* SECTION STYLES */

.greetings {
	display: flex;
	justify-content: space-between;
	padding: 0 50px;
	margin: 50px;
	align-items: center;
	gap: 100px;
}
.greetings .text {
	flex: 5;
}
.greetings .headshot {
	flex: 2;
	justify-content: right;
}
.greetings .text h2 {
	font-size: 25px;
}
.greetings .text .links a {
	margin-top: 25px;
	display: inline-block;
	padding: 5px 10px;
	border: 2px solid var(--link-color);
	border-radius: 5px;
	margin: 10px;
}
.greetings .text .links a:hover {
	text-decoration: none;
	color: var(--text-color);
	border: 2px solid var(--text-color);
}
.greetings .headshot img {
	width: 300px;
	border-radius: 30%;
}


/* THESIS FILES */

.thesis {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 1rem;
}

.file-box {
	background-color: var(--teal-shade);
	border-radius: 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.5rem;
	padding-bottom: 0;
	position:sticky;
}

.file-box-title {
	color: var(--teal-color);
	text-decoration: none;
	font-weight: bold;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}

.file-box-container {
	max-height: 0;
	overflow: hidden;
	position: relative;
	transition: 0.5s;
}

.file-box-container p {
	color: var(--text-color);
}

.file-box:target {
	background-color: var(--teal-light);
}

.file-box:target .file-box-container {
	max-height: 100%;
}

.file-box:target .file-box-title i {
	display: none;
}

/* FAQ */

.faq {
	width: 100%;
	max-width: 80rem;
	/* margin: 0 auto; */
	padding: 1rem;
}

.accordion {
	background-color: var(--link-color);
	border-radius: 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.5rem;
	padding-bottom: 0;
}

.question {
	color: var(--background-color);
	text-decoration: none;
	font-weight: bold;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}

.question i {
	padding: 0.5rem;
}

.answer {
	max-height: 0;
	overflow: hidden;
	position: relative;
	transition: 0.5s;
}

.answer p {
	color: var(--text-color);
}

.accordion:target {
	background-color: #9c72f7;
}

.accordion:target .answer {
	max-height: 20rem;
}

.accordion:target .question i {
	display: none;
}
