@import url('https://fonts.googleapis.com/css?family=Lato');
* {
    margin: 0;
    padding: 0;
}
html,
body {
    width: 100%;
    height: 100%;
}
body {
    font-family: 'Lato', sans-serif;
}
#container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #2dcb89;
}
#container.fit-height 	{
	overflow: hidden;
	height: auto;
}
#logo {
    width: 300px;
}
#logo img {
    width: 100%;
}
#input-area {
    width: 780px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
#input-area.fit-top {
	position: static;
	top: 0px;
	left: 0px;
    transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    margin: 0 auto;
    padding: 30px 0;
    overflow: hidden;
}
#input-area label {
    color: #196f4b;
    font-size: 40px;
    display: block;
}
#input-area .info-text {
    font-size: 20px;
    font-style: italic;
    color: #12704a;
    margin-bottom: 20px;
    margin-top: 5px;
}
#input-with-submit {
    width: 100%;
    float: left;
}
#main-input {
    width: calc(100% - 150px);
    height: 88px;
    background: #28b67b;
    border: 0;
    outline: none;
    color: #082419;
    font-family: 'Lato', sans-serif;
    padding: 0 20px;
    font-size: 40px;
    float: left;
}
#randomize-button {
    width: 100px;
    height: 88px;
    background: #19ec94;
    float: right;
    border: 0;
    outline: none;
    cursor: pointer;
    -webkit-transition: all .35s;
    transition: all .35s;
    position: relative;
}
#randomize-button:hover {
    background: #00ff95;
}
#randomize-button:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}
#randomize-button img {
    width: 60%;
}
#random-list {
    margin: 10px 0;
    float: left;
    width: 100%;
}
#random-list li {
    list-style: none;
    background: #2bbb7e;
    padding: 0px 50px 0 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 0;
    color: #004c2c;
    position: relative;
    height: 40px;
    line-height: 40px;
    float: left;
}
#random-list li span {
    position: absolute;
    right: 0px;
    background: #26b378;
    width: 30px;
    text-align: center;
    height: 100%;
    top: 0px;
    cursor: pointer;
}
#button-area {
    width: 100%;
    float: left;
}
#result-area {
    width: 100%;
    height: 88px;
    display: block;
    float: left;
    position: relative;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .35s;
    transition: all .35s;
}
#result-area.show {
    visibility: visible;
    opacity: 1;
}
#result-area .result-left {
    position: absolute;
    left: 0px;
    font-size: 60px;
    color: #196f4b;
    left: 320px;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}
#result-area .result-right {
    position: absolute;
    right: 0px;
    font-size: 60px;
    color: #196f4b;
    right: 320px;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}
#random-result {
    position: absolute;
    top: 23px;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.35s;
    transition: 0.35s;
    color: #196f4b;
    font-weight: normal;
}
#random-result.show {
    opacity: 1;
    visibility: visible;
}
.spinner {
    margin: 30px auto 0;
    width: 70px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}
.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #196f4b;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.spinner.hide {
    opacity: 0;
    visibility: hidden;
}
/* 		Tooltip 		*/

.tooltip-text {
    position: absolute;
    top: -60px;
    background: black;
    width: 90px;
    height: 35px;
    color: #fff;
    left: 0px;
    padding: 5px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    -webkit-transition: all .35s;
    transition: all .35s;
    visibility: hidden;
}
.tooltip-text:after {
    position: absolute;
    content: '';
    bottom: -5px;
    left: 48px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #000000 transparent transparent transparent;
}
.sk-circle {
    margin: 0 auto;
    width: 40px;
    height: 40px;
    position: relative;
    display: none;
}
.sk-circle .sk-child {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.sk-circle .sk-child:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #196f4b;
    border-radius: 100%;
    -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
    animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}
.sk-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
}
.sk-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
}
.sk-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.sk-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    transform: rotate(120deg);
}
.sk-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
}
.sk-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.sk-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    transform: rotate(210deg);
}
.sk-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    transform: rotate(240deg);
}
.sk-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}
.sk-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    transform: rotate(300deg);
}
.sk-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    transform: rotate(330deg);
}
.sk-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.sk-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
.sk-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.sk-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
.sk-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
.sk-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}
.sk-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.sk-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}
.sk-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
.sk-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}
.sk-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}
@-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}



@media (max-width: 850px){
    #input-area         {width: 80%;}
    #result-area .result-left   { left: 30%; }
    #result-area .result-right  { right: 30%; }
}
@media (max-width: 480px){
    #logo {width: 180px;}
    #input-area label {font-size: 20px;}
    #input-area .info-text {font-size: 14px;}
    #main-input {width: calc(100% - 100px); height: 48px; font-size: 20px;}
    #randomize-button {width: 55px; height: 48px;}
}