:root {
	--white: #eeece9;
	--light-accent: #c5bbbb;
	--mid-accent: #d34949;
	--bright-accent: #d72929;
	--black: #06020b;
	--dark-grey: #201928;
}

* {
	box-sizing: border-box;
}

/*//////////// General ////////////*/

html {
	background: var(--black);
	color: var(--white);
}

body#index {
	font-family: "Underdog";
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	animation: fadeInOpacity 1s;
}

body.locked {
	height: 100vh;
	overflow: hidden;
}

body.locked .section-wrap.gallery {
	z-index: 100;
	opacity: 1!important;
}

img { max-width: 100% } 

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

footer {
	padding: 10px;
	text-align: center;
	margin: 80px 0 20px;
}

h1 {
	font-family: 'Kablammo';
	margin: -50px 10px -30px 0;
	font-size: 5.6em;
}

h2 {
	font-family: 'Bahiana';
	margin: 10px 0 20px;
	font-size: 3.4em;
}

a {
	text-decoration: none;
	color: var(--light-accent);
	transition: 400ms ease;
}

a:hover, a:focus {
	color: var(--mid-accent);
}

.section {
	display: flex;
	text-align: center;
	padding: 30px;
	width: 1100px;
	max-width: 100%;
}

.section .content {
	padding: 20px 20px 60px;
	flex: 1 1 100%;
	max-width: calc(100% - 300px);
}

.section-wrap {
	width: fit-content;
	max-width: 90vw;
	transition: 400ms ease;
}

.section-wrap .button {
	margin: 20px auto;
    background: var(--bright-accent);
    padding: 10px;
    font-family: 'Micro 5';
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #851313;
    cursor: pointer;
    display: block;
    width: fit-content;
    font-size: 160%;
    color: white;
    transition: 300ms ease;
}

.section-wrap .button:hover, .section-wrap .button:focus {
	background: #851313;
	border-color: var(--bright-accent);
	margin: 25px auto 15px;
	color: #f1ebd8;
}

.disclaimer {
	font-style: italic;
	font-size: 90%;
	opacity: 0.6;
}

#eyesimage {
	position: absolute;
	width: 60vw;
	max-width: 100vw;
	transition: 100ms ease;
}

.section-wrap, #landing-box, .quote {
	z-index: 1;
}

/*//////////// Quote ////////////*/

.quote {
	font-family: 'Lavishly Yours';
	font-size: 2em;
	font-weight: normal;
	max-width: 600px;
	text-align: center;
	line-height: 1;
	color: var(--mid-accent);
	text-shadow: -1px -1px 0 #070915, 0 -1px 0 #070915, 1px -1px 0 #070915, 1px 0 0 #070915, 1px 1px 0 #070915, 0 1px 0 #070915, -1px 1px 0 #070915, -1px 0 0 #070915;
}

body > .quote {
	margin: 120px 0 60px;
}

.quote i:last-child, .quote .fa-solid {
	font-size: 50%;
}

.quote i:last-child {
	display: block;
	font-family: "Underdog";
	padding-right: 20px;
	width: 100%;
	text-align: right;
	margin-top:10px;
}

/*//////////// Nav ////////////*/

.nav {
	font-family: "Bahiana";
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex-wrap: wrap;
}

.nav li {
	list-style: none;
	margin: 0;
	padding: 10px 10px 0;
	font-size: 2em;
}

.nav img {
	height: 45px;
	margin: 5px 5px -10px;
	transition: 400ms ease;
}

.nav .fa-tooth {
	font-size: 1.6em;
}

.nav a {
	color: inherit;
}

.nav a:hover, .nav a:focus, .nav a.focused {
	color: var(--bright-accent);
}

.nav a:hover img, .nav a:focus img, .nav a.focused img {
	filter: brightness(0.27) sepia(1) hue-rotate(-45deg) saturate(6);
}

.section-wrap .nav {
	margin: -80px auto 0;
	font-size: 80%;
	max-width: calc(100% - 360px);
	flex-wrap: wrap;
}

.section-wrap .nav img {
	height: 25px;
	margin: 2px 2px -3px;
}

/*//////////// Boxes ////////////*/

#landing-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 80vh;
	width: 100vw;
	padding: 220px 0 0;
}

.header {
	font-family: "Bahiana";
	font-size: 2.5em;
}

