@font-face{
  font-family: ffxivheaderfont;
  src: url(fonts/Fontspring-DEMO-jupiter_pro_bold.otf);
}
@font-face{
  font-family: masterfont;
  src: url(fonts/Flavors-Regular.ttf);
}

@font-face{
  font-family: rowdiesbold;
  src: url(fonts/Rowdies-Bold.ttf);
}

@font-face{
  font-family: specialelite;
  src: url(fonts/SpecialElite-Regular.ttf);
}

@font-face{
  font-family: subtitletext;
  src: url(fonts/Rye-Regular.ttf);
}

@font-face{
  font-family: tightglyphs;
  src: url(fonts/NMS-Glyphs-Tight.ttf);
}

@font-face{
  font-family: normalglyphs;
  src: url(fonts/NMS-Glyphs-Mono.ttf);
}

@media only screen and (max-width: 620px) {
  /* For mobile phones: */
  .menu, .main, .right {
    width: 100%;
  }
}

body, html, .container {
	min-height: 100vh;
}

body, pre {
  font-family:Verdana;
  color:black;
  font-size: 0.9vmax;
  padding: 0px;
  margin: 0px;
}

.tightglyphs {
	font-family: tightglyphs;
}
.normalglyphs {
	font-family: normalglyphs;
}

h1	{
	font-size: 4vmax;
    text-shadow: 2px 2px black;
	font-family: masterfont;
}

h2 {
	font-size: 2.5vmax 0.9em;
	font-family: subtitletext;  
}

h3 {
	font-family: subtitletext;        
}

h1, h2, h3, h4, h5 {
        padding: 0;
        margin: 0;
}

.dropshadow {
        text-shadow: 0px 0px 3px black;
} 

.opacity75 {
        opacity: 75%;
}
    
.opacity50 {
        opacity: 50%;
}  
      
.opacity25 {
        opacity: 25%;
}     
        
.opacity10 {
        opacity: 10%;
}

figcaption {
        font-size: 0.6vmax;
}

samp {
		margin: 25px;
		border: 1px solid gray;
}


.ffxivheader {
  font-family: ffxivheaderfont;
}

a:link, a:visited, a:active {
  text-decoration: none;
  color: inherit;
  transition: transform .1s; /* Animation */
  font-weight: bolder;
}

.container {	
        overflow-x: hidden;
}

.img-container { overflow: hidden; }
.img-container img {
  width: 100%; 
  display: block;
}

.largeheader {
	position: fixed;
	display: grid;
        /* MENU = HEADER */
	grid-template-rows: 5vh 15vh;
	background: transparent;       
}
.menu {
	color: white;
	height: 5vh;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 50px;
	font-weight: bolder;
}
.menu a:hover {
  transform: scale(1.2); /* (Note: if the zoom is too large, it will go outside of the viewport) */
  padding: 15px;
}

.header {
	width: 100vw;
	height: 15vh;
	display:flex;
	padding-left: 15px;
}
.headerborder {
	width: 100vw;
	height: 50px;
}

.header h1 {
	margin: 0;
	padding: 0;
	align-self: flex-end;
}

.content {
        padding-bottom: 15px;
        scroll: autoscroll;
        padding-left: 2rem;
        padding-right: 3rem;
        padding-top:250px;
}

.noheadborder {
	position: absolute;
	top: -30px;
}	

