@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500&display=swap');

:root {
  --mdc-theme-secondary: var(--mdc-theme-primary);
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.1em;
  background-image: url("../images/backgroundv.png");
  background-color: #F7E0D0;  /*EDF4F4*/
  margin: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

fieldset {
	width: 50%;
	margin: 0 auto;
	border: 2px solid #999;
}

legend {
	margin-left: 10px;
}

h1 {
  font-weight: 500;
  margin-top: .75em;
  margin-bottom: .25em;  
}

h2 {
	font-size: 1.1em;
  font-weight: 500;
	color: rgb(17, 21, 240);
	line-height: 30px;
}

p {
  margin-top: 0;
}

input[type="button"] {
  cursor: pointer;
}

input[type="submit"] {
  cursor: pointer;
}

select {
	height: 30px;
	font-size: 16px;
}

a {
	color: blue;
	text-decoration: none;
}

a:hover {
	color: red;
}

a:visited {
	color: blue;
	text-decoration: none;  
}

.index-content {
  text-align: center;
  padding-top: 20px;
}

.container {
  width: 100%;
}

.span-red {
  color: red;
}

.test {
  display: inline-block;
  width: 100%;
}

.test h1 {
  text-align: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
}

.language {
  width: 50%;
  margin: 0 auto;
  text-align: right;
}

.reader_info {
  display: flex;
  justify-content: center;
  width: 100%;
}

.reader_info h2{
  font-size: 1.05em;
}

.info-form {
  padding-top: 30px;
}

.info-form-column {
  display: flex;
}

.info-form-rows {
  display: flex;
  height: 60px;
  width: 80%;
  color: #555;
  padding: 5px 0;
}

.info-form-rows input[type="text"] {
  width: 30%;	
	height: 26px;
  font-size: .9em;
}

.input-long input[type="text"] {
  width: 40%;	
	height: 26px;  
}

.info-form-rows select {
  width: 20%;
  font-weight: 600;
  color: #555;
}

.info-form-rows select option {
  font-weight: 600;
  color: #555;
}

.radio-button-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.radio-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.radio-button__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button__label {
  display: inline-block;
  padding-left: 30px;
  margin-bottom: 10px;
  position: relative;
  font-size: 1em;
  color: #555;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.radio-button__custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #555;
  transition: all 0.3s ease;
}

.radio-button__input:checked + .radio-button__label .radio-button__custom {
  background-color: #4c8bf5;
  border-color: transparent;
  transform: scale(0.8);
  box-shadow: 0 0 20px #4c8bf580;
}

.radio-button__input:checked + .radio-button__label {
  color: #4c8bf5;
}

.radio-button__label:hover .radio-button__custom {
  transform: scale(1.2);
  border-color: #4c8bf5;
  box-shadow: 0 0 20px #4c8bf580;
}

.info-form-label {
  width: 30%;
}

.info-declaration {
  margin: 40px 20px auto;
  text-align: center;
  color: #555;
}

.info-declaration input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.info-submit {
  text-align: center;
  padding-bottom: 10px;
}

.info-hr {
  min-height:2px;
  background-color: #999;
  margin-bottom: 30px;
}

.info-prize-title {
  text-align: center;
}

.prize-table {
  width: 70%;
  margin: 10px auto;
}

.prize-table td {
  margin: 5px auto;
  border-top: 1px solid gray;
  color: #555;
}

.prize-title {
  text-align: center;
}

.info-prize-note {
  margin: 30px 100px;
  text-align: center;
  color: #555;
}

.note-title {
  color: red;             /* 標題紅色 */
  font-weight: bold;      /* 標題加粗 */
  margin-bottom: 10px;
  text-align: left;       /* 標題靠左 */
}

.info-prize-note-ul {
  list-style: none;
  margin-bottom: 5px;
  padding-left: 60px;
  text-align: left;       /* 文字靠左對齊 */
}

.info-prize-note-ul li {
  margin: 10px auto;
  display: flex;          /* 使用 Flexbox 處理對齊最準確 */
  align-items: flex-start;
}


.cc {
	width: 100%;
	text-align: center;
	margin: 10px auto;
}

.w-100 {
  width: 100%;
}

.ml40 {
  margin-left: 40px;
}

.ml20 {
  margin-left: 20px;
}

.ribbon {
  flex-shrink: 0;
  height: 42vh;
  width: 100%;
}

.card-container {
  display: flex;
  justify-content: center;
  margin-top: -40vh;
}
.mdc-card {
  width: 100%;
  max-width: 860px;
  margin: 16px;
}

#dropdown {
  display: none;
}

.mdc-radio {
  margin-right: 2px;
}

.materialize-textarea {
  margin-left: 3em;
  min-width: 100%;
  min-height: 80px;
}

.input-textarea-width {
  min-width: 80%;
}

.input-textarea {
  margin-left: .5em;
  width: 100%;
  height: 120px;  
}

.input-textarea-new {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 70%;
  height: 70px; 
}

.input-field {
  display: none;
}

.sub-title {
  font-size: 16px;
  margin-left: 6px;
  margin-bottom: 6px;
}

.submit-button {
  font-weight: 600;
  font-size: 20px;
  color: #555;
  width: 15%;
  height: 40px;
  background-color: rgb(248, 252, 252);
  border-radius: 20px;
  border: 2px solid #4c4d4c;
  margin: 20px;
  text-align: center;
  cursor: pointer;
}

.submit-block {
  text-align: center;
}

.mdc-text-field--radio {
  height: 1.75rem;
}

.mdc-text-field--radio input {
  font-size: 0.875rem;
}



@media (max-width: 600px) {
  body {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.1em;
    background-image: none;
    background-color: #EDF4F4;
    margin: 0;
  }

  fieldset {
    width: 90%;
  }

  h1 {
    font-size: 1.3em;
  }

  h2 {
    font-size: 1em;
  }

  .language {
    width: 100%;
  }

  .info-form-rows {
    height: 80px;
    margin: 5px auto;
  }

  .info-form-label {
    width: 40%;
    text-align: left;
  }

  .info-form-rows input[type="text"] {
    width: 70%;	
    height: 30px;
  }

.info-prize-note {
  margin: 30px 20px;
}

.info-prize-note-ul {
  padding-left: 25px;
}

 .info-form-rows select {
    width: 50%;
    height: 35px;
  }

 .auth-column {
    height: 150px;
  }

  .radio-button-container {    
    flex-wrap: wrap;
    gap: 15px;
  }

  .prize-table {
    width: 100%;
    margin: 10px auto;
  }

  .info-prize-note-ul li {
    margin: 20px auto;
    text-align: left;
  }

  .submit-button {
    width: 40%;
  }

}