html {
    background-image: url("../img/background.jpg");
}

table {
    background-color: #ffffffbb;
    border-style: solid;
    border-width: 2px;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 1px 2px;
    border: 1px solid #000;
}

hr {
    border: 1px solid #2c6a99;
}

/* 未訪問超連結 */
a:link {
    color: #000000;
}

/* 已訪問超連結 */
a:visited {
    color: #000000;
}

/* 滑鼠移動到超連結上 */
a:hover {
    color: #1070c4;
    background-color: #ffffff;
}

/* 滑鼠點選時 */
a:active {
    color: #0d5da3;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, label {
    font-family: 'Arial', system-ui;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.centerText {
    font-family: 'Arial', system-ui;
    text-align: center;
    font-weight: bold;
}

p {
    text-align: center;
    font-weight: bold;
    font-family: 'Arial', system-ui
}

input[type="text"], input[type="number"] {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 16px;
    border-width: 1px;
    border-color: #07407d;
    background-color: #ffffffe0;
    color: #000000;
    box-sizing: border-box;
    border-style: solid;
    border-radius: 5px;
    font-family: 'Arial', system-ui
}

input[type="text"], input[type="number"] {
    outline:none;
}

input[type="date"] {
    padding: 5px;
    font-size: 16px;
    border-width: 1px;
    border-color: #07407d;
    background-color: #ffffffe0;
    color: #000000;
    border-style: solid;
    border-radius: 5px;
    font-family: 'Arial', system-ui
}

input[type="date"] {
    outline:none;
}

button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 8px 20px;
    border: 1px solid #07407d;
    border-radius: 8px;
    background: #4ab1ff;
    background: -webkit-gradient(linear, left top, left bottom, from(#4ab1ff), to(#0d5da3));
    background: -moz-linear-gradient(top, #4ab1ff, #0d5da3);
    background: linear-gradient(to bottom, #4ab1ff, #0d5da3);
    text-shadow: #591717 1px 1px 1px;
    font-family: 'Arial', system-ui;
    color: #ffffff;
    text-decoration: none;
}
button:hover,
button:focus {
    border: 1px solid #0b66c8;
    background: #59d4ff;
    background: -webkit-gradient(linear, left top, left bottom, from(#59d4ff), to(#1070c4));
    background: -moz-linear-gradient(top, #59d4ff, #1070c4);
    background: linear-gradient(to bottom, #59d4ff, #1070c4);
    color: #ffffff;
    text-decoration: none;
}
button:active {
    background: #2c6a99;
    background: -webkit-gradient(linear, left top, left bottom, from(#2c6a99), to(#0d5da3));
    background: -moz-linear-gradient(top, #2c6a99, #0d5da3);
    background: linear-gradient(to bottom, #2c6a99, #0d5da3);
}

.button_red {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 8px 20px;
    border: 1px solid #7d0707;
    border-radius: 8px;
    background: #ff4a4a;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff4a4a), to(#a30d0d));
    background: -moz-linear-gradient(top, #ff4a4a, #a30d0d);
    background: linear-gradient(to bottom, #ff4a4a, #a30d0d);
    text-shadow: #591717 1px 1px 1px;
    font-family: 'Arial', system-ui;
    color: #ffffff;
    text-decoration: none;
}
.button_red:hover,
.button_red:focus {
    border: 1px solid #c80b0b;
    background: #ff5959;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff5959), to(#c41010));
    background: -moz-linear-gradient(top, #ff5959, #c41010);
    background: linear-gradient(to bottom, #ff5959, #c41010);
    color: #ffffff;
    text-decoration: none;
}
.button_red:active {
    background: #992c2c;
    background: -webkit-gradient(linear, left top, left bottom, from(#992c2c), to(#a30d0d));
    background: -moz-linear-gradient(top, #992c2c, #a30d0d);
    background: linear-gradient(to bottom, #992c2c, #a30d0d);
}

.center {
    width: fit-content;
    margin: 0 auto;
}

.autosize-text {
    font-size: 5vw;
    font-family: 'Arial', system-ui;
    text-align: center;
    font-weight: bold;
}
