html, body {
  margin: 0;
  padding: 0;
  width: 260px;
  box-sizing: border-box;
}
.magicball {
  padding: 5px 0;
  background-image: url('https://nmhanhh.github.io/devhank_neocities_resource/wallpaper/grass.png');
  background-size: cover;
}
.magicball img {
  max-width: 250px;
  max-height: 250px;
  height: 250px;
  width: 250px;
}
.container{
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.consultant.active{
  display: none;  
}
.ballResult.active{
  display: none;  
}
.ballResult p{
  padding:0 5px;
  text-shadow: 1px 1px 2px limegreen;
}
.ballResult{
  background: white;
  height: 520px;
  overflow-y: scroll;
  border-radius: 2px;
}
#ballAnswer,#askedQuestion,#showResult{
  color: white;
  text-shadow: 2px 2px 5px black;
  text-align: center;
}
#ballYes{
  max-width: 88px;
  width: 88px;
  max-height: 31px;
  height: 31px;
}
#askBall,#yourQ,#myA{
  max-width: 150px;
  width: 150px;
  max-height: 20px;
  height: 20px;
}
#askBall{
  transform: rotate(5deg);
  margin: 10px 0;
}
#displayedQuestion, #displayedAnswer{
  text-align: center;
}
.blackball{
  margin: auto;
  background: black;
  max-width: 220px;
  width: 220px;
  max-height: 220px;
  height: 220px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.blackborder{
  display:flex;
  align-items:center;
  justify-content:center;
  border: 5px inset slategray;
  border-radius: 50%;
  max-width: 155px;
  width: 155px;
  max-height: 155px;
  height: 155px;
}
.blackborder1{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 5px outset slategray;
  border-radius: 50%;
  max-width: 140px;
  width: 140px;
  max-height: 140px;
  height: 140px;
}
#magicmessage{
  position: absolute;
  margin-top: 20px;
  max-width: 105px;
  width: 105px;
  max-height: 85px;
  height: 85px;
}
#displayedAnswer{
  position: absolute;
  color: white;
  text-align: center;
  max-width: 85px;
  width: 85px;
  z-index:10;
}
.hidden{
  display: none;
}
#copiedBallMsg{
  float: right;
  text-shadow: 1px 1px lawngreen;
}
.shake{
  animation: shakeUpDown 1s ease-in-out;  
}
@keyframes shakeUpDown{
  0% { transform: translateY(0); }
  20% { transform: translateY(-20px); }
  40% { transform: translateY(20px); }
  60% { transform: translateY(-10px); }
  80% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}