// ========================== //
// 2017 Countdown CSS
// ========================== //

.countdown-container {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100vh;
  text-align: center;
  font-family: helvetica;
  text-transform: uppercase;
	height: calc(100% - 186px);
}

.vertical-center {
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 75%;
  max-width: 20rem;
  margin: 0 auto;
  text-align: center;
}

.countdown-title {
    text-align: center;
    font-size: 32px;
    padding-bottom: 10px;
    color: #d00;
    font-family: 'gearblastregular', arial, sans-serif;
    width: 100%;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-width: 31%;
  margin-bottom: 1rem;
}

.countdown__item--large {
  flex: auto;
  width: 100%;
  font-size: 2.75em;
}

.countdown__timer {
  padding: .25em;
  background-color: white;
  border: 1px solid red;
  border-radius: 3px;
  font-weight: bold;
  font-size: 2em;
  color: #000;
}

.countdown__label {
  font-size: 1em;
  padding-top: .40em;
  color: #FFF;
  
  .countdown__item--large & {
    &:before,
    &:after {
      content: '';
      display: block;
      height: 1px;
      background-image: linear-gradient(
        left,
        rgba(0, 0, 0, 0), 
        rgba(0, 0, 0, .4),
        rgba(0, 0, 0, 0));
    }
  }
}
