@font-face {
  font-family: HelveticaNeue;
  src:
    url("/fonts/HelveticaNeueRegular.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: HelveticaNeue;
  src:
    url("/fonts/HelveticaNeueLight.woff2") format("woff2"),
    url("/fonts/HelveticaNeueLight.woff") format("woff");
  font-weight: light;
}

@font-face {
  font-family: HelveticaNeue;
  src:
    url("/fonts/HelveticaNeueBold.woff2") format("woff2"),
    url("/fonts/HelveticaNeueBold.woff") format("woff");
  font-weight: bold;
}

@font-face {
  font-family: Coolvetica;
  src: url("/fonts/coolvetica.otf") format("opentype");
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background: transparent;
  height: 100%;
  overflow: hidden;
  margin: 0;
  color: white;
  font: 14px HelveticaNeue;
}

.modal-mode {
  background: linear-gradient(#000, #345680);
}

#header {
  display: none;
}

.modal-mode > #header {
  display: flex;
  flex-direction: row;
  font: 58px Coolvetica;
  margin: 20px 32px 24px 32px;
  align-items: center;
}

#container {
  position: fixed;
  left: 50vw;
  transform: translateX(-50%);
}

:root {
  /* Honeycomb scale factor is dynamically changed by Javascript. */
  --honey-scale-factor: 1;

  --honey-row-base-height: 146px;
  --honey-cell-base-size: 220px;
}

.honey-row {
  display: flex;
  justify-content: center;
  flex-direction: row;
  height: calc(var(--honey-scale-factor) * var(--honey-row-base-height));
}

@media (min-width: 460px) {
  .honey-cell-real, .honey-cell-deco {
  transition: opacity .3s linear;
  transition: transform .3s cubic-bezier(.16,.88,.3,1.31);
  }
}

.honey-cell-real img, .honey-cell-deco img {
  width: calc(var(--honey-scale-factor) * var(--honey-cell-base-size));
  height: calc(var(--honey-scale-factor) * var(--honey-cell-base-size));
  margin-left: calc(var(--honey-scale-factor) * -9px);
  margin-right: calc(var(--honey-scale-factor) * -9px);
}

.bounce-anim {
    animation: kf-bounce-anim 1.5s forwards;
}



@keyframes kf-bounce-anim {
  0% { transform: scale(0.96); opacity: .25; }
  25% { transform: scale(1.01); opacity: .75; }
  50% { transform: scale(0.99); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* NOTE: --honey-scale-factor is also controlled by honeycomb-modal.css */

/* This class is programatically applied when the mouse hovers a cell. */

@media (min-width: 460px) { 
  .honey-cell-hover {
  transform: scale(1.05);
  z-index: 2;
  }

}

@media (min-width: 460px) {
.honey-cell-dimmed {
  opacity: 0.4;
  z-index: -2;
  transform: scale(.97);
}
}


.honey-cell-deco img {
  opacity: 0.15;
}

#tooltip {
  position: fixed;
  z-index: 1;
  top: 0px;
  left: 0px;
  color: white;
  padding: 8px;
  border-radius: 8px;
  min-width: 100px;
  transform: translateX(-50%);
  transition: all .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#tooltip-title {
  font: 32px HelveticaNeue;
  font-weight: bold;
  text-align: center;
}

#tooltip-subtitle {
  font: 18px HelveticaNeue;
  font-weight: light;
  text-align: center;
  opacity: 0.6;
}

@media (max-width: 900px) {
  #tooltip-title { font-size: 28px; }
  #tooltip-subtitle { font-size: 22px; }
}

#close-button {
  width: 32px;
  height: 32px;
  background: black;
  opacity: 0.7;
  border: none;
  background: url(xmark-solid.svg) no-repeat;
  background-size: contain;
  filter: invert(100%);
  cursor: pointer;

  /* HACK: to ensure correct alignment, this must be the same as #page-toggle's width */
  width: 200px;
  margin-right: auto;
}
#close-button:hover { opacity: 1; }

#page-toggle-outer {
  /* HACK: to ensure correct alignment, this must be the same as #close-button's width */
  width: 200px;
  margin-left: auto;
}

#page-toggle-inner {
  display: flex;
  flex-direction: row;
}

.page-toggle-button {
  padding: 10px 16px 10px 16px;
  margin: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  font-size: 15px;
  min-width: 100px;
  text-align: center;
  font-family: HelveticaNeue;
}

#page-toggle-featured {
  border-radius: 6px 0 0 6px;
}

#page-toggle-recent {
  border-radius: 0 6px 6px 0;
}

.page-toggle-button-selected {
  background: rgba(255, 255, 255, 0.4);
}
