@import url(//fonts.googleapis.com/css?family=Inter:400,500,600,700&display=swap);

*{
  box-sizing:border-box;
}
html,body{
  margin:0;
  padding:0;
  height:100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body{
  opacity:0;
  transition: all 1s ease;
}

.divider{
  height: 180px;
  width: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
  position: relative;
  top: 50%;
  float: left;
  transform: translateY(-50%);
  border-radius: 2px;
}

#background-stats-1{
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

#background-stats-2{
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

#content-container{
  z-index:2;
  position:relative;
  margin:0 auto;
  display:table;
  padding:20px;
  max-width:940px;
  height:100%;
}
#content-container-center{
  display:table-cell;
  text-align:center;
  vertical-align:middle;
}
#result{
  z-index: 3;
  position: absolute;
  bottom: 50px;
  right: 40px;
  color: #fff;
  opacity: 0.9;
  font-size: 32px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px 32px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#choice{
  transition: all 400ms ease;
  line-height:1.4em;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  vertical-align:middle;
  font-size:48px;
  font-weight: 700;
  width: 580px;
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
#choice a{
  text-decoration:none;
}
#choice a:hover, #choice a:focus{
  outline:0;
  text-decoration:underline;
}

#choice .choice{
  width: 49%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  padding-left: 50px;
  transition: all 0.3s ease;
}

#choice .choice .label{
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

#choice .choice .stat{
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

#choice .choice.dogs{
  color: #00b4d8;
  float: right;
}

#choice .choice.cats{
  color: #f5576c;
  float: left;
}
#background-stats{
  z-index:1;
  height:100%;
  width:100%;
  position:absolute;
  overflow: hidden;
}
#background-stats div{
  transition: width 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
  display:inline-block;
  margin-bottom:-4px;
  width:50%;
  height:100%;
  position: relative;
}

#background-stats div::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
