html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: black;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#content-area {
  background-color: #30302f;
  color: #D0D0D0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

#title-bar {
  background: linear-gradient(to bottom, #70706f, #1c1c1b);
  color: #fabb0f;
  padding: 10px 40px 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
  position: absolute;
  left: 0;
  top: 0;
  width: fit-content;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0% 100%);
}

#title-bar h1 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#main-content {
  padding: 60px 25px 25px 25px;
  flex-grow: 1;
  overflow-y: auto;
}

.compound-box {
  display: flex;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: rgba(0,0,0,0.1);
  margin-bottom: 18px;
  /* overflow: hidden; */
  overflow: visible;
}

.compound-box-label {
  padding: 12px;
  border-right: 1px solid #555;
  display: flex;
  justify-content: center;
  text-align: center;
}

.compound-box-content {
  padding: 12px;
  line-height: 1.4;
  flex-grow: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.box-text {
	width: 95%;
}

.box-section-title {
    font-size: 1.1em;
    font-weight: 500;
    color: #fabb0f;
}

.example {
	padding-left: 30px;
	padding-right: 5px;
	display: block;
}

.example-header {
	padding: 5px;
	display: block;
}

.fplink {
	padding-left: 30px;
	padding-right: 5px;
	padding-top: 12px;
	padding-bottom: 12px;
	display: block;
}

.homelink {
  font-size: 1.2em;
  font-weight: 300;
  padding-right: 5px;
  color: #FF7F50;
}

.input-text {
    font-size: 1.1em;
    font-weight: 500;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 8px;
}

.submit-btn {
    font-size: 1.1em;
    font-weight: 500;
	display: block;
	width: 100%;
	height: 48px;
	padding-top: 12px;
	padding-bottom: 12px;
	box-sizing: border-box;
}

table {
  border: 1px solid #555;
  border-radius: 4px;
  border-collapse: collapse;
  background-color: rgba(0,0,0,0.1);
  table-layout: auto;
  width: 100%;
  margin-bottom: 1em;
}

th {
  font-size: 1.1em;
  font-weight: 500;
  color: #fabb0f;
  border-bottom: 1px solid #555;
  text-align: left;
  vertical-align: top;
  padding: 0.4em;
}

td {
  padding: 0.4em;
  border-bottom: 1px solid #555;
  text-align: left;
  vertical-align: top;
}

.shrink {
  border-right: 1px solid #555;
  width: 1px;
  white-space: nowrap;
}

.tight {
  padding-top: 0.3em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.1em;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.width1 {
  width: 1px
}

a {
	text-decoration: none;
	color: #d0d0d0;
}

a:hover {
	text-decoration: underline;
	color: #d0d0d0;
}

.text-normal {
  color: #d0d0d0; /* off-white */
}

.text-coral {
  color: #FF7F50;
}

a.text-coral:hover {
  color: #FF7F50;
}

@media (min-width: 500px) {
	.compound-box-content {
	  display: initial;
	  align-items: initial;
	  flex-direction: row;
	}

	.example {
		padding-left: 5px;
		display: inline-block;
	}

	.example-header {
		display: inline-block;
	}

	.fplink {
		padding-left: 5px;
		display: inline-block;
	}

	.input-text {
		width: initial;
		box-sizing: content-box;
		margin-bottom: 8px;
	}

	.submit-btn {
		width: auto;
		box-sizing: content-box;
		display: inline-block;
		height: initial;
		padding-top: initial;
		padding-bottom: initial;
	}
}
