#timer
{
	position: -webkit-sticky; /* Safari */
	position: sticky;
	bottom: 0;
	width: 220px;
    float: right;
    background: #111;
	z-index: 999;
	margin-top: -125px;
	border-radius: 5px;
	padding-bottom: 8px;
}

#timer p
{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 21px;
    color: #fff;
}
#timer .clock-wrapper {
    display: flex;
    justify-content: center;
}

 #timer .clock-wrapper span {
    font-size: 70px;
    font-weight: bold;
    transition: all .2s ease;
	color: #ffaf00;
}

 #timer .clock-wrapper span.red {
  transition: all .2s ease;
  color: rgb(233, 19, 19);
  font-size: 180px;
}

 #timer .clock-wrapper span.red.hours,
 #timer .clock-wrapper span.red.minutes,
 #timer .clock-wrapper span.red.dots {
  width: 0;
  opacity: 0;
  transition: all .3s ease;
}

 #timer .clock-wrapper span.dots {
    margin-top: -5px;
}

@media only screen and (max-width: 768px) {
   
    body .clock #timer {
        display: none;
        padding: 25px 0;
    }

    #timer .clock-wrapper span {
        font-size: 60px;
    }

    #timer .clock-wrapper span.dots {
        margin-top: -3px;
    }

    #timer .clock-wrapper span.red {
      font-size: 120px;
    }
}
