/*palette
#63DED8 Tiffany blue
#B76295 Mulberry
#273153 Space cadet
#FDCC44 Sunglow
#F0E8F7 Magnolia
*/

body{background-color:#F0E8F7;margin:0;padding:0;color:#273153;}

@font-face {
	font-family:"Major Mono Display";
	src: url("Major_Mono_Display/MajorMonoDisplay-Regular.ttf");
}
@font-face {
	font-family:"Mona Sans";
	src: url("Mona_Sans/MonaSans-VariableFont_wdth,wght.ttf");
}

@keyframes headerone {
  0%   {text-shadow:0 0 0 #B76295, 0 0 0 #63DED8;}
  14%  {text-shadow:3px 1px 0 #B76295, -4px -2px 0 #63DED8;}
  33%  {text-shadow:-3px -2px 0 #B76295, 5px 2px 0 #63DED8;}
  45% {text-shadow:0 0 0 #B76295, 0 0 0 #63DED8;}
  55% {text-shadow:0 0 0 #B76295, 0 0 0 #63DED8;}
  67%  {text-shadow:-3px 1px 0 #B76295, 2px -4px 0 #63DED8;}
  79%  {text-shadow:3px -3px 0 #B76295, -2px 3px 0 #63DED8;}
  90% {text-shadow:0 0 0 #B76295, 0 0 0 #63DED8;}
}

p, a{
	font-family:"Mona Sans", monospace;
	font-weight:200;
}

p{
	padding-left:1vw;
}

a{
	padding:0 2px;
	border: 2px solid #273153;
	text-decoration:none;
	color:#273153;
}

a:hover{
	color:#FDCC44;
	background-color:#273153;
	box-shadow:-3px 1px 0 #B76295, 4px -2px 0 #63DED8;
	transition: box-shadow 1s;
	transition-timing-function: ease;
}

h1 {
  font-family:"Major Mono Display", monospace;
  color:#273153;
  animation-name: headerone;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  padding-left:1vw;
  clear:both;
  padding-top:3vh;
}

h2 {
	font-family:"Major Mono Display", monospace;
	color:#273153;
	margin-left:1vw;
	border-top:2px solid #273153;
	border-bottom:2px solid #273153;
	font-size:16px;
}

svg{width:100%;height:auto;margin:none;padding:none;display:block;}

#header{
	width:100%;
	background-color:#273153;
	clear:both;
	padding-bottom:5vh;
}

#header a{
	width:auto;
	margin:0 0 0 1vw;
	background-color:#F0E8F7;
}

#intro{width:100%;height:auto;clear:both;padding-bottom:5vh;}
#about{width:51vw;height:auto;float:left;}

#portrait{
	width:35vw;
	height:35vw;
	margin-top:5vh;
	margin-right:5vw;
	float:right;
	background-color:#F0E8F7;
}

#portfolio{
	width:100%;height:auto;position:static;clear:both;
}

.tile{
	position:relative;
	margin:2vw;
	width:20vw;
	height:20vw;
	float:left;
	color:transparent;
	border-radius:50%;
	background:#273153;
	background-size:100% 100%;
	background-repeat:no-repeat;
	border:none;
}

#tile-CtM{background-image:url(CtM-tile.png);}
#tile-WaS{background-image:url(WaS-tile.png);}
#tile-MI{background-image:url(MI-tile.jpg);}
#tile-DW{background-image:url(DW-tile.jpg);}
#tile-Sq{background-image:url(Sq-tile.jpg);}
#tile-DC{background-image:url(DC-tile.jpg);}
#tile-WDD{background-image:url(WDD-tile.jpg);}
#tile-FTA{background-image:url(FTA-tile.png);}
#tile-WWB{background-image:url(WWB-tile.jpg);}
#tile-PPP{background-image:url(PPP-tile.png);}
#tile-MCV{background-image:url(MCV-tile.jpg);}
#tile-PB{background-image:url(PB-tile.svg);}
#tile-AH{background-image:url(AH-tile.png);}
#tile-PaC{background-image:url(PaC-tile.png);}
#tile-GtA{background-image:url(GtA-tile.png);}
#tile-CS{background-image:url(CS-tile.jpg);}

.tile:hover{
	background:#273153 !important;
}

.tile:hover span{
	text-align:center;
	margin:0;
	position: absolute;
	width:calc(100%-1vw);
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	color:#FDCC44;
	font-size:2.5vw;
}

.modal{display:none;}
.modal:target{display:block;}
.modal:target .modal-background{
	position: fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background-color:#273153;
	opacity:0.8;
	border:none;
	box-shadow:none;
	z-index:2;
}
.modal:target .modal-content{
	position:fixed;
	top:10vh;
	left:10vw;
	color:#273153;
	background-color:#F0E8F7;
	border: 2px solid #273153;
	box-shadow:-3px 1px 0 #B76295, 4px -2px 0 #63DED8;
	transition: box-shadow 1s;
	transition-timing-function: ease;
	width: 76vw;
	margin: auto;
	height: 80vh;
	overflow:scroll;
	z-index: 10;
	padding:1vw 1vw 3vw 1vw;
}

.modal-content *{
	display:block;
	padding:1vw;
	width:auto;
}
.modal-content h2{padding-left:0;padding-right:0;}
.modal-content a{
	display:inline;
	padding:0 2px;
	margin:1vw;
}

.modal-close {
	width:auto;
	font-size:32px;
	text-decoration: none;
	position: absolute;
	right: 1vw;
	top: 1vh;
	border:none;
	font-family:"Major Mono Display", monospace;
	color:#273153;
	text-shadow:-1px 0.3px 0 #B76295, 1.3px -0.6px 0 #63DED8;
}
.modal-close:hover{text-shadow:none;}

#footer{
	height:5vh;
	margin:none;
	padding:none;
	background-color:#273153;
	clear:both;
}