* {
	margin: 0;
	scrollbar-width: none;
}

#scroll {
	display: none;
}

#mobiletext {
	display: none;
}

@font-face {
	font-family: "NeueHaas";
	src:
		url(fonts/neuehaasunica-medium.woff) format("woff"),
		url("fonts/neuehaasunica-medium.woff2") format("woff2");
}

.pagewrapper {
/*	display: flex;  */
/*	flex: 1 0 auto; */
	position: relative;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	flex-direction: row; 
}

body {
	background-color: floralwhite;
	overflow-y: hidden;
}

/*p.maintext {
	font-family: "NeueHaas", 'Libre Franklin', serif;
	font-size: 1.5rem;
	padding-left: 1.5rem;
	padding-top: 0;
	background-color: gold;
	margin-left: 5vw;
	margin-right: 5vw;
	display: flex; 
	flex: 0 1 auto; 
}*/

p,
marquee,
a {
	font-family: "NeueHaas", 'Libre Franklin', serif;
	font-size: 1.2rem;
}

em {
	font-style: normal;
/*	transition: 10s linear;*/
}
figure:hover a {
	animation: shake-r 0.5s infinite;
}
figure:hover img {
/*	font-size: 10rem;*/
animation: shake 0.5s infinite;
}

.biglink:hover {
	animation: shake 0.5s infinite;
}

@keyframes shake {
  0% { transform: rotate(0deg);}
  25% { transform: rotate(0.2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-0.2deg); }
  100% { transform: rotate(0deg); }
}

@keyframes shake-r {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-0.2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(0.2deg); }
  100% { transform: rotate(0deg); }
}

marquee {
	 mix-blend-mode: difference;
}

p {
	margin-left: 2rem; 
	text-indent: -2rem;
	margin-top: 1rem;
}

div.text p {
	font-size: 1rem;
	margin-top: 0.4rem;
}

div.text {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

h1,h2,h3,h4,h5,h6,p {
  text-wrap: balance;
  hyphens: manual;
}

.themebutton {
	position: absolute;
	bottom: 2rem; 
	z-index: 1000000000000000;
	width: auto;
	background-color: floralwhite; 
	margin-left: 1rem;
}

.homebutton {
	position: absolute;
	bottom: -2rem; 
	z-index: 0;
	width: 29vw;
	background-color: floralwhite; 
	margin-left: 1rem;
}

.text-col {
	display: flex;
	flex: 0 1 auto;
	padding-left: 1rem;
	width: 29vw;
	height: 100vh;
	flex-direction: column;
	position: absolute;
	left: 0;
	overflow-y: scroll;
	scrollbar-width: none;
}

.img-col {
	display: flex;
/*	flex: 1 0 0;*/
	margin-left: 1rem;
	width: 68vw;
	height: 100vh;
	flex-direction: row;
	overflow-x: hidden;
	overflow-y: scroll;
	position: absolute;
	top: 0;
	right: 0;
	scrollbar-width: none;
}

.img-col::-webkit-scrollbar,
.text-col::-webkit-scrollbar {
	display: none;
}

a {
	color: black;
	text-decoration: underline;
	text-decoration-thickness: 2.5px;
	max-width: 68vw;
	max-height: 100%;
/*	margin-top: 1rem;*/
/*	margin-right: 1rem;*/
}

a.intext {
	margin-right: 0;
}

a:hover {
	text-decoration: none;
}

a:active {
	color: darkred;
}

a.biglink {
	text-decoration: none;
}


.biglink {
	font-size: 7vw;
	text-decoration: underline;
	text-decoration-thickness: 10%;
	margin: auto;
}

/*NOT SURE THIS ONE EXISTS...*/
.text {
	padding-right: 1rem;
	margin-bottom: 1rem;
}

img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin-top: 1rem;
/*	margin-right: 1rem;*/
/*	border: 1px black solid;*/
}

/* I WANT THE LAST IMAGE TO HAVE A 1REM BORDER FROM THE BOTTOM SO IT CAN BE ABOVE MARQUEE */

