* {
    box-sizing: border-box;
}

.offscreen {
    position: absolute;
    left: -100000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
html, body, div, img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
	line-height: 1;
	background-image: url("../image/background.png");
	background-repeat: repeat;
	background-color: 000;
	font-family: Arial, Helvetica, sans-serif;
	margin: 30px;
}


h1 {
  font-size: 0;
  width: 1px;
  height: 1px;
  display: inline-block;
  overflow: hidden;
  position: absolute!important;
  border: 0!important;
  padding: 0!important;
  margin: 0!important;
  clip: rect(1px,1px,1px,1px);
}

h2 {
	color: #E7E7E7;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	text-align: center;
	font-size: 2.5em;
	filter: url(#crispify);
}
h3 {
	color: #00FF00;
	font-family: Arial;
	font-weight: 600;
	text-align: center;
	font-size: 1.7em;
	filter: url(#crispify);
}
hr {
	margin-bottom: 0;
}

h3.current {
	color: #ffff00
!important;
}
p {
	color: #fff;
	text-align: center;
}

p.title   {
	margin: 0 20;
	text-align: center;
}
p.challenges {
	font-weight: 500;
	font-size: 1.4em;
	filter: url(#crispify);
	/* [disabled]color: #00ffff; */
}
.greyed {
	font-size: 0.9em;
	color: #999;
}
a {
	color: #E316FF;
}
.caption, .caption-title, .caption-sm, .caption-title-sm, .caption-deadline, .caption-imp {
	margin: 10px 4px;
	font-family: Arial, Helvetica, sans-serif;
}
.caption-title {
	font-weight: 600;
	filter: url(#crispify);
	font-size: 1.5em;
}

.caption-sm {
	font-size: 1.0em;
	color: #ccc;
	margin-top: -5px;
	max-width: 160px;
}

.caption-title-sm {
	font-weight: 600;
	font-size: 1.2em;
	margin-top: 5px;
	max-width: 160px;
}

.caption-title-sm a {
	color: #fff;
	text-decoration: none;
}

.caption-title-sm a:hover {
	text-decoration: underline;
}

.caption-deadline {
	color: #FF0000;
	font-weight: 600;
	line-height: 3em;
	filter: url(#crispify);
}

.caption-imp {
	font-weight: 600;
	font-size: 1.1em;
}

#clocktext, #clocktext2 {
	color: #3AFF44;
	font-size: 3em;
	font-weight: 600;
	margin-top: 0px;
	/* filter: url(#crispify); */
}

#clockfinished {
	color: #FF0000 !important;
	font-size: 1.5em;
	display: none;
}

#clockdiv p, #clockdiv2 p {
	color: #999;
	margin-bottom: 5px;
}

a.div-link {
	color: #0066FF !important;
	text-align: center;
}

.imp-link {
	text-decoration: none;
}

.indexgamelogo {
	max-width: 350px;
	min-width: 250px;
	width: 100%;
}

.item-current .caption-title  {
	color: #ffff00;
	font-size: 1.5em;
}
.item, .item-current, .item-round, .item-round2 {
	border: 3px solid red;
	padding: 16px;
	margin: 16px;
	background-color: darkred;
	min-width: 358px;
}

.item-trophycard {
	border: none;
	padding: 0;
	margin: 0;
	background: none;
	transform-style: preserve-3d;
	transform: perspective(1000px);
}

.item-trophycard img {
	max-width: 100%;
}

.item-trophycard-inner, .item-trophycard-inner2 {
	position: fixed;
	left: 0;
	top: 0;
	transform: translateZ(20px);
	z-index: 2;
}

.item-trophycard-inner2 {
	transform: translateZ(10px);
	z-index: 3;
}



.item-trophycard-sticker {
	position: fixed;
	left: 0;
	top: 0;
	transform: translateZ(7px) translateX(0);
}

.item-sm {
	border: 3px solid #999;
	padding: 16px;
	margin: 16px;
	background-color: #000;
	min-width: 198px;
	max-width: 198px;
}

.item-imp, .item-score {	
	border: 3px solid #B22DFF;
	padding: 16px;
	margin: 16px;
	background-color:#193607;
	text-align: center;
	width: 212px;
	border-radius: 0;
	background-size: 120%;
	transform-origin: top center;
}

.item-round, .item-round2 {
	border: 5px solid yellow;
	background-color: #1F6F1C;
	border-radius: 0;
	min-width: 300px;
}

.item-round2 a {
	text-decoration: none;
}

div.platinums, div.secrets, div.originalhw {
	visibility: hidden;
	display: none;
	color: #fff;
	font-size: 14px;
}

p.plats-secrets, p.plats-secrets-ph {
	margin: 0;
	padding: 0;
}

div[plat] p.plats-secrets-ph {
	display: none;
}

div[secret] p.plats-secrets-ph {
	display: none;
}

div[score]:after {
    content: attr(score);
	font-size: 4em;
	font-weight: 700;
	color: #ccc;
}

div.larryscore[score]:after {
	font-size: 3.7em;
}

div.half[score]:after {
    content: attr(score) "½";
	font-size: 4em;
	font-weight: 700;
	color: #ccc;
}


div[plat] div.platinums {
	visibility: visible;
	display: inline-block;
	padding-right: 6px;
}

div[secret] div.secrets {
	visibility: visible;
	display: inline-block;
	padding-left: 6px;
}

div[oh] div.originalhw {
	visibility: visible;
	display: inline-block;
	padding-left: 6px;
}
.caption-score-sub {
	font-size: 0.9em;
	color: #999;
}
#first.item-score .imp-link .caption-score-sub {
	color: #FFFF22;
	font-weight: 600;
}

#second.item-score .imp-link .caption-score-sub {
	color: #FFFFFF;
	font-weight: 600;
}