.minibox {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.item {
  height: 160px;
  margin: 25px 10px 10px 10px;
  transform: rotate(-6deg);
  -ms-transform: rotate(-6deg); /* IE 9 */
  -webkit-transform: rotate(-6deg); /* Safari and Chrome */
  -o-transform: rotate(-6deg); /* Opera */
  -moz-transform: rotate(-6deg); /* Firefox */ 
  /* antialiasing */
  -webkit-transform-style: preserve-3d;  
}

.item:nth-child(2n) {
  transform:rotate(2.5deg);
  position:relative;
  top:-5px;
  -webkit-transform-style: preserve-3d;   
}

.item:nth-child(3n) {
  transform:rotate(-5deg);
  position:relative;
  top:-10px;
}

.item:nth-child(4n) {
  transform:rotate(5deg);
  position:relative;
  top:-10px;
}

.item:nth-child(5n) {
  transform:rotate(-10deg);
  position:relative;
  top:-5px;
  background:;
}
.item:nth-child(6n) {
  transform:rotate(9deg);
  position:relative;
  top:-5px;
  background:;
}


.box1 { 
        display:grid;
        grid-template-rows: 10px auto auto;
}
.box1 div { 
        margin: 0 auto;
}
.boxspacer { 
        width: 150px;
        border-top: 1px solid gray;
        border-right: 1px solid gray;
        border-left: 1px solid gray;
        font-size: 1rem;
        background: white; 
}

.boxheader { 
        width: 175px;
		min-height: 30px;
        font-weight: bold;
        border: 1px solid gray;
		padding: 2px;
        filter: drop-shadow(3px 3px 2px gray);
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        outline: 1px solid transparent;        
}

.boxheader a:hover {
        display: inline-block;
        padding: 0;
        margin: 0;
        transform: scale(1.08) rotate(3deg);	
        transition: transform .1s; /* Animation */
}


.boxcontent {
        background: white;
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 150px;
		padding: 7px;
		min-height: 110px;
        text-align: center;
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
        border-left: 1px solid gray;
        font-size: 0.8rem;
        outline: 1px solid transparent;        
}

.boxcontent ul {
        list-style-type: none;
        padding: 0;
        text-align: center;
        width: 150px;
        list-style-position: inside;
}

.boxcontent ul li a:hover {
        display: inline-block;
        transform: scale(1.05);
        transition: transform .1s; /* Animation */        
}


.pink {
        background: pink;
}
.hotpink {
        background: hotpink;
}
.blue {
        background: #6495ED;
}
.gold {
        background: #FFBF00;
}
.green {
        background: #9FE2BF;
}
.yellow {
        background: yellow;
}
.yellowgreen {
        background: #DFFF00;
}
.orange {
        background: #FF7F50;
}
.red {
        background: #DE3163;
        color: white;
}
.teal {
        background: #40E0D0;
}
.purple {
        background: #CCCCFF;
}

.magenta {
        background: magenta;
		color: white;
}
.gray {
        color: #7d7f7c;
}
.lightgray {
        color:  #eaecee;
}
.white { color: white;
}

.brown {
       background: #cc6600;
       color: white;
}

.black {
       background: black;
       color: white;
}


.blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: masonry;
  align-items: flex-start;    

}

.blog50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: masonry;
  align-items: flex-start;    

}

.blogpost {
        margin: 15px;
        padding: 25px;
        border-radius: 0px 25px 25px 25px;
        border: 2px solid #ccc;     
        object-fit: contain;
}

.blogpost a {
        font-weight: bold;
}        


.rightborder {
          border-right: 2px solid gray;
          margin-right: 10px;
}

.grid-two {
        display:grid;
        grid-template-columns: 300px 1fr;
}

.grid-two-2575 {
        display:grid;
        grid-template-columns: 25% 75%;
}

.grid-two-5050 {
        display:grid;
        grid-template-columns: 50% 50%;
}

.grid-two-auto {
        display:grid;
        grid-template-columns: auto auto;
}

.grid-two-7525 {
        display:grid;
        grid-template-columns: 75% 25%;
}

.grid-three {
        display:grid;
        grid-template-columns: 300px 1fr 250px;
        align-items: flex-start;
}

.grid-three-auto {
		display: grid;
		grid-template-columns: auto auto auto;
		border: 1px solid blue;
        }

.grid-three div {
        margin-right: 10px;
}


.grid-three div img {
        object-fit: contain;
        margin-bottom: 5px;
}
.grid-five-auto {
		display: grid;
		grid-template-columns: auto auto auto auto auto;
        }



/* THIS IS THE POSTIT NOTE CODE */

ul.postit{
  display: flex;
  flex-wrap: wrap;
/*  justify-content: center; */
}

ul.postit li a{
  text-decoration:none;
  color:#000;
  background:#ffc;
  display:block;
  padding:1em;
  text-align: center;
  box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  transform: rotate(-6deg);
  transition: transform .15s linear;
}

ul.postit li{
  margin:1em;
  list-style: none;
  width: minmax(300px 600px)
  height: 100px;
}

.postit h2 {
  font-family: 'Special Elite';
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 0;
}

.postit p {
  font-family: handlee;
  font-size: 1rem;
  margin-top: 0;
}

.postit h4 {
  font-family: specialelite;
  font-size: 1rem;
  margin-bottom: 0;
}

ul.postit li:nth-child(even) a{
  transform:rotate(4deg);
  position:relative;
  top:5px;
  background: #cfc;
}

ul.postit li:nth-child(3n) a{
  transform:rotate(-3deg);
  position:relative;
  top:-5px;
  background: #ccf;
}

ul.postit li:nth-child(5n) a{
  transform:rotate(-7deg);
  position:relative;
  top:-10px;
}

ul.postit li a:hover,ul.postit li a:focus{
  box-shadow:10px 10px 7px rgba(0,0,0,.7);
  transform: scale(1.25);
  position:relative;
  z-index:5;
}

/* THIS IS WHERE THE FILTER CODE IS FOR THE IMAGE THUMBNAIL SHENANIGANS */
/* Layout specific styles */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 1rem;
  grid-auto-rows: 100px;
  grid-auto-flow: dense;
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.gallery li {
/*   overflow: hidden; */
}

