*, *:before, *:after {
  -webkit-box-siging: border-box;
     -moz-box-siging: border-box;
      -ms-box-siging: border-box;
          box-siging: border-box;
}

body {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #E8EFF1;
  background-size: 100%;
  font-family: 'Roboto Slab', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;

  transition: 1s;
}

body.night {
  background: #021A32;
}

.search-container {
  z-index: 10;
  width: 100%;
  height: 10%;
  position: relative;
}

.search {
  margin: 0 auto;
  margin-top: 0;
  padding: 12px;
  width: 100%;
  height: 45px;
  display: block;
  border: none;
  border-bottom: 1px solid transparent;
  outline: none;
  background: white;
  color: #555;
  font-size: 16px;

  box-shadow: 0 3px 10px 0 rgba(50,50,50,0.2);
  transition: 0.2s;
}

.search:focus {
  box-shadow: 0 5px 15px 0 rgba(50,50,50,0.2);
  height: 60px;
}

.search-dica {
  z-index: 10;
  position: absolute;
  right: -215px;
  top: 80px;
  width: 200px;
  height: 30px;
  padding: 4px;
  line-height: 30px;
  background: #45c3ed;
  color: white;
  text-align: center;
  font-family: 'Segoe UI', 'Calibri', sans-serif;

  opacity: 0;
  visibility: hidden;
  
  border-radius: 5px;
  box-shadow: 0 1px 2px 0 rgba(50,50,50,0.2);
  transition: .5s ease-in-out;
}

.search-dica.show {
  right: 15px;
  opacity: 1;
  visibility: visible;
}

.modal {
  z-index: 9;
  position: absolute;
  top: 15%;
  left: 12.5%;
  width: 75%;
  height: 75%;
  padding: 2px;
  background: white;
  border-radius: 1px;
  opacity: 0;
  visibility: hidden;

  box-shadow: 0 0 10px 0 rgba(50,50,50,0.3);
  box-shadow: 0 0 15px 0 rgba(50,50,50,0.2);
  -webkit-transform: scale(1.25);
     -moz-transform: scale(1.25);
      -ms-transform: scale(1.25);
          transform: scale(1.25);
  
  transition: .3s;
}

