* {
    margin: 0;
    padding: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    line-height: 1.5;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    font-weight: 500;
    color: #434a50;
    font-family: "SF Pro KR", "SF Pro Display", "SF Pro Icons", "Apple Gothic", "HY Gulim", "MalgunGothic", "HY Dotum", "Lexi Gulim", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

body {
    position: relative;
    background: #f4f4f4;
    overflow: hidden;
}

.title {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.title span {
    display: inline-block;
    color: #fff;
    vertical-align: middle;
    opacity: 0.7;
    font-style: italic;
    font-size: 16px;
    line-height: 34px;
    height: 34px;
    margin-top: -5px;
}

.title .logo {
    display: inline-block;
    width: 100px;
    height: 34px;
    margin-left: 2px;
    vertical-align: middle;
    text-decoration: none;
}

.title .logo svg {
    width: 100%;
    stroke-dasharray: 100, 100;
    stroke-dashoffset: 70;
    animation: logo-animation 1.5s ease-out;
}

.logo-svg {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
}

@keyframes logo-animation {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 70;
    }
}

body.desk {
    background-color: #d2d7d6;
}
body.desk{
	background: linear-gradient(-45deg,rgba(6, 86, 178, 0.8),#f3583c);
	background-size: 100% 100%;
}

body.desk .header {
    position: absolute;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body.mobile {
    position: fixed;
}

html,
body {
    width: 100%;
    height: 100%;
}

.btn-config {
    position: absolute;
    right: 20px;
    width: 24px;
    top: 17px;
    opacity: 0.5;
    cursor: pointer;
}

.btn-config.active {
    opacity: 1;
}

.btn-config svg {
    width: 100%;
}

.btn-group:after {
    content: "";
    position: absolute;
    top: -10px;
    right: 12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #434a50;
}

.btn-group {
    position: absolute;
    padding: 10px;
    top: 59px;
    right: 10px;
    background-color: #434a50;
    border-radius: 5px;
    box-shadow: -2px 15px 50px rgba(67, 74, 80, 0.4);
    transition: all 0.4s ease;
    transform: translate(0, 20px);
    opacity: 0;
    visibility: hidden;
}

.btn-group.active {
    opacity: 1;
    transform: translate(0, 0);
    visibility: visible;
}

.btn-group button {
    background-color: #434a50;
    border: none;
    display: block;
    font-size: 14px;
    padding: 8px;
    color: #fff;
    opacity: 0.5;
    font-weight: normal;
    margin: 0;
    width: 100%;
    text-align: left;
    transition: all 0.3s;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.btn-group button.active {
    color: #2eedb5;
    opacity: 1;
}

.btn-group button:hover {
    background-color: #5d646b;
}

button {
    position: relative;
    color: #555;
}

.emotion-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 60px;
}

.desk .emotion-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 375px;
    max-height: 667px;
    margin: auto;
    background-color: #f4f4f4;
    box-shadow: 0 10px 40px rgba(67, 74, 80, 0.5);
    border-radius: 10px;
}

.header {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #ddd;
    z-index: 9999;
    background-color: #fff;
}

.header .emotion-title {
    font-size: 18px;
    line-height: 60px;
    font-weight: bold;
}

.voice-text {
    position: relative;
    text-align: center;
}

.voice-text p {
    opacity: 0;
    transition: all 0.5s ease;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 50px 30px 20px 30px;
    transform: translate(0, 100px);
}

.voice-text p.active {
    opacity: 1;
    transform: translate(0, 0px);
}
.voice-text .result.active:before,
.voice-text .result.active:after{
    content:"";
    width: 20px;
    height: 25px;
    display: inline-block;
    background-size: 15px;
    background-position:center;
    background-size:15px;
    background-repeat:no-repeat;
    opacity:0.5;
}
.voice-text p.active:before{
    background-image:url(../images/result-left.png);
}
.voice-text p.active:after{
    background-image:url(../images/result-right.png);
}
.voice-text .intro {
    color: #888;
}

.voice-text .hearing {
    color: #888;
}

.voice-text .result {
    font-weight: bold;
    transition: none;
    font-size: 0;
}

.voice-text .result span {
    display: inline-block;
    opacity: 0;
    transition: all 0.5s ease;
    font-weight: bold;
    transform: translate(0, 20px);
    font-size: 20px;
}

.voice-text .result.active span {
    opacity: 1;
    transform: translate(0, 0);
}

.emotion-text {
    position: absolute;
    top: 66%;
    padding: 20px 30px;
    text-align: center;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.5s ease;
    opacity: 0;
}

.emotion-text.active {
    opacity: 1;
}

.emotion-text .emotion-result {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(103, 109, 114);
}

.emotion-text ul {
    font-size: 0;
}

.emotion-text ul li {
    display: inline-block;
    padding: 4px 10px;
    margin: 5px;
    background-color: #e8e8e8;
    border-radius: 20px;
    font-size: 13px;
    color: rgb(138, 147, 154);
}

.wave {
    position: absolute;
    top: -20px;
    left: 0;
    bottom: 0;
    margin: auto;
}

.mic-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 90px;
    text-align:center;

}
.mic-wrap span{
    font-weight:bold;
    margin-left:10px;
    font-size:20px;
    color:#434a50;
}
.mic-wrap:before,.mic-wrap:after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:50px;
    height:50px;
    z-index: 99;
    border-radius:50%;
}
.mic-wrap.active:before,.mic-wrap.active:after{
    transform:scale(4);
    background-color:#fff;
    opacity:0;
    transition: all 0.5s;
}
.mic-wrap svg {
    transition: all 0.5s
}


.mic-wrap .mic {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 40px;
}

.fill {
    fill: #fff;
}

.line {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-width: 1px;
}

.face-wrap {
    position: absolute;
    width: 100px;
    height: 100px;
    top: -20px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 40px;
    box-sizing: content-box;
    cursor: pointer;
}

#face {
    width: 100%;
}

.footer {
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 30px;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-align: center;
}

.footer .title {
    width: auto;
    margin: 0;
}

.footer .logo-svg {
    stroke: rgb(138, 147, 154);
}

.footer .title span {
    color: rgba(67, 74, 80, 0.7);
    height: 30px;
}

.footer .title a {
    color: rgba(67, 74, 80, 0.7);
    height: 30px;
    width: 90px;
    margin: 0;
}

.footer .github-link {
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../images/github.png) center center no-repeat;
    background-size: 100%;
    cursor: pointer;
}

.footer .github-link a {
    display: block;
    width: 20px;
    height: 20px;
}