html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

html {
  height: 100%;
}

body {
    display: flex;
    height: 100%;
    flex-direction: column;
    box-sizing: border-box;
}

body {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

#Tutorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

#Tutorial h1 {
  font-size: 24px;
  padding: 5px;
  font-weight: 800;
}
#Tutorial h2 {
  font-size: 18px;
  padding: 10px;
  font-weight: 800;
}
#Tutorial li {
  font-size: 18px;
  list-style-type: circle;
  font-family: 'Gotu', sans-serif;
}

#Tutorial img {
  margin-top: 5px;
  max-width: 95%;
}

p {
  font-family: 'Gotu', sans-serif;
  font-size: 18px;
}

input {
  font-family: 'Gotu', sans-serif;
}

button {
  font-family: 'Gotu', sans-serif;
}

@font-face {
    font-family: CharlemagneStd-Bold;
    src: url("/fonts/CharlemagneStd-Bold.otf") format("opentype");
}

#Middle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

button {
  margin: 10px;
  display: block;
  font-size: 20px;
  padding: 5px;
  width: auto;
  cursor: pointer;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#Middle::-webkit-scrollbar {
  display: none;
}

#Main_Section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}

#Main_Section section {
  min-width: 320px;
}

#Number_Chain_div label > input{ /* HIDE RADIO/CHECK */
  visibility: hidden; /* Makes input not-clickable */
  position: absolute; /* Remove input from document flow */
}

#Number_Chain_div label > input + p{
    box-shadow: inset 0 0 2px black;
    overflow: none;
}

.row {
  justify-content: center;
  padding: 0;
  margin: 0;
}

#Number_Chain_div {
  width: 100%;
  position: relative;
}

#Number_Chain_Board {
  border: solid black 3px;
}

#Number_Chain_Board p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 0px;
  text-align: center;
  font-weight: bold;
  font-size: 4vw;
  vertical-align: middle;
  word-spacing: 9999999px;
  line-height: 60%;
}

#Number_Chain_Board p.rows5 {
  font-size: 54px;
}
#Number_Chain_Board p.rows6 {
  font-size: 45px;
}
#Number_Chain_Board p.rows7 {
  font-size: 38px;
}
#Number_Chain_Board p.rows8 {
  font-size: 34px;
}
#Number_Chain_Board p.rows9 {
  font-size: 30px;
}
#Number_Chain_Board p.rows10 {
  font-size: 25px;
}

#Number_Chain_Board div {
  display: flex;
  flex-direction: row;
  z-index: -1;
}

#Number_Chain_Board input {
  font: 20px;
  width: 20px;
  height: 20px;
}

#Number_Chain_Board .chain1 {
    background: green !important;
}
#Number_Chain_Board .chain2 {
    background: purple !important;
}
#Number_Chain_Board .chain3 {
    background: blue !important;
}
#Number_Chain_Board .chain4 {
    background: red !important;
}
#Number_Chain_Board .chain5 {
    background: orange !important;
}
#Number_Chain_Board .chain6 {
    background: yellow !important;
}
#Number_Chain_Board .chain7 {
    background: pink !important;
}
#Number_Chain_Board .chain8 {
    background: lightblue !important;
}

#Number_Chain_Board label > input:checked + p {
    background: yellow;
}


#Buttons_div {
  display: flex;
  flex-direction: column;
}

#Buttons_div input {
  font-size: 20px;
  text-align: center;
}

.hide {
  display:  none !important;
}

#Message_div {
  font-size: 16px;
  padding: 5px;
  text-align: center;
}

#Number_Chains_Lives {
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  padding: 5px;
}
a.disabled {
  background: grey;
  pointer-events: none;
}
