body {
  background: #f4f2e4;
  margin: 0;
  padding: 0;
  font-family: "Akshar", sans-serif;
  font-family: "Antonio", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Antonio", sans-serif;
}

h1 {
  font-size: 56px;
  font-weight: 700;
}

h2 {
  font-size: 45px;
  font-weight: 700;
}

h3 {
  font-size: 35px;
  font-weight: 500;
}

h4 {
  font-size: 27px;
  font-weight: 500;
}

h5 {
  font-size: 21px;
  font-weight: 300;
}

h6 {
  font-size: 16px;
  font-weight: 300;
}

p {
  font-family: "Akshar", sans-serif;
  font-weight: 300;
  font-size: 18px;
}

/* hamburger menu */
.menuWrap {
  position: fixed;
  top: 4%;
  left: 4%;
  z-index: 10;
}

.menuWrap .toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  cursor: pointer;
  width: 90px;
  height: 90px;
  opacity: 0;
}

.menuWrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.menuWrap .hamburger > div {
  position: fixed;
  transition: all 0.5s ease;
  z-index: 10;
}

.logo {
  position: relative;
  width: 6%;
  min-width: 60px;
}

.logo1 {
  display: block;
  width: 100%;
  height: auto;
  z-index: 20;
}

.menuWrap .toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}

.menuWrap .toggle:checked ~ .menu {
  visibility: visible;
}

.menuWrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  visibility: hidden;
}

.menuWrap .menu > div {
  background: rgba(0, 0, 0, 0.6);
  width: 100vw;
  height: 50vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.links ul li {
  list-style-type: none;
  font-size: 45px;
  font-weight: 700;
  padding: 5%;
  margin: 3%;
}

.links ul li a {
  text-decoration: none;
  color: #f4f2e4;
}
.links ul li .home,
.links ul li .about,
.links ul li .projects,
.links ul li .contacts {
  color: #7c7c7c;
}

.links ul li a:hover {
  color: #fff200;
}
.links ul li .home:hover {
  color: #7c7c7c;
}
.links ul li .projects:hover {
  color: #7c7c7c;
}

.links ul li .about:hover {
  color: #7c7c7c;
}

.links ul li .contacts:hover {
  color: #7c7c7c;
}

.heroImage {
  width: 100vw;
  height: 58vw;
  z-index: 10;
}

.heroImage video,
.heroImage img {
  position: fixed;
  width: 100%;
}

/* Recent Works */
.recentWorks {
  background: #f4f2e4;
  position: relative;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
}
.recentWorks_title {
  margin-left: 5%;
}

/* ************ works ************* */

.work_container {
  margin: 0 5% 5% 5%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.work_content {
  width: 30%;
  max-width: 400px;
  align-items: center;
  padding: 2%;
  position: relative;
}

.work_content img {
  width: 100%;
  opacity: 1;
  display: block;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.work_content img:hover {
  box-shadow: 0 2px 20px 0 #9b9a90;
}

#content1,
#content2,
#content3,
#content4,
#content5,
#content6,
#content7,
#content8 {
  position: relative;
  width: 50%;
}

#content1:hover #middle1 {
  opacity: 1;
}
#content2:hover #middle2 {
  opacity: 1;
}
#content3:hover #middle3 {
  opacity: 1;
}
#content4:hover #middle4 {
  opacity: 1;
}
#content5:hover #middle5 {
  opacity: 1;
}
#content6:hover #middle6 {
  opacity: 1;
}
#content7:hover #middle7 {
  opacity: 1;
}
#content8:hover #middle8 {
  opacity: 1;
}

#middle1,
#middle2,
#middle3,
#middle4,
#middle5,
#middle6,
#middle7,
#middle8 {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.text {
  background-color: rgba(228, 0, 127, 0.6);
  color: #f4f2e4;
  padding: 16px;
  text-align: center;
}
/* noSpecialFunction Section */

