body {
	background: #c5e3f0;
}

#noise {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

header {
	background-color: rgba(34, 120, 160, 0.85);
}

nav a {
	background: linear-gradient(to right, rgba(34, 120, 160, 0.4), var(--gradientBottom));
}

nav a:hover, nav a:focus {
	background: linear-gradient(to right, rgba(34, 120, 160, 0.4), var(--gradientBottom), var(--gradientTop));
}


.button {
	background-color: #2271a8;
}

small { flex: 0.5 0.1 15%; }

a:visited {
	color: #5aaad4;
}

a.button:visited, a.button {
	color: white;
}

/* Secret page button under nav */
div.small > a {
	display: block;
	margin: 5px auto;
	width: fit-content;
}

div.small > a > img {
	display: block;
	border: 2px ridge var(--border);
	border-radius: 5px;
}

/* Centered resume buttons */
.resume-section {
	text-align: center;
}

/* swap effect for the headshot, bewtween smirk and smile */
.imgtxt .smile { display: none; } /*dont put the smile by default*/
.imgtxt:hover .smirk,
.imgtxt:focus .smirk { display: none; }
.imgtxt:hover .smile,
.imgtxt:focus .smile { display: block; }
/* keeps the angled effect */

.full p, .full ul li, .full ol li,
.half p, .half ul li, .half ol li {
	margin-bottom: 8px;
	font-size: 1.05rem;
	line-height: 1.4;
}

section h2 {
	font-size: 1rem;
	font-weight: normal;
	text-align: left;
	color: var(--accent);
	border-bottom: 1px solid var(--border);
	padding-bottom: 4px;
	margin-bottom: 8px;
}

.resume-controls {
	text-align: center;
	padding: 20px;
}

.resume-spread {
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: flex-start;
	padding: 0 20px 40px;
}

.resume-spread canvas {
	display: block;
	box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5);
	max-width: 48vw;
}

@media (max-width: 600px) {
	.resume-spread {
		flex-direction: column;
		align-items: center;
		padding: 0 10px 20px;
	}
}
