

body {
    background-color: #d6d8d9;
    font-family: Arial, sans-serif;
}

h1{
  color: #fff;
  text-align: center;
  font-family: Arial;
  font-weight: normal;
  margin: 2em auto 0px;
}
.outer-screen{
  background: #13202c;
  width: 500px;
  height: 540px;
  margin: 50px auto;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  position: relative;
  padding-top: 35px;
}

.outer-screen:before{
  content: "";
  background: #3e4a53;
  border-radius: 50px;
  position: absolute;
  bottom: 20px;
  left: 0px;
  right: 0px;
  margin: auto;
  z-index: 9999;
  width: 50px;
  height: 50px;
}
.outer-screen:after{
  content: "";
  background: #ecf0f1;
  width: 900px;
  height: 88px;
  position: absolute;
  bottom: 0px;
  border-radius: 0px 0px 20px 20px;
  -moz-border-radius: 0px 0px 20px 20px;
  -webkit-border-radius: 0px 0px 20px 20px;
}

.stand{
  position: relative;  
}

.stand:before{
  content: "";
  position: absolute;
  bottom: -150px;
  border-bottom: 150px solid #bdc3c7;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  width: 200px;
  left: 0px;
  right: 0px;
  margin: auto;
}

.stand:after{
  content: "";
  position: absolute;
  width: 260px;
  left: 0px;
  right: 0px;
  margin: auto;
  border-bottom: 30px solid #bdc3c7;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  bottom: -180px;
  box-shadow: 0px 4px 0px #7e7e7e
}

.inner-screen{
  background: #12bc9d;
  margin: 0px auto;
   margin: 0px auto;

}

.form{
  width: 400px;
  height: 242px;
  background: #edeff1;
  margin: 40px auto;
  padding-top: 40px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.custom-input {
    height: 35px;
    margin: 15px auto;
    background: #fff;
    padding: 5px;
    font-size: 22px;
    border: 2px solid #797b7d;
    transition: all 0.3s ease;
    border-radius: 5px;
}

    .custom-input:focus {
        border: 2px solid #A0A2A5;
        outline: none;
        box-shadow: 0 0 5px rgba(45, 93, 128, 0.5);
    }

input[type="submit"] {
    display: block;
    background: #797B7D;
    width: 314px;
    padding: 12px;
    cursor: pointer;
    color: #fff;
    border: 0px;
    margin: auto;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 17px;
    transition: all 0.3s ease;
}

    input[type="submit"]:hover {
        background: #A0A2A5
    }

a{
  font-family: Arial;
  color: gray;
  margin: 15px auto;
  text-decoration: none;
  transition: all 0.3s ease;
  /*font-size: 12px;*/
}

a:hover{
  color: #1abc9d;
}


::-webkit-input-placeholder {
   color: gray;
}

:-moz-placeholder { /* Firefox 18- */
   color: gray;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: gray;  
}

:-ms-input-placeholder {  
   color: gray;  
}

.contentone {
    border: medium solid #C5DCED;
    padding: 10px;
    background-color: #C5DCED;
    border-radius: 10px;
}

.contenttwo {
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 3px 3px 9px gray;
    height: 80%;
    margin-bottom: 30px;
}

.word {
    font-family: Microsoft JhengHei;
    font-size: 20px;
    font-weight: bold;
}

/*置底列*/
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #bbbbbb;
    padding: 10px;
    z-index: 1000;
}

    .footer > .left,
    .footer > .middle,
    .footer > .right {
        display: flex;
        align-items: center;
    }

/*畫布大小*/
#the-canvas {
    max-height: 1200px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* 電腦版設定 */
table {
    width: 580px; /* 預設為580px */
}

/* 手機版設定 */
@media screen and (max-width: 600px) {
    table {
        width: 95%; /* 當螢幕寬度小於600px時，設置為80% */
    }

    #the-canvas {
        max-height: 550px;
        width: auto;
        display: block;
        margin: 0 auto;
    }
}