/* OVERALL DOCUMENT */

@media only screen and (max-width: 500px) {
  body {
  margin-right: 10%;
  margin-left: 10%;
  font-size: calc(12px);
  }
  h3 {
    font-size: calc(12px + 1.5vw);
  }
  h5 {
    font-size: calc(12px + .75vw);
  }
}
html {
  scroll-behavior: smooth;
}
em {
  font-style: normal;
  color: limegreen;
}

/* SCROLLBAR */

body::-webkit-scrollbar {
  width: 1em;
}
body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
body::-webkit-scrollbar-thumb {
background-color: rgb(165, 169, 165);
outline: 1px solid rgb(112, 144, 128);
}

/* HEADER */

.header {
  text-align: center;
}
#project_title1, #project_title2 {
  display: inline-block;
  margin-bottom: 2rem;
}
#project_title2 {
  margin-left: 1rem;
  color: darkgreen;
}

/* KEY */

.key {
  text-align: center;
}
#key1 {
  margin-bottom: 5px;
}

/* CLIPBOARD TOOLTIP */

.copied-tooltip {
  display: none;
  position: relative;
  margin-left: 5px;
  padding: 3px 8px 1px 8px;
  color: #333;
  background: #F1F1F1;
  border: 1px solid transparent;
  border-radius: 4px;
}

.copied-tooltip:after {
  content: '';
  transform: rotate(90deg);
  position: absolute;
  top: 2px;
  left: -20px;
  display: inline-block;
  color: #333;
  border: 10px solid transparent;
  border-top: 10px solid #F1F1F1;
}

/* CLIPBOARD BUTTON */

.clipboard {
  padding: 1.2rem .4rem;
  margin: .3rem;
  font-size: 90%;
  line-height: 1px;
  height: 5px;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px;
}

/* CODE TOOLTIPS */

code[data-title] {
  position: relative;
  cursor: help;
  text-transform: none;
}

code[data-title]:hover:before {
  content: attr(data-title);
  position: absolute;
  top: -38px;
  display: inline-block;
  padding: 3px 6px;
  border-radius: 2px;
  background: rgb(236, 239, 236);
  color: #333;
  font-size: 15px;
  white-space: nowrap;
}
code[data-title]:hover:after {
  content: '';
  position: absolute;
  top: -11px;
  left: 8px;
  display: inline-block;
  color: #333;
  border: 10px solid transparent;
  border-top: 10px solid rgb(236, 239, 236);
}

/* BODY */

body {
  margin-right: 15%;
  margin-left: 15%;
  background-color: rgb(252, 255, 252);
  color: #333;
  font-size: calc(12px + .33vw);
  word-wrap: break-word;
  opacity: 0;
  -webkit-transition: opacity 2s ease-in;
  -moz-transition: opacity 2s ease-in;
  -o-transition: opacity 2s ease-in;
  -ms-transition: opacity 2s ease-in;
  transition: opacity 2s ease-in;
}
body.load {
  opacity: 1;
}
h3 {
  margin-bottom: 0;
  font-size: calc(12px + 1vw)
}
h5 {
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: calc(12px + .66vw)
}
ol, ul {
  margin-left: 4rem;
}

/* ACCORDIAN */

.accordion {
  background-color: rgb(236, 239, 236);
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  height: 5%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.75s;
  font-weight: 400;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  -o-user-select: none;
  user-select: none;
}
.active, .accordion:hover {
  background-color: rgb(216, 224, 216);
}

/* PANEL */

.panel {
  padding: 0 18px;
  background-color: rgb(252, 255, 252);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* FOOTER */

footer {
  text-align: center;
  margin-bottom: 10px;
}
#copyright {
  margin-bottom: 10px;
}