/* FONTS */

@charset "UTF-8";

@font-face {
  font-family: 'Rena-Grotesk-by-Silva-Baum';
  src:  url('/fonts/rena-grotesk/RenaGrotesk-Regular.eot'); /* IE9 Compat Modes */
  src:  url('/fonts/rena-grotesk/RenaGrotesk-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fonts/rena-grotesk/RenaGrotesk-Regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fonts/rena-grotesk/RenaGrotesk-Regular.woff') format('woff'), /* Pretty Modern Browsers */
        url('/fonts/rena-grotesk/RenaGrotesk-Regular.otf') format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: fallback;
}

/* --- */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body, html {
  background: rgb(0,171,74);
  font-family: 'Helvetica', sans-serif;
  font-family: 'Helvetica Now', sans-serif;
  font-size:  9.5vw;
  line-height: .8rem;
  letter-spacing: -.04rem;
  color: #000;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase;
}

body {
  background-color: rgb(0,171,74);
  min-height: 100vh;
}

@media only screen and (max-width: 320px) {
  body, html { font-size:  31px; }
}

footer {
  display: block;
  width: 100vw;
  position: fixed;
  bottom:  0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-bottom: 4em;

}

::selection {
  background: #fff;
  color: #000;
}
p {
  width: 100vw;
}
p:nth-child(even) {
  text-align: right;
}

span.locale {
  font-size: .2em;
  letter-spacing: .1em;
  line-height: 1em;
  display: inline-block;
  margin-left: -.05rem;
}

span.locale .time {
  display: none;
}

ul {
  list-style: none;
}

li {
  display: inline-block;
  margin: 0 .5em;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: letter-spacing .3s;
  display: block;
  white-space: nowrap;
}

a:hover {
  color: #eee;
  letter-spacing: .3em;
  /*
  -moz-text-shadow:    0 0 1em rgba(255,255,255,1);
  -webkit-text-shadow: 0 0 1em rgba(255,255,255,1);
  text-shadow:         0 0 1em rgba(255,255,255,1);
  */
}

.outter-container {
  display: block;
  height:  200px;
  width:  200px;
  border-radius: 200px;
  background: transparent;
  overflow: hidden;
  position: fixed;
  top: 40vh;
  left: 50vw;
  cursor: progress;

  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);

  backface-visibility: hidden;
  will-change: transform;
}

.inner-container {
  height:  100%;
  width:  100%;
}

.inner-container span {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  color: #fff;
  font-size: 225px;
  line-height: 200px;
  text-align: center;
  /*
  top: 50%;
  left: 50%;
  -ms-transform: translate(-25%,-25%);
  -webkit-transform: translate(-25%,-25%);
  transform: translate(-25%,-25%);
  */
}

.video {
  backface-visibility: hidden;
  will-change: transform;
  -ms-transform: translate(-25%,-25%);
  -webkit-transform: translate(-25%,-25%);
  transform: translate(-25%,-25%);
  width: 200%;
  height: 200%;
}

.outter-container :hover .video {
  opacity: 0;
  height: 0;
  width: 0;
}

/*
@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.rotating {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  -webkit-animation: rotating 20s linear infinite;
  -moz-animation: rotating 20s linear infinite;
  -ms-animation: rotating 20s linear infinite;
  -o-animation: rotating 20s linear infinite;
  animation: rotating 20s linear infinite;
}
*/

.glow {
  -moz-box-shadow:    inset 0 0 50vw rgba(255,255,255,.1);
  -webkit-box-shadow: inset 0 0 50vw rgba(255,255,255,.1);
  box-shadow:         inset 0 0 50vw rgba(255,255,255,.1);
}

/* INFO */

body>.info {
  z-index: 1;
  position: relative;
  padding: .02rem 0 0 0;
  mix-blend-mode: multiply;
  mix-blend-mode: darken;
  opacity: 1;
  background-color: rgb(0,171,74);
  color: #fff;
  min-height: 100vh;
}


/* LAYOUT */

body>.info>.group-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.group-container>div {
  flex: 1 1 auto;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  order: 1;
  box-sizing: border-box;
}

.group-container>div.container__clock {
  overflow: hidden;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  flex: 0 0 280px;
  border: 2px solid white;
  padding: 0.02rem;
  padding-top: 0;
  padding-right: 0;
}

canvas {
  display: block;
  position: relative;
}

.group-container>div.container__links {
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: calc( 100% - 280px - .02rem );
  min-width: 5.5rem;
}

.group-container>div.container__subtitle {
  text-align: right;
}

.group-container>div.circle {
  flex: 0 0 100px;
  width: 100px;
  height: 1.54rem;
  background: white;
  display: block;
  border-radius: 50%;
  margin: 0.02rem;
}

@media only screen and (max-width: 470px) {
  span.locale {
    display: none;
  }
}

@media only screen and (max-width: 740px) {
  .group-container>div.circle {
    /*display: none;*/
    order: 2;
    margin-left: auto;
  }
  .group-container>div.container__title {
    order: 0;
  }
  .group-container>div.container__clock {
    order: 0;
  }
  .group-container>div.container__links {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* OCEAN */

.ocean {
  display: block;
  position: absolute;
  top: -10vh;
  left: 0vw;
  height: 200vh;
  width: 200vw;
  padding: 10vh 0;
  z-index: 0;
  box-sizing: border-box;
  /*background-color: rgb(170,170,255);*/
  /*background-color: rgb(0,171,74);*/
  /*background-color: rgb(240,240,240);*/
  background-color: rgb(200,180,255);
  /*background-image: url(../img/clouds-25.gif);*/
  background-image: url(../img/clouds-25_0-171-74.gif);
  background-repeat: repeat;
  /*background-size: 150% 150%;*/
  background-size: auto 20%;
  background-position: 0% 0%;
  opacity: 1;
  transform: translateZ(0) translate(-50%,0%);
  backface-visibility: hidden;
  will-change: transform;
  /*transition: transform 1000s linear;*/

  -webkit-animation: move 500s linear 0s infinite normal;
  -moz-animation: move 500s linear 0s infinite normal;
  animation: move 500s linear 0s infinite normal;

}

@keyframes move {
  from  {transform: translateZ(0) translate(-50%,0%);}
  to    {transform: translateZ(0) translate(0%,-50%);}
}
