@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap');

* {
	border: 0;
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;
	border-collapse: collapse;
	transition: .1s;
}

::selection {
	background: #92A3B6;
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-thumb {
	background: black;
	border-radius: 10px;
	background-image: url(dark2.jpg);
	background-position: center;
	padding-top: 30px;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-image: url(dark2.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-color: white;
	background-position: bottom left;
	background-attachment: none;
	font-family: "Winky Rough", serif;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	counter-reset: designfreaks;
}

a {
	color: #92A3B6;
	text-decoration: none;
}

a:hover {
	color: grey;
}

#particle-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

.particle {
	position: absolute;
	background: radial-gradient(circle, white 0%, rgba(0, 0, 0, 0) 30%);
	border-radius: 50%;
	opacity: 0.6;
	animation-timing-function: linear;
	animation: fadeAndMove 60s infinite;
}

@keyframes fadeAndMove {
	0% {
		transform: translate(0, 0) scale(0);
		opacity: 0.0;
	}

	20% {
		transform: scale(0.5);
		opacity: 0.6;
	}

	40% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}

	75% {
		opacity: 0.9;
	}

	100% {
		transform: translate(calc(200vw - 100px), calc(200vh - 100px)) scale(0);
		opacity: 0;
	}
}

main {
	margin: 0 auto;
	width: 1000px;
	height: 60vh;
	padding: 25px;
	background: rgba(255, 255, 255, .3);
	backdrop-filter: blur(10px);
	border-image: linear-gradient(to top, transparent 10%, #92A3B6 50%, transparent 90%) 1;
	border-width: 1px;
	border-style: solid;
	outline: 1px solid white;
	border-radius: 35px;
	color: rgba(0, 0, 0, .7);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 20px;
}

section {
	text-align: justify;
	max-height: calc(60vh - 50px);
}

h1,
h2,
.designfreaks_headline {
	color: white;
	letter-spacing: 1px;
	font-size: 14px;
	padding: 10px 20px;
	margin-bottom: 10px;
	text-transform: uppercase;
	text-shadow: 0 0 10px black, 0 1px 0 #92A3B6;
	letter-spacing: 2px;
	background-image: url(dark.jpg);
	background-size: auto;
	background-color: white;
	background-position: center;
	border-radius: 15px;
}

h2 {
	text-align: center;
	padding: 10px 0;
}

.navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.navigation a {
	color: grey;
	text-transform: uppercase;
	font-size: 9px;
	padding: 3px 0;
	background: #f2f2f2;
	border-top: 1px solid #f8f8f8;
	border-left: 1px solid #f8f8f8;
	border-right: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	border-radius: 10px;
}

.navigation a:before {
	counter-increment: designfreaks;
	content: counter(designfreaks, decimal-leading-zero) ":";
	font-weight: 900;
	color: #92A3B6;
	padding: 0 5px;
}

.navigation a:nth-of-type(n+10)::before {
	content: counter(designfreaks) ":";
}

.navigation a:hover {
	color: black;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
	background: #92A3B6;
	border: 1px solid transparent;
}

.navigation a:hover:before {
	color: black;
}

.box {
	padding: 15px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .5);
	max-height: 100%;
}

.scrollbar {
	overflow: auto;
}

#sitename {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100vh;
	height: 200px;
	transform: rotate(-90deg);
	transform-origin: bottom left;
	margin-left: 210px;
	display: flex;
	justify-content: center;
	color: rgba(255, 255, 255, .3);
	align-items: center;
	text-align: center;
	font-size: 125px;
	letter-spacing: -5px;
}

#sitename ::selection {
	color: inherit;
	background: transparent;
	text-shadow: none;
}

svg text {
	stroke: rgba(255, 255, 255, .5);
	stroke-width: 1;
	animation: textborder 5s infinite alternate;
}

@keyframes textborder {
	0% {
		stroke-dasharray: 0 50%;
		stroke-dashoffset: 20%;
		fill: rgba(255, 255, 255, .3);
	}

	100% {
		stroke-dasharray: 50% 0;
		stroke-dashoffstet: -20%;
		fill: rgba(255, 255, 255, .3);
	}

}

