code {
    position: fixed;
    font-size: 20px;
    bottom: 0px;
    background: #ccc;
    padding: 20px;
    width: 50%;
    left: 25%;
    border-radius: 9px;
}
span.text {
    /* text-shadow: 6px 1px 4px #000000b0; */
    /* padding-left: 10%; */
}
input#ask {
    position: fixed;
    width: 50%;
    left: 25%;
    top: 4vw;
    border-radius: 20px;
    font-size: 2vw;
}

canvas#canvas {
    position: absolute;
    bottom: -9.9vh;
    right: calc(1% - 115px);
    z-index: 1;
    transform: scale(0.8);
    mix-blend-mode: normal;
    filter: brightness(2) contrast(1.1) hue-rotate(315deg);
}

a {
    background: #ccc;
    padding: 0.8vw 0.5vw;
    color: #ffff;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

body {
    text-align: center;
    /* padding: 20px; */
    margin: 0;
}

p {
    background: #444653;
    width: 94%;
    font-size: 0.3vw;
    filter: drop-shadow(1vw 1vw 1vw rgba(0,0,0,0.3));
    padding: .6vw;
    border-radius: 1.5vw;
    margin: 0 auto;
    /* height: 18vh; */
    color: #ffffff;
    margin-top: 0vw;
    margin-left: 0vw;
} 

  * {
    font-family: 'Roboto';
  }
  a:link {
    color:#000;
    text-decoration: none;
  }
  a:visited {
    /* color:#000; */
  }
  a:hover {
    color:#33F;
  }
  .button {
    border: none;
    border: none;
    border-radius: 8px !important;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    background: #327fa9;
    margin: 0.2vw .2vw;
    font-size: .9vw;
    /* font-weight: bold; */
    line-height: 1.1;
    padding: .5vw;
    text-align: center;
    /* text-shadow: 1px 1px 1px #076bd2; */
    letter-spacing: normal;
  }

  .final {
    color: #c6eaef;
    padding-right: 3px;
  }
  .interim {
    color: #ff9f00;
  }
  .info {
    font-size: 14px;
    text-align: center;
    color: #777;
    display: none;
  }
  .right {
    float: right;
  }
  .sidebyside {
    display: inline-block;
    width: 45%;
    min-height: 40px;
    text-align: left;
    vertical-align: top;
  }
  #headline {
    font-size: 40px;
    font-weight: 300;
  }
  #info {
    font-size: 20px;
    text-align: center;
    color: #777;
    visibility: hidden;
  }

select#voice-select {
    background: none;
    border: navajowhite;
    color: #fff;
    font-size: .9vw;
    width: 12vw;
    font-weight: 200;
    text-transform: uppercase;
}
  #results {
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: .5vw;
    text-align: left;
    /* min-height: 150px; */
  }
  #start_button {
    border: 0;
    background-color:transparent;
    padding: 0;
  }
.mic {
    /* background: -webkit-linear-gradient(top,#ffffff 0,#8ebff7 100%); */
    width: auto;
    display: block;
    /* width: 5vw; */
    border-radius: 20vw;
    right: 1%;
    position: fixed;
    border: 0.1vw #000000 solid;
    padding: 0.0vw;
    background: unset;
    z-index: 2;
    bottom: 2vh;
    transition: 0.6s all ease;
}
div#results {
    background: #3f414e;
    border-radius: 1vw;
    position: absolute;
    width: 74%;
    font-size: 1vw;
    display: block;
    right: 6vw;
    height: 9vh;
    z-index: 10;
    overflow: hidden;
    bottom: 1.3vh;
    filter: drop-shadow(2px 4px 1vh  rgb(40 40 40 / 80%));
    border: 1px solid #2b2b2b;
    box-shadow: inset 0vw 0vw 1vw 1vw rgb(255 153 0 / 2%);
}
.center {
    display: none;
}
.stsc {
    display: block;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: #353541;
    font-family: 'Roboto';
    overflow: hidden;
}
select#select_language {
    display: none;
}
button#start_button img {
    filter: invert(1);
    /* mix-blend-mode: difference; */
    width: 2.2vw;
    height: 2.2vw;
    padding: .6vw;
    cursor: pointer;
    border: 1px solid #5eb5b81c;
    border-radius: 500px;
}
button#copy_button {
    font-size: .9vw;
    border-radius: 1vw;
}

.mic:hover {
    transform: scale(1.3);
    background: #ff9f00;
}
button#copy_button {
    transition: 0.4s all ease;
    cursor: pointer;
    text-transform: uppercase;
    align-items: center;
    display: -webkit-inline-box;
}

