*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background-color: #ecf0f1;
  color: #050620;
  margin: 0;
}

.markdown-article {
  /* border: 5px solid #AA5678; */
}

.markdown-article p, ol, ul {
  width: 100%;
  max-width: 700px;
  margin: 1em auto;
}
.markdown-article p code {
  padding: 0.1em;
  background: gray;
  border-radius: 3px;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  color: white;
}

/* Code SIMPLE */

pre.code-simple {
}
pre.code-simple code {
  width: 100%;
  display: block;
  max-width: 700px;
  margin: 1em auto;
  padding: 10px;
  border-radius: 10px;
  background: #EEE;
  box-shadow: inset 1px 1px 20px rgba(0,0,0,0.1);
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  overflow: hidden;
}


/* Code BAND */

pre.code-band {
  background: white;
  padding: 0.5em;
}
pre.code-band code {
  position: relative;
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 1em auto;
  padding: 10px;
  border-radius: 10px;
  background: #CACACA;
  border: 2px solid #CACACA;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Copy code to clipboard styles */

pre.code-band code::after {
  content: '\2398';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: transparent;
  transition: all 0.3s ease;
  font-size: 2em;
  font-weight: 600;
  border-radius: 8px;
  /* border: 2px solid transparent; */
}
pre.code-band code:hover {
  border: 2px solid #558E47;
}
pre.code-band code:hover::after {
  color: #558E47;
  background-color: rgba(85,142,71,0.6);
}



/* Code OUTLINE */

pre.code-outline {
  padding: 0.5em;
}
pre.code-outline code {
  position: relative;
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 1em auto;
  padding: 10px;
  border: 2px solid rgb(200,200,200);
  border-radius: 10px;
  background: transparent;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  transition: all 0.3s ease;
}

/* Copy code to clipboard styles */

pre.code-outline code::after {
  content: '\2398';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: transparent;
  transition: all 0.3s ease;
  font-size: 2em;
  font-weight: 600;
  border-radius: 10px;
}
pre.code-outline code:hover {
  background-color: rgba(85,142,71,0.3);
  border: 2px solid #558E47;
  cursor: pointer;
}
pre.code-outline code:hover::after {
  color: #558E47;
}
