html,
body {
  height: 100%;
  margin: 0;
}
body {
  background-color: #354458;
}
.ng-cloak {
  display: none;
}
.main-body {
  max-width: 720px;
  margin: 0 auto;
  height: 100%;
  box-sizing: border-box;
}
.main-body.victory {
  overflow: hidden;
}
.screen-center {
  height: 360px;
  width: 100%;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  box-sizing: border-box;
}
.row-wrapper {
  padding: 120px 0 120px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.victory .row-wrapper {
  filter: blur(16px);
  -ms-filter: blur(16px);
}
.color-row {
  height: 120px;
  width: 100%;
  box-sizing: border-box;
}
.color-box {
  width: 16.66%;
  box-sizing: border-box;
  height: 100%;
  display: inline-block;
  float: left;
}
.feedback-box {
  padding: 2%;
}
.color-pin {
  box-sizing: border-box;
  width: 80%;
  height: 80%;
  border-radius: 100%;
  margin-left: 10%;
  margin-top: 10%;
}
.color-pin.red-pin {
  background-color: #d2315d;
}
.color-pin.blue-pin {
  background-color: #1B85B8;
}
.color-pin.purple-pin {
  background-color: #8767a6;
}
.color-pin.orange-pin {
  background-color: #e98813;
}
.color-pin.yellow-pin {
  background-color: #f7c808;
}
.color-pin.green-pin {
  background-color: #88c134;
}
.color-pin.teal-pin {
  background-color: #62f5c8;
}
.color-pin.brown-pin {
  background-color: #A68572;
}
.color-pin.hole-pin {
  border: 2px solid #fff;
}
.color-pin.active {
  box-shadow: 0 0 16px 2px rgba(255, 255, 255, 0.6);
  border: 4px solid #fff;
}
.feedback-pin {
  border-radius: 100%;
  display: inline-block;
  float: left;
  height: 20%;
  margin: 15%;
  width: 20%;
}
.feedback-pin.black-feedback-pin {
  background-color: #0E0C14;
}
.feedback-pin.white-feedback-pin {
  background-color: #EDF2EB;
}
.palette-row {
  padding: 6px;
  position: absolute;
  top: 0;
}
.palette {
  width: 66.66%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}
.palette-color {
  width: 25%;
  height: 50%;
  display: inline-block;
  float: left;
}
.palette-color.red-palette-color {
  background-color: #d2315d;
}
.palette-color.blue-palette-color {
  background-color: #1B85B8;
}
.palette-color.purple-palette-color {
  background-color: #8767a6;
}
.palette-color.orange-palette-color {
  background-color: #e98813;
}
.palette-color.yellow-palette-color {
  background-color: #f7c808;
}
.palette-color.green-palette-color {
  background-color: #88c134;
}
.palette-color.teal-palette-color {
  background-color: #62f5c8;
}
.palette-color.brown-palette-color {
  background-color: #A68572;
}
.palette-color:first-child {
  border-radius: 12px 0 0 0;
}
.palette-color:nth-child(4) {
  border-radius: 0 12px 0 0;
}
.palette-color:nth-child(5) {
  border-radius: 0 0 0 12px;
}
.palette-color:last-child {
  border-radius: 0 0 12px 0;
}
.btn-feedback {
  background-color: transparent;
  border: 0 none;
  color: #88c134;
  font-size: 5em;
  height: 100%;
  width: 100%;
  text-decoration: none;
}
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.4);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  overflow: auto;
}
.modal-backdrop .modal-window {
  background-color: #fff;
  border-radius: 8px;
  font-family: arial;
  left: 50%;
  max-width: 360px;
  padding: 16px 32px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  box-shadow: 0 0 32px 32px rgba(0, 0, 0, 0.2);
}
.modal-backdrop .modal-window button {
  background-color: #88c134;
  border: 0 none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  margin-bottom: 24px;
  padding: 8px 16px;
}
.modal-backdrop .modal-window button:hover {
  opacity: 0.8;
}
.modal-backdrop .modal-window h2 {
  margin-bottom: 15px;
}
.modal-backdrop .modal-window p {
  text-align: left;
}
.victory-message-tries {
  width: 100%;
  margin-bottom: 15px;
  display: block;
  color: #888;
}
.info-icon {
  color: #fff;
  display: block;
  font-size: 60px;
  font-weight: 300;
  padding: 20px 0;
  text-align: center;
  text-decoration: none;
}
@media only screen and (max-width: 768px) {
  .main-body {
    max-width: 480px;
  }
  .palette-row {
    top: 40px;
  }
  .color-row {
    height: 80px;
  }
  .btn-feedback {
    font-size: 3em;
  }
  .info-icon {
    padding: 10px 0;
    font-size: 50px;
  }
}
@media only screen and (max-width: 480px) {
  .main-body {
    max-width: 360px;
  }
  .palette-row {
    top: 60px;
  }
  .color-row {
    height: 60px;
  }
  .btn-feedback {
    font-size: 2em;
  }
  .modal-backdrop .modal-window {
    width: 280px;
  }
  .info-icon {
    padding: 6px 0;
    font-size: 40px;
  }
}
@media only screen and (max-width: 360px) {
  .main-body {
    max-width: 300px;
  }
  .palette-row {
    top: 70px;
  }
  .color-row {
    height: 50px;
  }
  .modal-backdrop .modal-window {
    width: 180px;
  }
  .info-icon {
    padding: 10px 0;
    font-size: 20px;
  }
}