button#copy_button:hover {
    background: #000;
}
#results textarea {
    position: relative;
    resize: none;
    left: .6vw;
    font-size: 1.2vw;
    width: -webkit-fill-available;
    line-height: 1.2vw;
    height: auto;
    display: table;
    padding-bottom: 0;
    height: 6vh;
    padding-left: 0;
    border: #fff;
    outline: none;
    background: none;
    margin: 0;
}
  code:hover {
    transform: scale(1.3);
    color: gold;
    bottom: 1vh;
    cursor: pointer;
    z-index: 23;
}
  code {
    position: fixed;
    font-size: 0.8vw;
    bottom: 0;
    transition: 0.3s all ease;
    color: #4c657d;
    background: #000000a6;
    padding: 0.1vw;
    font-weight: bold;
    backdrop-filter: hue-rotate(45deg);
    font-family: system-ui;
    width: 100%;
    line-height: 100%;
    left: 0;
    border-radius: 9px;
 }
 
 #results p {
    display: none;
}
 
 button a {
    background: no-repeat;
    color: #fff;
    font-size: 1vw;
}
 button a:hover{
   color: gold;
 }
 textarea#text {
    width: 97%;
    font-size: 1.4vw;
    padding: 2vw;
    border-radius: 1vw;
    overflow: hidden;
}

a#add {
    color: #fff;
}
a#main {
    color: #fff;
}

select#voice-select option {
    background: #0180f4;
    color: #fff;
}

p#text-to-speak img {
    border-radius: 500px;
    width: 4vw;
    float: left;
    margin-right: 0vw;
    /* border: 0.4vw #0182f6 solid; */
    /* transform: scaleX(-1); */
    position: absolute;
    margin-left: -5.3vw;
    /* display: none; */
    /* height: 11vw; */
    margin-top: 0vh;
    margin-bottom: 8vw;
}

p#text-to-speak {
    display: table;
    text-align: left;
    margin-bottom: 10vh;
    /* transform: rotateX(-1deg) rotateY(-1deg) rotateZ(-1deg); */
    padding-left: 1vw;
    margin-top: .5vw;
    position: a;
    padding: 0.6vw;
    height: auto;
    margin-left: 0vw;
    min-height: 4vw;
    padding-bottom: 1vw;
    padding-right: 2vw;
    /* position: absolute; */
    bottom: unset;
    padding-left: 6vw;
    width: 85.5%;
    right: 1.7vw;
} 

.name {
    /* position: absolute; */
    margin-top: 0vw;
    width: 42vw;
    text-align: center;
    display: block;
    padding-left: 0;
    font-size: 1.1vw;
    font-weight: 700;
    text-align: left;
    margin-right: 87%;
    color: #9bcdd4;
    text-transform: uppercase;
    padding-right: .1vw;
    /* font-family: system-ui; */
}  
  
p#text-to-speak:before {
    content: ' ';
    width: 0;
    height: 0;
    margin-left: -8vw;
    margin-top: -3vw;
    border: 0 solid transparent;
    display: none;
    border-right-width: 3vw;
    transform: rotate(316deg);
    border-left-width: 0px;
    border-bottom: 6vw solid #444653;
    position: absolute;
}  

.button:hover {
    background: #000 !important;
    cursor: pointer;
    border: beige;
    color: #b48e50 !important;
    transform: scale(1.02);
}

.button {
    transition: 0.3s all ease;
    margin-top: 1vh;
}     

.copy{
    font-size: 1.1vw;
    background: #000;
    
}

button svg,.button svg {
    width: 1.2vw;
    height: 1.2vw;
    margin-bottom: -0.2vw;
}
button.button a {
    color: #fff;
}

span.text,.ansp,.askp {
    font-size: 1vw;
}  

.multy_add {
    font-size: 1.8vw !important;
    width: 2.2vw !important;
    background: #a95232;
} 

button.button.bactive {
    background: #dd8e09;
    color: black;
}
#text-to-speak img.rotate {
  border-radius: 50%;

  animation: rotate 5s cubic-bezier(0.7, 0.56, 0.5, 0.71) infinite forwards;
}

#text-to-speak img {
  animation: calm 60s infinite forwards;
}

syns h3 {
    text-align: center;
    width: 100%;
    color: #ffba00;
    font-weight: 100;
}

button#start_button {
    outline: none;
}
.rbutton {
    display: none;
}
@keyframes rotate {
  from {
    transform: rotateZ(0deg) scale(1);
    
     
   
  }
  14% {
   transform: rotateZ(25deg) scale(0.9);
    filter:hue-rotate(20deg);
    

  }  
  40% {
   transform: rotateZ(75deg) scale(0.8)  brightness(2.1) contrast(2.1);
    filter:hue-rotate(40deg);
    

  }  
  50% {
    transform: rotateZ(100deg) scale(1.16) ;
    filter:hue-rotate(100deg);
  

  }
50% {
    transform: rotateZ(140deg) scale(1.1);
    filter:hue-rotate(200deg);
  

  }
  to {
    transform: rotateZ(360deg) scale(1);
    filter:hue-rotate(360deg);
 

  }
}
 
