@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');
html {
    font-size: 62.5%;
    /* =10px */
    font-family: 'Noto Sans TC', 'Noto Sans CJK TC', Arial, sans-serif;
     background: url(images/bg-r.png)top right no-repeat,url(images/bg-l.png)bottom left  no-repeat;
    background-color: #f2e3d5;
}

header {
    max-width: 120rem;
    height:calc(100vh - 20rem);
    text-align: center;
   padding-top:20rem;
    margin: 0 auto;
    border-radius: 3rem;
}

header form {
    width: 100%;
    padding-top: 5%;
}

header input {
    width: 50%;
    border: 0px;
    border-radius: 6rem;
    font-size: 3rem;
    padding: 1rem;
}
.title{    width: 65%;
    height: 24rem;
    background: url(images/header.png)100% top/90% no-repeat;}
li {
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
}

li label {
    display: inline-block;
    width: calc(50% - 3rem);
    text-align: right;
    padding-right: 1rem;
    font-size: 4rem;
    font-family: 'Noto Serif TC', serif;
    color: #565047;
        letter-spacing: 1rem;
}

.button-box {
    display: flex;
    justify-content: space-around;
    padding-top: 8rem;
}

.button-box a {
    width: 30%;
}

.button-box a button {
    width: 100%;
    padding: 2rem;
    text-decoration: none;
    border-radius: 4rem;
    font-size: 3.4rem;
    font-family: 'Noto Serif TC', serif;
    color: #565047;
    border: unset;
    cursor: pointer;
    letter-spacing: 0.5rem;
}

.button-box a:nth-last-of-type(1) button {
    background-color: #d9c6ba
}

.button-box a:nth-last-of-type(2) button {
    background-color: #e2d1a3
}

.button-box a:nth-last-of-type(3) button {
    background-color:#eab394
}

.button-box a:hover button {
    filter: brightness(90%);
}

button,
input,
optgroup,
select,
textarea {
    line-height: 1
}

p {
    margin: 0
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 1024px) {
      html{background: top right/40% no-repeat url(images/bg-r.png),bottom left/30rem no-repeat url(images/bg-l.png)#f2e3d5;}
    li label,
    header input {
        font-size: 3rem
    }
    header{padding-top:10rem}
    .button-box a button {
        font-size: 3rem
    }
}

@media screen and (max-width: 768px) {
    .title{height: 14rem;}
    li {
        display: block;
        text-align: left;
    }
    li label {
        width: 100%;
        padding-bottom: 1rem;  text-align: center;
    }
 
    li input {
        width: calc(100% - 2rem);
        padding: 1rem
    }
    .button-box {
        display: block;padding: 1rem 3rem;
    }
    .button-box a button {
       
        margin: 1rem 0
    }
}

@media screen and (max-width: 425px) {
    html{background: top right/40% no-repeat url(images/bg-r.png),bottom left/30rem no-repeat url(images/bg-l.png)#f2e3d5;}
    header {
        max-width: 40rem;
       
        background-size: contain;
        background-repeat: no-repeat;
        height:calc(100vh - 3rem);
        padding-top: 5rem;
    }
    .title{ height: 18%;}
    header form {
        padding:0 0 3rem 0;
    }

    
    li label, header input, .button-box a button {
    font-size: 2rem;
        letter-spacing: .5rem;}
}