:root {
  --colbg: #161516;
  --coltheme: #ecba57;
  --col3: #e21415;
}
@font-face {
font-family: Font;
src: url('images/fonts/american_captain.otf');
}
@font-face {
font-family: Font2;
src: url('images/fonts/fledermaus.otf');
}
@font-face {
font-family: Font3;
src: url('images/fonts/gothic.ttf');
}
html {
  height: 100%;
}
body {
  background: var(--colbg) url('images/bg.jpg');
  background-attachment: fixed;
  font-family: Font;
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  touch-action: none;

}
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
div {
  box-sizing: border-box;
}
body::-webkit-scrollbar {
  background: var(--colbg);
}
body::-webkit-scrollbar-thumb {
  background: var(--coltheme);
}
p {
  margin: 0;
  font-family: Font3;
  font-size: 21px;
  color: var(--coltheme);
}
img {
  border: 0;
}
a {
  color: var(--coltheme);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  filter: contrast(130%);
}
h1, h2, h3, h4, h5, h6 {
  font-family: Font;
  font-size: 78px;
  color: var(--coltheme);
  font-weight: normal;
  margin: 0;
}
input {
  width: 335px; height: 56px;
  background: url('images/input.png') no-repeat;
  color: var(--coltheme);
  font-family: Font2;
  font-size: 33px;
  border: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 0 30px;
  box-sizing: border-box;
  margin-bottom: 8px;
}
input:focus {
    outline: none !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition-delay: 9999s;
   transition-delay: 9999s;
}
form {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
input, textarea, button, select, a {
  -webkit-tap-highlight-color: transparent;
}
select {
  font-size: 20px;
  border: 1px solid #ecba57;
  color: var(--coltheme);
  background: #24180b;
  border-radius: 5px;
  padding: 3px;
}

.p188 {font-size: 188px;}
.p125 {font-size: 125px;}
.p96 {font-size: 96px;}
.p36 {font-size: 36px;}
.p29 {font-size: 29px;}
.p24 {font-size: 24px;}
.p18 {font-size: 18px;}
.p16 {font-size: 16px;}
.p15 {font-size: 15px !important;}
.pred {color: #e21415;}
.pgreen {color: #16b206 !important;}


#main {
  width: 100%; height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
#mainfix {
  width: 100%; height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.button {
  width: 260px; height: 71px;
  background: url('images/button.png') no-repeat;
  color: var(--coltheme);
  font-family: Font2;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  text-transform: uppercase;
}
#table {
  width: 450px; height: 831px;
  background: url('images/table.png') no-repeat;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  align-items: center;
  padding: 50px 20px;
}
.badge {
  width: 57px; height: 76px;
  background: url('images/badge.png') no-repeat;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  color: #1a140e;
  font-size: 49px;
  font-family: Font;
}
.fle {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}
#agree {
  border: 3px solid var(--coltheme);
  width: 20px; height: 20px;
  background: none;
  margin: 0 10px 0 0;
}
.unlink {
  text-decoration: underline;
}
.fee {
  font-size: 15px;
  margin: 5px 0 0 0;
}
#top {
  position: absolute;
  top: 0;
  width: 100%;
  height: 130px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
#top div:nth-child(1) {
  width: 491px; height: 100%;
  background: url('images/top_l.png') no-repeat;
  flex-shrink: 0;
}
#top div:nth-child(2) {
  width: 100%; height: 100%;
  background: url('images/top_c.png') repeat-x;
}
#top div:nth-child(3) {
  width: 180px; height: 100%;
  background: url('images/top_r.png') no-repeat;
  flex-shrink: 0;
}
#top2 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 130px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
#top2 p {
  color: var(--coltheme);
  font-family: Font2;
  font-size: 30px;
}
.sign {
  display: block;
  width: 121px; height: 120px;
  background: url('images/sign.png') no-repeat;
  background-size: cover;
  flex-shrink: 0;
}
.username {
  width: 76%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px 0 0;
}
.username p {
  margin: 0 20px 0 0;
  text-align: right;
  line-height: 100%;
}
#bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 132px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
#bottom div:nth-child(1) {
  width: 279px; height: 100%;
  background: url('images/bottom_l.png') no-repeat;
  flex-shrink: 0;
}
#bottom div:nth-child(2) {
  width: 100%; height: 100%;
  background: url('images/bottom_c.png') repeat-x;
}
#bottom div:nth-child(3) {
  width: 384px; height: 100%;
  background: url('images/bottom_r.png') no-repeat;
  flex-shrink: 0;
}
#bottom2 {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 132px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
#bottom2 > div:nth-child(1) {
  width: 200px;
  flex-shrink: 0;
  color: #ecba57;
  font-size: 60px;
  font-family: Font;
}
#bottom2 > div:nth-child(3) {
  width: 10px;
  flex-shrink: 0;
}
#medal {
  width: 659px; height: 596px;
  background: url('images/medal.png') no-repeat;
  padding: 105px 0 0 0;
}
#medal p {
line-height: 100%;
}
#medal p:nth-child(1) {
  font-size: 38px;
  color: #6b471f;
  font-family: Font;
}
#medal p:nth-child(2) {
  font-size: 69px;
  color: #fbeb5f;
  font-family: Font;
}
#medal p:nth-child(3) {
  font-size: 169px;
  color: #fbfe99;
  font-family: Font;
  -webkit-text-stroke: 5px #421f08;
}
.day {
  font-size: 23px;
  color: #ecba57;
  font-family: Font;
}
.day div {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
}
.day_done {
  width: 58px; height: 60px;
  background: url('images/day_done.png') no-repeat;
  color: #432008;
}
.day_now {
  width: 58px; height: 60px;
  background: url('images/day_now.png') no-repeat;
}
.day_ord {
  width: 58px; height: 60px;
  background: url('images/day.png') no-repeat;
}
.day_red {
  width: 58px; height: 60px;
  background: url('images/day_red.png') no-repeat;
  color: #fff;
}
.day_green {
  width: 58px; height: 60px;
  background: url('images/day_green.png') no-repeat;
  color: #fff;
}
.days {
  width: 80%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  position: relative;
  top: -11px;
}
.table_small {
  width: 541px; height: 505px;
  background: url('images/table_small.png') no-repeat;
  padding: 50px 0 0 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.table_small p {
  font-family: Font;
}
#out {
  font-size: 16px;
  color: #fff;
  font-family: Font3;
  height: 30px;
}
.text {
  width: 80%;
  font-size: 18px;
  color: var(--coltheme);
  text-align: center;
  font-family: Font3;
}
#outmes {
  font-family: Font3;
  color: var(--col3);
  height: 30px;
  font-size: 16px;
}
.alo {
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
}
.wd {
  color: #f0ca47;
  font-family: Font;
  font-size: 100px;
}
#bs {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.close {
  position: relative;
  left: 200px;
  margin: -57px 0 0 0;
  display: block;
  width: 62px; height: 62px;
  background: url('images/close.png') no-repeat;
}



@media (max-height:900px) {
  body{zoom: 0.9;}
}
@media (max-height:800px) {
  body{zoom: 0.8;}
}
@media (max-height:700px) {
  body{zoom: 0.7;}
}
@media (max-height:600px) {
  body{zoom: 0.6;}
}
@media (max-height:500px) {
  body{zoom: 0.5;}
}

@media (max-width:600px) {
  body{zoom: 0.85;}
  #mainfix {
    height: auto;
    margin-top: 20%;
    position: absolute; top: 0;
  }
}
@media (max-width:500px) {
  body{zoom: 0.8;}
}
