/*! HTML5 Boilerplate v4.3.0 | MIT License | https://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}


body{
    font: 16px/1.5 "Microsoft YaHei","Segoe UI", sans-serif,"Lucida Grande", Helvetica, Arial;
    background: #3498db;
    color: #ffffff;
}

h1{
    font-size: 50px;
    font-weight: 300;
    text-align: center;
}

span{
    color: #2980b9;
    font-weight: bold;
}


h2{
  font-size: 35px;
  text-align: left;
  margin-left: -20px;
}


nav{
width: 28.09%;
margin: 0 auto;
display: block;

}

nav a {
  border: 2px solid #ecf0f1;
  border-radius: 2px;
  color: #2980b9;
  display: inline-block;
  font-family: "Microsoft YaHei","Segoe UI", sans-serif,"Lucida Grande", Helvetica, Arial;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-right: 10px;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

nav a.active,nav a:hover {
    background: #ecf0f1;
    color: #3498db;

}



ul li{
    list-style: none;
    margin: 10px auto;
    font-family: "Microsoft YaHei","Segoe UI", sans-serif,"Lucida Grande", Helvetica, Arial;

}

/* Checkbox Icons */
label {
    position: relative;
    padding-left: 30px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    padding: 16px 28px 0 0;
}

label:before, label:after {
    font-family: FontAwesome;
    font-size: 50px;
    /*absolutely positioned*/
    position: absolute; top: 0; left: -49px; right: 10px;

}

label:before {
    content: '\f096'; /*checkbox unchecked */
}
label:after {
    content: '\f00c'; /*checkbox checked*/
    max-width: 0;
    overflow: hidden;
    opacity: 0.5;
    font-size: 27px;
   top: 16px;
   left: -42px;
   color: #f2ca27;

-webkit-transition: all 0.50s; 
    -moz-transition: all 0.50s;
    -o-transition: all 0.50s;
     transition: all 0.50s;
}

/* Hide the Ordinary Checkbox */
input[type="checkbox"] {
    display: none;
}

/* Animating the Checkbox Icon */
input[type="checkbox"]:checked + label::after {
  margin-right: 90px;
  max-width: 25px;
  opacity: 1;
  width: 25px;
}


@media screen and (max-width: 480px){
 nav a{
    margin: 10px 0;
    padding: 10px;
 }
 div.wrapper[style] {
  width: 60% !important;
}
}