* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
    font-family: 'Work Sans';
    src: url('fonts/WorkSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Work Sans';
    src: url('fonts/WorkSans-SemiBold.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  background-color: #000;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
}
body.js {
  background-color: #333;
}
h1, h2, h3, h4, button {
  font-family: "Work Sans", sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 400;
}
p {
  font-size: 1.1rem;
  line-height: 130%;
}
a {
  color: inherit;
}
p a:hover {
  background-color: rgba(194, 250, 233, 0.4);
}

/* LAYOUT */
.container {
  position: relative;
  width: 100%;
}
.carousel,
.gallery-cell {
  width: 100%;
  background: #000;
}
.js .carousel,
.js .gallery-cell {
  width: 100%;
  height: 100vh;
  max-height: 500px;
}
@media screen and (min-width: 380px) {
  .container {
    width: 340px;
    margin: 0 auto;
  }
}
@media screen and (min-height: 550px) {
  .js .container {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 500px;
    color: red;
    transform: translate(-50%, -50%);
    overflow: hidden;
  }
  .js .carousel,
  .js .gallery-cell {
    height: 500px;
  }
}
.gallery-cell {
  background: #000;
  color: #f3f3ea;
  padding: 2rem 2rem 0;
}
.js .gallery-cell {
  margin-bottom: 0;
}
.gallery-cell:nth-of-type(4n+1) {
  color: #c2fae9;
}
.gallery-cell:nth-of-type(4n+2) {
  color: #fbf8b5;
}
.gallery-cell:nth-of-type(4n+3) {
  color: #fbd6b5;
}
.gallery-cell {
  font-size: 1.2rem;
  font-weight: 400;
}
.js .gallery-cell {
  font-size: 1.6rem;
}
.js .gallery-cell.small {
  font-size: 1.4rem;
}
.js .gallery-cell.vsmall {
  font-size: 1.3rem;
  line-height: 150%;
}
.flickity-page-dots {
  display: none;
}

/* PREV/NEXT BUTTONS */
.flickity-prev-next-button {
  top: auto;
  bottom: 2rem;
  margin: 0;
  padding: 1em;
  font-size: 2em;
  background-color: rgba(255, 255, 255, 0.2);

  transform: scale(1);
  transition: transform 0.25s ease-out;
}
.flickity-prev-next-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.2);
  transition: transform 0.1s ease-out;
}
.flickity-prev-next-button:disabled {
  transform: scale(0);
  transition: transform 0.25s ease-out;
}
.flickity-prev-next-button svg {
  padding: 0.2em;
}
.flickity-prev-next-button .arrow {
  fill: #bbb;
}
.flickity-prev-next-button.next {
  right: 2rem;
}
.flickity-prev-next-button.previous {
  left: 2rem;
}

/* ABOUT */
body:not(.js) .about {
  display: none;
}
/* COVER */
.cover {
  margin-bottom: 4em;
}
.js .cover {
  margin-bottom: 0em;
}
.logo {
  height: 8rem;
  transform: rotate(30deg) translate(5rem, 4rem);
  letter-spacing: -1rem;
}
.logo .dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin: 0;
  border-radius: 2em;
  border: 0.15em solid #fbf8b5;
}
.logo .line {
  display: inline-block;
  width: 3.85em;
  height: 0.36em;
  margin: 0;
  border-top: 0.15em dashed #fbf8b5;
}
.cover h1 {
  margin: 1em 0 0;
  transform: rotate(-9deg) translate(0, 1rem);
}
.cover h2 {
  margin: 2em 0;
  font-size: 1.5rem;
  transform: rotate(3deg) translate(2.5rem, 1rem);
}

/* TIMER */
.timer time {
  display: block;
  margin: 0.5em 0 0;
  font-size: 3em;
  text-align: center;
  -webkit-font-feature-settings: 'tnum';
  -ms-font-feature-settings: 'tnum';
  font-feature-settings: 'tnum';
}
.timer-button {
  display: block;
  width: 5em;
  margin: 1em auto;
  padding: 0.6em 1em;
  border: none;
  border-radius: 0.3em;
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  background-color: rgba(251, 214, 181, 0.3);
  color: rgba(251, 214, 181, 1);
  text-align: center;
  cursor: pointer;

  transform: scale(1);
  transition: transform 0.25s ease-out;
}
.timer-button:hover {
  background-color: rgba(251, 214, 181, 0.3);

  transform: scale(1.2);
  transition: transform 0.1s ease-out;
}
.timer-button.reset {
  background-color: rgba(251, 214, 181, 1);
  color: #000;
  transform: scale(1.3);
  transition: transform 0.3s ease-out;
}
body:not(.js) .timer time,
body:not(.js) .timer button {
  display: none;
}

/* NOJS INFO FOOTER */
.nojs-info {
  margin-top: 4rem;
  padding: 2rem;
  color: #fbf8b5;
}
.js .nojs-info {
  display: none;
}