span.text.start {
    font-size: 1vw;
    opacity: 1;
    color: #a5a5a5 !important;
    font-weight: 500;
    justify-content: right;
    display: block;
    font-size: 1.2vw;
    padding-left: 0;
}


@keyframes calm  {
  from {
    transform: rotateZ(0deg) scale(1);   
     
   
  }
  
  
  to {
    transform: rotateZ(-360deg) scale(1);
    
 

  }
}

 td#tdans {
    width: 61%;
}

.leftside {
    width: 17vw;
    height: 88%;
    float: left;
    background: #202123;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
}

.leftside a {
    background: none;
    text-transform: math-auto;
    color: #a0a0a0;
    width: 94%;
    transition: 0.3s all ease;
    display: block;
    text-align: left;
    cursor: pointer;
}

.leftside a:hover {
    background: #434552 !important;
    cursor: pointer;
    color: #d89d3b;
    border-radius: 0.5vw;
    margin: 0.5%;
    width: 92%;
    margin-bottom: -0.5%;
}

.leftside a:nth-child(odd) {
    background: #282828;
}

.leftside::after {
    content: " ";
    display: block;
    width: 3vw;
    background: linear-gradient(90deg,transparent, #282828 );
    position: absolute;
    z-index: 222;
    height: 100%;
    top: 0;
    left: 14vw;
}

button#start_button.active {
    background: #dd8e09;
}

button#start_button {
    background: #327fa9;
    transition: all ease 0.4s;
    border-radius: 500vw;
}

.active img#start_img {
    filter: invert(0);
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #41687d;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #000000;
}

::-webkit-scrollbar-track {
    background-color: #303038;
    
}

::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb::before,
::-webkit-scrollbar-thumb::after {
    content: '';
    display: block;
    position: absolute;
    height: 50%;
    top: 0;
    width: 12px;
    background: #3498db;
}

::-webkit-scrollbar-thumb::before {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

::-webkit-scrollbar-thumb::after {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    top: 50%;
}

talks p img {
    width: 4vw;
    float: left;
    border-radius: 500px;
    margin-right: 1.4vw;
    margin-bottom: 0vw;
}

talks p {
    text-align: left;
}

.askp:before {
    content: ' ';
    width: 0;
    height: 0;
    margin-left: -7vw;
    z-index: -10;
    display: none;
    margin-top: -3vw;
    border: 0 solid transparent;
    border-right-width: 3vw;
    transform: rotate(316deg);
    border-left-width: 0px;
    border-bottom: 6vw solid #444653;
    position: absolute;
}  
.askp{
    float: left;
}
.ansp{
    float: left;
    margin-right: 2vw;
}
.ansp:before {
    content: ' ';
    width: 0;
    height: 4vh;
    margin-left: 41vw;
    margin-top: -2vw;
    border: 0 solid transparent;
    display: none;
    z-index: -1;
    border-right-width: 3vw;
    transform: rotate(73deg);
    border-left-width: 0px;
    border-bottom: 4vw solid #444653;
    position: absolute;
}  


.askp,.ansp {
    margin-bottom: 3vh;
    display: table;
    min-height: max-content;
    color: #fff;
    margin-right: 3.3vw;
}

.ansp, .askp {
    display: block; 
}

talks {
    padding: 1vw;
    display: block;
    width: 79vw;
    margin-left: 18.1vw;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 78vh;
    min-height: 21vh;
    padding-bottom: 4vw;
} 



talks:before {
    content: ' ';
    width: 100%;
    position: absolute;
    top: 5.3vh;
    left: 18vw;
    height: 20px;
    background: linear-gradient(0deg, transparent, #353541);
    z-index: 50;
}

talks:after{
    content: ' ';
    width: 76%;
    position: absolute;
    bottom: 13vh;
    left: 18vw;
    height: 2vh;
    background: linear-gradient(0deg, #353541,transparent);
    z-index: 0;
} 

.button.admin {
    position: absolute;
    left: 1vw;
    bottom: 2vw;
    width: 13%;
    font-size: 1.2vw;
    z-index: 19994;
}

.button.admin img {
    width: 1.4vw;
    /* float: left; */
    display: none;
    filter: invert(1);
    margin-bottom: -.4vw;
}

models {
    display: table;
    margin: 0 auto;
    padding-left: 11vw;
}

.leftside a img {
    width: 14px;
    position: absolute;
    left: 14vw;
    margin-top: 0em;
    z-index: 20000;
    cursor: pointer;
    opacity: .6;
    display: none;
}

a.button.delete_all {
    background: #41687d;
    color: #fff;
    text-align: center;
    width: 14.5vw;
    text-transform: uppercase;
}

a.button.delete_all img {
    opacity: 1;
}

.stop_but {
    height: auto;
    position: absolute;
    top: 89%;
    display: table;
    padding: .5vh 0;
    left: 94.2vw;
    cursor: pointer;
    text-align: center !important;
    width: 1.5vw;
    bottom: 20px;
    text-align: center;
    border: 1px solid #000;
    background: #327fa9;
    border-radius: 20px;
    transition: 0.3s all ease;
    z-index: 444;
}
.stop_but:hover{
    transform: scale(1.2);
}
.stop_but img {
    filter: invert(1);
    width: 79%;
    height: 1.2vw;
    display: block;
    height: 1vw;
    margin: 0 auto;
}
#getask {
    position: fixed;
    bottom: 20px;
    z-index: 2000;
    /* display: none; */
    left: 90vw;
    border-radius: 500px !important;
    border: 1px solid #000;
}

#getask img {
    width: 2vw;
    filter: invert(1);
}

@media only screen and (max-width: 600px) {
    talks {
        margin-top: 0;
        margin-left: 1vw;
    }
    div#results {
        background: #ccc;
        border: none;
        overflow: hidden;
    }    
    talks::before { display: none;}
    body{
        width: 100%;
    }
    #getask{
        display: block;
    }
    b.name {
        font-size: 4.5vw;
        margin-left: 8vw;
    }
    
    span.text.start {
        font-size: 5vw;
    }
    
    .button {
        font-size: 4vw;
    }
    
    talks {
        margin-top: 0vh;
        margin-left: 2vw;
    }
    
    .left {
        display: none;
    }
    
    button#start_button img {
        width: 13vw;
        height: 13vw;
    }
    
    span,span.text, .ansp, .askp {
        font-size: 4vw;
        margin-right: 0 !important;
        width: 91vw;
    }
