html {
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.8;
  color: #333333;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
  padding: 2.5em 1.5em;
}

p {
  font-size: 20px;
  line-height: 1.6;
}

small {
  font-size: 16px;
}

a {
  text-decoration: none;
}

.p10 {
  padding: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.pt20 {
  padding-top: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.pt30 {
  padding-top: 30px;
}


/**/

.main-title {
  font-size: 1.6rem;
  letter-spacing: 0.5rem;
  padding: 20px 0;
}

.heading-event {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fc575d;
  text-align: center;
  margin: 2.8rem 0 1.5rem;
}

.heading-event::before,
.heading-event::after {
  width: 3px;
  height: 40px;
  background-color: #fc575d;
  content: '';
}

.heading-event::before {
  transform: rotate(-35deg);
  margin-right: 30px;
}

.heading-event::after {
  transform: rotate(35deg);
  margin-left: 30px;
}

.sline {
  font-weight: 600;
  border-bottom: 3px solid #FFDC00;
}

/* ---------------
     
   --------------- */

.section-foreword {
  padding: 3em 1em 5em;
}

.foreword-title {
  font-size: 2.5rem;
  font-weight: 700;
  padding: 1.5rem 0;
}

.foreword-title span {
  font-size: 3.5rem;
}

.ft01,
.ft02,
.ft03 {
  text-shadow: 2px 2px 1px #E0F1FF;
}

.ft01 {
  color: #ce4f8b;
}

.ft02 {
  color: #fc575d;
}

.ft03 {
  color: #FF8400;
}

@media screen and (max-width: 768px) {
  .foreword-title {
    font-size: 2rem;
    font-weight: 700;
    padding: 1.5rem 0;
  }
}

.foreword-subtitle {
  font-size: 1.8rem;
}

.foreword-subtitle span {
  border-bottom: 2px #FF8400 dotted;
  padding-bottom: 8px;
  font-weight: 700;
}

.foreword-box {
  padding: 0 1em;
}

.btn-invite {
  font-size: 20px;
  letter-spacing: 0.25rem;
  font-weight: 500;
  border-radius: 30px;
  border: 2px solid #00cadb;
  box-shadow: 2px 2px 5px #dfdfdf;
  padding: 15px 30px;
  margin: 30px 0 5px;
  background: #fddfa0;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #9e8cff, #00cadb);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #9e8cff, #00cadb);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFFFFF;
}

.btn-invite:hover {
  background: #5e3c2e;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #9e8cff, #00cadb);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #9e8cff, #00cadb);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  box-shadow: 0px 0px 0px 0px #cccccc;
  color: #ffffff;
}

.btn-invite-close {
  letter-spacing: 0.25rem;
  font-size: 20px;
  border-radius: 30px;
  border: 2px solid #777;
  padding: 15px 30px;
  margin: 25px 0;
  background-color: #999999;
  cursor: not-allowed;
  color: #444444;
}

/*gifts*/

.section-gifts {
  position: relative;
  background: #efefef;
  z-index: 0;
}


.gift {
  padding: 14px;
  display: block;
  margin: 0 auto;
}

.gift img {
  box-shadow: 2px 3px 10px #dfdfdf;
  border-radius: 8px;
}

.event-deco {
  position: absolute;
  right: 3rem;
  top: -8rem;
  z-index: -1;
}

.event-deco img {
  display: block;
  width: 100%;
}

@media (min-width: 576px) and (max-width: 1500px) {
  .event-deco {
    right: 0;
    max-width: 280px;
  }
}

@media (max-width:1000px) {
  .section-gifts .foreword-title {
    margin-top: 3rem;
  }
}

@media (max-width:576px) {
  .event-deco {
    max-width: 220px;
  }

  .section-gifts .foreword-title {
    margin-top: 1rem;
  }

}

/*notcie*/

.section-notice {
  background-color: #eee;
}

/* 得獎名單 */
.list-name {
  max-height: 300px;
  overflow-y: scroll;
  background-color: #fff;
  padding: 10px 15px;
  margin: 20px 0;
  border-radius: 8px;
}

.list-name .week {
  border-bottom: 1px solid #c8c8c8;
  margin-bottom: 10px;
}

.list-name h5 {
  color: #001432;
}

.list-name p {
  margin-bottom: 5px;
  text-align: center;
  font-size: 17px;
  /*  cursor: pointer;*/
}

/*.list-name p:hover {
  color: #FF8400;
  font-weight: 600;
}*/