@font-face{
  font-family: "Volter";
  src: url("volter.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #000;
  --fg: #fff;
  --panel: #555555;

  --main-w: 442px;
  --col-w: 216px;
  --gap: 10px;

  --arrow-col: 44px;
  --text-col: 164px;
  --right-col: 8px;

  --fs: 12px;

  --yellow: #ffd400;

  --corner: 10px;
  --footer-h: 44px;

  --page-pad: 16px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Volter", Verdana, Geneva, Arial, sans-serif;
  font-size: var(--fs);
  line-height: var(--lh);
}

a{
  color: var(--fg);
  text-decoration: underline;
}

img{ display:block; }

.spacer-8{ height: 8px; }
.red{ color: red; }
.green{ color: green; }

.download-link{
  color: var(--yellow);
}


.page{
  min-height: 95vh;
  display: grid;
  place-items: center;
  padding: var(--page-pad) 0;
}

.main{
  width: var(--main-w);
  text-align: center;
}

.logo{
  margin: 0 auto;
  width: var(--main-w);
}


.panel{
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.panel::before,
.panel::after{
  content: "";
  position: absolute;
  width: var(--corner);
  height: var(--corner);
  z-index: 1;
  pointer-events: none;
}

.panel::before{
  top: 0;
  left: 0;
  background: url("graphics/topleft.png") no-repeat;
}

.panel::after{
  top: 0;
  right: 0;
  background: url("graphics/topright.png") no-repeat;
}

.panel-inner{
  position: relative;
  z-index: 0;
  height: 100%;
}

.panel-inner::before,
.panel-inner::after{
  content: "";
  position: absolute;
  width: var(--corner);
  height: var(--corner);
  z-index: 1;
  pointer-events: none;
}

.panel-inner::before{
  bottom: 0;
  left: 0;
  background: url("graphics/bottomleft.png") no-repeat;
}

.panel-inner::after{
  bottom: 0;
  right: 0;
  background: url("graphics/bottomright.png") no-repeat;
}


.columns{
  display: flex;
  gap: var(--gap);
  justify-content: center;
  align-items: stretch;
}

.col{
  width: var(--col-w);
  display: flex;
  flex-direction: column;
}

.panel-row{
  display: grid;
  grid-template-columns: var(--arrow-col) var(--text-col) var(--right-col);
  align-items: start;
}

.arrow{
  display: flex;
  justify-content: flex-end;
  padding-top: calc(var(--lh) - 6px);
  padding-right: 2px;
  margin-top: 14px;
  margin-right: 4px;
}

.arrow img{ display:block; }

.text{
  text-align: left;
  padding: 8px 0;
}

.rightpad{ width: var(--right-col); }

.english-inner{
  display: grid;
  grid-template-columns: 10px 1fr 10px;
  text-align: center;
}

.english-center{
  padding: 8px 0 6px 0;
}

.twodiscos{
  margin: 0px auto 0;
}

/* footer */
.footer{
  width: var(--main-w);
  height: var(--footer-h);
}

.footer-inner{
  height: var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-text{
  white-space: nowrap;
}


.main.bugs{
  text-align: left; 
}

.layout{
  display: flex;
  flex-direction: column;
}

.header-block{
  flex: 0 0 auto;
  text-align: center;
}

h1{
  font-size: var(--fs);
  font-weight: normal;
  text-align: center;
  margin: 16px 0 8px;
  color: var(--yellow);
}

.intro{
  text-align: center;
  margin-bottom: 12px;
}

.scroll{
  flex: 1 1 auto;
  overflow-y: auto;
  background: #000;
  padding: 8px 12px;
  height: 350px
}

.section{
  margin-bottom: 12px;
}

.section-title{
  color: var(--yellow);
  text-align: center;
  margin: 0 0 8px 0;
}

.bug{
  margin-bottom: 10px;
}

.bug-desc{
  margin-left: 12px;
  color: #555555;
}

.scroll::-webkit-scrollbar{
  width: 8px;
}
.scroll::-webkit-scrollbar-track{
  background: #000;
}
.scroll::-webkit-scrollbar-thumb{
  background: #555;
  border: 1px solid #000;
}
.scroll::-webkit-scrollbar-thumb:hover{
  background: #777;
}

.reset-form{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.reset-form label{
  font-family: "Volter", Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 14px;
  color: #ffffff;
}

.reset-form input[type="text"]{
  font-family: "Volter", Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 14px;

  background: #555555;
  color: #ffffff;

  border: 1px solid #ffffff;
  padding: 2px 4px;
  height: 18px;
  width: 120px;

  outline: none;
}

.reset-form input[type="text"]:focus{
  border-color: #ffd400;
}

.reset-button{
  font-family: "Volter", Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 14px;

  background: #555555;
  color: #ffd400;

  border: 1px solid #ffffff;
  padding: 2px 6px;
  height: 18px;
  cursor: pointer;
}

.reset-button:hover{
  background: #ffffff;
  color: #000000;
}
