/*******/
/*FONTS*/
/*******/
@import url('https://fonts.googleapis.com/css?family=Raleway:900&display=swap');

@import url('https://fonts.googleapis.com/css?family=Cherry+Swash:700&display=swap');

@import url('https://fonts.googleapis.com/css?family=BioRhyme:200&display=swap');

@import url('https://fonts.googleapis.com/css?family=Nixie+One&display=swap');


/***********/
/*VARIABLES*/
/***********/
:root {
  --black: #030708;
  --black-transparent-dark: rgba(3, 7, 8, 0.65);
  --black-transparent: rgba(3, 7, 8, 0.4);
  --black-transparent-light: rgba(3, 7, 8, 0.2);
  --white: #fffdfd;
  --white-transparent: rgba(255, 252, 252, 0.935);
  --yellow: #fef200;

  --link-text-color: var(--white);
  --link-text-shadow-color: var(--black);
}


/******/
/*BODY*/
/******/
body {
	background-color: var(--white);
}

::selection {
  background-color: var(--black);
  color: var(--white);
}


/********/
/*LAYOUT*/
/********/
.content {
  display: flex;
  width: 100%;
  padding-bottom: 50px;
}

.content .small,
.content .small .fixed {
  width: 25%;
  min-width: 375px;
  max-width: 750px;
  position: relative;
}

.content .small .fixed {
  position: fixed;
  height: 100%;
}

.content .big {
  /*flex: 65%;*/
  min-width: 1125px;
  max-width: 1200px;
}


/********/
/*HEADER*/
/********/
.content h1.header {
  display: inline-block;
  position: relative;

  line-height: 1em;
  margin: 2px 0 16px 29px;

  cursor: default;

  font-family: 'Cherry Swash', sans-serif;
  font-size: 39pt;

  color: var(--white);

  text-shadow: 1px 1px 0 var(--black),
    -1px 1px 0 var(--black),
    1px -1px 0 var(--black),
    -1px -1px 0 var(--black);/*,
    0px 1px 0 var(--black),
    0px -1px 0 var(--black),
    -1px 0px 0 var(--black),
    1px 0px 0 var(--black),
    2px 2px 0 var(--black),
    -2px 2px 0 var(--black),
    2px -2px 0 var(--black),
    -2px -2px 0 var(--black),
    0px 2px 0 var(--black),
    0px -2px 0 var(--black),
    -2px 0px 0 var(--black),
    2px 0px 0 var(--black),
    1px 2px 0 var(--black),
    -1px 2px 0 var(--black),
    1px -2px 0 var(--black),
    -1px -2px 0 var(--black),
    2px 1px 0 var(--black),
    -2px 1px 0 var(--black),
    2px -1px 0 var(--black),
    -2px -1px 0 var(--black);*/
}

.content h1.header:after {
	content: '';
	display: block;
	position: absolute;
	z-index: -1;

	top: 5px;
	right: 4px;
	bottom: 0px;
	left: 6px;

	transform: rotate(4deg);

	background: var(--yellow);
}


/**********/
/*PROJECTS*/
/**********/
.content .projects > .project {
  cursor: pointer;

	display: inline-block;
	position: relative;
	overflow: hidden;

	width: 340px;
	height: 340px;

	margin: 12px 10px;

  border-radius: 1px;

	/*border: 2px solid var(--white);*/
	/*border-right: 2px solid var(--black);
	border-top: 2px solid var(--black);*/

	box-shadow: -7px 7px 0px var(--black),
				-6px 6px 0px var(--black),
				-5px 5px 0px var(--black),
				-4px 4px 0px var(--black),
				-3px 3px 0px var(--black),
				-2px 2px 0px var(--black),
				-1px 1px 0px var(--black);
}

.content .projects > .project:hover {
	box-shadow: -3px 3px 0px var(--black),
				-2px 2px 0px var(--black),
				-1px 1px 0px var(--black);
	/*margin: 2px 0px 0px -2px;*/
	/*margin-top: 2px;
	margin-left: -2px;*/
	margin: 16px 14px 8px 6px;
}

.content .projects > .project > img {
	height: 110%;
	min-width: 110%;
	width: auto;
	vertical-align: middle;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

  /*filter: grayscale(50%);*/
  /*z-index: -1;*/
}
.content .projects > .project > img.full {
  height: 100%;
  min-width: 100%;
}

.content .projects > .project:hover > img {
  /*filter: grayscale(50%);*/
  opacity: 0.85;
}

.content .projects > .project > p {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	margin: 0px;
	padding: 5px;

	text-align: center;

	font-family: 'Raleway', sans-serif;
	font-size: 22pt;
	text-transform: lowercase;

	color: var(--link-text-color);
	/*background: var(--link-text-shadow-color);*/
	text-shadow: -1px -1px 0px var(--link-text-shadow-color),
				 -1px  1px 0px var(--link-text-shadow-color),
				  1px -1px 0px var(--link-text-shadow-color),
				  1px  1px 0px var(--link-text-shadow-color);

	visibility: hidden;
}

.content .projects > .project:hover > p {
	visibility: visible;
}


/*************/
/*DESCRIPTION*/
/*************/
.description.hidden {
  /*visibility: hidden;*/
  opacity: 0;
  transition: opacity 0.14s;
}
.description.visible {
  /*visibility: visible;*/
  opacity: 1;
  transition: opacity 0.07s;
}

