body {
  margin: 0;

  font-family: "Source Sans Pro", "Gill Sans", "Gill Sans MT", Calibri,
    "Trebuchet MS", sans-serif;
  background-color: rgb(31, 31, 31);
  color: rgb(221, 53, 53);
}

.disable-dbl-tap-zoom {
  touch-action: manipulation;
}

.container {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100svh;
  color: rgb(221, 53, 53);
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 4fr;
}

.grid-item {
  margin-top: 8px;
  margin-bottom: 8px;
}

.button {
  background-color: rgb(31, 31, 31);
  border: solid 2px rgb(221, 53, 53);
  border-radius: 5px;
  color: rgb(221, 53, 53);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
}

.bottom-right {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 3px;
}

.top-right {
  position: fixed;
  top: 0;
  right: 0;
  margin: 3px;
}

#unlock-button {
  width: 90%;
  height: 90vh;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  margin: auto;

  border-radius: 20px;
  background-color: rgb(146, 146, 146);

  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: row;

  padding: 30px;
}

.heart-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lock-control-center {
  display: flex;
  align-items: center;
  height: 30px;
}

.lock-control-center * {
  margin-left: 1px;
  margin-right: 1px;
  color: #333333;
}

.flash-dot {
  background-color: #333333;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
}

.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}
.lds-heart div {
  top: 32px;
  left: 32px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgb(221, 53, 53);
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: rgb(221, 53, 53);
}
.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}
.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}
@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}

.code-form input {
  border-style: none;
  background: transparent;
  outline: none;
  text-transform: uppercase;
  caret-color: transparent;
  letter-spacing: 0.6rem;
}

.code-form input:focus::placeholder {
  color: transparent;
}
.code-form input:focus::-webkit-input-placeholder {
  opacity: 0;
}

.code-form button {
  padding: 0;
  background: none;
  border: none;
  outline: none;
}

@-webkit-keyframes gradient {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}

@keyframes gradient {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.code-form {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 70%;
  max-width: 350px;
  /* margin: 0 auto; */
  border-radius: 2px;
  margin: 0 2rem;
  padding: 1rem;
  background: rgba(36, 41, 58, 0);
  margin-bottom: 100px;
}

.code-form:after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999;
  height: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  background-position: 0% 0%;
  background: linear-gradient(
    to right,
    #ff9494,
    #e6577b,
    #ffe6b8,
    #e657a6,
    #ff9494,
    #e65757
  );
  background-size: 500% auto;
  -webkit-animation: gradient 3s linear infinite;
  animation: gradient 3s linear infinite;
}

.animal-icon {
  position: relative;
}

.animal-icon:after {
  content: "*";
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 80%;
  text-align: center;
  z-index: 999;
}
.weight-icon {
  position: relative;
  display: flex;
}

.weight-icon:after {
  display: flex;
  align-items: center;
  content: "*";
  position: absolute;
  left: 27%;
  top: 15%;
  right: 0;
  color: rgb(31, 31, 31);
  text-align: center;
  z-index: 999;
}

.code-form input {
  width: 100%;
  color: #dd3535;
  font-size: 1.8rem;
  line-height: 2.4rem;
  vertical-align: middle;
}

.code-form input::-webkit-input-placeholder {
  color: #9c3737;
}

.code-form button {
  color: #9c3737;
  font-size: 2.4rem;
  line-height: 2.4rem;
  vertical-align: middle;
  transition: color 0.25s;
}

.code-form button:hover {
  color: #dd3535;
}

.map {
  max-width: 100%;
  max-height: 50svh;
}