#third.item-score .imp-link .caption-score-sub {
	color: #FFCB8A;
	font-weight: 600;
}

#first {
	background-image: url("../image/card-gold.png");
	border: 3px solid #FFDC69;
	box-shadow: 0 0 10px 5px #e7c144;
	transform-origin: bottom center;
	transform: scale(1.1);
	margin: 32px;
}
[id="first"]:after {
	color: #FFFF22 !important;
	text-shadow: 0 0 8px #FFFF00 !important;
}

#second {
	background-image: url("../image/card-silver.png");
	border: 3px solid #D0D0D0;
	box-shadow: 0 0 10px 5px #B0B0B0;
	transform-origin: bottom center;
	transform: scale(1.1);
	margin: 32px;
}
[id="second"]:after {
	color: #FFFFFF !important;
	text-shadow: 0 0 8px #ffffff !important;
}

#third {
	background-image: url("../image/card-bronze.png");
	border: 3px solid #E19F4B;
	box-shadow: 0 0 10px 5px #C48638;
	transform-origin: bottom center;
	transform: scale(1.1);
	margin: 32px;
}
[id="third"]:after {
	color: #FFD49E !important;
	text-shadow: 0 0 8px #FFAF4B !important;
}

.img-codec {
	margin: 30px;
}

.short {
	max-height: 32em;
}

.item-current {
	border: 3px solid #ffff00;
}
div.logocontainer {
	margin: auto;
	min-width: 100%;
	text-align: center;
	width: 100%;
	white-space: nowrap;
}
img.logo  {
	max-width: 60%;
	height: auto;
	min-width: 50%;

}
img.logo2 {
	max-width: 55%;
	min-width: 45%;
}
img.imgskull {
	max-width: 8%;
	height: auto;
}

.item-avatar {
	position: relative;
}
.av-medal {
	position: absolute;
	left: -60px;
	top: -20px;
}

.av-darkmedal {
	position: absolute;
	right: -60px;
	top: -20px;
}

.av-plats {
	position: absolute;
	right: -29px;
	top: 7px;
	color: #fff;	
}

.av-secrets {
	position: absolute;
	right: -29px;
	top: 28px;
	color: #fff;
}

.av-middle {
	position: absolute;
	right: -29px;
	top: 18px;
	color: #fff;
}

img.gamelogo {
	max-width: 95%;
}

img.indexgamelogo {
	max-width: 350px;
}


.copyright {
	color: #00FF00;
	font-family: arial;
	font-weight: 400;
	text-align: center;
}
.container, .score-wrapper {
    display: flex;
	flex-wrap: wrap;
	padding: 40px;
	justify-content: center;
}

hr.linebreak {
  flex-basis: 100%;
  height: 0;
}

.current-game-wrapper {
	padding: 16px;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}
.current-game {
	border: 3px solid #FFFF00;
	padding: 10px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	width: 360px;
}

