header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background-color: #3ccdb8;
    border-bottom: 1px solid #888888;
}

main {
    margin-top:5rem;
    max-width: 800px;
}

h2 {
    color: #247b6e;
}

h3 {
    color: #0a5c88;
}

.emph1 {
  color: #247b6e;
  font-weight:bold;
}

.emph2 {
    color: #3ccdb8;
    font-weight:bold;
}

.emph3 {
    color: red;
    font-weight:bold;
}

.mathit {
    font-family: Georgia;
    font-style: italic;
}

div.cfig {
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

div.lfig {
  margin: 0 auto;
  text-align: center;
  padding-right: 2rem;
}

div.rfig {
  margin: 0 auto;
  text-align: center;
  padding-left: 2rem;
}

div.sfig {
  width: 100%;
  overflow-x: scroll;
}

div.tbl {
  display: table;
}

div.tcl {
  display: table-cell;
}

li {
  margin-bottom: 0.5rem;
}

ol li::marker{
	font-weight:bold;
	color:#247b6e;
}

#logo {
    float: left;
}
#logo img {
    object-fit: cover;
    width: 5rem;
    height: 4rem;
}

#title {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: large;
  font-weight: bold;
  line-height: 1.2;
}

#pcNav {
    display: none;
}

@media screen and (min-width:480px) {
  #title {
    position: absolute;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: large;
    font-weight: bold;
  }
}

@media screen and (min-width:800px) {
    #title {
        position: absolute;
        top: 0.1rem;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: x-large;
        font-weight: bold;
    }

    #pcNav {
        list-style: none;
        position: absolute;
        top: 1.2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 2rem;
    }

    #pcNav a {
        padding: 0.2rem;
        white-space:nowrap;
        text-decoration: none;
        color: #247b6e;
        font-weight:bold;
    }

    #pcNav a.no_link {
        color: #cc4466;
    }
  
    #pcNav a:hover {
        color: #cc4466;
        background-color: rgba(255, 255, 255, .6);
    }

    #HumbergerMenu {
        display: none;
    }

    div.lfig {
      float: left;
      text-align: center;
      padding-left:1rem;
    }

    div.rfig {
      float: right;
      text-align: center;
      padding-left:1rem;
    }

}

/*///// Hide Checkbox /////*/
#checkbox {
    display: none;
}
  
/*///// Humberger Menu /////*/
#HumbergerMenu {
  position: fixed;
  top: 1.2rem;
  right: 1rem;
  width: 32px;
  height: 20px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}

#HumbergerMenu,
#HumbergerMenu span {
  z-index: 10;
}

#HumbergerMenu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 6px;
  transition: all 0.5s;
}

#HumbergerMenu span:nth-of-type(1) {
  top: 0;
}
#HumbergerMenu span:nth-of-type(2) {
  top: 50%;
}

#HumbergerMenu span:nth-of-type(3) {
  top: 100%;
}

#checkbox:checked ~ label span:nth-of-type(1) {
  transform: translateY(10px) rotate(-36deg);
}

#checkbox:checked ~ label span:nth-of-type(2) {
  opacity: 0;
}
#checkbox:checked ~ label span:nth-of-type(3) {
  transform: translateY(-10px) rotate(36deg);
}

/*///// Global Nav /////*/
#globalNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(55, 185, 165, .9);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}

#checkbox:checked ~ #globalNav {
  visibility: visible;
  opacity: 1;
}

#globalNav ul {
  list-style: none;
  padding: 80px 4%;
  height: 100%;
  overflow-y: scroll;
}

/*///// Global Nav and Webpage style /////*/
#globalNav li {
  margin: 0 auto 0.1rem;
  max-width: 800px;
  border-left: 6px solid #333;
}

#globalNav a {
  display: block;
  padding: 1rem;
  background-color: rgba(255, 255, 255, .5);
  color: #247b6e;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.5s;
}

#globalNav a.no_link {
  color: #cc4466;
}

#globalNav a:hover {
  color: #cc4466;
  background-color: rgba(255, 255, 255, .8);
  padding-left: 2.5rem;
}