main {
  line-height: 1.5;
  font-family: sans-serif;
}

.page-wrapper {
  padding: 30px 10px 10px 230px;
  height: 100%;
 margin-left: 20px;
}

p {
  padding: 10px;
  margin-left: 10px;
      word-wrap: break-word;
}

em {
  font-style: italic;
  color: #fd8f77;
}

section{
  width: 100%;
}

.main-content {
  border: none;
  padding: 10px;
  border-radius: 0px;
  margin: 10px;
  width: 100%;
  height: auto;
    word-wrap: break-word;
}

h1, h3 {
  color: #ec3672;
}

h4 {
  color: #fd8f77;
}

.nav-link {
  text-decoration: none;
  cursor: pointer;
  font-size: 1.2em;
  color: white;
}

/* this is a button link style for any links made in the report*/
.report-link {
  display: block;
  margin: auto;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  color: black;
  width: 75%;
  background: #fd8f77;
  padding: 10px 15px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 3px 3px 8px #b3b4b4;
}

header {
  padding-top: 15px;
  font-size: 30px;
  font-family: sans-serif;
  border-radius: 2px;
  color: black;
}

#navbar {
  position: fixed;
  background-color: #f3c985;
  border-radius: 1px;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  height: 100%;
  width: 220px;
  margin: auto;
  padding: 10px 0px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.avatar {
  height: 100px;
  width: 100px;
  display: block;
  margin: 0px 0px 0px 20px;
  padding: 0px 0px 20px 0px;
  border-radius: 100px;
}

#navbar li {
  display: block;
  list-style: none;
  margin: 0px 10px 0px -5px;
  text-align: center;
  text-decoration: none;
  font-family: sans-serif;
  padding: 10px 5px 8px 5px;
  background-image: linear-gradient(to right, #ec3672, #fd8f77);
  width: 130px;
  height: 25px;
  border-radius: 30px;
  font-size: 14px;
}

/* list style for anything in the report */
.report-list {
  list-style-type: none; /* Remove bullets */
  padding-left: 20px;
  margin: 2px;
}

li {
  padding-left: 20px;
  margin: 2px;
  font-size: 14px;
}

a:visited {
  color: black;
}

a:hover {
  color: black;
}

.description {
  text-align: center;
  font-size: 1.8em;
  padding-bottom: 20px;
}

hr {
  border-top: 0.5px solid #ededed;
}

@media only screen and (max-width: 480px) {
  #navbar {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    margin-top: 0px;
    z-index: 1;
    overflow-x: hidden;
    height: 400px;
    width: 100%;
  }

  /*Code for toggle styling */
  .fold {
    display: block;
    width: 60vw;
    height: auto;
    background-color: #ededed;
    padding: 10px 20px;
    margin-top: 20px 0px;
    border-radius: 5px;
    font-family: sans-serif;
    font-family: monospace;
    word-wrap: break-word;
    box-decoration-break: clone;
    border-top: 8px solid #b3b4b4;
  }
}

code {
  display: block;
  width: 60vw;
  height: auto;
  background-color: #ededed;
  padding: 10px 20px;
  margin-top: 20px 0px;
  border-radius: 5px;
  font-family: sans-serif;
  font-family: monospace;
  word-wrap: break-word;
  box-decoration-break: clone;
  border-top: 8px solid #b3b4b4;
}

.unfolder {
  display: none;
}

#dataset-fold {
  border-left: 5px solid #ec3672;
  padding-left: 10px;
}

.toggle-label {
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
  width: 65vw;
  height: 40px;
}

#data-cleaning-toggle {
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  width: 65vw;
  height: 40px;
  background-color: #fde9ee;
  border-radius: 50px;
}

.unfold-icon,
.fold-icon {
  color: #ec3672;
  padding: 10px;
  // fixed width to stop the icon from wiggling
  width: 10px;
  display: inline-block;
}
.unfolder ~ .fold {
  display: none;
}
.unfolder ~ label .fold-icon {
  display: none;
}

.unfolder:checked ~ .fold {
  display: block;
}
.unfolder:checked ~ label .fold-icon {
  display: inline-block;
}
.unfolder:checked ~ label .unfold-icon {
  display: none;
}

.chart {
  width: 60vw;
  height: auto;
  display: block;
  margin: auto;
}

/* media queries for mobile resizing */ 
@media (max-width: 815px) {
  .avatar {
    margin: auto;
  }

#table {
  width: 90%;
  display: block;
  margin: auto;
}
  .page-wrapper{
    padding: 370px 10px 10px 10px;
  height: 100%;
    margin: auto;
  }
  .main-content {
  height: auto;
    width: 90vw;
    font-family: sans-serif;
    margin-right: 20px;
  }

.chart {
  width: 80vw;
  height: auto;
  margin-left: 15px;
}

  .fold {
  display: none;
  width: 75vw;
  height: auto;
  background-color: none;
    background: none;
  padding: 10px 20px;
  margin: auto;
  border-radius: none;
  font-family: sans-serif;
  word-wrap: break-word;
  box-decoration-break: clone;
  border-top: none;
}

  code {
  display: block;
  width: 75vw;
  height: auto;
  background-color: #ededed;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 5px;
  font-family: sans-serif;
  font-family: monospace;
  word-wrap: break-word;
  box-decoration-break: clone;
  border-top: 8px solid #b3b4b4;
}

#data-cleaning-toggle {
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  width: 65vw;
  height: 40px;
  background-color: #fde9ee;
  border-radius: 50px;
}

  #dataset-fold {
  border-left: 5px solid #ec3672;
    border-top: none;
  padding-left: 10px;
    margin-top: 20px;
    color: none;
    background: none;
}
}