.trait-body {
	margin-bottom: 40px;
}

.trait-body:has(+.trait-body), .trait-body:has(+.text-body), .text-body:has(+.text-body), .text-body:has(+.trait-body) {
	margin-bottom: 10px;
	padding-bottom:0;
}

.text-body {
	padding: 10px 0;
	margin-bottom: 30px;
}

ul.text-body {
	margin: 0;
	padding: 0;
}

.text-body li {
	width: fit-content;
	margin: auto;
}

.flex-row, .flex-column {
	display: flex;
	align-items: center;
	justify-content: center;
}

.flex-column {
	flex-direction: column;
}

.flex-row-narrow, .flex-column-narrow {
	display: inline-flex;
	width: 49%;
}

.flex-row-narrow {
	text-align: left;
	align-items: center;
	justify-content: center;
}

.flex-row-narrow .trait-body {
	margin: 10px;
}

.flex-row-narrow .header {
	font-size: 2.1em;
}

.flex-column-narrow {
	margin: 40px 0;
	flex-direction: column;
}

/*//////////// Windows ////////////*/

.window-left, .window-right {
	display: flex;
	flex-direction: column;
	width: 150px;
	flex-shrink: 0;
	clip-path: inset(1px 1px 1px 1px);
}

.window-left:before, .window-right:before {
	content: "";
	height: 100%;
	width: 100%;
	background: url(img/windowbg.png);
	position: fixed;
	background-size: contain;
	top: 0;
	left: 0;
	background-position: top center;
}

.window-top, .window-middle, .window-bottom {
	background-size: 150px auto;
	width: 100%;
	z-index: 1;
}

.window-top {
	background-image: url(img/windowframetop.png);
	background-position: center;
	height: 115px;
}

.window-middle {
	background-image: url(img/windowframemiddle.png);
	background-position: top;
	flex-grow: 1;
}

.window-bottom {
	background-image: url(img/windowframebottom.png);
	background-position: center;
	height: 38px;
}

/*//////////// Gallery Box ////////////*/

#gallery-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
    justify-content: center;
}

.image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24%;
	aspect-ratio: 1;
	overflow: hidden;
	border: 2px solid var(--white);
	border-radius: 10%;
	margin: 10px;
	cursor: pointer;
	background: var(--black);
	opacity: 0.5;
	transition: 400ms ease opacity;
}

.image-wrapper:hover, .image-wrapper:focus {
	opacity: 1;
}

#gallery-wrap .image-wrapper img {
	max-width: unset;
	object-fit: cover;
	max-width: 100%;
	pointer-events: none;
}

.image-wrapper.open {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	margin: 0;
	border: 0;
	border-radius: 0;
	opacity: 1;
	transition: 0ms ease opacity;
}

#gallery-wrap .image-wrapper.open img {
	max-width: 90%;
	max-height: 90%;
	object-fit: unset;
	animation: fadeInOpacity 500ms;
}

.left-arrow, .right-arrow {
    display: none;
    content: "";
    background-image: url(img/angle-left-solid.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    width: 40px;
    height: 40px;
    margin: 10px;
    position: absolute;
    top: calc(50% - 20px);
    transition: 300ms ease;
    filter: invert(1);
}

.image-wrapper.open .left-arrow, .image-wrapper.open .right-arrow {
    opacity: 0.1;
    display: block;
}

.image-wrapper.open .right-arrow {
    background-image: url(img/angle-right-solid.svg);
    right: 0;
}

.image-wrapper.open .left-arrow {
    background-image: url(img/angle-left-solid.svg);
    left: 0;
}

.image-wrapper.open .left-arrow:hover, .image-wrapper.open .left-arrow:focus, .image-wrapper.open .right-arrow:hover, .image-wrapper.open .right-arrow:focus {
    opacity: 0.6;
}

.close-button {
    display: none;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    position: relative;
    margin-right: auto;
    opacity: 0.6;
    margin: 20px;
    transition: 300ms ease;
}

.close-button:hover, .close-button:focus {
	opacity: 1;
	color: var(--bright-accent);
}

.close-button i {
	pointer-events: none;
}

.open .close-button {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}

/*/////////////////////////// Media Queries */

@media (min-width: 1600px) {
	#eyesimage {
		width: 50vw;
	}

	.left-arrow, .right-arrow {
		margin: 20px;
	}
}




