*{margin: 0; padding: 0; box-sizing: border-box;}
*::after{
  box-sizing: border-box;
}
*::before{
  box-sizing: border-box;
}
*{
  transition: all 0.3s;
}
body{
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.cssCode-wrapper{
  flex:1;
  height: 50%;
  padding: 10px;
}
.preview-wrapper{
  flex: 1;
  height: 50%;
}

.cssCode-wrapper > #cssCode{
  overflow: hidden;
  height: 100%;
}

.preview-wrapper > .preview {
  height: 510px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preview-wrapper > .preview > .wrapper{
  width: 255px;
  height: 100%;
  position: relative;
}

.actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
}

.actions > button {
  margin: 10px;
  padding: 8px 10px;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  border: none;
  background: #E1E7d3;
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.25);
}
.actions > button.active {
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
}