models {
    padding-left: 0px;
}
    span.text {display: block;margin-left: 8vw;font-size: 4vw;line-height: 4vw;width: 79vw;}
    
    #results textarea {
        font-size: 5vw;
        margin-top: 2vw;
        height: 6vh;
        padding-left: 6vw;
        padding-top: 1vh;
        width: 76vw;
        line-height: 2.1vh;
    }
    
    div#results {
        width: 95vw;
        right: 2vw;
        display: block;
        height: 2vh;
        filter: drop-shadow(2px 4px 1vh  rgb(40 40 40 / 30%));
        border-radius: 20vw;
    }
    
    talks img {
        width: 12vw !important;
    }
    
    talks {
        width: 100vw;
    }
    
    p#text-to-speak {padding-right: 0;width: 81vw;}
    
    p#text-to-speak img {
    width: 12vw !important;
    }
    
    div#results {
        bottom: 2vw;
    }
    .leftside {
        width: 100%;
        display: none;
    }
    .mic {
        bottom: unset;
        top: 91vh;
        z-index: 20000;
        left: 87vw;
        right: unset;
    }    
    img#start_img {
        height: 7vw;
        width: 10vw;
    }    
    #getask img {
        width: 9vw;
    }

    button#getask {
        
        left: 82vw;
        padding: 3vw;
        bottom: 3vw;
    }

    vibro{
        display: none;
    }    

    .mic, .stop_but {
        display: none;
    }    
}

.int img {
    animation: unset !important;
}

talks:before {
    display: none;
}

    @media only screen and (max-width: 600px) {
            #results textarea {
                margin-top: 2vw;
                height: 6vh;
                width: 76vw;
                font-size: 3.8vw;
                line-height: 2.2vh;
            }
            
            p#text-to-speak {
                margin-bottom: 10vh;
            }
            talks {
                width: 100vw;
                margin-bottom: 10vh;
            }            
            div#results {
                width: 95vw;
                right: 2vw;
                display: block;
                min-height: unset;
               
                bottom: 3vw;
                height: 14vw;
               
                border-radius: 20vw;
            }
            
            talks img {
                width: 12vw !important;
            }

        p#text-to-speak img {
            display: none;
        }

        b.name {
            display: none;
        }
        talks{
            max-height: 89vh;
        }
        p#text-to-speak {
            padding-left: 0;
            padding-right: 5vw;
        }    
             
    } 

    @media only screen and (min-width: 600px) {
        .top-avatar{
            display: none;
        }
        .stsc-name{
            display: none;
        } 
        
    }
