* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #efeadd;
  font-family: "proxima-nova", sans-serif;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-weight: 500;
  line-height: 1.2;
  font-family: "bely-display", sans-serif;
}

p {
  margin: 0;
  line-height: 1.3;
}
p:not(:last-of-type) {
  margin-bottom: 1rem;
}

img {
  display: block;
  margin: 0;
}

@media (max-width: 800px) {
  .desktop {
    display: none;
  }
}

@media (min-width: 800px) {
  .mobile {
    display: none;
  }
}

.container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 800px) {
  nav {
    padding: 1rem;
    position: relative;
  }
}

#logo {
  position: relative;
  z-index: 2;
}
#logo img {
  width: 2rem;
  height: 2rem;
}

#tagline {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0.5rem auto 0;
  max-height: 3rem;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 800px) {
  #tagline {
    top: 6rem;
  }
}

#share {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: row;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  color: #ed1c24;
  text-align: center;
  transition: color 0.2s ease-out;
}
#share img {
  width: 2.5rem;
  margin: -1rem 0;
}
@media (max-width: 800px) {
  #share img {
    order: 2;
  }
}
#share p {
  font-family: "gravesend-sans", sans-serif;
  text-transform: uppercase;
  margin: 0 0.5rem 0;
  font-weight: 900;
  line-height: 1;
  font-size: 1.15rem;
}
#share .share-coal {
  position: relative;
}
#share .share-coal img:last-child {
  position: absolute;
  top: 0;
  opacity: 0;
}
#share:hover {
  color: #bc9848;
}
#share:hover .share-coal img:first-child {
  opacity: 0;
}
#share:hover .share-coal img:last-child {
  opacity: 1;
}

#coal {
  position: relative;
  background-color: #efeadd;
  color: #fff;
  margin-top: 5rem;
  height: calc(100vh - 9rem);
  text-align: center;
  overflow: hidden;
}
@media (max-height: 700px) {
  #coal {
    min-height: 750px;
  }
}
@media (max-width: 800px) {
  #coal {
    margin: 6rem auto 4rem;
    width: 85%;
    height: unset;
  }
}
#coal h2 {
  font-size: 2rem;
}