.img-col-1,
.img-col-2 {
	display: flex;
	flex: 0 1 50%;
	flex-direction: column;
/*	margin-right: 1rem;*/
/*	align-content: center;*/
/*	border: 1px black solid;*/
}

#scroll {
	transform: rotate(-90deg);
	font-size: 3rem;
	z-index: 0;
	position: absolute;
	right: 0;
	bottom: 10rem;
}

marquee {
	position: absolute;
	bottom: 0;
	z-index: 20;
	color: floralwhite;
}

/*
IMAGE HOVER VVVVV
*/


.img-col figure {
  position: relative;
  margin: 0;
  padding-right: 1rem;
}

.img-col-1 figure,
.img-col-2 figure {
	flex: 0 1 0%;
	transition: 1s ease;
}

figure img {
	blend-mode: normal;
	justify-content: center;
}

figcaption a {
  background: none;
  color: transparent;
  mix-blend-mode: difference;
  text-align: center;
  font-size: 4vw;
  text-decoration: none;

  padding: 1rem; /* THIS AND THE PRECEEDING RULE ARE NECESSARY TO MAKE LONGER CAPTIONS WRAP PROPERLY*/

  position: absolute;
  top: 1rem; right: 1rem; bottom: 0; left: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  transition-duration: 0.35s;
  transition-timing-function: ease;
}

figcaption a:hover {
	background: transparent;
	color: white;
}

.dense {
    -webkit-transform:scale(.7,1); /* Safari and Chrome */
    -moz-transform:scale(.7,1); /* Firefox */
    -ms-transform:scale(.7,1); /* IE 9 */
    -o-transform:scale(.7,1); /* Opera */
    transform:scale(.7,1); /* W3C */
}

/*VVV MEDIUM SCREEN VVV*/
@media (max-width: 1000px) {
	p, a {
		font-size: 1rem;
		text-decoration-thickness: 2px;
	}

	p { 
		padding-right: 1rem;
	}

	.img-col {
		flex-flow: column;
	}
	.img-col-1,
	.img-col-2 {
		max-width: 100vw;
		margin: auto;
		padding-right: 1rem;
		padding-bottom: 1rem;
	}

	#mobiletext {
		display: none;
	}
}

/*VVV SMALL SCREEN VVV*/
@media (max-width: 500px) {
	p, a {
		font-size: 1.2rem;
		text-decoration-thickness: 2.5px;
	}
	.pagewrapper {
/*		display: block;*/
		position: static;
	}

	p {
		padding-right: 0;
	}

	body {
		overflow-y: visible;
		overflow-x: hidden;
	}
	.img-col {
		display: block;
		position: static;  
/*		flex-flow: column;*/
		width: 95vw;
/*		flex: 1 0 auto;*/
/*		height: fit-content; THIS FUCKS UP THE CODE FOR SOME REASON */
/*		position: relative;*/
		margin: auto;
/*		overflow-y: visible;*/
	}
	.img-col-1,
	.img-col-2 {
		display: block;
		padding-right: 0;
		margin: auto;
		margin-top: 0;
		position: static; /* DOESN'T FUCK UP THE CODE */
	}
	.text-col {
		display: block;
		flex: 0 1 auto;
		padding: 0 1rem;
		width: 95vw;
		height: auto;
		flex-direction: column;
		position: static;
		left: 0;
		overflow-y: visible;
		scrollbar-width: none;
	}
	marquee, .biglink, .homebutton {
		display: none;
	}

	#mobiletext {
		display: block;
		position: static;
/*		margin-right: 1rem;*/
		width: auto;
/*		padding-right: 1rem;*/
		padding-bottom: 1rem;
	}

	#scroll, #laptoptext {
		display: none;
	}

	figure a {
		max-width: 100vw;
		padding-top: 0;
		top: 0;
		padding-right: 0;
	}
	
	figcaption a {
		font-size: 10vw;
	}

	.img-col figure {
		padding-right: 0;
	}

	#me_pic {
		display: none;
	}

	.themebutton {
		display: none;
	}
}