html {
  scroll-behavior: smooth;
}

body {
  font-family: "Courier New", Courier, monospace;
  max-width: 80%;
  margin: auto;
}
body section {
  max-width: 100%;
  margin: auto;
}
body section h2 {
  text-align: center;
}
body section div {
  width: auto;
  margin: auto;
  text-align: left;
}
body section div ul {
  width: -moz-fit-content;
  width: fit-content;
}
body .chinese {
  font-size: 1rem;
}

.section-head {
  font-family: Arial, Helvetica, sans-serif;
}
.section-head h2 {
  font-size: 3rem;
}

footer p {
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  font-size: 0.7rem;
}

a {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
}

a:hover {
  color: rgb(0, 99, 112);
}

.nav {
  display: flex;
  justify-content: flex-end;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /*box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);*/
  z-index: 200;
}
.nav li::marker {
  content: "";
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}
.nav-list a {
  display: block;
  font-size: 1rem;
}

@media (max-width: 40em) {
  .nav {
    justify-content: center;
  }
  .nav-list a {
    font-size: 1rem;
  }
}
.intro {
  min-height: 100vh;
}
.intro .intro-body {
  display: flex;
  width: 60vw;
  margin-top: 25vh;
}
.intro .intro-body p {
  margin: 0;
}
.intro .myname, .intro .mytitle, .intro .myinterest1, .intro .myinterest2 {
  font-size: 3.5em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: -7px 0 0 0 !important;
}
.intro .mytitle:hover {
  color: rgb(0, 99, 112);
}
.intro .myinterest1:hover {
  color: rgb(36, 143, 59);
}
.intro .myinterest2:hover {
  color: rgb(173, 131, 23);
}
.intro img {
  max-width: 300px;
  border-radius: 100px;
}

#projects {
  min-height: 100vh;
  margin-top: 20vh;
  padding-top: 5vh;
}
#projects .wrapper {
  display: flex;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
}
#projects .wrapper a {
  text-decoration: none;
  color: black;
}
#projects .wrapper a:visited {
  text-decoration: none;
  color: black;
}
#projects .wrapper .art, #projects .wrapper .music, #projects .wrapper .web {
  position: relative;
  width: 300px;
  margin: 20px 50px;
}
#projects .wrapper .art .card-header, #projects .wrapper .music .card-header, #projects .wrapper .web .card-header {
  text-align: center;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-bottom: solid 2px;
  padding: 0.5em 1.5em;
}
#projects .wrapper .art .card-body, #projects .wrapper .music .card-body, #projects .wrapper .web .card-body {
  padding: 0.5em 1.5em;
}
#projects .wrapper .art:hover {
  background-color: rgba(173, 131, 23, 0.4);
  border-radius: 15px;
  transition: ease-in-out 0.5s;
}
#projects .wrapper .web:hover {
  background-color: rgba(0, 99, 112, 0.4);
  border-radius: 15px;
  transition: ease-in-out 0.5s;
}
#projects .wrapper .music:hover {
  background-color: rgba(36, 143, 59, 0.4);
  border-radius: 15px;
  transition: ease-in-out 0.5s;
}

.skills {
  margin-top: 20vh;
  padding-top: 5vh;
  justify-content: left;
  min-height: 100vh;
  text-align: left;
  background-image: url("../images/skills-bg.jpg");
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: bottom right;
  background-position-x: 300px;
  width: 70%;
}
.skills .section-head h2 {
  text-align: left;
}
.skills .certifications, .skills .learning {
  margin: 20px 0 80px 0;
}
.skills ul {
  background-color: rgba(255, 255, 255, 0.8);
}
.skills ul li {
  margin: 10px 10px 10px 20px;
}
.skills ul li a {
  padding-left: 10px;
}
.skills ul .py-mark::marker {
  content: url("../images/py-icon.png");
  height: 15px;
}
.skills ul .js-mark::marker {
  content: url("../images/js-icon.png");
}
.skills ul .brain-mark::marker {
  content: url("../images/brain-icon.png");
}
.skills ul .web-mark::marker {
  content: url("../images/html-icon.png");
}
.skills ul .r-mark::marker {
  content: url("../images/r-icon.png");
}
.skills ul .react-mark::marker {
  content: url("../images/react-icon.png");
}

#contact {
  background-color: rgba(0, 0, 0, 0);
  min-height: 100vh;
  margin-top: 20vh;
  padding-top: 5vh;
}
#contact .section-head {
  margin-top: 130px;
}
#contact .call-to-action form {
  margin: 2rem auto 5rem auto;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px;
  padding: 3rem;
}
#contact .call-to-action form input {
  margin: 20px;
  border: 0;
  border-radius: 4px;
  width: 300px;
  padding: 12px;
  display: inline-block;
  resize: none;
}
#contact .call-to-action form textarea {
  margin: 20px;
  border: 0;
  border-radius: 4px;
  width: 300px;
  padding: 12px;
  display: inline-block;
  resize: none;
  height: 70px;
}
#contact .call-to-action form p {
  margin-bottom: -15px;
}
#contact .call-to-action form button {
  border-radius: 8px;
}

@media screen and (max-width: 720px) {
  h2 {
    font-size: 2rem !important;
  }
  .intro {
    display: grid;
    align-items: center;
  }
  .intro .intro-body {
    flex-wrap: wrap;
    margin: auto;
  }
  .intro .intro-body .myname, .intro .intro-body .mytitle, .intro .intro-body .myinterest1, .intro .intro-body .myinterest2 {
    font-size: 3em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
  }
  .intro .intro-item {
    margin-top: 5vh;
    max-width: 60vw;
  }
  .intro img {
    max-width: 60%;
    display: block;
    margin: 20px auto;
  }
  .projects .wrapper .project-card {
    margin: 1em auto !important;
  }
  .skills {
    width: 100%;
    background-image: none;
  }
  form {
    padding: 0 !important;
  }
}/*# sourceMappingURL=style.css.map */