/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

*{
  box-sizing: border-box;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background-color: #EBF5EE;
  color: black;
}

/* Style the header */
header{
  background-color: #283044;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: white;
}

/* Container for flexboxes on the side */
section{
  display: -webkit-flex;
  display: flex;
}

/* Style the navigation menu */
nav{
  background: #8B786D;
  padding: 5px;
  width: 25%;
}

/* Style the list inside the menu */
nav ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: #BFA89E;
  border: 1px solid #8B786D;
  height: 100%;
  overflow: auto;
}

li a{
  display: block;
  color: #EBF5EE;
  padding: 8px 16px;
  text-decoration: none;
}

li{
  text-align: center;
  border-bottom: 1px solid #8B786D;
}

li:last-child{
  border-bottom: none;
}

li a.active{
  background-color: #283044;
  color: white;
}

li a:hover:not(.active){
  background-color: #78A1BB;
  color: white;
}


/* Style the content */
article{
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  background-color: #EBF5EE;
  padding: 10px;
  height: 100%;
}

/* Style the footer */
footer{
  background-color: #283044;
  padding: 10px;
  text-align: center;
  color: white;
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
  section{
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}

/* iframe content editing */

iframe{
  border: none;
  padding: 0px;
  height: 100%;
  width: 100%;
}

/* table content editing */

table{
  width: 100%;
}

table, th, td {
  border: 1px inset black;
}





















