#box {
  width: 100%;
  height: 500px;
  margin: 0 auto;
  padding-top: 5%;
  display: flex;
  justify-content: center;
}

.avatar{
  border-radius: 20rem;
  max-width:216px;
  margin-right: 26px;
  overflow: hidden;
}

.img-responsive{
  max-width:100%;
  height:auto;
  display: block;
}

@media (max-width: 980px) {
  #cmdBox {
    display: none;
  }
  .avatar {
    margin: 0;
  }
}

.cmd {
  width: 560px;
  height: 364px;
  margin-left: 26px;
  border-radius: 10px 10px 5px 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s;
  font-size: 14px;
  color: rgb(88, 89, 92);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.cmd .title {
  width: 100%;
  height: 25px;
  background-image: linear-gradient(to top, rgb(184, 184, 184), white);
  font-size: 14px;
  line-height: 25px;
}

.cmd .title span {
  display: inline-block;
  width: 70%;
  text-align: center;
}

.cmd .click {
  margin-left: 10px;
  float: left;
}

.cmd .click div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 8px 0 0 10px;
  float: left;
}

.cmd .click .red {
  background-color: #ff1b22;
  box-shadow: 0 0 1px #ff1b22;
}

.cmd .click .red:hover {
  background-color: #ff6268;
  box-shadow: 0 0 3px #ff1b22;
}

.cmd .click .yellow {
  background-color: #ffaf00;
  box-shadow: 0 0 1px #ffaf00;
}

.cmd .click .yellow:hover {
  background-color: #ffd373;
  box-shadow: 0 0 3px #ffaf00;
}

.cmd .click .green {
  background-color: #00931a;
  box-shadow: 0 0 1px #00931a;
}

.cmd .click .green:hover {
  background-color: rgb(0, 196, 36);
  box-shadow: 0 0 3px #00931a;
}

.cmdText {
  padding: 10px 15px;
}

.cmdText p {
  margin: 0 0 3px;
}

#cmdBox {
  position: relative;
  width: 600px;
}

#cmdBox>div:nth-of-type(2) {
  position: absolute;
  top: -26px;
  z-index: 27;
  transition: all .5s ease-in-out;
}

#cmdBox>div:nth-of-type(1) {
  position: absolute;
  left: 54px;
  top: 52px;
  z-index: 26;
  overflow-y: scroll;
}

#cmdBox>div:nth-of-type(1):hover + .cmd {
  opacity: 0.26;
  z-index: 25;
}

p.whatthefuck:nth-of-type(2) {
  display: none;
}