/* ===== RESET CSS ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ===== MAIN STYLE ===== */
html {
  font-size: 16px;
}
body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, Avenir, 'PingFangTC-Light', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, 'Heiti TC', 'LiHei Pro', 'Microsoft JhengHei', '\\5FAE\8EDF\6B63\9ED1\9AD4', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #53565A;
}
p {
  line-height: 1.5em;
  margin-bottom: 20px;
  text-indent: 2em;
  letter-spacing: 1px;
}
p:last-child {
  margin-bottom: 0px;
}
a {
  transition-duration: 300ms;
  transition-property: color;
  text-decoration: none;
  font-weight: 700;
  color: #EF7400;
}
a:hover, a:active {
  transition-duration: 100ms;
  color: #F0AF23;
}
h2 {
  display: block;
  position: relative;
  margin-bottom: 36px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #B8B8B8;
}
ol, ul {
  margin: 10px 0px;
  padding-left: 1em;
  list-style-position: inside;
  text-indent: -1em;
}
ul {
  list-style-type: square;
}
ol {
  list-style-type: decimal;
}
pre {
  margin: 20px 0px;
  padding: 15px 20px;
  border-radius: 2px;
  line-height: 1.5em;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.9rem;
  background-color: #131313;
  color: #C0C0C0;
}
pre.with-watermark {
  position: relative;
}
pre.with-watermark::after {
  content: '..';
  display: flex;
  opacity: 0.1;
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  line-height: 100%;
  font-size: 6rem;
}
header {
  padding: 80px 20px;
  border-top: 2px solid #44D62C;
  background-color: #202330;
}
header .container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #FFFFFF;
}
header .logo-img {
  width: 230px;
  height: 218px;
  flex-shrink: 0;
  margin: auto;
  background-image: url('../images/logo.jpg');
  background-size: 260px 218px;
  background-repeat: no-repeat;
}
header .title {
  flex-grow: 1;
  margin-top: 20px;
}
header h1 {
  margin-bottom: 20px;
  font-family: 'Nothing You Could Do', sans-serif;
  font-weight: 1000;
  font-size: 2.5rem;
  letter-spacing: 8px;
}
header p.description {
  line-height: 1.3em;
  font-family: 'Averia Libre', sans-serif;
  margin-bottom: 0px;
  text-indent: 0em;
  font-style: italic;
  font-size: 1.2rem;
}
section {
  padding: 40px 20px;
  line-height: 1.5em;
  font-weight: 300;
  font-size: 1.25rem;
}


strong {
  font-weight: 1000;
}
section:nth-child(2n) {
  background-color: #131313;
  color: #F0F0F0;
}
section:nth-child(2n) h2 {
  color: #707070;
}
section:nth-child(2n) pre {
  background-color: #000000;
  color: #9F9F9F;
}
section.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
footer {
  padding: 20px 20px;
  line-height: 1.5em;
  text-align: center;
  font-size: 0.85rem;
}
footer .container {
  position: relative;
  padding-top: 17px;
  padding-bottom: 3px;
}
footer .container::before {
  content: '';
  width: 100%;
  height: 1px;
  display: block;
  top: 0px;
  position: absolute;
  background: linear-gradient(to right, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 1) 15%, rgba(240, 240, 240, 1) 85%, rgba(240, 240, 240, 0) 100%);
}
footer a {
  color: #44D62C;
}
footer a:hover, footer a:active {
  color: #35AD22
}
footer .designed {
  margin-top: 3px;
  line-height: 1em;
 font-size: 0.75rem;
 color: #A0A0A0;
}
footer .social-media {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
footer .social-media a {
  transition-property: background-color;
  transition-duration: 500ms;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  border-radius: 2px;
  align-items: center;
  margin-right: 10px;
  text-decoration: none;
  font-size: 16px;
  background-color: #53565A;
  color: #F0F0F0;
}
footer .social-media a:hover,
footer .social-media a:active {
  transition-duration: 100ms;
}
footer .social-media a.fb:hover,
footer .social-media a.fb:active {
  background-color: #385898;
}
footer .social-media a.twitter:hover,
footer .social-media a.twitter:active {
  background-color: rgb(29, 161, 242);
}
footer .social-media a:last-child {
  margin-right: 0px;
}
footer .address {
  margin-top: 10px;
  text-align: center;
}
footer a.logo {
  width: 120px;
  height: 30px;
  display: block;
  margin: 3px auto;
  line-height: 0px;
  font-size: 0px;
  background: url('https://devco.re/assets/themes/devcore-v2/images/logo-mobile.svg') 50% 50%/contain no-repeat transparent;
}


.fa {
  text-indent: 0px !important;
}

.inner {
  text-indent: 0em;
}

.inner table td {
  padding: 0px 6px;
}
.qa-block {
  list-style-type: none;
  padding-left: 0px;
  text-indent: 0px;
  line-height: 1.8em;
  font-weight: 300;
}
.qa-block > li {
  margin: 40px 0px;
}
.qa-block .question {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.qa-block .question::before {
  transform: rotate(90deg);
  content: '';
  display: block;
  position: absolute;
  top: 9px;
  left: 0px;
  border: solid #44D62C;
  border-width: 2px 2px 0px 0px;
  padding: 8px;
}
.qa-block .answer {
  margin-top: 3px;
  margin-left: 15px;
  padding: 10px 0px;
  padding-left: 15px;
  border-left: 2px solid #F0F0F0;
  line-height: 1.6em;
  font-size: 1.1rem;
}
section:nth-child(2n) .qa-block .question {
  color: #9F9F9F;
}
section:nth-child(2n) .qa-block .answer {
  border-left: 2px solid #202020;
}

br.on-t {
  display: none;
}

@media all and (min-width: 768px) {
  section p {
    text-align: justify;
  }
  header p.description {
    font-size: 1.2rem;
  }
  header h1 {
    font-size: 3.5rem;
  }
  section {
    padding: 60px 20px;
  }
  header .container,
  section .container {
    width: 700px;
    margin: 0px auto;
  }
  br.on-t {
    display: inline;
  }
  footer .container::before {
    background: linear-gradient(to right, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 1) 30%, rgba(240, 240, 240, 1) 70%, rgba(240, 240, 240, 0) 100%);
  }
}

@media all and (min-width: 1024px) {
  section {
    padding: 80px 20px;
  }
  header {
    padding-top: 60px;
  }
  header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  header p.description {
    font-size: 1.5rem;
  }
  header .container,
  section .container {
    width: 920px;
  }
  header h1 {
    font-size: 6.5rem;
  }
  header .title {
    width: 620px;
    flex-grow: 0;
    margin-top: 40px;
    margin-left: 0px;
  }
  header .logo-img {
    width: 280px;
    height: 252px;
    margin: 0px;
    background-size: 300px 252px;
  }
  footer .container {
    width: 60%;
    margin: auto;
  }
}
