@font-face {
  font-family: "ABC Kurato Mix";
  src: url("fonts/KuratoMixVariable.woff2") format("woff2"),
       url("fonts/KuratoMixVariable.woff") format("woff");
       font-style: normal;
}

@font-face {
  font-family: "ABC Kurato Logo";
  src: url("fonts/KuratoLogoVF.woff2") format("woff2"),
       url("fonts/KuratoLogoVF.woff") format("woff");
       font-style: normal;
}

/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
    color: #000;
    text-decoration: none;
}

/* ANIMATION */

@keyframes background-fade {
  0% {opacity: 1}
  75% {opacity: 1}
  100% {opacity: 0}
}

@-webkit-keyframes ken-burns-next {
  0% {-webkit-transform: scale(1.06);}
  25% {-webkit-transform: scale(1.12);}
  50% {-webkit-transform: scale(1);}
  75% {-webkit-transform: scale(1);}
  100% {-webkit-transform: scale(1.06);}
}

@-moz-keyframes ken-burns-next {
  0% {-moz-transform: scale(1.06);}
  25% {-moz-transform: scale(1.12);}
  50% {-moz-transform: scale(1);}
  75% {-moz-transform: scale(1);}
  100% {-moz-transform: scale(1.06);}
}

@-ms-keyframes ken-burns-next {
  0% {-ms-transform: scale(1.06);}
  25% {-ms-transform: scale(1.12);}
  50% {-ms-transform: scale(1);}
  75% {-ms-transform: scale(1);}
  100% {-ms-transform: scale(1.06);}
}

@-o-keyframes ken-burns-next {
  0% {-o-transform: scale(1.06);}
  25% {-o-transform: scale(1.12);}
  50% {-o-transform: scale(1);}
  75% {-o-transform: scale(1);}
  100% {-o-transform: scale(1.06);}
}

@-webkit-keyframes ken-burns-next {
  0% {-webkit-transform: scale(1.06);}
  25% {-webkit-transform: scale(1.12);}
  50% {-webkit-transform: scale(1);}
  75% {-webkit-transform: scale(1);}
  100% {-webkit-transform: scale(1.06);}
}

@-moz-keyframes ken-burns-next {
  0% {-moz-transform: scale(1.06);}
  25% {-moz-transform: scale(1.12);}
  50% {-moz-transform: scale(1);}
  75% {-moz-transform: scale(1);}
  100% {-moz-transform: scale(1.06);}
}

@-ms-keyframes ken-burns-next {
  0% {-ms-transform: scale(1.06);}
  25% {-ms-transform: scale(1.12);}
  50% {-ms-transform: scale(1);}
  75% {-ms-transform: scale(1);}
  100% {-ms-transform: scale(1.06);}
}

@-o-keyframes ken-burns-next {
  0% {-o-transform: scale(1.06);}
  25% {-o-transform: scale(1.12);}
  50% {-o-transform: scale(1);}
  75% {-o-transform: scale(1);}
  100% {-o-transform: scale(1.06);}
}

@keyframes ken-burns-next {
  0% {transform: scale(1.06);}
  25% {transform: scale(1.12);}
  50% {transform: scale(1);}
  75% {transform: scale(1);}
  100% {transform: scale(1.06);}
}

@keyframes ken-burns {
  0% {transform: scale(1.06);}
  100% {transform: scale(1.30);}
}

@-webkit-keyframes text-weight-change {
  0% {font-variation-settings: 'wght' 400;}
  100% {font-variation-settings: 'wght' 700;}
}

@-moz-keyframes text-weight-change {
  0% {font-variation-settings: 'wght' 400;}
  100% {font-variation-settings: 'wght' 700;}
}

@-o-keyframes text-weight-change {
  0% {font-variation-settings: 'wght' 400;}
  100% {font-variation-settings: 'wght' 700;}
}

@keyframes text-weight-change {
  0% {font-variation-settings: 'wght' 400;}
  100% {font-variation-settings: 'wght' 700;}
}

/* TEXT */

h2,
h3,
h4,
h5,
h6,
p,
caption,
li {
  font-family: "ABC Kurato Mix", sans-serif;
  -webkit-animation: text-weight-change 2s infinite alternate ease-in-out;
  -moz-animation: text-weight-change 2s infinite alternate ease-in-out;
  -o-animation: text-weight-change 2s infinite alternate ease-in-out;
  animation: text-weight-change 2s infinite alternate ease-in-out;
}

h1 {
  font-family: "ABC Kurato Logo", sans-serif;
  font-size: 16rem;
  line-height: 14rem;
  -webkit-animation: text-weight-change 2s infinite alternate ease-in-out;
  -moz-animation: text-weight-change 2s infinite alternate ease-in-out;
  -o-animation: text-weight-change 2s infinite alternate ease-in-out;
  animation: text-weight-change 2s infinite alternate ease-in-out;
}

h6,
p,
li {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* STRUCTURE */

.main-container {
  margin: 0 1rem;
}

#ticker-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: -1;
}

.vertical h1 {
  writing-mode: vertical-rl;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.horizontal .landing-float {
  position: absolute;
  left: 0;
  top: 48%;
  width: 100%;
  transform: translateY(-48%);
  text-align: center;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.vertical .landing-float {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.landing-float p {
  position: absolute;
  width: 100%;
  bottom: 1rem;
  left: 1rem;
}

.vertical .landing-float p {
  position: relative;
  clear: both;
  float: left;
}

.landing-text {
  width: 75%;
}

.vertical .ticker-top {
  transform: translateY(100%) translateX(-100vh);
}

.logo-linebreak {
  display: none;
}

h1 {
  padding-top: 1.5rem;
}

p,
ul {
  padding-top: 1rem;
}

ul {
  padding-left: 0.75rem;
}

li:before {
  content: '\2022  ';
}

.hidden {
  display: none !important;
}

button {
  all: unset;
}

button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  cursor: pointer;
  background-color: black;
}

#style-toggle {
  right: 2.2rem;
  background-color: grey;
}

@media only screen and (max-width: 1400px) {

  .landing-text {
    width: 75%;
  }

  h1 {
    font-size: 13rem;
    line-height: 11rem;
  }

}

#background  {
  position: fixed;
  background-color: #eee;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover !important;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  z-index: -100;
  -webkit-animation: ken-burns 7s linear, background-fade 7s linear;
  -moz-animation: ken-burns 7s linear, background-fade 7s linear;
  -o-animation: ken-burns 7s linear, background-fade 7s linear;
  animation: ken-burns 7s linear, background-fade 7s linear;
}

#nextBackground  {
  position: fixed;
  background-color: #eee;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover !important;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  z-index: -200;
  -webkit-animation: ken-burns-next 7s linear;
  -moz-animation: ken-burns-next 7s linear;
  -o-animation: ken-burns-next 7s linear;
  animation: ken-burns-next 7s linear;
}

@media only screen and (max-width: 1000px) {

  h1 {
    font-size: 10rem;
    line-height: 8rem;
  }

}

@media only screen and (max-width: 720px) {

  h1 {
    font-size: 9.5rem;
    line-height: 7rem;
  }

  footer {
    text-align: left;
  }

}

@media only screen and (max-width: 400px) {

  h1 {
    font-size: 7rem;
    line-height: 5.5rem;
  }

}
