
body{
  font-family: sans-serif;
  padding: 0;
  margin: 0;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1,1);
  }
  to {
    -webkit-transform: scale(1.5,1.5);
  }
}

/* Standard syntax */
@keyframes zoom {
 from {
      transform: scale(1,1);
 }
 to {
      transform: scale(1.5,1.5);
 }
}

.me{
  margin-top: 10px;
  padding-top: 10px;
  border-top: solid 1px #eee;
  text-align: center;
}

.me a{
  text-decoration: none;
  color: #26a69a;
}

.me .name{
  font-size: 16px;
}

.me .handle{
  font-size: 12px;
}

/* Overlay */
.canvas-outer{
  position: relative;
  max-width: 1920px;
  overflow: hidden;
  margin: 0 auto;
}

.overlay{
  display: flex;
  position: absolute;
  align-items: center;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  color: #fff;
  background-image: url(../images/aitutaki_5.png);
  background-position: bottom;
  background-repeat: no-repeat;
}


.location-details{
  text-align: center;
  width: 100%;
}

.city{
  font-size: 18px;
  margin-top: 115px;
  text-align: center;
  text-shadow: 0px 1px 4px rgba(0,0,0,.1);
}


.temp{
  font-size: 80px;
  margin-top: -30px;
  text-align: center;
  text-shadow: 0px 2px 7px rgba(0,0,0,.1);
}

.island{
  
}

@media (max-width:36em) {
  .city{
    font-size: 12px;
    margin-top: 0;
  }
  .temp{
    font-size: 70px;
  }
  .rotate-text .primary-text {
    display:none;
  }
  .rotate-text .second-text{
    font-size: 13px;
  }
}

/* Canvas */
.canvas{

}

