body {
  background: #fff;
  margin: 0;
  padding: 0;
  font-family: helvetica, arial, sans-serif;
  font-size: 14px;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 45px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5d80a6;
  color: #fff;
}

.menu,
.icon {
  width: 20px;
  height: 18px;
}

.menu {
  background: url('menu.png') no-repeat center / contain;
  margin-inline-start: 10px;
}

.icon {
  background: url('notify.png') no-repeat center / contain;
  margin-inline-end: 10px;
}

.headline {
  font-size: 1.1em;
  font-weight: 700;
}

#container {
  margin: 45px 0;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

#firstpage {
  text-align: center;
}

.date {
  font-size: 0.9em;
  color: #909499;
  margin-top: 10px;
}

.congrats {
  margin-top: 5px;
  font-size: 1.4em;
  font-weight: 700;
}

.lucky,
.intro {
  margin-top: 5px;
  line-height: 1.3;
}

#wheelCon {
  position: relative;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#wheel {
  width: 100%;
  height: auto;
  z-index: 1;
}

#pressButton {
  position: absolute;
  width: 30%;
  height: 30%;
  background: transparent url('button.png') center / contain no-repeat;
  border: none;
  padding: 0;
  z-index: 2;
}

#prizeUp {
  position: absolute;
  width: auto;
  height: 60%;
  z-index: 3;
  display: none;
}

#loading {
  position: absolute;
  display: none;
}

.rotateIn {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: rotateIn;
}

@keyframes rotateIn {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  100% {
    transform-origin: center;
    transform: none;
    opacity: 1;
  }
}

.spinAround {
  animation: spin 6.6s ease forwards;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  90% {
    transform: rotate(3110deg);
  }

  95% {
    transform: rotate(3108deg);
  }

  100% {
    transform: rotate(3109deg);
  }
}

.spinAround2 {
  animation: spin2 6.6s ease forwards;
}

@keyframes spin2 {
  0% {
    transform: rotate(3109deg);
  }

  90% {
    transform: rotate(6314deg);
  }

  95% {
    transform: rotate(6312deg);
  }

  100% {
    transform: rotate(6313deg);
  }
}

#secondpage {
  display: none;
  line-height: 1.4;
}

.subheadline,
.steps,
.timer,
.prize {
  margin-top: 20px;
}

.link_text {
  color: #426997;
  text-decoration: none;
  cursor: pointer;
}

.subheadline {
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
}

.impor {
  margin-top: 10px;
}

.timer {
  font-size: 0.9em;
}

.red_text {
  color: red;
}

.prize {
  display: flex;
  align-items: stretch;
}

.prize_img {
  height: 130px;
  width: 130px;
  display: flex;
  align-items: center;
}

.prize_img img {
  height: 100%;
  width: 100%;
}

.prize_details {
  display: flex;
  flex-direction: column;
  padding-inline-start: 10px;
  justify-content: space-between;
  font-weight: 700;
}

.green_text {
  color: green;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3b5998;
  font-size: 1.5em;
  color: #fff;
  font-weight: 700;
  height: 35px;
  margin-top: 5px;
  text-decoration: none;
  cursor: pointer;
}

.comments {
  margin-top: 15px;
}

.interact_bar {
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dfe3e8;
}

.avatars {
  display: flex;
  align-items: center;
  margin-inline-start: 6px;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 100%;
  margin-inline-start: -8px;
  border: 2px solid #fff;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
}

.text {
  font-size: 0.9em;
  color: #909499;
  margin-inline-start: 6px;
}

.stat_bar {
  height: 40px;
  border-bottom: 1px solid #dfe3e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #909499;
}

.left_group,
.like_group,
.share_group,
.view_group {
  display: flex;
  align-items: center;
}

.share_group {
  margin-inline-start: 20px;
}

.stat_like,
.stat_share,
.stat_view {
  width: 20px;
  height: 20px;
  background: url('action.png') no-repeat center / 100%;
  margin-inline-end: 3px;
}

.stat_like {
  background-position: 0 -60px;
}

.stat_share {
  background-position: 0 -100px;
}

.stat_view {
  background-position: 0 -160px;
}

.comment_list {
  display: flex;
  flex-direction: column;
}

.comment_unit {
  display: flex;
  border-bottom: 1px solid #dfe3e8;
  padding: 10px 0;
}

.comment_photo {
  width: 40px;
  height: 40px;
}

.comment_photo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment_details {
  display: flex;
  flex-direction: column;
  padding-inline-start: 10px;
  width: 100%;
}

.comment_name {
  color: #426997;
  font-weight: 600;
}

.comment_text {
  margin-top: 3px;
}

.comment_date {
  font-size: 0.9em;
  color: #909499;
  margin-top: 6px;
}

.comment_act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9em;
  color: #909499;
  margin-top: 6px;
}

.like_img {
  width: 13px;
  height: 12px;
  background: url('like.png') center / contain no-repeat;
  margin-inline-end: 5px;
}

.link_img {
  width: 13px;
  height: 12px;
  background: url('comment.png') 0 0 / cover no-repeat;
}

.show_next {
  text-align: center;
  color: #426997;
  padding: 15px 0;
}

#footer {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  height: 45px;
  border-top: 1px solid #e4e4e4;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.footer_left {
  width: 23px;
  height: 25px;
  background: url('footer1.png') no-repeat center / contain;
  margin-inline-start: 10px;
}

.footer_input {
  color: #909499;
  border: none;
  outline: none;
  font-size: 1.2em;
  margin-inline-start: 5px;
}

.footer_right {
  width: 72px;
  height: 25px;
  background: url('footer2.png') no-repeat center / contain;
  margin-inline-end: 10px;
}

.rtl .stat_share,
.rtl .like_img,
.rtl .footer_left,
.rtl .footer_right {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  #wheel {
    width: 35vw;
  }
}

@media (max-width: 359px) {
  body {
    font-size: 13px;
  }

  #container {
    padding: 0 10px;
  }

  .prize_img {
    height: 120px;
    width: 120px;
  }
}