/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

button, input[type="button"], input[type="submit"] {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* reset end */

html {
    font-family: "Microsoft YaHei", "微軟雅黑", sans-serif;
    background: url("../img/bg.jpg") no-repeat top center fixed;
    background-size: cover;
 }
 body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
 nav {
    display: flex;
    align-items: center;
    height: 70px;
    font-size: 12px;
}
 a{
    color: white;
}
.logo{
    vertical-align: middle;
    margin-left: 20px;
}
.nav_link{ 
    float: right;
    margin-left: auto;
    margin-right: 20px;
    line-height: 70px;
    color: white;
}
.nav_link a{ 
    letter-spacing: 1px;
    text-decoration: none;
}
.nav_link a:hover{
    color: #FFDE6F;
}
.nav_focus{
    color: #FFDE6F;
    font-weight: bold;
    cursor: default;
}

main{
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    justify-content: center;
}
.bigTitle{
  text-align: center;
}
.content_gpt , .content_asr{
    width: 80%;
    margin: 0 auto;
    font-size: 16px;
}
.content_gpt{
    margin-top: 10px; 
}
.content_gpt textarea{
    color: rgb(65, 65, 65);
    font-size: 16px;
    letter-spacing: 1px;
    border: 1px solid #D8D8D8;
    border-radius: 4px; 
    padding: 5px; 
    outline: none;
    margin-top: 15px;
}
.content_asr {
    margin-top: 40px;
}
.content_asr textarea{
    color: rgb(234, 127, 26);
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
    border: 1px solid #D8D8D8; 
    border-radius: 4px; 
    padding: 5px; 
    outline: none;
    margin-top: 15px;
}

.btn-container {
  width: 222;
  height: 88px;
  overflow: hidden;
  margin-top: 10px;
  text-align: center;
}

.record_btn {
  display: inline-block;
  background-image: url("../img/btn1.png");
  background-position: top;
  width: 222px;
  height: 88px;
  cursor: pointer;
}
.record_btn_focus {
  background-position: bottom;
}
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: white;
  font-weight: 100;
}
footer img{
  margin-left: 5px;
}
.hidden {
  display: none;
}
.vb{
  display: inline-block;
  width: 50px;
  height: 36px;
  overflow: hidden;
  cursor: pointer;
  margin-left: 5px;
}
.bt1{
  background-image: url("../img/v_btn1.png");
  background-position: top;
}
.bt2{
  background-image: url("../img/v_btn2.png");
  background-position: top;
}
.bt1:hover , .bt2:hover{
  background-position: bottom;
}
.now_v{
  background-position: bottom;
}
#message1 {
  width: 100%;
  height:170px;
  resize:none;
}
#message2{
  width: 100%; 
  height: 80px;
  resize: none;
}
#message3{
  width: 100%;
  height: 70px;
  resize: none;
}
@media (max-width: 576px) { 
  .logo{
    width: 100%;
    text-align: center;
    margin: 10px auto;
    display: block;
    display: inline-block;
  }
  .nav_link{
    width: 90%;
    text-align: center;
    line-height: 40px;
    color: white;
  }
  nav {
    display: block;
    align-items: center;
    height: auto;
  }
  .content_gpt label {
    height: 30px;
  }
  .content_gpt label:nth-child(1) img{
    width: 70px
  }
  .content_gpt label:nth-child(1) textarea{
    height: 100px;
  }
  .content_gpt label:nth-child(3) img{
    width: 110px
  }
  .content_gpt textarea{
    margin-top: 15px;
  }
  #message1 {
    width: 100%;
    height: 120px;
    resize: none;
  }
  #message2{
    width: 100%; 
    height: 60px;
    resize: none;
    margin-top: 5px;
  }
  #message3{
    width: 100%;
    height: 80px;
    resize: none;
    margin-top: 0px;
  }
  .content_asr label:nth-child(1) img{
    width: 100px
  }
  .content_asr {
    margin-top: 20px;
  }


  .content_gpt textarea{
    font-size: 18px;
  }
  .content_asr textarea{
    font-size: 18px;
  }
  footer p{
    width: 90%;
    text-align: center;
    line-height: 20px;
    font-size: 6px;
  }
 }