:root {
  --main-color: lightblue;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  margin: 25px auto;
  width: 1000px;
  height: 92vh;
}

.blue {color: var(--main-color);}
.border {border: thin solid;}
.hidden {display: none;}
.block {display: block;}
.copyright {font-family: verdana; font-size: smaller;}
.underlined {text-decoration: underline;}
.text-right {text-align: right;}
.text-align-top {vertical-align: top};
.error {
  color: red;
  border: thin solid;
}

nav .table {
  display: table;
  white-space: nowrap;
}
nav .row {display: table-row;}
nav .row > * {
  display: table-cell;
  padding: 0 30px;
  text-align: right;
  vertical-align: top;
  border: 1px solid;
	border-right: none;
}
nav .row > *:hover {
  background-color: var(--main-color);
  cursor: pointer;
}
nav .row > :last-child {
	border-right: 1px solid;
}
nav .row a {
  text-decoration: none;
  color: black;
}

.table {display: table;}
.row {display: table-row;}
.row > * {
  display: table-cell;
  margin: 0 20px 20px 0;
  padding: 2px 0;
  font-family: Arial, Helvetica, sans-serif;
}
nav .row > :first-child {
  text-align: right;
  vertical-align: top;
}

.section .row > * {
  vertical-align: middle;
  margin-bottom: 50px;
  padding: 10px;
  background-color: white;
}

.section .row > :first-child {
  text-align: center;
}

.selected {
  background-color: var(--main-color);
}

.flex {display: flex;}
.flex-right {justify-content: right;}
.flex-left {justify-content: left;}
.align-top {align-items: flex-start;}
.align-right {justify-content: right;}
.align-center {justify-content: center;}
.inline {display: inline;}
.inline-block {display: inline-block;}
h1.nav-heading {
  margin-block-start: 0;
  margin-block-end: 0;
  text-align: right;
  font-size: 3em;
  font-weight: normal;
  vertical-align: bottom;
}

#nav-line {
  display: block;
}

.side-bar {
  margin-right: 50px;
}

.side-bar ul {
  list-style-type: none;
  padding-top: 0;
  padding-left: 0;
  margin: 0;
  font-size: 0.9em;
}

.side-bar ul > li {
  padding: 0 25px 20px 0;
  margin-right: 20px;
  white-space: nowrap;
}

.side-bar span {
  text-decoration: none;
  cursor: pointer;
}

.section h3 {
  margin-top: 0;
}

.float-left {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.float-right {
	float: right;
}

div.section > section {
  display: none;
}

.section-content > p:first-child {
  margin-top: 0;
}

#canvas {display: block;}

#submit {
  background-color: lightblue;
  border: thin solid;
  color: black; 
  padding: 5px 25px;
  margin-right: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
}

#submit:hover {
  background-color: rgb(136, 168, 230)
}

/* Accept Modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 500px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.modal-close {
  color: #aaa;
  float: right;
  font-size: 20px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Header layout */
header div.frame {
  border: thin solid;
  background-color: var(--main-color);
}

#nav-table {
  position: relative;
  right: 5px;
  top: 5px;
  background-color: white;
  z-index: 1;
}

/* Footer layout - can be combined with header layout */
footer {
  position: relative;
  margin-top: auto;
  font-size: 0.8em;
}

.frame {
  position: relative;
}

.frame.background {
  background-color: lightblue;
  width: 100%;
}

.frame.foreground {
  left: -5px;
  top: 5px;
  padding: 20px;
  background-color: white;
  z-index: 1;
}

footer div {
  border: thin solid;
}

footer img {
  width: 30px;
  height: 30px;
  margin-right: 20px;
}

footer img:hover {
  cursor: pointer;
}

/* Project Info Panels */
.info-panel .row .projectpane {
  margin: 0 0 20px 0;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.info-panel .row .projectpane:hover {
  /* box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 40px 0 rgba(0, 0, 0, 0.19); */
  cursor: pointer;
}

.info-panel .row .aboutpane {
  margin: 0 0 30px 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.info-panel .cell {
  display: table-cell;
  vertical-align: middle;
  white-space: nowrap;
  /* padding: 10px; */
  margin: 0;
}

.info-panel .projectpane {
  display: inline-block;
}

.about-table {
  display: table;
  border-collapse: separate;
  border-spacing: 0 20px;
}

.about-row {
  display: table-row;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.about-row:hover {
  display: table-row;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.about-cell {
  display: tabel-cell;
}

.aboutpane {
  display: flex;
  padding: 15px;
  width: 750px;
}

.imagebox {
  display: flex;
  justify-content: center;
  vertical-align: middle;
  margin: 10px;
  width: 200px;
}

.aboutpane img {
  display: inline-block;
  vertical-align: middle;
}

.aboutpane h3 {
  font-size: 1.25rem;
  margin-block-start: 0;
  margin-block-end: 0;
}

.aboutpane h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 0.90rem;
  color: gray;
}
.feature {font-size: 0.80rem;}

/* Image pane */
.info-panel img {
  margin: 10px;
  filter: brightness(95%);
  border: thin solid;
}

/* Text box pane*/
.textbox {
  vertical-align: top;
  white-space: normal;
  width: 550px;
}

.textbox h3 {
  margin: 10px 0 0 0;
}

.textbox h6 {
  margin: 0;
  font-size: 0.75em;
  color: gray;
}

.textbox p {
  margin: 10px 0;
}

.tag {
  display: inline-block;
  margin: 3px;
  border: thin solid;
  padding: 3px;
  font-size: 0.75em;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
}

/* Project page styles */
.project img {
  border: thin solid;
}

.project h3 {
  margin: 0;
}

.project .float-left {
  margin: 0 20px 0 0; 
}

.project h4 {
  font-size: 1rem;
  margin: 0
}

.project h6 {
  margin: 0;
  font-size: 0.75rem;
  color: gray;
}

.project ol {
  margin-block-start: 0;
  padding-left: 15px;
}

.project ol > li {
  text-decoration: underline;
}

.project p {
  margin: 0
} 

