* {
  box-sizing: border-box;
}

body {
  max-width: 1142px;
  margin: auto;
  font-family: "Century Gothic", Arial, Microsoft JhengHei, "sans-serif";
}

.main {
  padding-bottom: 44.3%;
  position: relative;
  margin: auto;
  background-image: url(../images/vote_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.main > div {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding: 9% 4% 4%;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .main {
    padding-bottom: 69%;
    background-image: url(../images/vote_bg_m.png);
  }
  .main > div {
    padding-top: 18%;
    padding-bottom: 7%;
  }
}
@media screen and (max-width: 576px) {
  .main {
    padding-bottom: 100%;
    background-image: url(../images/vote_bg_ms.png);
  }
  .main > div {
    padding-bottom: 10%;
  }
}

#vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#vote h3 {
  margin-bottom: 1em;
}
#vote h3 img {
  width: 90%;
  max-width: 526px;
}
@media screen and (max-width: 576px) {
  #vote {
    justify-content: center;
  }
}

#voted {
  display: none;
}

.voted #vote {
  display: none;
}
.voted #voted {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2%;
}
@media screen and (max-width: 576px) {
  .voted #voted {
    flex-direction: column;
    gap: 1.6em;
  }
}

.voteButton_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  height: 100%;
  align-items: stretch;
}
.voteButton_container .item {
  width: 19%;
  position: relative;
  display: flex;
  justify-content: center;
  transition: 0.2s ease-in-out all;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-size: 100%;
  background-position: center bottom, center top, center;
  background-repeat: no-repeat, no-repeat, repeat-y;
}
.voteButton_container .item .title {
  color: #1d0a5f;
  font-weight: bold;
  font-size: 28px;
}
.voteButton_container .item .icon {
  max-width: 100%;
}
@media (hover: hover) {
  .voteButton_container .item:hover {
    filter: brightness(1.1);
    transform: translateY(-0.5em);
  }
}
.voteButton_container .item.ccc {
  background-image: url(../images/bg_3c_ft.png), url(../images/bg_3c_hd.png), url(../images/bg_3c_bd.png);
}
.voteButton_container .item.household {
  background-image: url(../images/bg_household_ft.png), url(../images/bg_household_hd.png), url(../images/bg_household_bd.png);
}
.voteButton_container .item.beauty {
  background-image: url(../images/bg_beauty_ft.png), url(../images/bg_beauty_hd.png), url(../images/bg_beauty_bd.png);
}
.voteButton_container .item.food {
  background-image: url(../images/bg_food_ft.png), url(../images/bg_food_hd.png), url(../images/bg_food_bd.png);
}
.voteButton_container .item.boutique {
  background-image: url(../images/bg_boutique_ft.png), url(../images/bg_boutique_hd.png), url(../images/bg_boutique_bd.png);
}
@media screen and (max-width: 768px) {
  .voteButton_container .item {
    justify-content: space-evenly;
  }
}
@media screen and (max-width: 576px) {
  .voteButton_container .item .title {
    font-size: 18px;
  }
  .voteButton_container .item .btn {
    width: 90%;
  }
}
@media screen and (min-width: 1025px) {
  .voteButton_container .title,
  .voteButton_container .icon {
    margin-bottom: 0.5em;
  }
}
@media screen and (max-width: 576px) {
  .voteButton_container {
    height: 70%;
  }
}

.voteResult_information {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.voteResult_information h3 {
  color: #333333;
  font-size: 36px;
  font-weight: 600;
  background-image: url(../images/bg_result.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}
.voteResult_information a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #008086;
  border-radius: 10px;
  padding: 5px 10px;
  color: #fff;
  width: max-content;
  font-weight: bold;
}
.voteResult_information p {
  font-size: 23px;
}
@media screen and (max-width: 576px) {
  .voteResult_information {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: repeat(2, auto);
    gap: 0;
    width: 100%;
  }
  .voteResult_information h3 {
    grid-area: 1/1/2/2;
    font-size: 20px;
  }
  .voteResult_information a {
    grid-area: 2/1/3/2;
    margin: auto;
  }
  .voteResult_information p {
    font-size: 15px;
    grid-area: 1/2/3/3;
  }
}
.voteResult_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2%;
  text-align: center;
  width: 60%;
  height: 100%;
  align-items: stretch;
}
@media screen and (max-width: 576px) {
  .voteResult_container {
    width: 90%;
  }
}
.voteResult_container .item {
  flex: 1;
  box-shadow: 0px 6px 16px rgba(161, 140, 209, 0.2);
  border-radius: 90px;
  padding-bottom: 47%;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  font-weight: 600;
  transition: 0.2s ease-in-out all;
  background-color: #E2E2E2;
  cursor: pointer;
  margin-bottom: 7%;
  margin-top: 4%;
}
.voteResult_container .item.picked {
  border: 2px solid #e81689;
}
.voteResult_container .item.picked .icon_picked {
  display: block;
}
.voteResult_container .item .icon {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  width: 80%;
  margin: auto;
  z-index: 2;
}
.voteResult_container .item .bar {
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-radius: 0 0 90px 90px;
  z-index: 1;
  transition: top ease-in 0.5s;
  transition-delay: 1s;
}
.voteResult_container .item .icon_picked {
  display: none;
  position: absolute;
  top: -2em;
  width: max-content;
  right: 0;
  left: 0;
  margin: auto;
  border-radius: 15.5px;
  background-color: #e81689;
  color: #fff;
  font-size: 14px;
  padding: 0.2em 0.8em;
}
.voteResult_container .item .icon_picked::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0;
  border-color: #E81689 transparent transparent;
}
.voteResult_container .item.ccc .bar {
  background: linear-gradient(180deg, #94b0f2, #2b5ed4);
}
.voteResult_container .item.household .bar {
  background: linear-gradient(180deg, #f797dc, #b93694);
}
.voteResult_container .item.beauty .bar {
  background: linear-gradient(180deg, #e3bd5d, #b28a26);
}
.voteResult_container .item.food .bar {
  background: linear-gradient(180deg, #89c767, #4d9b23);
}
.voteResult_container .item.boutique .bar {
  background: linear-gradient(180deg, #e6687a, #b91c33);
}
.voteResult_container .item .text {
  position: absolute;
  bottom: -1.6em;
  font-size: 16px;
  color: #1d0a5f;
  font-weight: bold;
}
.voteResult_container .item .hint {
  opacity: 0;
  transition: opacity ease-in 0.2s;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.3098039216);
  z-index: 3;
  border-radius: 90px;
  color: #777777;
  font-weight: bold;
  font-size: 14px;
  padding: 0.3em 1em;
  box-shadow: 0px 6px 16px rgba(161, 140, 209, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) {
  .voteResult_container .item:hover .hint {
    opacity: 1;
  }
}/*# sourceMappingURL=style.css.map */