@font-face {
    font-family: 'QCMU Serif Mono';
    src: url('QCMU-Serif-Mono.woff2') format('woff2');
    /*src: url('CMUQCircuit-Serif.svg') format('svg');
    src: url('QCMU-Serif-Mono.ttf') format('truetype');
    src: url('CMUQCircuit-Serif.otf') format('opentype');
    src: url('CMUQCircuit-Serif.woff') format('woff');
    src: url(CMUQCircuit-Serif.woff2) format('woff2');*/
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-feature-settings: "rlig" on;
    font-feature-settings: "liga" on;
}

@font-face {
  font-family: 'icon';
  src: url('icon.woff2') format('woff2');
  /*src: url('CMUQCircuit-Serif.svg') format('svg');
  src: url('QCMU-Serif-Mono.ttf') format('truetype');
  src: url('CMUQCircuit-Serif.otf') format('opentype');
  src: url('CMUQCircuit-Serif.woff') format('woff');
  src: url(CMUQCircuit-Serif.woff2) format('woff2');*/
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.icon{
  font-family: 'icon';
  font-size: 2.5rem;
  font-style: normal;
}

.qcircuit {
    font-family: 'QCMU Serif Mono';
    font-weight: 500;
    font-style: normal;
}

.qcircuit-h2 {
  font-family: 'QCMU Serif Mono';
  font-weight: 500;
  font-style: normal;
  font-size: 24pt;
}

.qcircuit-header {
    font-family: 'QCMU Serif Mono';
    font-weight: 500;
    font-style: normal;
    text-align: center;
}

.footer{
  grid-column: main;
  grid-row: 3 / 4;
  font-size: 10pt;
  color: black;
  text-align: right;
}

.copy{
  background-color: whitesmoke;
  padding: 25px;
  border-radius: 10px;
}

.menu{
  background-color: transparent;
  padding: 5px;
  border-radius: 5px;
  color: black;
}

.example{
  font-family: 'Courier New', Courier, monospace;
  padding: 20px;
  font-size: 24px;
}

body {
  /*
  background: rgb(0,11,161);
  background: radial-gradient(circle, rgba(0,11,161,1) 0%, rgba(17,113,244,1) 11%, rgba(255,106,0,1) 29%, rgba(254,251,254,1) 47%, rgba(255,188,0,1) 56%, rgba(161,146,23,1) 66%, rgba(4,120,60,1) 79%, rgba(70,138,44,1) 93%);
  */
  background: whitesmoke;
  font-family: Helvetica, Arial, Sans-Serif;
  font-size: 14pt;
}

.grid-container{
  padding: 0;
}

iframe {
    display: block;
    border-style:none;
    margin: 0 auto;
}

.layout {
  display: grid;
  grid-template-columns: 15px [nav] 2fr [main] 70vw 1fr;
  grid-template-rows: 70px [main] 1fr [foot] 3em;
  overflow: hidden;
}

.content {
  grid-column: main;
  grid-row: main;
}

/*
.menu,
.copy {
    margin-top: -3em;
    margin-bottom: -3em;
    padding-top: 3em;
    padding-bottom: 3em;
}
*/

.copy {
    flex-grow: 1;
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.menu{
    flex-grow: 1;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}


.menu-item{
  box-shadow: inset 0 0 0 0 black;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  background-color: transparent;
  color: black;
}

.menu-item:hover{
  box-shadow: inset 190px 0 0 0 black;
  color: white;
  font-weight: bold;
}

.menu-item a:link, a:visited, a:active{
  color: black;
  text-decoration: none;
}

.menu-item a:hover{
  color: white;
  text-decoration: none;
}

/*
a:link, a:visited {
  background-color: white;
  color: black;
  border: 2px solid green;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 120px;
}

a:hover, a:active {
  background-color: green;
  color: white;
}*/

.header-qcmu{
  grid-column: 1 / 6;
  grid-row: 1 / 2;
  font-family: 'QCMU Serif Mono';
  font-weight: 500;
  font-style: bold;
  text-align: center;
  color: black;
  font-size: 5vh;
  /*
  background: rgb(0,0,0);
  background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  */
  background: whitesmoke;
  border-radius: 10px;
  padding: 10px;
  white-space: nowrap;
}

.header-qcmu:before {
  content: "";
  margin-left: -100%;
}
.header-qcmu:after {
  content: "";
  margin-right: -100%;
}

a:link, a:visited, a:active{
  color: black;
  text-decoration: underline;
}

a:hover{
  color: black;
  text-decoration: underline;
}

.header-qcmu a{
  color: black;
  text-decoration: none;
}

#mobile-menu{
  font-family: 'QCMU Serif Mono';
  padding: 0;
  position: absolute;
  left: 5;
  top: 5;
  display: none;
  z-index: 20;
  color: black;
  background-color: whitesmoke;
  border-radius: 5px;
  font-size: 200%;
}

#mobile-menu-cont {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  z-index: 10;
  background-color: whitesmoke;
  font-size: 2rem;
}

#mobile-menu-cont.active {
  display: block;
  text-align: center;
  color: black;
}

#mobile-menu-cont.active a{
  color: black;
  text-decoration: none;
}

#mobile-menu-cont.active a:hover{
  text-decoration: underline;
}

@media only screen and (max-device-width: 480px) {
  #menu {
      display: none;
  }
  #mobile-menu {
      display: block;
      font-size: 4rem;
  }
  .menu-item{
    padding: 10px;
    margin: 5px;
  }
  .header-qcmu{
    font-size: 1.5vw;
  }
  .menu-item:hover{
    box-shadow: inset 0 0 0 0 black;
    color: black;
    font-weight: bold;
  }
  body {
    font-size: 16pt;
  }
}

label {
  color:blue;
  text-decoration:underline;
  cursor:pointer;
}

.smalldesc {
  max-height: 1px;
  overflow: hidden;
  transition: all .3s ease;
  background-color: whitesmoke;
  border-radius: 5px;
  padding: 10px;
}

.smalldesc.expand {
  max-height: 400px;
  overflow: scroll;
  background-color: lightgray;
}