.letter-wrap {
  position: absolute;
  perspective: 3000px;
  top: 0;
  left: 0;
  margin-top: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
@media (max-width: 800px) {
  .letter-wrap {
    position: relative;
    flex-flow: column;
    height: auto;
  }
}

@keyframes slideIn {
  0% {
    transform: rotateX(90deg) translateY(100vh);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slideInMobile {
  0% {
    transform: rotateY(-90deg) translateX(-100vw);
  }
  100% {
    transform: translateX(0);
  }
}
.letter {
  padding-top: 6px;
  position: relative;
  width: 25%;
  height: 100%;
  transform: rotateY(90deg) translateY(100vh);
  transform-origin: bottom center;
  animation: slideIn 1s ease-out forwards;
}
.letter:nth-child(1) {
  animation-delay: 0.1s;
}
.letter:nth-child(2) {
  animation-delay: 0.2s;
}
.letter:nth-child(3) {
  animation-delay: 0.3s;
}
.letter:nth-child(4) {
  animation-delay: 0.4s;
}
@media (max-width: 800px) {
  .letter {
    width: 100%;
    height: unset;
    padding-top: 0;
    transform-origin: left center;
    animation: slideInMobile 1s ease-out forwards;
  }
}
.letter:not(:last-of-type):after {
  content: "";
  display: block;
  top: 0;
  right: -4px;
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 100%;
  background: url(../img/coal-divider.svg) top center no-repeat;
}
@media (max-width: 800px) {
  .letter:not(:last-of-type):after {
    width: 100%;
    height: 12px;
    left: 0;
    right: unset;
    bottom: -6px;
    top: unset;
    background: url(../img/mobile-divider.svg) top center no-repeat;
  }
}
@media (max-width: 800px) {
  .letter:last-of-type:hover, .letter:last-of-type.hover {
    padding-bottom: 0;
  }
}

.letter-overflow {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
  overflow: hidden;
}
.letter-overflow[data-color] {
  --bg-color: attr(data-color);
}
@media (max-height: 700px) {
  .letter-overflow {
    padding-top: 4rem;
    justify-content: start;
  }
}
.letter-overflow:hover, .letter-overflow.hover {
  background-color: var(--bg-color);
}
.letter-overflow:hover .background, .letter-overflow.hover .background {
  opacity: 0.15;
  transform: scale(1);
}
.letter-overflow:hover .rollover, .letter-overflow.hover .rollover {
  opacity: 1;
  max-height: var(--max-height);
}
.letter-overflow:hover .letter-image, .letter-overflow.hover .letter-image {
  margin-bottom: 0;
}
.letter-overflow:hover .letter-image img, .letter-overflow.hover .letter-image img {
  opacity: 0;
}
.letter-overflow:hover .letter-image img[src*=cream], .letter-overflow.hover .letter-image img[src*=cream] {
  opacity: 1;
}
@media (max-width: 800px) {
  .letter-overflow {
    width: 100%;
    padding: 0;
  }
  .letter-overflow:hover:last-of-type, .letter-overflow.hover:last-of-type {
    padding: 2rem;
  }
}
.letter-overflow .letter-image {
  height: 15vw;
  position: relative;
  z-index: 2;
  line-height: 1;
  margin: 2rem 0;
  transition: filter 0.4s ease-out, margin 0.4s ease-out;
}
.letter-overflow .letter-image img {
  height: 15vw;
}
.letter-overflow .letter-image img[src*=cream] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
@media (max-width: 800px) {
  .letter-overflow .letter-image {
    height: 8rem;
  }
  .letter-overflow .letter-image img {
    height: 8rem;
  }
}
.letter-overflow .background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0;
  transform: scale(1.1);
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease-out, transform 0.4s ease-out;
}
@media (max-width: 800px) {
  .letter-overflow .background {
    transform: scale(1);
  }
}

.rollover {
  position: relative;
  z-index: 3;
  opacity: 0;
  max-height: 0;
  text-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
  transition: max-height 0.4s ease-out, opacity 0.5s ease-out;
}
.rollover p {
  max-width: 280px;
  margin: 0 auto;
}

.rollover-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem 0.25rem 0.66rem;
  border-radius: 2rem;
  border: 2px solid #FFF;
  background: transparent;
  color: #FFF;
  margin: 1rem auto 0;
  transform: translate3d(0, 0, 0);
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.rollover-btn:after {
  content: "";
  display: inline-block;
  position: relative;
  width: 1.2em;
  height: 1.2em;
  background: url(../img/cta-arrow.svg) left center no-repeat;
  -o-object-fit: contain;
     object-fit: contain;
  transition: filter 0.2s ease-out;
  margin-left: 0.25rem;
}
.rollover-btn:hover {
  background: #FFF;
  color: #000;
}
.rollover-btn:hover:after {
  filter: brightness(0);
}

.rollover-height {
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.rollover-height:after {
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 2rem;
}

.ad-image {
  display: none;
}

#greeting-tab, #greeting {
  position: fixed;
  transition: top 0.4s ease-out;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-10px);
  }
  20% {
    transform: translateY(0);
  }
}
#greeting-tab {
  top: calc(100% - 5.5rem + 1px);
  cursor: pointer;
  width: 6rem;
  height: 6rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 4;
}
@media (max-width: 800px) {
  #greeting-tab {
    display: none;
  }
}
#greeting-tab img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
#greeting-tab.in {
  top: 4.5rem;
}
#greeting-tab.in ~ #greeting {
  top: 5.5rem;
  overflow: auto;
}
#greeting-tab.in .arrow {
  display: none;
}
@media (min-width: 800px) {
  #greeting-tab.unclicked, #greeting-tab.unclicked ~ #greeting {
    animation: bounce 5s linear infinite;
  }
}
#greeting-tab .arrow img {
  width: 1.5rem;
  margin: -1rem auto 0;
}