.noSpecialFunction {
  width: 100%;
  position: relative;
  background: transparent;
  display: flex;
  justify-content: center;
  justify-content: center;
}

.glasses {
  width: 20%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glasses img {
  width: 80%;
  min-width: 100px;
}

.glasses img:hover {
  transform: rotate(20deg);
}

/* footer */

.footerContainer {
  width: 100%;
  height: 10%;
  padding: 3% 0 3% 0;
  background: black;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
  justify-content: space-around;
}

.copyright {
  color: #f4f2e4;
  display: flex;
}
.socialIcon {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.socialIcon img {
  width: 40px;
  padding: 5px;
}

.socialIcon img:hover {
  transform: rotate(60deg);
}

/* About Page ********************************/

.heroImage2 {
  width: 100vw;
  height: 40vw;
  z-index: 10;
}

.heroImage2 img {
  position: fixed;
  width: 100%;
}

.heroImage2 .aboutme_title {
  position: fixed;
}
.aboutYoyoCheng {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #00a0e9;
}

.aboutYoyoCheng_content {
  width: 70%;
  position: relative;
  background: #f4f2e4;
  padding: 0 5% 0 5%;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.yoyoinfo {
  position: relative;
  width: 70%;
  padding: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  justify-self: center;
  background: #f4f2e4;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.yoyoinfo .ProfesionalExperience {
  background: #fff100;
  line-height: 1.5em;
  padding: 2%;
  margin: 2% 0 2% 0;
}

.yoyoinfo .Education {
  background: #fff100;
  line-height: 1.5em;
  padding: 2%;
  margin: 2% 0 2% 0;
}
.pleasecontact {
  width: 70%;
  background: #f4f2e4;
  padding: 0 5% 5% 5%;
  text-align: center;
  position: relative;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}
.pleasecontact a {
  text-decoration: none;
  color: #00a0e9;
}

.colorfulyoyo {
  width: 30%;
  margin-top: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.colorfulyoyo img {
  width: 100%;
}

.colorfulyoyo img:hover {
  transform: rotate(20deg);
}

.footerContainer2 {
  width: 100%;
  height: 40%;
  margin-top: 15%;
  padding: 3% 0 3% 0;
  background: black;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
  justify-content: space-around;
  z-index: 5;
}

/* projects ********************************/

.heroImage4 {
  position: fixed;
  width: 100%;
  height: 45vw;
  display: flex;
  z-index: 5;
}

ul.slides {
  position: relative;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: black;
  overflow: hidden;
  display: flex;
}

li.slide {
  margin: 0;
  padding: 0 0 0 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  transition: 0.5s transform ease-in-out;
}

li.slide img {
  width: 100%;
}

li.slide h3 {
  display: flex;
  align-self: center;
  color: #f4f2e4;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  padding: 2%;
}

.slide:nth-of-type(2) {
  left: 100%;
}

.slide:nth-of-type(3) {
  left: 200%;
}

.slide:nth-of-type(4) {
  left: 300%;
}

.slide:nth-of-type(5) {
  left: 400%;
}

.slide:nth-of-type(6) {
  left: 500%;
}

input [type="radio"] {
  position: relative;
  z-index: 100;
  display: none;
}

.controls-visible {
  position: absolute;
  width: 100%;
  bottom: 12px;
  text-align: center;
  align-items: flex-end;
}

.controls-visible label {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: #fff100;
  border-radius: 50%;
  margin: 10% 1% 3% 1%;
  border: 5px solid #fff1;
}

.controls-visible label:hover {
  background: #00a0e9;
}
.controls-visible label:active {
  background: rgba(228, 0, 127);
}

.slides input[type="radio"]:nth-of-type(1):checked ~ .slide {
  transform: translateX(0%);
}

.slides input[type="radio"]:nth-of-type(2):checked ~ .slide {
  transform: translateX(-100%);
}
.slides input[type="radio"]:nth-of-type(3):checked ~ .slide {
  transform: translateX(-200%);
}

.slides input[type="radio"]:nth-of-type(4):checked ~ .slide {
  transform: translateX(-300%);
}

.slides input[type="radio"]:nth-of-type(5):checked ~ .slide {
  transform: translateX(-400%);
}

.slides input[type="radio"]:nth-of-type(6):checked ~ .slide {
  transform: translateX(-500%);
}

.gallery {
  position: relative;
  top: 50vw;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 5;
}

.gallery_content {
  background: #f4f2e4;
  width: 70%;
  padding: 2%;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
  justify-content: center;
}

.gallery_content h2 {
  width: 100%;
}

.project_photo {
  width: 30%;
  padding: 1%;
}

.project_photo img {
  width: 100%;
  opacity: 0.5;
}

.project_photo img:hover {
  opacity: 1;
}
.noSpecialFunction2 {
  position: relative;
  margin-top: 53%;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project_footer {
  width: 100%;
  position: relative;
  display: flex;
  align-self: flex-end;
}

/* contacts page ********************************/
.heroImage3 {
  width: 100vw;
  height: 30vw;
  z-index: 10;
}

.heroImage3 img {
  width: 100%;
  position: fixed;
}

/* contact section */
.contact_section {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contactContent {
  width: 70%;
  padding: 2%;
  background: #f4f2e4;
  position: relative;
  padding: 0 5% 10% 5%;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

/* ****** form ****** */
.form {
  width: 100%;
  position: relative;
  background: #f4f2e4;
  display: flex;
}
.formContent {
  width: 100%;
}

label {
  font-family: "Antonio", sans-serif;
  font-size: 21px;
  font-weight: 300;
  color: rgb(236, 0, 140);
}

input[type="text"] {
  width: 80%;
  height: 4%;
  background: #f4f2e4;
  border: 2px #00aeef solid;
  padding: 2%;
  margin-top: 1%;
  font-family: "Akshar", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: darkgray;
}

input[type="text"]:hover {
  border: 2px #fff200 solid;
}

select {
  width: 85%;
  height: 10%;
  border: 2px #00aeef solid;
  padding: 0 2% 0 2%;
  font-family: "Akshar", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgb(121, 121, 121);
  margin-top: 1%;
}

select:hover {
  border: 2px #fff200 solid;
}

select::-ms-expand {
  display: none;
}
#Subject {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-accelerator: none;
  background: url(../img/dropdown-02.png) no-repeat scroll center;
  background-size: 3%;
  background-position: 98%;
}

#Subject:hover {
  background: url(../img/dropdown-01.png) no-repeat scroll center;
  background-size: 3%;
  background-position: 98%;
}

input[type="checkbox"] {
  width: 1em;
  height: 1em;
  border: 2px #00aeef solid;
  -webkit-appearance: none;
  background-color: #f4f2e4;
  position: relative;
  margin-top: 5%;
}

input:hover {
  border: 2px rgb(236, 0, 140) solid;
}
input[type="checkbox"]:checked:after {
  content: " ✔ ";
  font-size: 10px;
  font-weight: 300;
  color: rgb(236, 0, 140);
  position: absolute;
}

#Message {
  width: 80%;
  height: 10%;
  background: #f4f2e4;
  border: 2px #00aeef solid;
  padding: 2%;
  margin-top: 1%;
  font-family: "Akshar", sans-serif;
  font-size: 18px;
  font-weight: 300;
}

#Message:hover {
  border: 2px #fff200 solid;
}

input[type="submit"] {
  color: #f4f2e4;
  background: #00aeef;
  border: #f4f2e4;
  font-weight: 300;
  font-family: "Antonio", sans-serif;
  font-size: 21px;
  padding: 1% 5% 1% 5%;
}

input[type="submit"]:hover {
  color: black;
  background: #fff200;
  border: #f4f2e4;
}

input[type="submit"]:active {
  color: #f4f2e4;
  background: rgb(236, 0, 140);
  border: #f4f2e4;
}
.footerContainer3 {
  width: 100%;
  margin-top: 30%;
  padding: 3% 0 3% 0;
  background: black;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
  justify-content: space-around;
}

/* Beer and other projects (this part will be messy, 
because I want to qickly complete every project)********************************/
.project_template {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  background: #f4f2e4;
}

.beer_heroImage {
  width: 100%;
  position: fixed;
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.beer_title {
  color: #f4f2e4;
  position: fixed;
  background-color: rgba(236, 0, 140, 0.5);
  margin-top: 10%;
  padding: 1%;
  text-align: center;
}

.beer_heroImage img {
  width: 100vw;
}

/* ****** Intro Section ****** */
.beer_intro {
  width: 70%;
  background: #f4f2e4;
  position: relative;
  margin-top: 45%;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.illustration_intro {
  width: 70%;
  background: #f4f2e4;
  position: relative;
  margin-top: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
  padding: 5%;
}
.beer_intro img {
  width: 50%;
  margin: 5% 0 5% 5%;
}
.illustration_content {
  width: 45%;
  padding: 1%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logodesign_content {
  width: 60%;
  padding: 1%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.illustration_content img {
  width: 100%;
}
.logodesign_content img {
  width: 100%;
}

.beer_introDescription {
  width: 30%;
  align-self: center;
  justify-self: center;
  padding-left: 5%;
  padding-right: 5%;
}

/* ****** Problem Statement ****** */
.beer_problem {
  width: 70%;
  background: #fff;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.beer_problemDescription {
  width: 40%;
  align-self: center;
  margin: 5%;
}
.book_problemDescription {
  display: flex;
  width: 100%;
}

.beer_problem img {
  width: 40%;
}

.island img {
  width: 90%;
  margin: 0% 5% 0% 5%;
}

/* ****** Sketch ****** */
.beer_sketch {
  width: 70%;
  background: #f4f2e4;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.beer_sketchimg {
  width: 40%;
  margin: 5%;
  align-self: center;
}

.beer_sketchimg img {
  width: 100%;
}

.beer_sketchDescription {
  width: 40%;
  margin-right: 5%;
}

.beer_sketchDescription img {
  width: 90%;
  padding-bottom: 10%;
}
/* ****** nothing ****** */
.nothing {
  width: 70%;
  height: 20%;
  background: rgba(235, 163, 193, 0.5);
  position: relative;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

/* ****** detail ****** */
.beer_detail {
  width: 70%;
  position: relative;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.beer_detail img {
  width: 100%;
}

/* ****** Final ****** */
.beer_final {
  width: 70%;
  position: relative;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}

.beer_final img {
  width: 100%;
}

.beer_endofFinal {
  width: 70%;
  position: relative;
}

.beer_endofFinal img {
  width: 100%;
}

.picture_only {
  width: 70%;
  background: #f4f2e4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  box-shadow: 2px 9px 9px 0 rgba(105, 78, 89, 0.9);
}
.picture_only img {
  width: 80%;
}
/* ***** Responsive ************************************************** */

@media screen and (max-width: 800px) {
  header {
    height: 42%;
  }
  .heroImage {
    margin-top: 20%;
  }

  .menuWrap .links {
    padding-right: 10%;
  }
  .contactContent {
    padding: 0 5% 15% 5%;
  }
  .work_container {
    justify-content: space-around;
  }
  .work_content {
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    padding: 0 0 5% 0;
  }
  #content1,
  #content2,
  #content3,
  #content4,
  #content5,
  #content6,
  #content7,
  #content8 {
    width: 45%;
  }
  .middle {
    height: 150px;
  }
  .text {
    padding: 3px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .text h5 {
    margin: 0;
    padding: 0;
    font-size: 18px;
  }

  .text p {
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  input[type="submit"] {
    margin-bottom: 0%;
  }

  .project_photo {
    width: 45%;
    padding: 1%;
  }

  .controls-visible label {
    width: 1rem;
    height: 1rem;
  }

  .beer_intro {
    justify-content: center;
  }

  .beer_intro img {
    width: 80%;
    margin: 5% 0 0 0;
  }

  .beer_introDescription {
    width: 100%;
    align-self: center;
    justify-self: center;
    margin: 0 10% 10% 10%;
    padding: 0;
  }

  .beer_problem {
    justify-content: center;
  }

  .beer_problemDescription {
    width: 100%;
    align-self: center;
    margin: 0 10% 0 10%;
  }

  .beer_problem img {
    width: 80%;
    margin-bottom: 0;
  }
  .beer_island img {
    width: 80%;
    margin: 0 10% 10% 10%;
  }

  .beer_sketch {
    justify-content: center;
  }

  .beer_sketchimg {
    width: 100%;
    margin: 10% 10% 0 10%;
  }

  .beer_sketchimg img {
    width: 100%;
    justify-content: center;
  }

  .beer_sketchDescription {
    width: 100%;
    margin: 0 10% 0 10%;
    justify-self: center;
  }

  .beer_sketchDescription img {
    width: 100%;
    padding: 0%;
    margin-bottom: 10%;
  }

  .logodesign_content,
  .illustration_content {
    width: 80%;
  }
}

@media screen and (max-width: 400px) {
  body {
    background: black;
  }
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 43px;
  }

  h3 {
    font-size: 33px;
  }

  h4 {
    font-size: 25px;
  }

  h5 {
    font-size: 19px;
  }

  p {
    font-size: 16px;
  }
  header {
    height: 22%;
  }
  .heroImage {
    margin-top: 28%;
  }
  .glasses {
    margin-top: 5%;
  }

  /* contacts */
  .contactContent {
    padding: 0 5% 0% 5%;
  }
  label {
    font-size: 19px;
  }

  input[type="text"] {
    font-size: 16px;
  }

  input[type="text"]:hover {
    font-size: 16px;
  }

  select {
    font-size: 16px;
  }

  select:hover {
    font-size: 16px;
  }

  #Message {
    font-size: 16px;
  }
  input[type="submit"] {
    font-size: 19px;
  }

  .pleasecontact {
    margin-bottom: 10%;
  }

  .category {
    margin-top: 10%;
  }

  .gallery .gallery_content .category {
    width: 100%;
    padding: 0;
  }
  input[type="submit"] {
    margin-bottom: 90%;
  }
  .project_photo {
    width: 100%;
    padding: 0;
    margin-top: 10%;
  }

  .controls-visible label {
    width: 8px;
    height: 8px;
  }

  .beer_intro {
    width: 80%;
    margin-top: 120%;
    justify-content: center;
    align-items: center;
  }

  .beer_intro img {
    width: 90%;
    margin: 5% 0 0 0;
  }

  .beer_introDescription {
    width: 90%;
    align-self: center;
    justify-self: center;
    margin: 0 0 10% 0;
    padding: 0;
  }

  .beer_problem {
    width: 80%;
  }
  .beer_problemDescription {
    width: 90%;
    margin: 0;
  }

  .beer_problem img {
    width: 90%;
  }

  .island img {
    width: 90%;
    margin: 0% 5% 0% 5%;
  }
  .beer_sketch {
    width: 80%;
  }

  .beer_sketchimg {
    width: 100%;
    margin: 10% 5% 0 5%;
  }

  .beer_sketchDescription {
    width: 100%;
    margin: 0 5% 0 5%;
  }

  .beer_nothing {
    width: 80%;
  }

  .beer_detail {
    width: 80%;
  }

  .beer_detail img {
    width: 100%;
  }

  .beer_final {
    width: 80%;
  }

  .beer_endofFinal {
    width: 80%;
    position: relative;
  }
  .picture_only {
    width: 80%;
  }
}
