/***
the background image is "Crystal Stars In The Sky", by Kixune!
https://www.smwcentral.net/?p=section&a=details&id=14404
***/

body {
  background-image: url("/prisminia.png");
  background-repeat: repeat;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color:floralwhite;
  text-shadow: 2px 2px 2px #000000;   
  font-family: Verdana;
}

.box {
  position: absolute;
  background: #ffffff;
  display: inline-block;
  border: 1px solid #121212;
  padding: 10px 5px 5px 0;
  bottom: 1rem;
  overflow: hidden;
  box-shadow: 3px 3px rgba(0,0,0,0.8);
  }

.box-border {
  background-color: transparent;
  border: 3px solid;
  border-radius: 12px;
  padding: 10px;
}

.image-border {
  border: 4px solid black;
  max-width: 30%;
  height: calc(100% - 1rem);
  object-fit: contain;
  margin: 1rem;
}

a:link {
    color: khaki;
}

a:visited {
  color: darkkhaki;
}

a {text-decoration: none; }

h1 {
  color:floralwhite;
  text-align: center;
 }

h2 {
  color:floralwhite;
  text-align: center;
}

h3 {
  color:floralwhite;
  text-align: center;
}

h3:after {
    content:"\a";
    white-space: pre;
}

.navigation {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.bottomnavibox {
	margin: 1rem;
	padding: 1rem;
  max-width: auto;
  border: 3px solid #faf8f8;
	border-radius: 5px;
	word-break: break-word;
}

.personal-essay {
  text-align: left;
}

.personal-essay img {
  display: block;
  width: 60%;
  height: 60%;
  margin: auto;
  object-fit: contain;
}

.projects {
 display: flex;
 justify-content: center;
 margin: 1rem;
}

.projects-2 {
 display: flex;
 justify-content: center;
 margin: 1rem;
}

.projects-3 {
 display: flex;
 justify-content: center;
 margin: 1rem;
}

.projects img {
  margin: 1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.projects-2 img {
  margin: 1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.projects-3 img {
  margin: 1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

p span {
  display: block;
}

.aboutme {
 display: flex;
 justify-content: center;
 margin: 1rem;
 text-align: left;

}

.email-img {

  display: flex;
  align-items: center;

}

.smw-gallery {


 margin: 1rem;
}

.video-writeup {
  text-align: left;
}

.left-text-nav {
position: absolute;
  background-color: transparent;
  border: 3px solid;
  border-radius: 8px;
  padding: 4px;
}

.hack-writeup {
  text-align: left;
}

.blogpost {
  text-align: left;
}

.blogpost img {
  display: block;
  width: 60%;
  height: 60%;
  margin: auto;
  object-fit: contain;
}


/***
EZ Gallery by netfriend - https://netfriend.neocities.org/ez-gallery/
Released under the Unlicense - https://unlicense.org/
***/

.ezgallery.horizontal { 
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(100px, auto);
}

.ezgallery.horizontal a {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 px 50px 0;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  object-position: bottom;
}

/***
EZ Gallery code end
***/