@charset "UTF-8";

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  margin: .67em 0;
  font-size: 2em;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  overflow: visible;
  /* 2 */
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
  border-bottom: none;
  /* 1 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  /* 2 */
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: .35em .75em .625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  display: table;
  /* 1 */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
  color: inherit;
  /* 2 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  outline-offset: -2px;
  /* 2 */
  -webkit-appearance: textfield;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  font: inherit;
  /* 2 */
  -webkit-appearance: button;
  /* 1 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

a {
  display: block;
  text-decoration: none;
}

.winBar,
.wheelBody .hand {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

body,
html {
  width: 100%;
  height: 100%;
  font-family: "Roboto Condensed", sans-serif;
}

.container {
  max-width: 540px;
  margin: 0 auto;
}

h1 {
  color: white;
  font-size: 72px;
  font-weight: 800;
  line-height: 110px;
  line-height: 1;
}

h2 {
  color: red;
  font-size: 3rem;
  font-weight: 800;
  line-height: 110px;
  line-height: 1;
  letter-spacing: 2px;
  text-decoration: underline;
  text-decoration: none;
}

h3 {
  color: red;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 110px;
  line-height: 1;
  letter-spacing: 2px;
  text-decoration: underline;
  text-decoration: none;
}

h4 {
  color: red;
  font-size: 2rem;
  font-weight: 800;
  line-height: 110px;
  line-height: 1;
  letter-spacing: 2px;
  text-decoration: underline;
  text-decoration: none;
}

p {
  color: #343baa;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

span {
  display: block;
  color: #f0beff;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  background: #343baa;
  border-radius: 25%;
  padding-right: 5px;
  padding-left: 5px;
  margin-top: 5px;
}

a {
  background: #f66c44;
  color: white;
  font-size: 20px;
  line-height: 1.2;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: 10px;
  margin-left: 10px;
}

body {
  background: url("../images/bg.jpg") no-repeat fixed center;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-height: 50vh;
  width: 80vw;
  height: 100%;
}

.btnGroup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.btnGroup a {
  border: 1px solid #fff;
}

.btnGroup button {
  background: #f66c44;
  color: white;
  font-size: 20px;
  line-height: 1.2;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: 10px;
  margin-left: 10px;
  border: 1px solid #fff;
}


.winBar {
  width: 100%;
  height: 260px;
  background-color: rgba(52, 59, 170, 0.5);
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 999;
}

.winBar h1 {
  position: relative;
  z-index: 40;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 250px;
  flex: 0 0 250px;
  padding-left: 70px;
}

.winBar .space {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 700px;
  flex: 0 1 700px;
  height: 10px;
}

.winBar .giftName {
  position: relative;
  z-index: 40;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 250px;
  flex: 0 0 auto;
}

.winBar .giftName p {
  color: white;
}

.winBar .giftIcon {
  position: absolute;
  color: #22299b;
}

.wheelBody {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  -webkit-box-shadow: 0 0 0 3px #000, 0 0 0 23px #22299b, 0 0 0 26px #000;
  /* 外框顏色 */
  box-shadow: 0 0 5px 3px #db8435, 0 0 0 23px #c52535, 0 0 10px 26px #fff;
  border-radius: 50%;
  overflow: hidden;
}

.wheelBody .pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.wheelBody .pattern .inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  /* 輪盤底色 */
  background: #fdfdfd;
  -webkit-transform-origin: right center;
  transform-origin: right center;
}

.wheelBody .pattern:nth-child(2n) .inner {
  /* 輪盤底色 */
  background: #ffe893;
}

.wheelBody .pattern.picked .inner {
  /* 中獎顏色 */
  background: red;
}

.wheelBody .hand {
  z-index: 15;
  -webkit-transition: -webkit-transform 3s;
  transition: -webkit-transform 3s;
  transition: transform 3s;
  transition: transform 3s, -webkit-transform 3s;
  -webkit-transition-timing-function: cubic-bezier(0, 0.84, 0.61, 0.95);
  transition-timing-function: cubic-bezier(0, 0.84, 0.61, 0.95);
  -webkit-transform-origin: center;
  transform-origin: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.wheelBody .hand p {
  /* 指針 */
  color: #fff;
}

.wheelBody .handimg {
  position: absolute;
  top: -94px;
  left: -17px;
  width: 150px;
  -webkit-transform: rotate(190deg);
  transform: rotate(190deg);
}

.contentCon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 100%;
}

.contentCon .content {
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* 圓鉚釘 */
.contentCon .content::after {
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 50;
  background: radial-gradient(circle at center, white, orange);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

/* 原鉚釘外 */
.contentCon .content::before {
  content: "";
  display: block;
  position: absolute;
  top: -33px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #ff00ba;
  font-size: 30px;
  -webkit-text-stroke: 1px #000;
}

.contentCon .content:nth-child(2n) h3 {
  color: #f0beff;
}

.contentCon .content:nth-child(2n) p {
  /* 獎項 */
  color: #e0005b;
}

.contentCon .content:nth-child(2n) span {
  color: #343baa;
  background: #f0beff;
}

.contentCon .content.picked h3 {
  color: white;
}

.contentCon .content.picked p {
  color: white;
}

.contentCon .content.picked p span {
  color: #ff00ba;
  background: white;
}

.logo {
  text-align: center;
  margin-top: -5vh;
}

.logoImg {
  display: block;
  margin: 0 auto;
  width: 10vw;
}

.prize {
  /* 獎項 */
  font-size: 1.8rem;
  padding-top: 2rem;
  color: #95570f;
  font-weight: bold;
}

@media (max-width: 1024px) {
  body {
    background: url("../images/bg_m.jpg") no-repeat fixed center;
    background-size: cover;
  }

  .logo {
    margin-top: 0;
  }

  .logoImg {
    width: 20vw;
  }

}

@media screen and (max-width: 768px) {
  .logo {
    margin-top: 0;
  }

  .logoImg {
    width: 35vw;
  }

  .container {
    top: 60%;
  }

  .prize {
    font-size: 1rem;
  }

  h1,
  h2,
  h3,
  h4,
  p {
    font-size: 1.5rem;
  }

  .wheelBody .hand {
    width: 75px;
    height: 75px;
  }

  .wheelBody .handimg {
    width: 146%;
    top: -69px;
    left: -13px;
  }
}