@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

* {
  box-sizing: border-box;
}

body {
background-image: url('../images/newyear.jpg');
/*  background-image: url('https://images.unsplash.com/photo-1467810563316-b5476525c0f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1349&q=80');
*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  color: #fff;
  font-family: 'Lato', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  overflow: hidden;
  /* -webkit-animation: delay 2s ease 0s 1 normal;
  -moz-animation: delay 2s ease 0s 1 normal;
  -ms-animation: delay 2s ease 0s 1 normal;
  animation: delay 2s ease 0s 1 normal; */
}

/* Add a dark overlay */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);

}

body * {
  z-index: 1;
}
#firework{
  display:inline-block;
  /* -webkit-animation: delay 2s ease 0s 1 normal;
  -moz-animation: delay 2s ease 0s 1 normal;
  -ms-animation: delay 2s ease 0s 1 normal;
  animation: delay 2s ease 0s 1 normal; */
}
h1 {
  font-size: 55px;
  margin: -80px 0 40px;
  font-family: 'Montserrat', sans-serif;
  color: #6402cb;
  z-index: 11;
}

.year {
  font-size: 200px;
  z-index: -1;
  opacity: 0.2;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
#days, #hours, #minutes, #seconds {
color:white;
}
.countdown {
  /* display: flex; */
  display: none;
  transform: scale(2);
}


.time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 15px;
  font-weight: 500;
/* color:#277204; */
color:#6902df;
;}

.time h2 {
  margin: 0 0 5px;
}

@media (max-width: 500px) {
  h1 {
    font-size: 45px;
  }

  .time {
    margin: 5px;
  }

  .time h2 {
    font-size: 12px;
    margin: 0;
  }

  .time small {
    font-size: 10px;
  }
}

/* Animations */

/* Custom Text Stretch FX */
@keyframes delay {
  
  0%,
  33% {
    transform: scaleY(1);
    -webkit-transform: scaleY(2222);
    -webkit-transform: scaleX(222);
  }

  66% {
    transform: scaleY(60);
    -webkit-transform: scaleY(2222);
    -webkit-transform: scaleX(222);
  }

  100% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

@keyframes delayReverse {
  0% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }

  33% {
    transform: scaleY(1);
    -webkit-transform: scaleY(2222);
    -webkit-transform: scaleX(222);
  }

  66% {
    transform: scaleY(60);
    -webkit-transform: scaleY(2222);
    -webkit-transform: scaleX(222);
  }

  100% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

/* End of:Animations */