html,
body {
  position: relative;
  background-color: white;
  font-family: monospace;
  color: hsl(200, 18%, 10%);
  scroll-behavior: smooth;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  width: 100vw;
  height: 100vh;
  font-family: monospace;
  background-color: rgb(96, 125, 139);
}

.header {
  position: relative;
  top: 0;
  left: 0;
  height: 2em;
  /* background: goldenrod; */
  z-index: 9;
  margin: 0;
  padding: 0;
  margin-bottom: 3em;
  /* box-shadow: rgba(0, 0, 0, 0.405) 0em 0em 1em; */
}

h1 {
  font-size: 2em;
  font-weight: 600;
  color: aqua;
  z-index: 4;
  text-align: left;
}

h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: greenyellow;
  position: sticky;
  top: 2em;
  z-index: 5;
}

a {
  font-weight: 900;
  color: aqua;
  opacity: 0.7;
}

a:hover {
  color: #ffff00;
}

a::before {
  content: "\1F517";
  font-style: normal;
  display: inline-block;
  margin-right: 0.5em;
  user-select: none;
  font-size: 0.7em;
}

.article {
  position: relative;
  width: 95%;
  max-width: 1170px;
  padding-left: 1em;
  padding-right: 1em;
  margin: 1em;
  margin-top: 5em;
  border-radius: 10px;;
  
}

.article-content{
  margin-top:2em;
}

.terminal {
  position: relative;

  margin: 0;
  margin-top: 1em;
  border-radius: 0.5em 0.5em 0 0;
  background-color: rgb(55, 71, 79);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 17px 0px,
    rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
}

.terminal div {
  margin: 0;
}

.terminal > * {
  padding-left: 2.8rem;
  margin-right: 1em;
  font-size: 1em;
}

.terminal > div {
  position: relative;
  padding-left: 2.8rem;
}

.terminal > code + div,
.terminal > div + code {
  margin-top: 1em;
}

.terminal > h3 {
  position: relative;
  font-size: 0.9em;
  background: rgb(22, 26, 31);
  margin-bottom: 0;
  padding: 0.5em;
  padding-left: 4em;
  border-radius: 0.5em 0.5em 0 0;
  color: greenyellow;
  font-weight: 300;
  margin: 0;
  margin-bottom: 1em;
}

.terminal > h3::before {
  content: "";
  width: 50px;
  position: absolute;
  left: 0.7em;
  width: 0.7em;
  height: 0.7em;
  margin-top: 0.23em;
  border-radius: 50%;
  background: hsl(0, 0%, 50%);
  box-shadow: hsl(45, 0%, 50%) 0.9em 0px 0px 0px,
    hsl(115, 0%, 50%) 1.8em 0px 0px 0px;
  z-index: 120;
  user-select: none;
}

.terminal > h3:hover::before {
  background: hsl(0, 50%, 50%);
  box-shadow: hsl(45, 50%, 50%) 0.9em 0px 0px 0px,
    hsl(115, 50%, 50%) 1.8em 0px 0px 0px;
}

code {
  display: block;
  color: white;
  margin: 0;
}

.terminal > code:last-child {
  padding-bottom: 1rem;
}

code.command::before {
  position: absolute;
  left: 1em;
  color: aqua;
  content: "~";
}

code.command:hover {
  background: rgba(211, 211, 211, 0.149);
}

code.comment {
  color: rgb(180, 180, 180);
}

.warning {
  position: relative;
  padding: 1em;
  background-color: rgba(139, 0, 0, 0.2);
  color: red;
  font-size: 1.1em;
  font-family: monospace;
}

.terminal div:first-of-type {
  margin-top: 1em;
}

.warning::before {
  position: absolute;
  top: 0.3em;
  left: 0.3em;
  content: "\26A0";
  border-radius: 5px;
  width: 1.2em;
  height: 1.2em;
  font-size: 1.6em;

  display: flex;
  align-items: center;
  justify-content: center;
}

.info {
  position: relative;
  background-color: rgba(184, 135, 11, 0.2);
  color: goldenrod;
  padding: 1em;
  font-size: 1.1em;
  font-family: monospace;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.info > code {
  position: relative;
  padding-left: 1.3em;
  opacity: 0.8;
}

.info > code::before {
  left: 0em;
}

.info::before {
  position: absolute;
  top: 0.4em;
  left: 0.3em;
  content: "\2139";
  font-size: 1.6em;
  color: goldenrod;
  width: 1.2em;
  height: 1.2em;

  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  background-color: #4caf50; /* Green */
  border: none;
  color: white;
  padding: 1em;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
}

button:active {
  background-color: aliceblue;
}

ul {
  display: none;
  top: 0;
  left: 0;
  z-index: 2;
  position: sticky;
  padding: 1em;
  background-color: hsl(180, 100%, 32%);
  height: auto;
  float: left;
}

li {
  list-style-type: none;
  margin: 1em;
}
li a {
  color: whitesmoke;
  text-decoration: none;
}

/* button */

.menu {
  position: absolute;
  height: 50px;
  top: 1em;
  cursor: pointer;
  transition: 0.5s;
  z-index: 99999;
}
.menu .bar {
  background: black;
  width: 60px;
  height: 10px;
  border-radius: 2px;
  transition: 0.4s;
  z-index: 99999;
}
.menu .bar:not(:first-child) {
  margin-top: 10px;
}
.menu:hover .bar {
  /* box-shadow: 0 0 25px 0 rgba(255, 255, 255, 0.5); */
  background: white;
  z-index: 99999;
}
#check:checked + .menu {
  transform: rotateY(180deg);
  z-index: 99999;
}
#check:checked + .menu .bar:nth-child(1) {
  margin-top: 20px;
  transform: rotate(-45deg);
}
#check:checked + .menu .bar:nth-child(2) {
  opacity: 0;
}
#check:checked + .menu .bar:nth-child(3) {
  margin-top: -30px;
  transform: rotate(45deg);
}
#check {
  display: none;
}

.menu-text {
  position: absolute;
  top: 0.4em;
  left: 1.5em;
  text-transform: capitalize;
  font-size: 2em;
  color: black;
  z-index: 99999;
  transition: 0.4s;
}

.menu:hover ~ .menu-text {
  color: white;
  transition: 0.4s;
  z-index: 200;
}
