@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Quicksand');

body {
    overflow: hidden;
    font-family: sans-serif;
    overflow-y: hidden;
    margin: 0;
    animation: fadeIn 1.0s linear 0s 1 normal;
    -webkit-animation: fadeIn 1.0s linear 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#loading_layer {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 3;
    background-color: #fff;
    transition: 0.5s;
    transition-timing-function: ease-in;
}
#loading_text {
    position: relative;
    display: block;
    font-family: Quicksand;
    font-size: 42px;
    letter-spacing: 3px;
    color: #555;
    text-align: center;
    top: 45%;
    left: 53%;
    transform: translate(-50%, -50%);
}
.dot_bounce {
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite alternate;
    -webkit-animation: bounce 1.5s ease-in-out infinite alternate;
}
#dot1 {animation-delay: 0s;}
#dot2 {animation-delay: 0.5s;}
#dot3 {animation-delay: 1s;}
@keyframes bounce {
    0% {
        transform: translateY(0px);
    }
    60% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-6px);
    }
}
@-webkit-keyframes bounce {
    0% {
        transform: translateY(0px);
    }
    60% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-6px);
    }
}


#face_and_comment {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #aaa;
    opacity: 1; /* Firefox */
}
#comment {
    display: inline;
    margin: 40px auto;
    width: 500px;
    height: 48px;
    padding: 12px 20px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    background-color: white;
    /*color: #aaa;*/ /* if focus is off, display in gray */
    color: black; /* display in black even when focus is off */
    font-family: courier;
    font-size: 18px;
    font-weight: normal;
}
#comment:focus {
    border: 1px solid black;
    color: black;
}



#search_btn {
    position: absolute; 
    display: inline;
    margin: 40px auto;
    padding: 12px 20px;
    right: 0px;
    height: 48px;
    width: 48px;
    color: #fff;
    background-color: #aaa;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-left: 0px solid #fff;
    border-radius:0 4px 4px 0;
    box-sizing: border-box;
    -webkit-transition: 0.00s;
    transition: 0.00s;
    outline: none;
}
#search_btn .material-icons {
    font-size: 20px; 
    font-weight: bold;
    position: absolute;
    top: 30%;
    left: 30%;
}
/*"!important" is for making these function even after javascript dom overwrite*/
#search_btn:hover {
    cursor: pointer!important;
    color: #eee!important;
    background-color: #999!important;
    -webkit-transition: 0.00s!important;
    transition: 0.00s!important;
}
#search_btn:active {
    color: #ccc!important;
    background-color: #777!important;
    -webkit-transition: 0.00s!important;
    transition: 0.00s!important;
}


#cd_command {
    display: inline;
    padding: 12px 10px;
    font-weight: normal;
    font-family: courier;
    font-size: 18px;
    color: black;
    font-weight: normal;
    transition: 2.7s;
    transition-timing-function: ease;
}


#face {
    display: block;
    margin: auto;
    border: 0;
    -moz-animation: breathingAnimation 5.3s ease-in-out 0s infinite normal;
    -webkit-animation: breathingAnimation 5.3s ease-in-out 0s infinite normal;
    -ms-animation: breathingAnimation 5.3s ease-in-out 0s infinite normal;
}
@-moz-keyframes breathingAnimation {
    50%{ transform: scale(1.05); }
}
@-webkit-keyframes breathingAnimation {
    50%{ transform: scale(1.05); }
}
@-ms-keyframes breathingAnimation {
    50%{ transform: scale(1.05); }
}
#face:hover {
    cursor: pointer;
    /*cursor: default;*/
}
#face:active {
    /*filter: brightness(0.96);*/
    /*transition: 0.03s;*/
}
/* TODO: animation of tofu */
.tofu_container {
    
}

#header {
    z-index: 1;
    position: absolute;
    width: 100%;
    top: 0;
    padding: 4px;
    text-align: center;
    /*font-family: "Courier New", Courier, monospace;*/
    font-family: Verdana, Geneva, sans-serif;
    font-size: 24px;
    color: white;
    background-color: black;
}

#footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 12px;
    text-align: center;
    /*font-family: "Courier New", Courier, monospace;*/
    font-family: Verdana, Geneva, sans-serif;
    font-size: 8px;
    color: white;
    background-color: black;
}

#bg_video {
    position: fixed;
    /*right: 0;
    bottom: 0;*/
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: 2.7s;
    transition-timing-function: linear;
}

.ui-widget-content {
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: courier;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 4px;
    -webkit-text-fill-color: black;
}
.ui-state-active {
    background: #efefef!important;
    border-radius: 4px;
    font-weight: normal!important;
}
