body {
  margin: 0;
  padding: 15px 20px;
  min-height: 99%;
  width: 100%;
  color: #519975;
  background: #211D1B;
  font-family: cursor, monospace;
  overflow-x: hidden;
}

::selection {
  color: #211830;
  background-color: #519975;
}

::-moz-selection {
  color: #211830;
  background-color: #519975;
}

textarea {
  left: -1000px;
  position: absolute;
}

b {
  font-weight: bold;
  text-decoration: underline;
}

/* Cursor Start */
.cursor {
  font-size: 12px;
  color: #73ABAD;
  background-color: #73ABAD;
  position: relative;
  opacity: 1;
  height: 1.5em;
  width: 10px;
  max-width: 10px;
  transform: translateY(4px);
  overflow: hidden;
  text-indent: -5px;
  display: inline-block;
  text-decoration: blink;
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#terminal {
  width: 50%;
  margin-left: 25%;
  box-sizing: border-box;
  max-width: 50%;
  word-wrap: break-word;
}

#command {
  cursor: text;
  height: 50px;
  color: #73ABAD;
  width: 50%;
  margin-left: 25%;
  box-sizing: border-box;
  max-width: 50%;
}

#liner {
  line-height: 1.3em;
  margin-top: -2px;
  animation: show 0.5s ease forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

#liner::before {
  color: #519975;
  content: "guest@cnonis.com:~$";
}

@keyframes show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Cursor End 
p {
  display: block;
  line-height: 1.3em;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  letter-spacing: 0.05em;
  animation: typing 0.5s steps(30, end);
}
*/

/* p {
  display: block;
  line-height: 1.3em;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  /* width: fit-content; */
  /*margin: 0;
  letter-spacing: 0.05em;
  animation: typing 0.5s steps(30, end);
} */

p {
  display: block;
  line-height: 1.5em;
  margin: 0;
  overflow: visible;
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 100%;
  max-width: 100%;
  letter-spacing: 0.05em;
  animation: typing 0.5s ease-out;
}

.no-animation {
  animation: none;
}

.margin {
  margin-left: 20px;
}

@keyframes typing {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.index {
  color: #DCDCCC;
  white-space: nowrap;
}

.color2 {
  color: #B89076;
}

.command {
  color: #73ABAD;
  text-shadow: 0 0 5px #73ABAD;
}

.error {
  color: #B89076;
}

.white {
  color: #fff;
}

.inherit,
a {
  color: #9C8394;
}

a {
  text-decoration: inherit;
}

a:hover {
  background: #73ABAD;
  color: #211830;
}

a:focus {
  outline: 0;
}

#canvas1 {
  border: 2px solid;
  border-radius: 30px;
  width: 15%;
  margin-left: 42.5%;
  /*position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px; */
}

#content {
  display: block;
  padding-top: 4%;
  padding-bottom: 4%;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    margin-right: 16px;
  }

  #terminal {
    width: 90%;
    margin-left: 5%;
    max-width: 90%;
  }

  #command {
    width: 90%;
    margin-left: 5%;
    max-width: 90%;
  }

  #canvas1 {
    width: 40%;
    margin-left: 30%;
  }

  #liner::before {
    content: "guest@cnonis:~$";
    font-size: 0.9em;
  }

  p {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding: 8px;
  }

  #terminal {
    width: 95%;
    margin-left: 2.5%;
    max-width: 95%;
  }

  #command {
    width: 95%;
    margin-left: 2.5%;
    max-width: 95%;
  }

  #canvas1 {
    width: 60%;
    margin-left: 20%;
  }

  #liner::before {
    content: "guest:~$";
    font-size: 0.85em;
  }

  p {
    font-size: 0.85em;
  }

  #terminal p {
    max-width: 87% !important;
    overflow-wrap: break-word !important;
  }

  .index {
    max-width: 87% !important;
    overflow-wrap: break-word !important;
  }
}