#form-section { background-image: (url("../img/Hex_groupA.png"), url("../img/Hex_groupB.png"), url("../img/form_BG.png")); background-repeat: (no-repeat, no-repeat, no-repeat); background-size: (20%, 30%, cover); background-position: (left center, right bottom, top 100% center); overflow: hidden; @media (max-width: 767px) { background-size: (40%, 50%, cover); background-position: (left bottom 50%, right bottom 20%, top 50% center); } .container { margin-top: 0%; @media (max-width:767px) { margin-top: -10%; } } } .content { position: relative; width: 100%; padding: 0 0px; } .form_line_img { width: 130%; } .form_btn_line_img { width: 50%; } .notice-text { color: rgb(255, 255, 255); font-size: 1rem; line-height: 1; @media (max-width:767px) { font-size: 0.8rem; } @media (max-width:576px) { font-size: 0.5rem; } } // .form-title{ // color: #e2b56b; // font-size: 2.5rem; // } .title-grp { display: flex; margin-top: 200%; @media (max-width:767px) { flex-direction: column; text-align: left; } h1 { @media (max-width:767px) { text-align: left; font-weight: 400; } } .form-title { color: #e2b56b; font-size: 2rem; order: 1; @media (max-width:767px) { font-size: 1.5rem; } @media (max-width:567px) { font-size: 1.3rem; } } .sub-title { color: #e2b56b; font-size: 1rem; margin-top: 1rem; order: 2; @media (max-width:767px) { margin-top: 0; font-size: 0.9rem; margin-bottom: 10%; order: 3; } @media (max-width:576px) { margin-top: 0; font-size: 0.55rem; margin-bottom: 10%; order: 3; } } // .form-text { // padding-left: 0; // } .special-line { display: flex; align-items: center; transform: translateY(-50%); width: 100%; margin: 5% 0; order: 3; position: relative; @media (max-width:767px) { width: 100%; order: 2; margin: 5% 0 1% 0; } .line { width: 100%; height: 2px; background-color: #fe7400; position: relative; &.line-1 { width: 0%; // &::after { // content: ""; // width: 200%; // height: 2px; // background-color: #fe7400; // position: absolute; // left: 1px; // top: 1px; // transform: rotate(243deg); // transform-origin: top left; // } } &.line-2 { .inner-line { content: ""; width: 100%; height: 2px; background-color: #fe7400; position: absolute; right: -100%; top: 1px; transform: rotate(55deg); transform-origin: top left; overflow: hidden; // @media (max-width:767px) { // transform: rotate(55deg) !important; // // width: 100%; // // right: -40%; // // right: -130%; // } // @media (max-width:576px) { // transform: rotate(55deg) !important; // // width: 100%; // // right: -100%; // // right: -130%; // } } } } .squares { display: flex; } .square { width: 10px; aspect-ratio: 1; background-color: #fe7400; margin-right: 7px; &:last-child { margin-right: 0; } @media (max-width:767px) { width: 7px; } @media (max-width:567px) { width: 5px; margin-right: 5px; // right: -130%; } } } } .member { overflow: hidden; transition: all 0.5s; } .h0 { height: 0; display: block; margin-top: 0px !important; } input { /*background-color: #e2e2e2;*/ background-color: #f1f1f1; width: 100%; margin: 10px 0 15px 0; height: 35px; box-shadow: none; border: 1px solid lightgrey; padding: 0 15px; box-sizing: border-box; font-size: 18px; /*-webkit-appearance: none;*/ /*border-radius:20px;*/ } .member { margin-top: 50px; } table, tr, td { border-collapse: collapse; /*border:1px solid black;*/ } td { /*font-weight: 700;*/ line-height: 25px; } td span { padding-left: 10px; padding-right: 10px; } .bigger { font-size: 1.5rem; color: #e2b56b; @media (max-width:767px) { font-size: 1.2rem; } @media (max-width:576px) { font-size: 1rem; } } .leader { color: #e2b56b; } .table_team_name { width: 100%; margin-bottom: 20px; h2{ font-size: 1.5rem; color: #e2b56b; font-weight: 400; text-transform: none; @media (max-width:767px) { font-size: 1rem; } } } .content .row { position: relative; width: 100%; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; justify-content: space-between; margin: 0px; } .row>div { width: 48%; } .row div.row100 { width: 100%; } .row div table { width: 100%; } // .table_member_number{ // padding // } .table_member_number select { border-radius: 5px; outline: none; } // .table_agree{ // } .table_agree td { vertical-align: top; } .table_agree td input.agree { width: 30px; height: 40px; margin: 0; cursor: pointer; vertical-align: middle; accent-color: #e2b56b; transform: scale(1.3); @media (max-width:767px) { width: 20px; height: 30px; transform: scale(1.2); } @media (max-width:767px) { transform: scale(1); } /* Changes the color of the checkbox when checked */ } .table_agree td:nth-child(2) { padding-left: 5px; } .agreement { // line-height: 14px; label { font-size: 1rem; line-height: 1.3; @media (max-width:767px) { font-size: 0.8rem; line-height: 1.2; } @media (max-width:576px) { font-size: 0.7rem; line-height: 1.1; } } } .agree { width: auto; height: auto; /*margin-right: 20px;*/ } label { cursor: pointer; font-size: 11px; font-weight: 400; } .plus { width: 250px; height: 25px; display: block; background-image: url("../img/Form_button_+.png"); background-size: 25px; background-repeat: no-repeat; cursor: pointer; box-sizing: border-box; padding-left: 35px; line-height: 25px; margin-bottom: 15px; /*font-weight: 700;*/ color: #e2b56b; } form{ text-align: left; } .minus { width: 270px; height: 25px; display: block; background-image: url("../img/Form_button_-.png"); background-size: 25px; background-repeat: no-repeat; cursor: pointer; box-sizing: border-box; padding-left: 35px; line-height: 25px; margin-bottom: 15px; /*font-weight: 700;*/ display: none; color: #e2b56b; } .table_validation { width: 100%; } .table_validation td { vertical-align: top; text-align: left; span{ color: #e2b56b; } } .table_validation td:nth-child(1) { /*width: 150px;*/ /*padding-right: 20px;*/ @media (max-width:767) { font-size: 0.8rem; } @media (max-width:767) { font-size: 0.5rem; } } .validate-text{ font-size:1.5rem ; color: #e2b56b; @media (max-width:767px) { font-size: 1.2rem; } @media (max-width:576px) { font-size: 1rem; } } .validation_code { color: #000000; font-weight: 700; /*background-color: #EDEDED;*/ /*border:none;*/ margin: 0; margin-top: 5px; } .table_validation input { width: 90%; @media (max-width:767px) { width: 80%; } @media (max-width:576px) { width: 70%; } } .btn_submit { margin-top: 30px; margin-right: 50%; color: #ffffff; background-color: rgba(0, 0, 0, 0.65); background-image: url("../img/PastEvent_botton_edge.png"); background-size: 100% 100%; font-weight: 700; font-size: 1rem; cursor: pointer; width: 40%; border: none; } .error { border: 1px solid red; } .error_text { color: red; /*font-weight: 700;*/ line-height: 20px; padding-left: 20px; /*padding-right: 20px;*/ font-size: 14px; line-height: 22px; } .controls { @media (max-width:767px) { display: flex; } } .moble-flex { @media (max-width:767px) { display: flex; flex-direction: column; >div { width: 100% !important; // 覆蓋原本的 48% 寬度設定 margin-bottom: 10px; // 增加垂直間距 table { width: 100%; } input { width: 100%; } } } } .submit-grp { .special-line { display: flex; align-items: center; transform: translateY(-50%); width: 100%; margin: 5% 0; @media (max-width:767px) { width: 100%; order: 2; margin: 5% 0; } .line { width: 100%; height: 2px; background-color: #fe7400; position: relative; &.line-1 { width: 60%; } } .squares { display: flex; } .square { width: 10px; aspect-ratio: 1; background-color: #fe7400; margin-right: 7px; &:last-child { margin-right: 0; } @media (max-width:767px) { width: 7px; } } } .submit-button-container { display: flex; align-items: center; justify-content: flex-start; position: relative; width: 120%; @media (max-width: 576px) { width: 100%; justify-content: center; margin-left: 0; } .special-line { position: absolute; transform: none; width: 120%; left:-80%; margin: 0; @media (max-width: 576px) { width: 100%; display: flex; justify-content: center; left: -60%; } } .btn_submit { margin-right: 0; margin-left: 0; @media (max-width: 576px) { margin-top: 15px; width: fit-content; font-size: 0.9rem; margin-left: 0px; padding:5px 50px; } } } } footer { // text-align: center; // align-items: center; width: 100%; .orange-bar-container { margin: 0; width: 100%; .col-12 { padding: 0; } .orange-bar-img { width: 100%; display: block; @media (max-width: 767px) { min-height: 30px; } } } @media (max-width: 767px) { min-height: 10px; background-image: none; text-align: center; } }