body {
  margin: 0;
  font-family: 'Courier New', monospace;
}

.sidebar {
  display: inline-block;
  width: 35%;
  height:100%;
  vertical-align: top;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8); 
}

.sidebar img {
  width: 80%;
  margin-top: 50px;
}

.download {
  -webkit-appearance: none;
  font-family: 'Courier New', monospace;
  position:fixed;
  letter-spacing: 2px;
  width: 20%;
  height: 25px;
  padding: 0.3em 1em;
  text-decoration: none;
  color: white;  
  background: #AAAAAA;
  border: solid 2px white;
  border-radius: 3px;
  transition: .4s;
  font-size:20px;
  margin: 0px 0;
  bottom:50px;
  right:20%;
  text-align: center;
}
.download:hover {
  -webkit-appearance: none;
  background: #e7e7e7;
  color: #2a2a2a;
}

.btn-flat-border-save {
  -webkit-appearance: none;
  font-family: 'Courier New', monospace;
  letter-spacing: 3px;
  display: inline-block;
  width: 60%;
  height: 50px;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #2a2a2a;
  background: #e7e7e7;
  border: solid 2px #AAAAAA;
  border-radius: 3px;
  transition: .4s;
  font-size:13px;
  margin: 0px 0;

}
.btn-flat-border-save:hover {
  -webkit-appearance: none;
  background: #AAAAAA;
  border: solid 2px white;
  color: white;
}

.colors {
  width:100%;
  display: inline-block;
  vertical-align: top;
}

.colors img {
  margin-top: 0px;
  width: 10%;
  vertical-align: top;
  display: relative;
}

input[type=number]{
  text-align: center;
  height:30px;
  width:80px;
}

.space {
  height: 50px;
  display: block;
}

.sample {
  -webkit-appearance: none;
  position:fixed;
  display:inline-block;
  top:20px;
  right:20px;
  z-index: 100;
  height:500px;
}
.sample img {
  z-index: 200;
  width: 40px;
}

.sample .box {
  -webkit-appearance: none;
  text-align: center;
  position: absolute;
  width: 250px;
  height: 90%;
  top: 50px;
  right: 0px;
  border-radius: 10px 10px 10px 10px;
  background-color: white;
  display: none;
}

.sample .box:after {
  -webkit-appearance: none;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: -30px;
  right: 10px;
  border: 10px solid transparent;
  border-bottom: 30px solid white;
}
.sample .text {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #000;
}
.sample:hover .box {
  -webkit-appearance: none;
  z-index: 101;
  display: block;
}


.sample .historyImages {
  background: white;
  width:100%;
  height:90%;
  font-size: 10px;
}

/* phone */
@media only screen and (max-width: 900px) {
  .sidebar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height:50%;
    background-color: rgba(255, 255, 255, 0.8); 
  }

  .sidebar img {
    width: 40%;
    margin-top: 30px;
  }

  .btn-flat-border-save {
    max-width:300px;
    width: 50%;
    height: 30px;
    font-size:10px;
  }

  .colors {
    width:30%;
  }

  .colors img {
    width: 12%;
    margin:0;
  }

  input[type=number]{
    height:30px;
    width:30px;
    font-size: 12px;
  }

  .space {
    height: 5px;
    display: block;
  }

  .download {
    position:fixed;
    width: 30%;
    height:20px;
    top:20px;
    right:30%;
    font-size: 15px;
    height: 15px;
  }
}