@import url('//hello.myfonts.net/count/4a4857');
/* Common CSS classes to use between the Sim and Editor should live here */

/* Pulse using the opacity of the image */
@keyframes server-sync-pulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Used for the save/load image */
.server-sync-image {
  position: absolute;
  right: 3%;
  bottom: 15%;
}

/* Used to define the size of the image */
.server-sync-image-size {
  max-height: 32.5px;
  max-width: 30px;
}

/* Used to place the image on top */
.server-sync-image-top {
  z-index: 10000000;
}

/* Used to animate the image */
.server-sync-image-animate {
  animation: server-sync-pulse 1s linear;
  animation-iteration-count: infinite;
}

/* Disable selection of every img tag */
img {
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Likely future */
}

/** Saved Icon Style **/
/** Checkmark Code, taken from https://codepen.io/samjco/pen/EgjqAR **/
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #27d454;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #27d454;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #27d454;
  animation: fill 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #fff;
  }
}

.checkmark-div {
  position: absolute;
  right: 3%;
  bottom: 15%;
  text-align: center;
}

.button-hilight img:hover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  filter: brightness(200%);
  -webkit-filter: brightness(200%);
  -moz-filter: brightness(200%);
  -o-filter: brightness(200%);
  -ms-filter: brightness(200%);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.ripple-circle {
  position: absolute;
  background-color: #eeeeee;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  transform: translate(-100%, 0%) scale(0);
  animation: ripple 0.6s ease-out;
}
@keyframes ripple {
  to {
    transform: translate(-100%, 0%) scale(2);
    opacity: 0;
  }
}

.lock {
  width: 24px;
  height: 21px;
  border: 3px solid #a600ed;
  border-radius: 5px;
  position: absolute;
}

.lock-position-editor {
  top: 60px;
  left: 60px;
}

.lock-animation {
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.lock:after {
  content: '';
  display: block;
  background: #a600ed;
  width: 3px;
  height: 7px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -3.5px 0 0 -2px;
  transition: all 0.1s ease-in-out;
}

.lock:before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  bottom: 100%;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  border: 3px solid #a600ed;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom: 0;
  transition: all 0.1s ease-in-out;
}

/* Locked Hover */
.lock:hover:before {
  height: 12px;
}
.lockText {
  color: white;
  font-size: 13px;
  position: absolute;
  top: 4%;
  left: 1%;
}
.lockTextInvisible {
  visibility: hidden;
}

.unlocked {
  transform: rotate(10deg);
}

.unlocked:before {
  bottom: 130%;
  left: 31%;
  margin-left: -11.5px;
  transform: rotate(-45deg);
}

.unlocked,
.unlocked:before {
  border-color: #04d0df;
}

.unlocked:after {
  background: #04d0df;
}

/* Unlocked Hover */
.unlocked:hover {
  transform: rotate(3deg);
}

.unlocked:hover:before {
  height: 10px;
  left: 40%;
  bottom: 124%;
  transform: rotate(-30deg);
}

@keyframes close {
  100% {
    transform: rotate(0);
  }
}

figure {
  text-align: center;
  display: table;
  width: 100%;
  margin: 10px auto; /* not needed unless you want centered */
  padding: 0.5em;
}

figcaption {
  text-align: center;
}

.night {
  background-color: #060606;
}

.day {
  background-color: #f8f8ff;
}

#dropZone {
  border-radius: 10px;
  width: 1%;
  height: 1%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: all 0.1s linear;
}

#centerDiv {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-family: 'CenturyGothic-Bd', 'Roboto Condensed';
  font-size: 0pt;
}
@font-face {
  font-family: 'CenturyGothic-Bd';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/shared/Content/fonts/MyFontsWebfontsKit/webFonts/CenturyGothicBd/font.woff2')
      format('woff2'),
    url('/shared/Content/fonts/MyFontsWebfontsKit/webFonts/CenturyGothicBd/font.woff')
      format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

body {
  font-family: 'CenturyGothic-Bd';
}

#loadingText {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: white;
  font-size: x-large;
  text-align: center;
}