#greeting {
  top: calc(100% - 4.5rem);
  height: calc(100vh - 5rem);
  width: 100%;
  overflow-y: auto;
  background-color: #2f2e2c;
  color: #FFF;
  padding: 3rem 0;
  overflow: hidden;
  z-index: 3;
  transition: top 0.4s ease-out;
  border-top: 2px solid #2f2e2c;
  scrollbar-width: none;
}
#greeting::-webkit-scrollbar {
  display: none;
}
@media (max-width: 800px) {
  #greeting {
    position: relative;
    top: unset;
    height: unset;
    overflow: hidden;
    paadding-bottom: 0;
  }
}
#greeting .container {
  position: relative;
  z-index: 3;
  background-color: #efeadd;
  width: 90%;
  max-width: 800px;
  padding: 1rem;
  margin: 2rem auto 6rem;
  border-radius: 2rem;
  color: #2f2e2c;
  text-align: center;
}
#greeting .container p {
  max-width: 595px;
  margin: 0 auto 1rem;
}
#greeting .container p:first-of-type {
  max-width: 530px;
}
#greeting .container p:not(:last-of-type) {
  font-family: "proxima nova", sans-serif;
}
#greeting .container p:last-of-type {
  font-weight: 900;
  text-transform: uppercase;
  color: #ed1c24;
}
#greeting .container .stroke {
  border-radius: 2rem;
  padding: 2rem 3.5rem;
  border: 2px solid #bc9848;
}
@media (max-width: 800px) {
  #greeting .container .stroke {
    padding: 2rem 1rem;
  }
}
#greeting .container img:first-of-type {
  display: block;
  width: 80%;
  max-width: 550px;
  margin: 0 auto 1rem;
}
@media (max-width: 800px) {
  #greeting .container img:first-of-type {
    width: 100%;
  }
}
#greeting .container img:last-of-type {
  width: 60%;
  max-width: 225px;
  margin: 0.5rem auto 0;
  padding-top: 0.25rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#greeting-title {
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding-left: 0.75em;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.085em;
  font-size: 1.2rem;
  font-weight: 600;
}
@media (max-width: 800px) {
  #greeting-title {
    font-size: 1rem;
    position: relative;
    top: unset;
    transform: unset;
    padding-left: 0;
  }
}
#greeting-title p {
  font-size: 1em;
  margin: 0 0.5em 0;
}
#greeting-title img {
  height: 2rem;
}
#greeting-title img[src*=bracket]:last-child {
  transform: rotate(180deg);
  margin-left: -0.15rem;
}
#greeting-title .snowflake {
  position: relative;
}
#greeting-title .snowflake img {
  transition: all 0.5s ease-out;
}
#greeting-title .snowflake img[src*=snowflake] {
  animation: spin 10s linear infinite;
}
#greeting-title .snowflake #greeting-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
}

#greeting-tab.in ~ #greeting img[src*=snowflake] {
  opacity: 0;
}
#greeting-tab.in ~ #greeting #greeting-close {
  opacity: 1;
  transform: rotate(360deg);
}

#audio-control {
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: url(../img/music.svg) center no-repeat;
  background-size: contain;
  width: 2rem;
  height: 2rem;
}
#audio-control.mute {
  background-image: url(../img/mute.svg);
}
@media (max-width: 800px) {
  #audio-control {
    display: none;
  }
}

#tag-form {
  display: flex;
  flex-flow: column;
  width: 100%;
  margin-top: 2rem;
}
#tag-form fieldset {
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-flow: column;
}
#tag-form p {
  color: #FFF;
  text-align: center;
  margin: 2rem auto;
  font-style: italic;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  z-index: 10;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-color: rgba(47, 46, 44, 0.6);
  pointer-events: none;
  scrollbar-width: none;
}
.popup::-webkit-scrollbar {
  display: none;
}
.popup.in {
  animation: popIn 0.5s forwards;
  pointer-events: auto;
}
.popup.out {
  animation: popOut 0.5s forwards;
}

.popup-center {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.popup-wrap {
  position: relative;
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.25);
}
@media (max-width: 800px) {
  .popup-wrap {
    flex-flow: column;
    width: 100%;
    max-width: 100%;
  }
}