.description.hidden a {
  pointer-events: none;
}
.description.visible a {
  pointer-events: auto;
}

.projects > .project > .description {
  display: block;

  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 7px;
  right: 7px;

  margin: 0;
  padding: 24px;
  line-height: 0;

  text-align: center;

  background: var(--white-transparent);
  outline: 1px solid var(--black-transparent-light);

  display: flex;
  flex-direction: column;
  justify-content: center;

  /*overflow-y: scroll;*/
}

.projects > .project > .description h1 {
  font-family: 'Raleway', serif;
  font-size: 12pt;

  color: var(--black);
}

.projects > .project > .description h2 {
  font-family: 'Nixie One', serif;
  font-size: 10pt;

  color: var(--black);

  font-style: italic;
}

.projects > .project > .description p {
  margin: 0;
  padding: 0;

  font-family: 'Nixie One', serif;
  font-size: 11pt;
  line-height: 1em;

  font-weight: bold;

  color: var(--black);
  text-shadow: none;
}

.projects > .project > .description a {
  text-decoration: none;

  color: var(--black-transparent-dark);
  border-bottom: 1px dashed var(--black-transparent);
}
.projects > .project > .description a:hover {
  color: var(--black-transparent);
  border-bottom: 1px dashed var(--black-transparent-light);
}

/*******/
/*ABOUT*/
/*******/
.content .small .fixed .about {
  display: inline-block;

  position: absolute;
  right: 28px;
  top: 91px;
  width: 323px;

  color: var(--black);

  /*border-top: 3px double var(--black-transparent);
  border-bottom: 3px double var(--black-transparent);*/

  /*transform: rotate(-1deg);*/
}

.about h1 {
  display: inline-block;
  position: relative;

  line-height: 1em;
  margin: 0 0 0 -8px;
  padding: 0;
  
  cursor: default;

  font-family: 'Nixie One', serif;
  font-weight: bold;
  font-size: 12pt;

  color: var(--black);
    
  text-shadow: none;
}

.about h1:after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;

  top: 1px;
  right: -1px;
  bottom: -1px;
  left: 0px;
    
  transform: rotate(-4deg);
    
  background: var(--yellow);
}

.about p {
  font-family: 'BioRhyme', serif;
  font-size: 11pt;
  line-height: 1.3em;
}

.about p b {
    font-family: 'Nixie One', serif;
    font-weight: bold;
    color: var(--black);
}

.about p a {
  font-family: 'Nixie One', serif;
  font-weight: bold;
  color: var(--black);
  text-decoration: none;
}

.about p a:hover {
  text-decoration: underline;
}

.about #whoa {
    visibility: hidden;
    position: relative;
}
.about #whoa:after {
    content: "whoa";

    visibility: visible;
    display: block;
    position: absolute;
    top: 0;
    left: 0;

    line-height: initial;
    cursor: text;
}
.about #whoa:hover:after {
    content: "woah";
}

/*.about img {
  width: 100%;
  border: 1px solid var(--black);
}*/


/********/
/*SHAPES*/
/********/
.shapeboard {
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  /*opacity: 0.9;*/
}

.square {
  width: 75px;
  height: 75px;
  background: #005fb8;
}

.rectangle {
  width: 125px;
  height: 55px;
  background: #43AA8B;
}

.triangle {
  width: 0px;
  height: 0px;
  border-left: 55px solid transparent;
  border-right: 55px solid transparent;
  border-bottom: 110px solid #ffcbf2;
}

.trapezoid {
  width: 80px;
  height: 0px;
  border-bottom: 75px solid #ff7f51;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
}

.star {
  margin: 50px 0;
  /*position: relative;*/
  display: block;
  color: #FFEA00;
  width: 0px;
  height: 0px;
  border-right: 100px solid transparent;
  border-bottom: 70px solid #FFEA00;
  border-left: 100px solid transparent;
  transform: rotate(35deg);
}
.star:before {
  border-bottom: 80px solid #FFEA00;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  position: absolute;
  height: 0;
  width: 0;
  top: -45px;
  left: -65px;
  display: block;
  content: '';
  transform: rotate(-35deg);
}
.star:after {
  position: absolute;
  display: block;
  color: #FFEA00;
  top: 3px;
  left: -105px;
  width: 0px;
  height: 0px;
  border-right: 100px solid transparent;
  border-bottom: 70px solid #FFEA00;
  border-left: 100px solid transparent;
  transform: rotate(-70deg);
  content: '';
}

.pentagon {
  position: relative;
  width: 54px;
  box-sizing: content-box;
  border-width: 50px 18px 0;
  border-style: solid;
  border-color: #9d4edd transparent;
}
.pentagon:before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  top: -85px;
  left: -18px;
  border-width: 0 45px 35px;
  border-style: solid;
  border-color: transparent transparent #9d4edd;
}

.hexagon {
  width: 100px;
  height: 57.735px;
  background: #F94144;
  position: relative;
}
.hexagon::before {
  content: "";
  position: absolute;
  top: -28.8675px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 28.8675px solid #F94144;
}
.hexagon::after {
  content: "";
  position: absolute;
  bottom: -28.8675px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 28.8675px solid #F94144;
}
