@import url("https://fonts.googleapis.com/css?family=monsterat:700|Pacifico");

*,
*:after,
*:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-transition: all 100ms ease-in;
  transition: all 100ms ease-in;
}
body{
  background-color: rgb(208, 203, 235);
}

.happy {
  width: 100%;
  font-family: "Pacifico", cursive;
  font-size: 100px;
  font-weight: 700;
  color: #d4901c;
  text-align: center;
  position: absolute;
  top: 50%;
  opacity: 0;
  animation: happy_sight 2s ease-in-out 7s forwards;
}
.new_year {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 200px 100px 0px 0px;
}
.new_year > span {
  font-family: "Montserrat", sans-serif;
  font-size: 175px;
  font-weight: 700;
  color: #a42b55;
}
span.five {
  position: absolute;
  top: 50%;
  right: 50%;
  margin-right: -200px;
  animation: year_2025 5s ease-in-out 5s forwards;
}
span.six {
  position: absolute;
  right: 0%;
  margin-right: -200px;
  animation: year_2026 6s ease-in-out forwards;
}
span.six:before {
  content: "";
  width: 0px;
  height: 6px;
  display: block;
  border-radius: 3px;
  background: #a42b55;
  transform: rotate(0deg);
  transform-origin: left top;
  position: absolute;
  top: 55px;
  left: 10px;
  z-index: -1;
  animation: entry_globe 1s ease-in-out 4s;
}
.globe {
  width: 50px;
  height: 50px;
  display: block; 
  background: transparent; 
  border-radius: 50%;
  position: absolute;
  top: 50%;
  margin-top: -115px;
  right: 0%;
  margin-right: -200px;
  animation: back_and_forth_globe 10s ease-in-out forwards;
}
  
.globe:before {
  top: 15px;
  content: "🎄";
  font-size: 70px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 20px 10px;
  border-color: transparent transparent transparent transparent;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  bottom: 20px;
  z-index: 5;
}
.globe:after {
  content: "";
  width: 4px;
  height: 100px;
  display: block;
  background: #a42b55;
  border-radius: 0px 0px 3px 3px;
  position: absolute;
  left: 50%;
  margin-left: -2px;
  bottom: -110px;
}
.fireworks {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.fireworks > div {
  border: 2px solid #1c22d4;
  position: absolute;
  opacity: 0;
  animation: buildup_fireworks 1.5s ease-in-out 8s forwards;
}
.fireworks > div.f1 {
  left: 20%;
  top: 40%;
}
.fireworks > div.f2 {
  left: 15%;
  top: 70%;
}
.fireworks > div.f3 {
  right: 20%;
  top: 40%;
}
.fireworks > div.f4 {
  right: 15%;
  top: 70%;
}
.fireworks > div span {
  width: 6px;
  height: 6px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: burst_fireworks 0.5s ease-in-out 9s forwards;
}
.fireworks > div span:nth-child(1) {
  transform: rotate(0deg);
}
.fireworks > div span:nth-child(2) {
  transform: rotate(120deg);
}
.fireworks > div span:nth-child(3) {
  transform: rotate(240deg);
}
.fireworks > div span:before {
  content: "";
  width: 2px;
  height: 50px;
  display: block;
  background: #039f4c;
  position: absolute;
  top: -60px;
  left: 2px;
}
.fireworks > div span:after {
  content: "";
  width: 2px;
  height: 50px;
  display: block;
  background: #039f4c;
  position: absolute;
  bottom: -60px;
  left: 2px;
}
.fireworks > div span i:before {
  content: "";
  width: 3px;
  height: 3px;
  display: block;
  border-radius: 50%;
  background: #1c22d4;
  position: absolute;
  top: -15px;
  left: 10px;
}
.fireworks > div span i:after {
  content: "";
  width: 3px;
  height: 3px;
  display: block;
  border-radius: 50%;
  background: #1c22d4;
  position: absolute;
  top: -15px;
  right: 10px;
}
a.author {
  font-size: 12px;
  text-decoration: none;
  color: #1c22d4;
  position: fixed;
  bottom: 10px;
  right: 10px;
}

@keyframes year_2026 {
  0% {
    right: 0%;
  }
  66.6666% {
    right: 50%;
    margin-right: -300px;
  }
  90% {
    right: 50%;
    margin-right: -300px;
  }
  100% {
    right: 50%;
  }
}
@keyframes back_and_forth_globe {
  0% {
    right: 0%;
  }
  40% {
    right: 50%;
    margin-right: -300px;
  }
  50% {
    right: 50%;
    margin-right: -200px;
    top: 50%;
  }
  100% {
    top: -100%;
    right: 50%;
  }
}
@keyframes entry_globe {
  0% {
    transform: rotate(-30deg);
    width: 40px;
  }
  100% {
    transform: rotate(-150deg);
    width: 70px;
  }
}
@keyframes year_2025 {
  0% {
    top: 50%;
  }
  100% {
    top: -100%;
  }
}
@keyframes happy_sight {
  0% {
    margin-top: 0px;
    opacity: 0;
  }
  100% {
    margin-top: -200px;
    opacity: 1;
  }
}
@keyframes buildup_fireworks {
  0% {
    margin-top: 100%;
    opacity: 0;
    width: 2px;
    height: 30px;
    display: block;
    border-radius: 50%;
  }
  75% {
    margin-top: 0%;
    opacity: 1;
    width: 2px;
    height: 30px;
    display: block;
    border-radius: 50%;
  }
  80% {
    margin-top: 0px;
    margin-left: 0px;
    opacity: 1;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    transform: scale(0.2);
  }
  100% {
    opacity: 1;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    transform: scale(1);
  }
}
@keyframes burst_fireworks {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}