@font-face {
	font-family: "linear_beam"; 
	src: url("/shrines/dipnpip/fonts/linear_beam/Linebeam.ttf") format("truetype");
}
@font-face {
	font-family: "hybrid"; 
	src: url("/shrines/dipnpip/fonts/hybrid/Hybrid_b.ttf") format("truetype");
}
@font-face {
	font-family: "agora"; 
	src: url("/shrines/dipnpip/fonts/agora/Agora.ttf") format("truetype");
}

body, html {
	padding: 0;
	margin: 0;
	font-size: 16px;
	line-height: 1.5rem;
	color: white;
	cursor: crosshair;
	overscroll-behavior: none;
}

body {
	font-family: "linear_beam", monospace;
	background-image: url(background.jpg);
	padding: 20px;
}

img {
	max-width: 100%;
}

h4, h5, h6 {
	margin: 0;
}

h5 {
	color: #7f52ae;
	text-decoration: underline;
}

h6 {
	color: #527fd0;
}

h1 {
	font-family: "agora", monospace;
	color: black;
	text-shadow: 3px 3px 5px #c692ff, -2px -2px 6px #527fd0;
	font-size: 32px;
	margin-bottom: 2px;
}

h2 {
	text-shadow: 3px 3px 2px #527fd0;
}

.title {
	font-family: "agora", monospace;
	color: black;
	text-shadow: 3px 3px 5px #c692ff, -2px -2px 6px #527fd0;
	font-size: 40px;
	margin: 12px 0;
	padding-left: 6px;
	letter-spacing: 0.5px;
}

.fics {
	display: inline-flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: nowrap;
	width: 100%;

	.name {
	flex-grow: 50;
	}

	.tags {
	flex-shrink: 1;
	text-align: right;
	}

}


a {
	color: #bc88f5;
	text-decoration: none;
}

a:hover{
	background: #bc88f5;
	color: white;
}

.main {
	background: rgba(0, 0, 0, .9);
  	box-shadow: 2px 2px 20px #c692ff inset, -2px -2px 20px #527fd0 inset;
  	width: 85%;
  	margin: auto;
  	box-sizing: border-box;
}

.text {
	padding: 40px;
}

.grid-container {
  columns: 3 180px;
  column-gap: 1rem;
  width: 93%;
  margin: 0 auto;
  padding: 20px;
  padding-top: 30px;
  
  div {
    width: 130px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px black;
    padding: 5px;
    border-radius: 5px;

    img {
      width: 100%;
      border-radius: 5px;
    }
  }
}

.twogrid {
  columns: 2 180px;
  column-gap: 1rem;
  width: 93%;
  margin: 0 auto;
  padding: 20px;
  padding-top: 40px;
  
  div {
    width: 130px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px black;
    padding: 5px;
    border-radius: 5px;

    img {
      width: 100%;
      border-radius: 5px;
    }
  }
}

.header-body {
	text-align: left;
	padding-top: 60px;
	background-image: none;
	display: inline-flex;
	align-items:  center;
	position: relative;
	overscroll-behavior: none;
}

.headerpic {
	width: 150px;
}

.menu {
	text-shadow: 2px 2px 2px rebeccapurple;
}

.menu a {
	font-family: "linear_beam", monospace;
	display: inline-block;
	margin: 5px;
	color: #bc88f5;
  background: 
      linear-gradient(#bc88f5 0 0) 
      0 100% /var(--d, 0) 30px 
    no-repeat;
  transition:0.3s;
}
.menu a:hover {
	text-shadow: none;
  --d: 100%;
  color: #000;
}

.top iframe {
	border: 0;
	/* Edit this height if you would like the header to be taller */
	height: 200px;
	width: 100%	
}

.top{
	margin: auto;
	width: 85%;
	margin-bottom: 20px;
	background: rgba(0, 0, 0, 1);
	box-shadow: -4px -4px 10px #c692ff inset, 4px 4px 10px #527fd0 inset;
}

.wrapper {
	max-width: 1200px;
	margin: auto;
	padding: 10px 60px;
	box-sizing: border-box;
	margin-bottom: 120px;
	padding-bottom: 120px;
}

.width-50 {
	width: 50%;
}

.message {
	border-radius: 6px;
	padding: 12px 12px;
	display: inline-block;
	width: 85%;
	margin-left: 10px;
	box-sizing: border-box;
	min-height: 60px;
	position: relative;
	z-index: 2;
	font-size: 12px;
}

.chat-blue .message {
	background-color: rgba(82, 127, 208, .5);
	color: white;
}

.avatar {
	height: 70px;
	width: 70px;
	display: inline-block;
	vertical-align: top;
	border-radius: 4px;
	box-shadow: 0px 0px 8px #c692ff;
	overflow: hidden;
}

.chat-purple .message{
	background-color: rgba(198, 146, 255, .6);
	color: #d8cbe6;
}

.chat {
	margin: 12px 0;
	position: relative;
}


.topper{
	position: fixed;
	bottom: 10px;
	right: 20px;

	a{
		font-family: "agora", monospace;
		text-align: center;
		font-size: 20px;

		background-color: rgba(0, 0, 0, .9);
		border: 2px solid rgba(198, 146, 255, .9);

		display: flex;
		flex-wrap: nowrap;
		padding: 20px 25px 20px 20px;
	}
	a:hover {
		color: rgba(82, 127, 208, .9);
		border: 2px solid rgba(82, 127, 208, .9);
	}
}

.back{
	position: fixed;
	top: 10px;
	left: 20px;

	a{
		font-family: "agora", monospace;
		text-align: center;
		font-size: 10px;

		background-color: rgba(0, 0, 0, .9);
		border: 2px solid rgba(198, 146, 255, .9);

		display: flex;
		flex-wrap: nowrap;
		padding: 10px 15px 10px 10px;
	}
	a:hover {
		color: rgba(82, 127, 208, .9);
		border: 2px solid rgba(82, 127, 208, .9);
	}
}


@media screen and (max-width: 1270px){
	.topper { 
		position: static; 
		width: fit-content; 
		margin: 10px auto; }
}

@media screen and (max-width: 640px){

	.title{
		font-size: 24px;
	}

	.menu{
		font-size: 12px;
	}

	.headerpic {
		width: 15vw;
	}

}

@media screen and (max-width: 460px){

	.headerpic {
		display: none;
	}
}