body {
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  background-color: #aaf0d1;
  background: -moz-linear-gradient(left top, #93f0d5, #95f2e5 47.48%, #87f9ea);
  background: -webkit-linear-gradient(
    left top,
    #93f0d5,
    #95f2e5 47.48%,
    #87f9ea
  );
  background: linear-gradient(
    to bottom right,
    #93f0d5,
    #95f2e5 47.48%,
    #87f9ea
  );
  background: linear-gradient(
    to bottom right,
    #83d8c0,
    #71bbb1 47.48%,
    #6dd0c3
  );
  font-family: 'Quicksand', sans-serif;
  margin: 0 auto;
}

body:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  background-image: url(./bottle.png);
  background-repeat: space;
  opacity: 0.03;
}

.wrapper {
  /* position: relative; */
  /* left: 50%; */
  /* top: 50%; */
  /* transform: translate(-50%, -50%); */
  /* height: calc(100vh - 60px); */
  /* padding: 30px 0; */
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* -moz-box-shadow:    inset 0 0 10px #000000; */
  /* -webkit-box-shadow: inset 0 0 10px #000000; */
  /* box-shadow:         inset 0 0 10px #000000; */
}

.box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 420px;
  border: 15px solid transparent;
  border-radius: 7px;
  z-index: 1;
}

.box-inset {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100% - 40px);
  margin: 0 20px;
  padding: 20px 0;
}

.box-center {
  position: absolute;
  display: flex;
  top: 50%;
  width: 280px;
  height: 110px;
  border: 15px solid transparent;
  border-top: none;
  border-bottom: none;
  transform: skewY(-8deg);
  z-index: 1;
  pointer-events: none;
}

.box-lower {
  position: absolute;
  display: flex;
  bottom: -15px;
  width: 280px;
  height: 140px;
  border: 15px solid transparent;
  border-top: none;
  border-radius: 7px;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 640px) {
  .box {
    border-color: #f1f1f1;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  }

  .box-inset {
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  }

  .box-center {
    /* border-color: #52c2b4; */
    border-color: #52bcaf;
    border-color: #56c1b4;
    border-color: #71bbb1;
    /* border-color: #71b9af; */
    /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
    /* -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
  }

  .box-lower {
    /* border-color: #52c2b4; */
    border-color: #52bcaf;
    border-color: #56c1b4;
    border-color: #71bbb1;
    /* border-color: #71b9af; */
    /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
    /* -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4); */
  }
}

img {
  text-align: center;
  max-width: 160px;
  margin: -20px 0;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.text {
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  /* color: #5d5d5d; */
  color: white;
}

.loading-wrapper {
  position: relative;
  height: 80px;
  margin-top: 30px;
  margin-bottom: 20px;
  transform: scale(1.2);
}

.info {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #5d5d5d;
  /* color: white; */
}

.info p {
  margin: 6px 0;
  font-size: 18px;
}

#countdown {
  margin-top: 10px;
  padding: 2px 10px;
  border: 1px solid #b3b3b3;
  border-radius: 5px;
  color: #757575;
  font-size: 12px;
  cursor: pointer;
}

.divider {
  width: 150px;
  /* border-bottom: 2px solid #5d5d5d; */
  /* border-bottom: 2px solid #f1f1f1; */
  opacity: 0.7;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.loading,
.loading::before,
.loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left-color: rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
}

.loading {
  margin: -25px 0 0 -25px;
  height: 50px;
  width: 50px;
  -webkit-animation: animation-rotate 1000ms linear infinite;
  -moz-animation: animation-rotate 1000ms linear infinite;
  -o-animation: animation-rotate 1000ms linear infinite;
  animation: animation-rotate 1000ms linear infinite;
}

.loading::before {
  content: '';
  margin: -23px 0 0 -23px;
  height: 44px;
  width: 44px;
  -webkit-animation: animation-rotate 1200ms linear infinite;
  -moz-animation: animation-rotate 1200ms linear infinite;
  -o-animation: animation-rotate 1200ms linear infinite;
  animation: animation-rotate 1200ms linear infinite;
}

.loading::after {
  content: '';
  margin: -29px 0 0 -29px;
  height: 56px;
  width: 56px;
  -webkit-animation: animation-rotate 2000ms linear infinite;
  -moz-animation: animation-rotate 2000ms linear infinite;
  -o-animation: animation-rotate 2000ms linear infinite;
  animation: animation-rotate 2000ms linear infinite;
}

.skewed-box {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 35%;
  background-color: #f1f1f1;
  transform: skewY(-8deg);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
}

.bottom-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background-color: #f1f1f1;
}

@-webkit-keyframes animation-rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes animation-rotate {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-o-keyframes animation-rotate {
  100% {
    -o-transform: rotate(360deg);
  }
}

@keyframes animation-rotate {
  100% {
    transform: rotate(360deg);
  }
}
