html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'Helvetica', 'Verdana', sans-serif;
  font-weight: 400;
  font-display: optional;
  color: black;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  overflow: hidden;
}
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-align-content: stretch;
      -ms-flex-line-pack: stretch;
          align-content: stretch;
}
li {
	width: 100%;
	margin: auto;
	margin-top: 5px;
	margin-bottom: 50px;
	font-size: 1em;
	color: black;
}
.list-item {
	position: relative;
	text-align: center;
}
.set-image {
	width: 100%;
}
.app-image {
	width: 50px;
	margin: 10px;
}
.img-caption {
	position: relative;
	width: 100%;
	text-align: center;
	font-size: 1em;
	margin: auto;
}
.item-text {
	position: relative;
	text-align: center;
	font-size: 0.8em;
	margin: auto;
}
.app-caption {
	position: relative;
	left: 10px;
	width: 100%;
	text-align: left;
	font-size: 1em;
	margin: auto;
}
.app-text {
	position: relative;
	margin: 10px;
	text-align: left;
	font-size: 0.8em;
}
.text-button {
	border: none;
	border-radius: 5px;
	margin: 5px;
	padding: 5px;
	font-size:1.2em;
	font-weight: bold;
	color: white;
	background-color:#555;
}
.tab {
	position: absolute;
	left: 100px;
	width: 60%;
}
#main {
    width: 100%;
    position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#header {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    color: black;
	font-size: 1.2em;
    background-color: white;
    opacity: 75%;
    z-index: 10;
}
#logo {
	position: absolute;
	top: 5px;
	left: 10px;
}
#currentSection {
	position: absolute;
	top: 5px;
	left: 15%;
	width: 25%;
	text-align: center;
	font-weight: bold;
	color: black;
}
#nextSection {
	position: absolute;
	top: 5px;
	left: 40%;
	width: 25%;
	text-align: center;
	font-weight: bold;
	color: gray;
}
#previousSection {
	position: absolute;
	top: 5px;
	left: 65%;
	width: 25%;
	text-align: center;
	font-weight: bold;
	color: gray;
}
#gallery, #set, #library, #code, #profile, #viewer {
    margin: auto;
    padding-top: 30px;
    width: 100%;
    list-style: none;
    display: none;
    flex-direction: column;
    background: white;
    z-index: 0;
}
#profile {
	padding: 20px;
}
#set, #viewer {
	/*
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px;
	list-style: none;
	background-color: white;
	display: none;
	*/
	z-index: 20;
}
#view {
	position: absolute;
	top: 0;
}
#backButton {
	position: fixed;
	top: 10px;
	left: 20px;
	color: white;
	background-color: black;
	border: white solid 2px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 1.2em;
	z-index: 50;
}
#setTitle, #setText {
	width: 100%;
	margin: auto;
	text-align: center;
}
#setTitle {
	font-size: 1.2em;
	font-weight: bold;
}
#codeText {
	padding: 10px;
	font-size: 0.8em;
}