.gallery li figure {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.wide {
  grid-column: span 2;
}

.doublewide {
  grid-column: span 2;
  grid-row: span 2;     
}
.triplewide {
  grid-column: span 3;
  grid-row: span 2;     
}    
.quadwide {
  grid-column: span 4;
  grid-row: span 2;     
}  

        

.tall {
  grid-row: span 2;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.filtershowall img {
	width: 100%;
	height: 100%;   
	display: block;        
	object-fit: contain;
}

/* Hover effect specific styles */

/* Filter effect */

.gallery.filter img {
  transition: filter .3s ease-in-out;
/*  filter: grayscale(100%); */
  opacity: 1.0;
}

.gallery.filter img:hover {
  filter: none;
  opacity: 1.0;
}

/* Zoom in-out effect */
.gallery.zoom li {
  overflow: hidden;
}

.gallery.zoom img {
  transform: scale(1);
  transition: transform .3s ease-in-out;
}

.gallery.zoom img:hover {
  transform: scale(1.2);
}

/* caption effect */

.gallery.caption-1 figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  margin: 1rem;
  text-align: center;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
  pointer-events: none;
}

.gallery.caption-1 figure h1 {
  margin: 0;
  font-size: 21px;
  color: rgba(0, 0, 0, .75);
}

.gallery.caption-1 figure p {
  font-size: 13px;
  font-style: italic;
  color: rgba(0, 0, 0, .4);
}

.gallery.caption-1 figure:hover figcaption {
  opacity: .9;
  transform: scale(1)
}

/* caption 2 */

.gallery.caption-2 img {
  filter: invert(25%);
  transform: scale(1.2);
  transition: all .3s ease-in-out;
}

.gallery.caption-2 figure {
  overflow: hidden;
}

.gallery.caption-2 figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-content: end;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
  padding-left: 2rem;
  transform: translate3d(0, 1rem, 0);
  opacity: 0;
  transition: transform .3s ease-in-out, opacity .3s ease-in-out;
  pointer-event: none;
}

.gallery.caption-2 figure h1 {
  margin: 0;
  font-size: 21px;
}

.gallery.caption-2 figure p {
  font-size: 13px;
  margin-bottom: 2rem;
}

.gallery.caption-2 figure:hover img {
  filter: none;
  transform: scale(1);
}

.gallery.caption-2 figure:hover figcaption {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Caption 3 */
.gallery.caption-3 li figure {
  overflow: hidden;
}

.gallery.caption-3 li img {
  transform: scale(1.2);
  transition: transform .3s ease-in-out;
}

.gallery.caption-3 figure figcaption {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  display: grid;
  align-content: center;
  text-align: center;
  border: 1px solid #fff;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
  transform: scale(1.2);
  transotion: all .3s ease-in-out;
  pointer-event: none;
}

.gallery.caption-3 figure h1,
.gallery.caption-3 figure p {
  opacity: 0;
  transition: all .4s;
}

.gallery.caption-3 figure h1 {
  margin: 0;
  font-size: 21px;
  transform: translate3d(0, -1rem, 0);
}

.gallery.caption-3 figure p {
  font-size: 13px;
  transform: translate3d(0, 1rem, 0);
}

.gallery.caption-3 figure:hover img {
  filter: grayscale(100%);
  transform: scale(1);
}

.gallery.caption-3 figure:hover figcaption {
  transform: scale(1);
}

.gallery.caption-3 figure:hover h1,
.gallery.caption-3 figure:hover p {
  opacity: 1;
  transform: scale(1);
}

/* caption 4 */

.gallery.caption-4 img {
/*  filter: invert(25%);
  transform: scale(1.2);
  transition: all .3s ease-in-out;
  filter: grayscale(100%); */
  opacity: 1.0;
  border-radius: 15px;
}

.gallery.caption-4 figure {
  overflow: hidden;
}

.gallery.caption-4 figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  background-color: rgba(0, 0, 0, .5);
  align-content: end;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
  /* padding-left: 0.5rem; */
  transform: translate3d(0, 1rem, 0);
  opacity: 0;
  transition: transform .3s ease-in-out, opacity .3s ease-in-out;
  pointer-event: none;
}

.gallery.caption-4 figure h1 {
  margin: 0;
  font-size: 0.5rem;
}

.gallery.caption-4 figure p {
  font-size: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.gallery.caption-4 figure:hover img {
  opacity: 1.0;
  transform: scale(1);
  filter: grayscale(100%);
  transform: scale(1.2);
  transition: all .3s ease-in-out;
  border-radius: 15px;
}

.gallery.caption-4 figure:hover figcaption {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