button {
	height: 30px;
	width: 62px;
	border: 0;
	background: transparent;
}

button:hover {
	box-shadow: 0px 0px 50px white;
	border-radius: 100%;
}

#designfreaks_newsskin {
	display: grid;
	grid-template-columns: 100px auto;
	/*align-items:center;*/
	align-items: top;
	gap: 5px;

}

.designfreaks_date {
	background: #68819C;
	color: rgba(255, 255, 255, .8);
	border-radius: 10px 0 0 0;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
	padding: 10px 0;
}

.designfreaks_headline {
	border-radius: 0 10px 0 0;
	padding: 10px 15px;
	margin: 0;
}

.designfreaks_box {
	padding: 15px;
	border-radius: 0px;
	background: rgba(255, 255, 255, .2);
	height: 100px;
}

.designfreaks_news {
	margin-top: 5px;
	border-radius: 0 0 10px 10px;
	background: rgba(255, 255, 255, .2);
	padding: 15px;
}

blockquote,
input,
textarea {
	width: 100%;
	margin: 5px auto;
	border: 1px solid rgba(0, 0, 0, .2);
	outline: 1px solid white;
	background-color: #788291;
	padding: 12px;
	border-radius: 12px;
	color: white;
	font-family: arial;
	font-size: 12px;
	text-shadow: 1px 1px 1px #081C2A;
}

blockquote {
	width: 80%;
	padding: 0 20px;
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	line-height: 15px;
}

blockquote:before,
blockquote:after {
	content: "///\2003\1F525\2003///";
	/*2764 = sydän*/
	display: block;
	text-align: center;
	padding: 5px 0;
}

input {
	width: 50%;
}

textarea {
	min-height: 100px;
}

.designfreaks_box {
	height: auto;
}

.fanlisting-info {
	table>tbody>tr>td {
		padding: 0.1em;
	}

	tr>td:first-child {
		background: url('/fan/aoex/flame.png') no-repeat;
		background-position: 0px 0.3em;
		padding-left: 1em;
	}
}

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

	main,
	section,
	.navigation {
		display: block;
		width: 100%;
	}

	.navigation a {
		font-size: 6pt;
	}

	main {
		overflow-y: auto;
		margin: 120px 0;
		height: calc(100vh - 240px);
		width: 100%;
		background: transparent;
		border: transparent;
		outline: transparent;
		box-shadow: none;
		backdrop-filter: none;
	}

	.navigation {
		padding-left: 3%;
	}

	.navigation a {
		display: inline-block;
		width: 32%;
		text-shadow: none;
	}

	#sitename {
		position: absolute;
		top: 0px;
		width: 100%;
		text-align: center;
		transform: rotate(0deg);
		margin: -60px 0 0 0;
		padding: 0px;
		font-size: 60px;
	}

	.box {
		color: white;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
		font-size: 8pt;
		background: rgba(255, 255, 255, .2) !important;
		margin-bottom: 20px;
		backdrop-filter: blur(20px);
	}

	h1,
	h2 {
		text-align: center;
	}

	.designfreaks_date {
		height: 32px;
	}

	.designfreaks_headline {
		height: 32px;
		font-size: 9px;
		text-align: left;
		text-shadow: 1px 1px 0 rgba(0, 0, 0, .7);
		letter-spacing: 1px;
	}
}

#fantastik {
	label {
		display: block;
	}

	input,
	select {
		width: 50%;
		margin: 5px auto;
		border: 1px solid rgba(0, 0, 0, .2);
		outline: 1px solid white;
		background-color: #788291;
		padding: 5px;
		border-radius: 5px;
		color: white;
		font-family: "Winky Rough", serif;
		font-size: 14px;
		text-shadow: 1px 1px 1px #081C2A;
	}

	input[type=submit] {
		background-color: steelblue;
	}

	table {
		width: 100%;
	}
	 tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}
}