.current-game img {
	margin: 10px;
}
img.vert {
	vertical-align: middle;
}
.footer {
	text-align: center;
	color: inherit;
}

img.gamelogo {
	max-width: 100%;
}

.trophy-button {
	border-radius: 6px;
	-moz-border-radius: 6px;
	padding: 10px;
	background-color: #0014B7;
	color: inherit;
	border: 2px solid #001092;
	font-weight: 600;
	-webkit-box-shadow: inset 0 0 10px #001092;
	box-shadow: inset 0 0 10px #001092;
	cursor: pointer;
}
.trophy-img {
	margin-right: 12px;
	margin-bottom: 2px;
	float: left;
	margin-top: 2px;
}

.trophy-input {
	padding: 10px;
	border-radius: 6px;
	background: #333;
	color: #999;
	font-weight: 600;
	border: 2px solid #666;
	font-style: italic;
	-webkit-box-shadow: inset 0px 0px 16px #000000;
	box-shadow: inset 0px 0px 16px #000000;
	-moz-box-shadow: inset 0px 0px 16px #000000;
	-moz-border-radius: 6px;
}
.trophyrow {
	margin: 10px;
	padding: 0px 20px;
	border: 2px solid #333;
	min-width: 270px;
}

.trophyrow .row1 {
	text-align: left;
	overflow: hidden;
}

.trophyrow .row2 {
	text-align: right;
}
.nav {
	margin: 5px;
}
.nav:hover {
	filter: brightness(2) saturate(2);
	 -webkit-filter: brightness(2) saturate(2);
}
.prev, .next  {
	margin-top: 0;
	margin-right: 15%;
	margin-left: 15%;
	margin-bottom: 30px;
	text-decoration: underline;
}
.prev {
	float: left;
	clear: left;
}
.next {
	float: right;
	clear: right;
}
.last {
	/* [disabled]display: none; */
	filter: brightness(40%);
	text-decoration: none;
}
.linkimgs img {
	margin: 20px;
}

img.otacon {
	display: block;
	position: fixed;
	right: 12px;
	max-width: 20%;
	bottom: 12px;
	z-index: 9;
	filter: url(#crispify);
}

img.sized {
	max-width: 95%;
	height: auto;
}

div.chosenby, div.rtfm {
	margin: 0px 60px;
	vertical-align: middle;
}
.wobble {
  font-size: 1.0rem;
}

@keyframes wobb {
  0%, 100%   {transform: translateY(0px)}
  25%  {transform: translateY(-3px)}
  75%  {transform: translateY(3px)}
}

.wobble span {
  animation-name: wobb;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-duration: 2400ms;
  display: inline-block;
  transform: translateY(0px);
}

.marker {
		font-family: 'Permanent Marker', cursive;
		font-size: 150%;
}

.static2 {
	background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../image/staticbgi1.gif");
	background-size: cover;
	font-style: normal;
	font-weight: 400;
	text-shadow: -2px -2px 2px red, 2px 2px 2px blue;
}

.static2 p.static-deadline {
	text-shadow: 2px 2px 2px blue;
}

.spacer {
  height: 100px;
}

body.larry {
	zoom: 0.9; 
    -moz-transform: scale(0.9); 
    -moz-transform-origin: 0 0;
}

.page-section {
   display: none;
}

.page-section.active {
    display: block;
}

button.link {
	margin: 0px;
	padding: 0px;
	background-color: #000;
	border: none;
	cursor: pointer;
}

.rgb::after {
  content:"";
  background: linear-gradient(45deg,
  #ff0000 0%, 
  #ff9a00 10%,
  #d0de21 20%,
  #4fdc4a 30%, 
  #3fdad8 40%,
  #2fc9e2 50%, 
  #1c7fee 60%, 
  #5f15f2 70%, 
  #ba0cf8 80%, 
  #fb07d9 90%, 
  #ff0000 100%  )
  repeat 0% 0% / 300% 100%;
  position: absolute;
  inset: 3px;
  border-radius: 20px;
  filter: blur(8px);
  transform: translateZ(-10px); /*or z-index */
  animation: rgb 6s linear infinite;
}

@keyframes rgb {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.fliph {
	transform: scalex(-1);
}

.flipv {
	transform: scaley(-1);
}

.record {
	color: #29A6F5;
	font-size: 2em;
	font-weight: 600;
	line-height: 1.3em;
}
