* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Creepster", cursive;
  font-size: 12px;
}

section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: url("img/Halloween.jpg");
  background-size: cover;
  background-position: bottom center;
}

.countdown {
  display: flex;
}

h2 {
  font-size: 5rem;
  color: #312747;
  text-shadow: 0 0 5px #65ff00, 0 0 25px #65ff00, 0 0 50px #65ff00,
    0 0 100px #65ff00;
  text-align: center;
}

.time {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 4rem;
  margin-right: 20px;
  padding: 10px 5px 5px;
  min-width: 110px;
  color: #312747;
  text-shadow: 0 0 5px #65ff00, 0 0 25px #65ff00, 0 0 50px #65ff00,
    0 0 100px #65ff00;
  /* z-index: 3; */
}

.fog-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.fog-img {
  position: absolute;
  height: 100vh;
  width: 300vw;
  z-index: 2;
}

.fog-img-first {
  background: url("img/fog-1.png");
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
  animation: marquee 60s linear infinite;
}

.fog-img-second {
  background: url("img/fog-2.png");
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-200vw, 0, 0);
  }
}

@media (max-width: 767px) {
  section {
    background-position: bottom right;
  }

  h2 {
    font-size: 3.3rem;
  }

  .time {
    font-size: 2.5rem;
    min-width: 70px;
    margin-right: 5px;
  }

  .time span {
    font-size: 1.16rem;
  }
}
