.date_counter {
    font-family: 'Roboto', sans-serif;
    width: 550px;
    height: auto;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fc5296;
    background-image: linear-gradient(315deg, #fc5296 0%, #f67062 74%);
    border-radius: 30px;
    position: absolute;
    top: auto;
    z-index: 9;
    left: 0px;
    top: 26%;
    right: 0px;
    bottom: auto;
    transform: scale(0.49);
    /* display: none; */
    background: #ffffff;
    box-shadow: 0 15px 30px 0 rgba(0,0,0,.15);
    transition: box-shadow .3s cubic-bezier(.25,.1,.25,1);
    border: 1px solid #4c4c4c;
    z-index: 999;
}

.date_counter p {
    text-align: center;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 35px;
    background: #326d37;
    padding: 10px;
    color: white;
    border-radius: 8px;
    font-size: 33px;
}

.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before, .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    background-color: #000;
}

.date_counter .flipdown {
  margin: auto;
}

.date_counter h1 {
  text-align: center;
  font-weight: 100;
  font-size: 3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.date_counter .buttons {
  width: 100%;
  height: 50px;
  margin: 50px auto 0px auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.date_counter .buttons p {
  height: 50px;
  line-height: 50px;
  font-weight: 400;
  padding: 0px 25px 0px 0px;
  color: #333;
  margin: 0px;
}

.date_counter .button {
  display: inline-block;
  height: 50px;
  box-sizing: border-box;
  line-height: 46px;
  text-decoration: none;
  color: #333;
  padding: 0px 20px;
  border: solid 2px #333;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  transition: all .2s ease-in-out;
}

.date_counter .button:hover {
  background-color: #333;
  color: #FFF;
}

.date_counter .button i {
  margin-right: 5px;
}

.flipdown.flipdown__theme-dark .rotor, .flipdown.flipdown__theme-dark .rotor-top, .flipdown.flipdown__theme-dark .rotor-leaf-front {
    color: #922c5b;
    background-color: #eaeaea;
}

.flipdown.flipdown__theme-dark .rotor-bottom, .flipdown.flipdown__theme-dark .rotor-leaf-rear {
    color: #922c5b;
    background-color: #eaeaea;
}


.flipdown.flipdown__theme-dark .rotor-group-heading:before {
    color: #ffffff;
}

.flipdown.flipdown__theme-dark .rotor:after {
    border-top: solid 1px #922c5b;
}

.flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
    font-size: 25px;
    margin-bottom: 10px;
    color: white;
    background: #245c2d;
}

.flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
    font-size: 25px;
    margin-bottom: 10px;
    color: black;
}

.flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
    font-size: 25px;
    margin-bottom: 10px;
    color: black;
}

.flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
    font-size: 25px;
    margin-bottom: 10px;
    color: black;
}

.flipdown .rotor-group:first-child {
    padding-right: 10px;
}


@media(max-width: 550px) {
  .date_counter {
        width: 100%;
        height: auto;
        position: absolute;
        transform: scale(0.65);
        top: 25%;
        margin-bottom: 10px;
        box-shadow: none;
    }

  .date_counter h1 {
    font-size: 2.5em;
  }

  .date_counter p {
        margin-bottom: 10px;
        font-size: 20px;
    }

  .date_counter .buttons {
    width: 100%;
    margin-top: 25px;
    text-align: center;
    display: block;
  }

  .date_counter .buttons p,
  .date_counter .buttons a {
    float: none;
    margin: 0 auto;
  }

  .date_counter .buttons p {
    padding-right: 0px;
  }

  .date_counter .buttons a {
    display: inline-block;
  }
  
  .flipdown .rotor-group {
    padding-right: 10px;
  }
  
  .flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
    font-size: 15px;
    margin-bottom: 10px;
    color: white;
    }
    
    .flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
        font-size: 15px;
        margin-bottom: 10px;
        color: black;
    }
    
    .flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
        font-size: 15px;
        margin-bottom: 10px;
        color: black;
    }
    
    .flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
        font-size: 15px;
        margin-bottom: 10px;
        color: black;
    }
    
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before, .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
        left: 65px;
    }
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
        bottom: 29px;
        height: 5px;
        width: 5px;
    }
    .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before, .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
        background-color: #000000;
    }
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
        bottom: 13px;
        height: 5px;
        width: 5px;
    }
    .date_counter .flipdown{
        display: flex;
        justify-content: center;
    }

}
