* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
  -webkit-border-radius:0; 
  border-radius:0;
}
body {
  background: #efebe5;
  color: #231f1b;
  font-family: 'Lato', sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  display: inline-block;
  vertical-align: middle;
}
.flex-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}
.results {
  max-width: 100%;
  margin-bottom: 4vh;
}

#buttonHolder {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 6px 12px;
}
#buttonHolder:before,
#buttonHolder:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 32px;
  height: 8px;
  background: white;
  bottom: 0;
  z-index: 1001;
  pointer-events: none;
}
#buttonHolder:after {
  width: 8px;
  height: 32px;

}
.button {
  background: #e46111;
  border-radius: 3px;
  border-radius: 50%;
  border: 0 none;
  color: #fff;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 0;
  line-height: 0;
  outline: none;
  position: relative;
  touch-action: manipulation;
  transition: all 200ms ease-in-out;
  width: 75px;
  height: 75px;
  z-index: 1000;
}

.button:disabled {
  background: rgba(0,0,0,.1);
  cursor: not-allowed;
  color: #ffffff;
}

#resetHolder {
  position: absolute;
  top: 0;
}
.button--reset {
  background: rgba(0,0,0,.1);
  border-radius: 0 0 5px 5px;
  border-radius: 3px;
  border: 0 none;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  height: auto !important;
  line-height: 1;
  outline: none;
  padding: 1rem 2rem;
  position: relative;
  touch-action: manipulation;
  transition: all 200ms ease-in-out;
  width: 100%;
  z-index: 1000;
}
.button--hidden {
  display: none;
}
.button:hover {
  
}
.button:active {
  transform: translateY(2px);
}

#cubeHolder {
  background: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #231f1b;
  font-size: 2.75rem;
  line-height: 1.2;
  position: relative;
  z-index: 100;
  margin-left: 0;
  padding: 6rem 2rem 0;
}

[id*="cubeResult"] {
  background: #ffff;
  border-radius: 7px;
  width: 100px;
  height: 135px;
  margin: 0 6px 12px;
  border: 4px solid #e6e1d9;
  position: relative;
}

[id*="cubeResult"]:hover {
  border-width: 10px;
  cursor: grab;
}

.button--reroll {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background: #e46111;
  color: #fff;
  margin: 0 auto;
  display: block;
  padding: .5rem;
  cursor: pointer;
}

#comparison-result span {
  font-style: normal;
  font-weight: 400;
}

#title-placeholder {
  margin-left: 0px;
}

#setting-placeholder,
#twist-placeholder {
  display: none;
}

.sortable-chosen {
  border: 10px solid #000000;
}
.sortable-ghost {
  border: dashed 10px rgb(0,0,0,0.1);
  background: #FDC21E;
}
.sortable-ghost img {
  opacity: .1;
}

@media screen and (min-width:768px) {
  .button {
    margin-right: 10px;
  }
  .button:last-child {
    margin-right: 0px;
  }
  #buttonHolder {
    width: 15vw;
    height: 15vw;
  }
  [id*="cubeResult"] {
    width: 15vw;
    height: 15vw;
    margin: 0 10px 20px;
    box-shadow: 0px 25px 15px -20px rgba(0,0,0,.125);
  }
  .button {
    width: 125px;
    height: 125px;
  }
  .button--reroll {
    opacity: 0;
    position: absolute;
    top: -4px;
    right: -4px;
    transition: all 200ms ease-in-out;
    border-radius: 0 7px 0 7px;
    max-width: 90px;
  }
  [id*="cubeResult"]:hover .button--reroll {
    opacity: 1;
    top: -10px;
    right: -10px;
  }
  [id*="cubeResult"]:hover .button--reroll:hover {
    background: #cc4f01;
  }
  .sortable-chosen .button--reroll,
  .sortable-ghost .button--reroll {
    opacity: 0;
  }
}
@media screen and (min-width:1024px) {
  [id*="cubeResult"] {
    transition: all 200ms ease-in-out;
  }
}

@media screen and (min-width:1600px)  {
  #cubeHolder {
    padding: 4rem 6rem 0;
    max-width: 1600px;
    /* display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr); */
  }
  #buttonHolder {
    width: 250px;
    height: 250px;
    margin: 0 10px 20px;
  }
  [id*="cubeResult"] {
    width: 250px;
    height: 250px;
  }
}

.sortable-chosen,
.sortable-chosen:focus,
.drag-elem
.drag-elem:focus,
.sortable-ghost,
.sortable-ghost:focus {
  cursor: grabbing !important;
}