@font-face {
  font-family:myFont;
  src:url(RobotoMono-Regular.ttf);
}

* {box-sizing: border-box;}

:root {
  font-size: 24px;
}

html {
  width: 100%;
  height: auto;

  margin: 0;
  border: 0;
  padding:0;
}

body {

  height: 100%;
  width: 100%;
  margin: 0;
  border: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 0;
  padding-right: 0;

  background: linear-gradient(rgb(135, 161, 205), rgb(210,210,210), rgb(135,161,205));;
  background-color: rgb(145,171,215);
  background-repeat: no-repeat;
  background-attachment: fixed;

  font-family: myFont;
}

select {
  font-family: myFont;
}

.dropDown {
  font-family: myFont;
}

a {

  padding:0;
  margin:0;
  border:0;
  text-decoration: none;
  text-decoration-style: solid;
  text-decoration-line: none;
  color: rgb(0,0,0);
}

#home_link {
  font-size: min(7vw, 24px);
}

#wake_lock_label {
  font-size: min(24px, 5vw);
}

#outer {
  display:none;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(0,0,0);
  margin: 2px;
  padding: 4px;
}

#bingo {
  display: none;
  border-style: dashed;
  border-width: 2px;
  border-color: rgb(0,0,0);
  flex-direction: row;
  padding-top: 4px;
  padding-right: 4px;
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
}

#B1 {
  border-radius: 0px;
}

#B2 {
  border-radius: 6.48px;
}

#B3 {
  border-radius: 12.85px;
}

#B4 {
  border-radius: 19.28px;
}

#B5 {
  border-radius: 25.92px;
}

#B6 {
  border-radius: 32.4px;
}

#B7 {
  border-radius: 45px;
}

.bng {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  width: 70px;
  border-style: solid;
  border-radius: 14px;
  border-width: 2px;
  border-color: rgb(0,0,0);
  background-color: rgba(0, 0, 0, 0.4);
  margin-bottom: 4px;
  margin-left: 4px;
  font-size: min(70px, 18vw);
}

.FMImage {

  max-height: 100%;
  max-width: 100%;

  min-height: 0px;
  min-width: 0px;

  object-fit: scale-down;
}

.FMImage2 {

  max-width: 100%;
  height:auto;

  min-height: 0;
  min-width: 0;

  object-fit:contain;
}

#MCMApp{

  display: flex;
  flex-direction: column;
  border-style: dotted;
  border-width: 4px;
  border-color: rgb(100, 100, 100);
  border-radius: 14px;
  padding:10px;
  margin: 4px;
}

#TMSA_form{

  display: flex;
  flex-direction: column;
  border-width: 0px;
  padding:0px;
  margin: 0px;
}

#time {display: none;}

#pause {display: none;}

#start {display: none;}

#start2 {display: none;}

#resume {display: none;}

select {
  border-radius: 8px;
  padding:10px;
  margin: 4px;
  font-size: 18px;
  font-family: myFont;
  text-align: center;
}

option {
    font-family: myFont;
}

#shuffle {
  display: none;
}

#reset {
  display: none;
}

button {
  border-radius: 8px;
  padding:10px;
  margin: 4px;
  font-size: 18px;
  font-family: myFont;
  text-align: center;
}

.wake_lock_form {
  display: flex;
  flex-direction: row;
  text-align: center;
}

label {
    font-family: myFont;
    font-size: 20px;
}

#stringCross{display: none;}

.TMSAHeaderImage {

  width: 500px;
  height: auto;

  max-width: 100%;
  max-height: 100%;

  min-height: 0px;
  min-width: 0px;

  padding-left: 8px;
  padding-right: 8px;

  object-fit:contain;
}

#TMSAGrd {

  display: grid;
  display: -webkit-grid;
  width: 100%;
  height: auto;
  grid-template-rows: max-content auto 20px;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-content: stretch;
  align-content: stretch;
  justify-items: center;
  align-items: stretch;

}

#TMSAImage {
  grid-row: 1;
  grid-column: 1;
}

#TMSAContent {

  grid-row: 2;
  grid-column: 1;

  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: myFont;
  width:100%;
  flex-wrap: wrap;

}

#TMSACopyright{
  grid-row: 3;
  grid-column: 1;
  padding-left: 8px;
  padding-right: 8px;
}

a.reg-link:link {color:rgb(0, 0, 0);}
a.reg-link:hover {color:rgb(100, 100, 100);}

.reg-link {
  font-size:14px;
  width:25%;
  text-align: center;
}

.audio-head {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: center;
  font-size:24px;
}

.TMSAsection {
  display:flex;
  justify-content:flex-start;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 8px;
  }

  a.book-link:link {color:rgb(0, 0, 0);}
  a.book-link:hover {color:rgb(100, 100, 100);}
  .book-link {font-size:24px;}

  @media screen and (max-width: 1200px){
    .reg-link {width:32%;}
  }

  @media screen and (max-width: 900px){
    .reg-link {width:50%;}
  }

  @media screen and (max-width: 624px){
    .reg-link {width:100%;}
    .audio-head {font-size: 20px;}
    #bingo {
      flex-direction: column;
      border-bottom-left-radius: 45px;
      border-bottom-right-radius: 45px;
      border-top-right-radius: 0px;
    }
  }
