/*
font-family: 'Barlow', sans-serif;
font-family: 'Barlow Condensed', sans-serif;
font-family: 'Saira Extra Condensed', sans-serif;
*/
:root {
  --bgcolor: rgb(38, 37, 41);
  --clockheight: 46px;
  --radius: 30px;
  --rotationtime: 0.55s;
  --avobg: rgb(227, 246, 104);
}



.clock {
	margin:0 auto 20px auto;
	width:200px;
	display: grid;
	padding: 0 12px;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 12px;
	min-width: 200px;
	height: var(--clockheight);
	border-radius: var(--radius);
	text-align:center;
	color:#ff0000;
	font-weight:700;
}
.flipper {
  /*   border: 1px solid #c00; */
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1600px;
    background:url("https://igogi.co.kr/appW/images/main/bg_timer.png") center center / 100% no-repeat;
}
.gear {
  position: absolute;
  top: calc(var(--clockheight) / 3);
  width: 12px;
  height: calc(var(--clockheight) / 3);
  background: linear-gradient(
    to bottom,
    #000000 0%,
    #666666 17%,
    #7f7f7f 52%,
    #7f7f7f 52%,
    #0c0c0c 53%,
    #595959 87%,
    #131313 100%
  );
  outline: 3px solid #000;
  z-index: 99;
  transform-style: preserve-3d;
  transform: translateZ(10px);
  perspective: 0;
}
.gear:nth-child(2) {
  left: calc(100% - 12px);
}
.top,
.bottom {
width:82%;
background:#fff;
margin-left:5px;
/*  box-shadow: 0 6px 6px 1px rgba(0, 0, 0, 0.5),*/
/*    0 2px 2px 1px rgba(255, 255, 255, 0.15);*/
/*  border-top: 2px solid rgb(102, 103, 110);*/
/*  border-bottom: 2px solid #000;*/
/*  background:url("https://igogi.co.kr/appW/images/main/bg_timer.png") center center / 100% no-repeat;*/
}
.top {
/*	margin-top:15px;*/
  /*   border: 1px solid #c00; */
  position: relative;
  height: calc(50%);
/*  background-image: linear-gradient(rgb(48, 49, 53) 0%, rgb(56, 57, 62) 100%);*/

/*  margin-top: 10px;*/
  margin-bottom: 1px;
}
.bottom {
  position: relative;
  /*   border: 1px solid green; */
  height: calc(50% - 1px);
/*  margin-bottom: 10px;*/
}
.text {
  font-size: 28px;
  display: block;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  line-height: 47px;
  text-align: center;
}
.bottom .text {
  line-height: 0;
}
.top.new,
.bottom.new {
  position: absolute;
  left: 0;
  z-index: 12;
  /*   background: green; */
}
.top.new {
  top: 0;
  z-index: 1;
  /*   backface-visibility: hidden; */
}
.top.new .text {
  backface-visibility: hidden;
}
/* .top.new:before {
  content: "";
  position: absolute;
  top: calc(var(--clockheight) / 3);
  left: 0;
  width: 15px;
  height: calc(var(--clockheight) / 3);
  background: #000;
}
.top.new:after {
  content: "";
  position: absolute;
  top: calc(var(--clockheight) / 3);
  right: 0;
  width: 15px;
  height: calc(var(--clockheight) / 3);
  background: #000;
} */
.bottom.new {
  /*   background: red; */
  position: absolute;
  top: 0;
  height: calc(100% - 0px);
  transform: rotateX(0.5turn);
  /*   backface-visibility: hidden; */
  z-index: 1;
  opacity: 0;
}
.flipper.flipping .top.new {
  transform-origin: bottom center;
  /*   transform: rotateX(-180deg) translateY(-10px); */
  animation: rotate var(--rotationtime) 1 ease-in-out forwards;
}
.flipper.flipping .bottom.new {
  animation: rotatebottom var(--rotationtime) 1 ease-in-out forwards;
}
@keyframes rotatebottom {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rotate {
  0% {
    transform: rotateX(0) translateY(0px);
  }
  100% {
    transform: rotateX(-180deg) translateY(0px);
  }
}
