html {

  width: 100%;
  height: auto;

  margin: 0;
  border: 0;
  padding:0;
}

body {

  display:flex;
  justify-content: center;

  height: 100%;
  width: 100%;
  margin: 0;
  border: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
}

#outer {
  display:none;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(0,0,0);
  margin: 2px;
  padding: 4px;
}

.FMImage2 {

  max-width: 100%;
  height:auto;

  min-height: 0;
  min-width: 0;

  object-fit:contain;
}

.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: 100px max-content max-content auto 20px;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-content: stretch;
  align-content: stretch;
  justify-items: center;
  align-items: stretch;

}


#TMSAButton {
  grid-row: 1;
  grid-column: 1;
}

#TMSAHeader {

  grid-row: 2;
  grid-column: 1;
}

#TMSAImage {
  grid-row: 3;
  grid-column: 1;
}

#TMSAContent {

  grid-row: 4;
  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: 5;
  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: min(14px, 4vw);
  width:25%;
  text-align: center;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 1px;
  margin-bottom: 1px;
  border-top: 1px;
  border-bottom: 1px;

}

.audio-head {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: center;
  font-size: min(24px, 6vw);
}

.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%;}
    #bingo {
      flex-direction: column;
      border-bottom-left-radius: 45px;
      border-bottom-right-radius: 45px;
      border-top-right-radius: 0px;
    }
  }