.night{
  background: linear-gradient(#140d15 0%, #212e3f 100%);
}

.day{
  background: linear-gradient(#90dffe 0%, #38a3d1 100%);
}

.sunrise{
  background: -webkit-linear-gradient(top, #82a0bc 0%, #aebebe 50%, #e0ceb0 80%, #ffc19c 100%);
  background: linear-gradient(top, #82a0bc 0%, #aebebe 50%, #e0ceb0 80%, #ffc19c 100%);
}

.sunset{
  background: -webkit-linear-gradient(top, #10070c 0%, #2e4557 40%, #91aba8 80%, #ddd8a1 100%);
  background: linear-gradient(top, #10070c 0%, #2e4557 40%, #91aba8 80%, #ddd8a1 100%);
}



/* Controls */
.controls{
  max-width: 600px;
  margin: 0 auto;
  padding-top: 20px;
}

@media (max-width: 600px) {
  .controls{
    padding: 20px 10px;
  } 
}

.form-line{
  margin-bottom: 15px;
}

.toggle-form-line{
  display: flex;
}

.form-line .toggle-label{
  flex: 2;
  line-height: 38px;
}

.form-line label{
  display: block;
}

input[type=text]{
  width: 100%;
}

.radio-button-group{
  display: flex;
}

.radio-button-group input[type=radio]{
  display: none;
}

.radio-button-group input[type=radio] + label{
  flex: 1;
  display: block;
  height: 38px;
  padding: 0 12px;
  background-color: #e7e7e7;
  border-color: #ddd;

  font-weight: $regular;
  text-align: center;
  line-height: 38px;

  cursor: pointer;
}

.radio-button-group input[type=radio]:checked + label{
  background-color: #00e676;
  font-weight: $medium;
  color: #fff;
}


input[type=checkbox]{
  display: none;
}

input[type=checkbox] + label{
  display: block;
  position: relative;
  height: 38px;
  width: 76px;
  background-color: #ddd;
  border-radius: 19px;
  cursor: pointer;

  transition: background 200ms;
}

input[type=checkbox]:checked + label{
  background-color: #00e676;
}

input[type=checkbox] + label::after{
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  margin: 2px;
  border-radius: 50%;
  background-color: #fff;

  transition: transform 200ms;
}

input[type=checkbox]:checked + label::after{
  transform: translate3d(38px, 0, 0);
}


.bird {
  background-image: url(../images/bird-cells.svg);
  background-size: auto 100%;
  width: 88px;
  height: 125px;
  will-change: background-position;
  -webkit-animation-name: fly-cycle;
  animation-name: fly-cycle;
  -webkit-animation-timing-function: steps(10);
  animation-timing-function: steps(10);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.bird--one {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.bird--two {
  -webkit-animation-duration: 0.9s;
  animation-duration: 0.9s;
  -webkit-animation-delay: -0.75s;
  animation-delay: -0.75s;
}
.bird--three {
  -webkit-animation-duration: 1.25s;
  animation-duration: 1.25s;
  -webkit-animation-delay: -0.25s;
  animation-delay: -0.25s;
}
.bird--four {
  -webkit-animation-duration: 1.1s;
  animation-duration: 1.1s;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.bird-container {
  position: absolute;
  top: 20%;
  left: -7.5vw;
  -webkit-transform: scale(0);
  transform: scale(0);
  will-change: transform;
  -webkit-animation-name: fly-right-one;
  animation-name: fly-right-one;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.bird-container--one {
  -webkit-animation-duration: 15s;
  animation-duration: 15s;
  -webkit-animation-delay: 0;
  animation-delay: 0;
}
.bird-container--two {
  -webkit-animation-duration: 16s;
  animation-duration: 16s;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.bird-container--three {
  -webkit-animation-duration: 14.6s;
  animation-duration: 14.6s;
  -webkit-animation-delay: 9.5s;
  animation-delay: 9.5s;
}
.bird-container--four {
  -webkit-animation-duration: 16s;
  animation-duration: 16s;
  -webkit-animation-delay: 10.25s;
  animation-delay: 10.25s;
}
@-webkit-keyframes fly-cycle {
100% {
background-position: -900px 0;
}
}
@keyframes fly-cycle {
100% {
background-position: -900px 0;
}
}
@-webkit-keyframes fly-right-one {
0% {
left: -10%;
-webkit-transform: scale(0.3);
transform: scale(0.3);
}
10% {
left: 10%;
-webkit-transform: translateY(2vh) scale(0.4);
transform: translateY(2vh) scale(0.4);
}
20% {
left: 30%;
-webkit-transform: translateY(0vh) scale(0.5);
transform: translateY(0vh) scale(0.5);
}
30% {
left: 50%;
-webkit-transform: translateY(4vh) scale(0.6);
transform: translateY(4vh) scale(0.6);
}
40% {
left: 70%;
-webkit-transform: translateY(2vh) scale(0.6);
transform: translateY(2vh) scale(0.6);
}
50% {
left: 90%;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
60% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
100% {
left: 110%;
opacity: 1;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
}
@keyframes fly-right-one {
0% {
left: -10%;
-webkit-transform: scale(0.3);
transform: scale(0.3);
}
10% {
left: 10%;
-webkit-transform: translateY(2vh) scale(0.4);
transform: translateY(2vh) scale(0.4);
}
20% {
left: 30%;
-webkit-transform: translateY(0vh) scale(0.5);
transform: translateY(0vh) scale(0.5);
}
30% {
left: 50%;
-webkit-transform: translateY(4vh) scale(0.6);
transform: translateY(4vh) scale(0.6);
}
40% {
left: 70%;
-webkit-transform: translateY(2vh) scale(0.6);
transform: translateY(2vh) scale(0.6);
}
50% {
left: 90%;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
60% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
100% {
left: 110%;
opacity: 1;
-webkit-transform: translateY(0vh) scale(0.6);
transform: translateY(0vh) scale(0.6);
}
}
@-webkit-keyframes fly-right-two {
0% {
left: -10%;
opacity: 1;
-webkit-transform: translateY(-2vh) scale(0.5);
transform: translateY(-2vh) scale(0.5);
}
10% {
left: 10%;
-webkit-transform: translateY(0vh) scale(0.4);
transform: translateY(0vh) scale(0.4);
}
20% {
left: 30%;
-webkit-transform: translateY(-4vh) scale(0.6);
transform: translateY(-4vh) scale(0.6);
}
30% {
left: 50%;
-webkit-transform: translateY(1vh) scale(0.45);
transform: translateY(1vh) scale(0.45);
}
40% {
left: 70%;
-webkit-transform: translateY(-2.5vh) scale(0.5);
transform: translateY(-2.5vh) scale(0.5);
}
50% {
left: 90%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
51% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
100% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
}
@keyframes fly-right-two {
0% {
left: -10%;
opacity: 1;
-webkit-transform: translateY(-2vh) scale(0.5);
transform: translateY(-2vh) scale(0.5);
}
10% {
left: 10%;
-webkit-transform: translateY(0vh) scale(0.4);
transform: translateY(0vh) scale(0.4);
}
20% {
left: 30%;
-webkit-transform: translateY(-4vh) scale(0.6);
transform: translateY(-4vh) scale(0.6);
}
30% {
left: 50%;
-webkit-transform: translateY(1vh) scale(0.45);
transform: translateY(1vh) scale(0.45);
}
40% {
left: 70%;
-webkit-transform: translateY(-2.5vh) scale(0.5);
transform: translateY(-2.5vh) scale(0.5);
}
50% {
left: 90%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
51% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
100% {
left: 110%;
-webkit-transform: translateY(0vh) scale(0.45);
transform: translateY(0vh) scale(0.45);
}
}