.modal.show {
  opacity: 0.95;
  visibility: visible;
  display: block;

  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.modal-title {
  position: absolute;
  top: 3px;
  left: 5px;
  color: #8Bc349;
  font-size: 26px;
  font-family: 'Segoe UI', 'Calibri', sans-serif;
}

.search-results {
  margin-top: 40px;
  width: 100%;
  height: 92%;
  overflow: auto;
}

.btn-modal {
  position: absolute;
  top: 3px;
  right: 5px;
  border: none;
  outline: none;
  background: white;
  padding: 6px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  color: #555;

  transition: 0.2s;
}

.btn-modal:hover, 
.btn-modal:active {
  background: #f5f5f5;
}

.paint-container {
  position: relative;
  bottom: 0;
  width: 100%;
  height: 90%;
}

.sol {
  z-index: -2;
  position: absolute;
  background: #FCB040;
  top: 5%;
  left: 4%;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  
  visibility: visible;
  opacity: 1;

  box-shadow: 0 2px 7px 0 rgba(0,0,0,.2);
  transition: 1s;
}

.night .sol {
  top: 150%;
  visibility: hidden;
  opacity: 0;
}

.lua {
  z-index: -2;
  position: absolute;
  background: #eee;
  top: 150%;
  right: 4%;
  width: 75px;
  height: 75px;
  border-radius: 50%;

  visibility: hidden;
  opacity: 0;

  box-shadow: 0 0 30px 0 rgba(255,255,255,.75);
  transition: 1s;
}

.night .lua {
  top: 5%;
  visibility: visible;
  opacity: 1;
}

.nuvem {
  z-index: 1;
  position: absolute;
  top: 7%;
  left: -10%;
  background: white;
  width: 90px;
  height: 30px;
  opacity: 0.85;

  border-radius: 20px;
  box-shadow: 0 2px 5px 0 rgba(50,50,50,.3);
  -webkit-animation: nuvem 30s linear 0s infinite alternate;
          animation: nuvem 30s linear 0s infinite alternate;
}

.nuvem::after {
  content: '';
  position: absolute;
  top: -17px;
  right: 20px;
  color: white;
  background: white;
  width: 50px;
  height: 45px;
  border-radius: 50%;
}

.nuvem2 {
  top: 12%;
  -webkit-animation: nuvem 60s linear 1s infinite alternate;
          animation: nuvem 60s linear 1s infinite alternate;
}

.nuvem3 {
  top: 15%;
  left: 110%;
  -webkit-animation: nuvemright 45s linear .3s infinite alternate;
          animation: nuvemright 45s linear .3s infinite alternate;
}

.lollipop-container {
  z-index: -1;
  position: absolute;
  bottom: 14%;
  right: 25px;
  width: 75px;
  height: 175px;
}

.lollipop-container.left {
  bottom: 12%;
  right: 95px;
}

.lollipop {
  z-index: 0;
  position: relative;
  margin: 0 auto;
  width: 75px;
  height: 75px;
  line-height: 72px;
  text-align: center;
  color: white;
  background: #F16192;
  font-weight: bold;
  border-radius: 50%;

  box-shadow: 0 0 7px 1px rgba(0,0,0,.3);
  -webkit-animation: lollipop 5s linear 0s infinite;
          animation: lollipop 5s linear 0s infinite;
}

.lollipop.left {
  background: #9C27B0;

  -webkit-animation-delay: 1s;
     -moz-animation-delay: 1s;
          animation-delay: 1s;
  -webkit-animation-duration: 10s;
     -moz-animation-duration: 10s;
          animation-duration: 10s;
}

.lollipop::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  background: rgba(255,255,255,0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.palito {
  margin: 0 auto;
  z-index: -1;
  background: white;
  background: -webkit-linear-gradient(to right, #fff 60%, #ddd);
  background:    -moz-linear-gradient(to right, #fff 60%, #ddd);
  background:     -ms-linear-gradient(to right, #fff 60%, #ddd);
  background:         linear-gradient(to right, #fff 60%, #ddd);
  width: 10px;
  height: 100px;

  box-shadow: 0 3px 7px 0 rgba(0,0,0,.3);
}

.montanha {
  opacity: 0.95;
  z-index: -2;
  position: absolute;
  bottom: 15%;
  width: 0;
  height: 0;
  border: 175px solid transparent;
  border-bottom-color: #1C6D8A;

  transition: .3s;
}

.montanha::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;

  border: 55px solid transparent;
  border-bottom-color: #fff;
  top: -55px;
  left: -55px;
}

.night .montanha {
  border-bottom-color: #273F7D;
}

.montanha.montanha2 {
  opacity: 0.95;
  border-width: 125px;
  left: 250px;
}

.montanha.montanha2::after {
  border-width: 35px;
  border-bottom-color: #fafafa;
  top: -35px;
  left: -35px;
}

.chao {
  z-index: 1;
  position: absolute;
  background: #47ABA1;
  width: 100%;
  height: 15%;
  bottom: 0;

  transition: 1s;
}

.night .chao {
  background: #0EBAA0;
}

.android {
  z-index: 1;
  position: relative;
  top: -320px;
  margin: 0 auto;
  padding: 20px;
  width: 300px;
  height: 375px;
  cursor: pointer;
  transition: .3s;
}

.android:hover .braco2 {
  -webkit-transform: rotate(-130deg);
     -moz-transform: rotate(-130deg);
      -ms-transform: rotate(-130deg);
          transform: rotate(-130deg);
}

.android.furious:hover .braco2 {
  -webkit-transform: rotate(0);
     -moz-transform: rotate(0);
      -ms-transform: rotate(0);
          transform: rotate(0); 
}

.android.tchau .braco2 {
  -webkit-animation: tchau 0.75s linear 0s 2 alternate;
          animation: tchau 0.75s linear 0s 2 alternate;
}

.cabeca {
  position: relative;
  background: -webkit-linear-gradient(to bottom, #8Bc349 50%, transparent 50%);
  background:    -moz-linear-gradient(to bottom, #8Bc349 50%, transparent 50%);
  background:     -ms-linear-gradient(to bottom, #8Bc349 50%, transparent 50%);
  background:         linear-gradient(to bottom, #8Bc349 50%, transparent 50%);
  margin: 0 auto;
  width: 70%;
  height: 200px;
  border-radius: 50%;
  transition: .3s;
}

.furious .cabeca {
  background: -webkit-linear-gradient(to bottom, #f74d4d 50%, transparent 50%);
  background:    -moz-linear-gradient(to bottom, #f74d4d 50%, transparent 50%);
  background:     -ms-linear-gradient(to bottom, #f74d4d 50%, transparent 50%);
  background:         linear-gradient(to bottom, #f74d4d 50%, transparent 50%);
}

.antena1, .antena2 {
  z-index: -1;
  position: absolute;
  top: -20px;
  background: #8Bc349;
  width: 5px;
  height: 50px;
  border-radius: 20px;
}

.furious .antena1, 
.furious .antena2 {
  background: #f74d4d;
}

.antena1 {
  left: 25%;
  -webkit-transform: rotate(-25deg);
     -moz-transform: rotate(-25deg);
      -ms-transform: rotate(-25deg);
          transform: rotate(-25deg);
}

.antena2 {
  right: 25%;
  -webkit-transform: rotate(25deg);
     -moz-transform: rotate(25deg);
      -ms-transform: rotate(25deg);
          transform: rotate(25deg);
}

.olhos-container {
  position: relative;
  top: 20%;
  width: 50%;
  margin: 0 auto;
}

.olho1, .olho2 {
  background: white;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  border-radius: 50%;
  transition: .3s;
}

.olho1::after, .olho2::after {
  visibility: hidden;
  content: '';
  position: absolute;
  top: -10px;
  background: rgba(0,0,0,0.5);
  width: 25px;
  height: 3px;
  border-radius: 50%;

  -webkit-transform: rotate(10deg);
     -moz-transform: rotate(10deg);
      -ms-transform: rotate(10deg);
          transform: rotate(10deg);
}

.olho1::after {
  left: -5px;
}

.olho2::after {
  right: -5px;
  -webkit-transform: rotate(-10deg);
     -moz-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
}

.furious .olho1 {
  left: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  -webkit-transform: rotate(30deg);
     -moz-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}

.furious .olho2 {
  right: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  -webkit-transform: rotate(-30deg);
     -moz-transform: rotate(-30deg);
      -ms-transform: rotate(-30deg);
          transform: rotate(-30deg);
}

.furious .olho1::after,
.furious .olho2::after {
  visibility: visible;
}

.olho1 { left: 0; }
.olho2 { right: 0; }

.olho1.piscar, .olho2.piscar {
  -webkit-animation: piscar 0.1s linear 0s 2 alternate;
          animation: piscar 0.1s linear 0s 2 alternate;
}

.corpo-container {
  position: relative;
  clear: both;
  top: -92px;
  width: 100%;
}

.corpo {
  position: absolute;
  left: 15%;
  background: #8Bc349;
  width: 70%;
  height: 175px;

  border-radius: 2px 2px 25px 25px;
  transition: .3s;
}

.furious .corpo {
  background: #f74d4d;
}

.braco1, .braco2 {
  position: absolute;
  background: #8Bc349;
  margin-top: -5px;
  width: 12%;
  height: 115px;
  border-radius: 20px;

  transition: .3s ease;
  -webkit-transform-origin: 15px 15px;
     -moz-transform-origin: 15px 15px;
      -ms-transform-origin: 15px 15px;
          transform-origin: 15px 15px;
}

.furious .braco1,
.furious .braco2 {
  background: #f74d4d;
}

.braco1 { left: 0; }
.braco2 { right: 0; }

.pernas-container {
  position: relative;
  top: 50px;
  margin: 0 auto;
  width: 50%;
  height: 110px;
  clear: both;
}

.perna1, .perna2 {
  z-index: -1;
  background: #8Bc349;
  position: absolute;
  top: 0;
  width: 30%;
  height: 110px;
  border-radius: 20px;
  transition: .3s;
}

.furious .perna1,
.furious .perna2 {
  background: #f74d4d;
}

.perna1::after, .perna2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 50%;
  background: rgba(50,50,50,.2);
}

.perna1 { left: 5%; }
.perna2 { right:5%; }

@-webkit-keyframes piscar {
  100% {
    height: 1px;
    top: 10px;
  }
}

@keyframes piscar {
  100% {
    height: 1px;
    top: 10px;
  }
}

@-webkit-keyframes nuvem { 100% { left: 110%; } }
@keyframes nuvem { 100% { left: 110%; } }

@-webkit-keyframes nuvemright { 100% { left: -110%; } }
@keyframes nuvemright { 100% { left: -110%; } }

@-webkit-keyframes tchau {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  10% {
    -webkit-transform: rotate(-130deg);
            transform: rotate(-130deg);
  }
  %60 {
    -webkit-transform: rotate(-140deg);
            transform: rotate(-140deg);
  }
  80% {
    -webkit-transform: rotate(-120deg);
            transform: rotate(-120deg); 
  }
  100% {
    -webkit-transform: rotate(-130deg);
            transform: rotate(-130deg);
  }
}

@keyframes tchau {
  0% {
    -webkit-transform: rotate(0);
       -moz-transform: rotate(0);
        -ms-transform: rotate(0);
            transform: rotate(0);
  }
  10% {
    -webkit-transform: rotate(-130deg);
       -moz-transform: rotate(-130deg);
        -ms-transform: rotate(-130deg);
            transform: rotate(-130deg);
  }
  %60 {
    -webkit-transform: rotate(-140deg);
       -moz-transform: rotate(-140deg);
        -ms-transform: rotate(-140deg);
            transform: rotate(-140deg);
  }
  80% {
    -webkit-transform: rotate(-120deg);
       -moz-transform: rotate(-120deg);
        -ms-transform: rotate(-120deg);
            transform: rotate(-120deg); 
  }
  100% {
    -webkit-transform: rotate(-130deg);
       -moz-transform: rotate(-130deg);
        -ms-transform: rotate(-130deg);
            transform: rotate(-130deg);
  }
}

@-webkit-keyframes lollipop {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes lollipop {
  0% {
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg);
  }         
  100% {
    -webkit-transform: rotate(360deg);
       -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@media screen and (max-width: 600px) {
  .android {
    top: -230px;
    width: 200px;
    height: 275px;
  }

  .cabeca {
    height: 120px;
  }

  .antena1, .antena2 {
    top: -15px;
  }

  .olho1, .olho2 {
    width: 15px;
    height: 15px;
  }

  .olho1::after, .olho2::after {
    width: 15px; 
  }

  .corpo-container {
    top: -55px;
    width: 100%;
  }

  .corpo {
    left: 15%;
    width: 70%;
    height: 130px;
    border-radius: 2px 2px 25px 25px;
  }

  .braco1, .braco2 {
    margin-top: -5px;
    width: 12%;
    height: 85px;
    -webkit-transform-origin: 11px 11px;
       -moz-transform-origin: 11px 11px;
        -ms-transform-origin: 11px 11px;
            transform-origin: 11px 11px;
  }

  .pernas-container {
    width: 50%;
  }

  .perna1, .perna2 {
    top: -10px;
    width: 30%;
    height: 85px;
  }

  .modal.show {
    left: 2.5%;
    width: 95%;
  }
}

::-webkit-scrollbar { width: 8px; }

::-webkit-scrollbar:hover { width: 10px; }

::-webkit-scrollbar-track {
  border-radius: 100px;
  background: #fff;
  border: 1px solid #ddd;
}

::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: #ddd;
}

::-webkit-scrollbar-thumb:hover { background: #ccc; }

::-webkit-scrollbar-thumb:active { background: #bbb; }