.popup-text {
  background: #ed1c24;
  display: flex;
  flex-flow: column;
  padding: 2rem 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 800px) {
  .popup-text {
    min-width: 400px;
  }
}
.popup-text p {
  margin: 0 auto;
  width: 90%;
  max-width: 280px;
}
.popup-text .send-coal {
  position: relative;
  width: 80%;
  max-width: 300px;
}
.popup-text .send-coal img:first-child {
  width: 100%;
  height: auto;
}
.popup-text .send-coal img:last-child {
  position: absolute;
  width: 19%;
  top: 0;
  right: 0;
}
.popup-text .rollover-btn {
  display: none;
}
@media (max-width: 800px) {
  .popup-text {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .popup-image {
    width: 100%;
  }
}
.popup-image canvas, .popup-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-left: auto;
}
@media (max-width: 800px) {
  .popup-image canvas, .popup-image img {
    width: 100%;
    height: auto;
  }
}

@keyframes flakeSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.popup-close {
  position: absolute;
  cursor: pointer;
  z-index: 2;
  background-image: url("../img/close.svg");
  background-position: center;
  background-size: contain;
  width: 2rem;
  height: 2rem;
  top: 1rem;
  left: 1rem;
}
.popup-close:hover {
  animation: flakeSpin 5s linear infinite;
}

#media-popup .popup-text {
  padding: 0 2rem;
  text-align: center;
  color: #FFF;
}
@media (max-width: 800px) {
  #media-popup .popup-text {
    display: none;
  }
}
#media-popup .popup-text:before, #media-popup .popup-text:after {
  display: block;
  position: relative;
  content: "";
  width: 50%;
  height: 1rem;
  background: url(../img/popup-divider.svg) center no-repeat;
  background-size: contain;
  margin: 1rem auto;
}
@media (max-width: 800px) {
  #media-popup {
    background-color: rgba(47, 46, 44, 0.8);
  }
  #media-popup .popup-close {
    top: -3rem;
  }
}
@media (max-height: 500px) {
  #media-popup {
    padding-top: 3rem;
  }
}

#snow {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 10rem);
  pointer-events: none;
}
@media (max-width: 800px) {
  #snow {
    height: 100%;
  }
}

#present-popup .popup-text {
  padding: 4rem 2rem;
}
@media (min-width: 1400px) {
  #present-popup .popup-text {
    min-width: 500px;
  }
}
@media (max-width: 800px) {
  #present-popup .popup-text {
    padding-bottom: 0;
  }
}
#present-popup input[type=text] {
  font-family: "bely-display", sans-serif;
  background-color: transparent;
  border: 0;
  outline: 0;
  color: #FFF;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  width: 100%;
  background: url(../img/input-underline.svg) bottom center no-repeat;
  background-size: contain;
}
#present-popup input[type=text]:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}
#present-popup input[type=text]::-moz-placeholder {
  color: #FFF;
}
#present-popup input[type=text]::placeholder {
  color: #FFF;
}
#present-popup .popup-text, #present-popup .popup-image {
  background-color: #2f2e2c;
}
#present-popup .popup-close {
  background-image: url("../img/close-gold.svg");
}
#present-popup .popup-image {
  padding: 2rem;
  margin-top: -1px;
  color: #fff;
  text-align: center;
}
#present-popup .popup-image .download-button {
  margin: 1rem auto;
}

@media (max-width: 800px) {
  #media-popup .popup-text, #media-popup .popup-image, #present-popup .popup-text, #present-popup .popup-image {
    width: 100%;
  }
}

.download-button {
  display: flex !important;
  cursor: pointer;
  background: transparent;
  text-transform: uppercase;
  color: #FFF;
  border: 0;
  outline: 0;
  margin: 1rem auto 0;
  font-size: 1rem;
  font-family: inherit;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}
.download-button:after {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.5rem;
  position: relative;
  background: url(../img/download.svg) center no-repeat;
  background-size: contain;
}
.download-button:hover:after {
  background-image: url(../img/download-hover.svg);
}