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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* 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;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "微軟正黑體", sans-serif;
}

.wrap {
    width : 1024px;
    margin: 0 auto;
}


/* header */

.header {
    height          : 300px;
    background-color: #424242;
    display         : flex;
    justify-content : center;
    align-items     : center;
}

.header a {
    display     : block;
    width       : 117px;
    height      : 117px;
    background  : url(../IMG/BMICLogo.png);
    text-indent : 101%;
    white-space : nowrap;
    overflow    : hidden;
    margin-right: 97px;
}


/* inputdata輸入資料區 */

.infoarea {
    display       : flex;
    flex-direction: column;
    margin-bottom : 24px;
    margin-right  : 54px;
}

.infoarea label {
    font-size    : 18px;
    color        : #FFD366;
    margin-bottom: 8px;
}

.txtstyle {
    width           : 250px;
    height          : 40px;
    padding         : 8px 16px;
    border          : 2px solid #FFD366;
    border-radius   : 10px;
    background-color: rgba(255, 255, 255, 0.18);
    font-size       : 24px;
    color           : rgba(255, 255, 255, 0.50);
}

::placeholder {
    color: rgba(255, 255, 255, 0.50);
}


/* result按鈕 */

.result {
    width           : 120px;
    height          : 120px;
    font-family     : "微軟正黑體",sans-serif;
    line-height     : 1.5;
    text-align      : center;
    border-radius   : 50%;
    border          : none;
    outline         : none;
    background-color: #FFD366;
    font-size       : 24px;
    color           : #424242;
}

.result:hover {
    background: #FFD366;
    box-shadow: 0 1px 6px 3px rgba(255, 195, 49, 0.64);
    cursor    : pointer;
}


/*按鈕BMI狀態*/

.btnresult {
    display        : flex;
    justify-content: center;
    align-items    : center;
}

.btnstatus {
    width          : 120px;
    height         : 120px;
    border-radius  : 50%;
    border         : 6px solid #86D73E;
    display        : flex;
    justify-content: center;
    align-items    : center;
    margin-right   : 16px;
    text-align     : center;
    position       : relative;
    transition     : all 0.3s;
}

.btnstatus img {
    padding      : 5px 8px;
    position     : absolute;
    border-radius: 50%;
    border       : 4px solid #424242;
    top          : 75px;
    right        : -5px;
}

.btnstatus:hover {
    cursor   : pointer;
    transform: scale(1.05);
}

.btnstatus:active {
    transform: scale(0.95);
}

.btnresult p {
    font-size: 32px;
}

.btnresult p span {
    font-size: 14px;
    position : absolute;
    bottom   : 30px;
    left     : 50px;
    transform: translate(-50%, 50%);
}


/*按鈕狀態字型顏色*/

.greenstyle {
    border-color: #86D73E;
    color       : #86D73E;
}

.greenicon {
    background-color: #86D73E;
}

.bluestyle {
    border-color: #31BAF9;
    color       : #31BAF9;
}

.blueicon {
    background-color: #31BAF9;
}

.yellowstyle {
    border-color: #FF982D;
    color       : #FF982D;
}

.yellowicon {
    background-color: #FF982D;
}

.orangestyle {
    border-color: #FF6C02;
    color       : #FF6C02;
}

.orangeicon {
    background-color: #FF6C02;
}

.redstyle {
    border-color: #FF1200;
    color       : #FF1200;
}

.redicon {
    background-color: #FF1200;
}


/* content */

.content {
    background-color: #f5f5f5;
    padding         : 48px 0 84px 0;
    display         : flex;
    flex-direction  : column;
    align-items     : center;
    position: relative;
}

.content h2 {
    font-size    : 24px;
    color        : #424242;
    margin-bottom: 36px;
}


/* 使用者清單紀錄 */

.list {
    display       : flex;
    flex-direction: column;
    align-items   : center;
}

.list .record {
    width           : 624px;
    height          : 62px;
    color           : #4A4A4A;
    background-color: #fff;
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    padding         : 0 10px 0 0;
    margin-bottom   : 16px;
}

.record h3,
p {
    font-size: 20px;
}

.record h3{
    width: 80px;
    margin-left: 20px;
}

.record p span {
    font-size: 12px;
    color    : #424242;
}


/* 刪除按鈕 */

.deletstyle {
    letter-spacing  : 1px;
    padding         : 5px 10px;
    border          : 2px solid rgb(241, 149, 149);
    outline         : none;
    border-radius   : 5px;
    color           : white;
    background-color: rgb(206, 94, 94);
    transition      : all 0.3s;
}

.deletstyle:hover {
    cursor   : pointer;
    transform: scale(1.05);
}

.deletstyle:active {
    transform: scale(0.95);
}

.allclear{
    position: absolute;
    right: 30%;
    top: 48px;
}

/* 狀態顏色 */

.list .greenside::before {
    content         : "";
    display         : block;
    height          : 62px;
    width           : 6px;
    background-color: #86D73F;
    box-shadow      : 2px 0 3px 0 rgba(133, 215, 63, 0.29);
    position        : absolute;
}

.list .blueside::before {
    content         : "";
    display         : block;
    height          : 62px;
    width           : 6px;
    background-color: #31BAF9;
    box-shadow      : 2px 0 3px 0 rgba(49, 186, 249, 0.29);
    position        : absolute;
}

.list .yellowside::before {
    content         : "";
    display         : block;
    height          : 62px;
    width           : 6px;
    background-color: #FF982D;
    box-shadow      : 2px 0 3px 0 rgba(255, 152, 45, 0.29);
    position        : absolute;
}

.list .orangeside::before {
    content         : "";
    display         : block;
    height          : 62px;
    width           : 6px;
    background-color: #FF6C02;
    box-shadow      : 2px 0 3px 0 rgba(255, 108, 2, 0.29);
    position        : absolute;
}

.list .redside::before {
    content         : "";
    display         : block;
    height          : 62px;
    width           : 6px;
    background-color: #FF1200;
    box-shadow      : 2px 0 3px 0 rgba(255, 17, 0, 0.29);
    position        : absolute;
}


/* footer */

.footer {
    background-color: #FFD366;
    text-align      : center;
}

.footer img {
    width  : 55px;
    padding: 18px 0;
    filter : brightness(10%);
}