* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:focus {
  border: none;
  outline: 0;
}

img {
  vertical-align: middle;
}

a img {
  border: none;
}

.eor {
  width: 0;
  height: 0;
  line-height: 0;
  clear: both;
}

.pad {
  padding: 10px;
}

.pad-tb {
  padding: 10px 0;
}

.pad-lr {
  padding: 0 10px;
}

.pad-l {
  padding-left: 10px;
}

.pad-r {
  padding-right: 10px;
}

.pad-t {
  padding-top: 10px;
}

.pad-b {
  padding-bottom: 10px;
}

.pad20 {
  padding: 20px;
}

.pad20-tb {
  padding: 20px 0;
}

.pad20-lr {
  padding: 0 20px;
}

.pad20-l {
  padding-left: 20px;
}

.pad20-r {
  padding-right: 20px;
}

.pad20-t {
  padding-top: 20px;
}

.pad20-b {
  padding-bottom: 20px;
}

.row {
  margin: 0 -10px;
}
.row:after {
  content: ".";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

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

.container-fluid {
  padding: 0 10px;
}

.clearfix:after {
  content: ".";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.bdr-t {
  border-top: 1px solid #CCCCCC;
}

.bdr-b {
  border-bottom: 1px solid #CCCCCC;
}

.bdr-r {
  border-right: 1px solid #CCCCCC;
}

.bdr-l {
  border-left: 1px solid #CCCCCC;
}

/* lg Large */
/* -- responsive grid start -- */
.col-xs-1 {
  width: 8.33%;
  float: left;
}

.col-xs-2 {
  width: 16.66%;
  float: left;
}

.col-xs-3 {
  width: 24.99%;
  float: left;
}

.col-xs-4 {
  width: 33.33%;
  float: left;
}

.col-xs-5 {
  width: 41.65%;
  float: left;
}

.col-xs-6 {
  width: 49.98%;
  float: left;
}

.col-xs-7 {
  width: 58.31%;
  float: left;
}

.col-xs-8 {
  width: 66.64%;
  float: left;
}

.col-xs-9 {
  width: 74.97%;
  float: left;
}

.col-xs-10 {
  width: 83.3%;
  float: left;
}

.col-xs-11 {
  width: 91.63%;
  float: left;
}

.col-xs-12 {
  width: 100%;
  float: left;
}

.col-sm-1 {
  width: 8.33%;
  float: left;
}

.col-sm-2 {
  width: 16.66%;
  float: left;
}

.col-sm-3 {
  width: 24.99%;
  float: left;
}

.col-sm-4 {
  width: 33.33%;
  float: left;
}

.col-sm-5 {
  width: 41.65%;
  float: left;
}

.col-sm-6 {
  width: 49.98%;
  float: left;
}

.col-sm-7 {
  width: 58.31%;
  float: left;
}

.col-sm-8 {
  width: 66.64%;
  float: left;
}

.col-sm-9 {
  width: 74.97%;
  float: left;
}

.col-sm-10 {
  width: 83.3%;
  float: left;
}

.col-sm-11 {
  width: 91.63%;
  float: left;
}

.col-sm-12 {
  width: 100%;
  float: left;
}

.col-md-1 {
  width: 8.33%;
  float: left;
}

.col-md-2 {
  width: 16.66%;
  float: left;
}

.col-md-3 {
  width: 24.99%;
  float: left;
}

.col-md-4 {
  width: 33.33%;
  float: left;
}

.col-md-5 {
  width: 41.65%;
  float: left;
}

.col-md-6 {
  width: 49.98%;
  float: left;
}

.col-md-7 {
  width: 58.31%;
  float: left;
}

.col-md-8 {
  width: 66.64%;
  float: left;
}

.col-md-9 {
  width: 74.97%;
  float: left;
}

.col-md-10 {
  width: 83.3%;
  float: left;
}

.col-md-11 {
  width: 91.63%;
  float: left;
}

.col-md-12 {
  width: 100%;
  float: left;
}

.col-lg-1 {
  width: 8.33%;
  float: left;
}

.col-lg-2 {
  width: 16.66%;
  float: left;
}

.col-lg-3 {
  width: 24.99%;
  float: left;
}

.col-lg-4 {
  width: 33.33%;
  float: left;
}

.col-lg-5 {
  width: 41.65%;
  float: left;
}

.col-lg-6 {
  width: 49.98%;
  float: left;
}

.col-lg-7 {
  width: 58.31%;
  float: left;
}

.col-lg-8 {
  width: 66.64%;
  float: left;
}

.col-lg-9 {
  width: 74.97%;
  float: left;
}

.col-lg-10 {
  width: 83.3%;
  float: left;
}

.col-lg-11 {
  width: 91.63%;
  float: left;
}

.col-lg-12 {
  width: 100%;
  float: left;
}

/* -- responsive grid end -- */
/* -- Text Align Start -- */
.txt-xs-l {
  text-align: left;
}

.txt-xs-r {
  text-align: right;
}

.txt-xs-c {
  text-align: center;
}

.txt-sm-l {
  text-align: left;
}

.txt-sm-r {
  text-align: right;
}

.txt-sm-c {
  text-align: center;
}

.txt-md-l {
  text-align: left;
}

.txt-md-r {
  text-align: right;
}

.txt-md-c {
  text-align: center;
}

.txt-lg-l {
  text-align: left;
}

.txt-lg-r {
  text-align: right;
}

.txt-lg-c {
  text-align: center;
}

/* -- Text Align End -- */
@media (max-width: 768px) {
  /* xs Extra Small */
  .container {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
  }
  /* -- responsive grid start -- */
  .col-sm-1 {
    width: 100%;
    float: left;
  }
  .col-sm-2 {
    width: 100%;
    float: left;
  }
  .col-sm-3 {
    width: 100%;
    float: left;
  }
  .col-sm-4 {
    width: 100%;
    float: left;
  }
  .col-sm-5 {
    width: 100%;
    float: left;
  }
  .col-sm-6 {
    width: 100%;
    float: left;
  }
  .col-sm-7 {
    width: 100%;
    float: left;
  }
  .col-sm-8 {
    width: 100%;
    float: left;
  }
  .col-sm-9 {
    width: 100%;
    float: left;
  }
  .col-sm-10 {
    width: 100%;
    float: left;
  }
  .col-sm-11 {
    width: 100%;
    float: left;
  }
  .col-sm-12 {
    width: 100%;
    float: left;
  }
  .col-md-1 {
    width: 100%;
    float: left;
  }
  .col-md-2 {
    width: 100%;
    float: left;
  }
  .col-md-3 {
    width: 100%;
    float: left;
  }
  .col-md-4 {
    width: 100%;
    float: left;
  }
  .col-md-5 {
    width: 100%;
    float: left;
  }
  .col-md-6 {
    width: 100%;
    float: left;
  }
  .col-md-7 {
    width: 100%;
    float: left;
  }
  .col-md-8 {
    width: 100%;
    float: left;
  }
  .col-md-9 {
    width: 100%;
    float: left;
  }
  .col-md-10 {
    width: 100%;
    float: left;
  }
  .col-md-11 {
    width: 100%;
    float: left;
  }
  .col-md-12 {
    width: 100%;
    float: left;
  }
  .col-lg-1 {
    width: 100%;
    float: left;
  }
  .col-lg-2 {
    width: 100%;
    float: left;
  }
  .col-lg-3 {
    width: 100%;
    float: left;
  }
  .col-lg-4 {
    width: 100%;
    float: left;
  }
  .col-lg-5 {
    width: 100%;
    float: left;
  }
  .col-lg-6 {
    width: 100%;
    float: left;
  }
  .col-lg-7 {
    width: 100%;
    float: left;
  }
  .col-lg-8 {
    width: 100%;
    float: left;
  }
  .col-lg-9 {
    width: 100%;
    float: left;
  }
  .col-lg-10 {
    width: 100%;
    float: left;
  }
  .col-lg-11 {
    width: 100%;
    float: left;
  }
  .col-lg-12 {
    width: 100%;
    float: left;
  }
  .col-xs-1 {
    width: 8.33%;
    float: left;
  }
  .col-xs-2 {
    width: 16.66%;
    float: left;
  }
  .col-xs-3 {
    width: 24.99%;
    float: left;
  }
  .col-xs-4 {
    width: 33.33%;
    float: left;
  }
  .col-xs-5 {
    width: 41.65%;
    float: left;
  }
  .col-xs-6 {
    width: 49.98%;
    float: left;
  }
  .col-xs-7 {
    width: 58.31%;
    float: left;
  }
  .col-xs-8 {
    width: 66.64%;
    float: left;
  }
  .col-xs-9 {
    width: 74.97%;
    float: left;
  }
  .col-xs-10 {
    width: 83.3%;
    float: left;
  }
  .col-xs-11 {
    width: 91.63%;
    float: left;
  }
  .col-xs-12 {
    width: 100%;
    float: left;
  }
  /* -- responsive grid end -- */
  /* -- Text Align Start -- */
  .txt-sm-l {
    text-align: left;
  }
  .txt-sm-r {
    text-align: right;
  }
  .txt-sm-c {
    text-align: center;
  }
  .txt-md-l {
    text-align: left;
  }
  .txt-md-r {
    text-align: right;
  }
  .txt-md-c {
    text-align: center;
  }
  .txt-lg-l {
    text-align: left;
  }
  .txt-lg-r {
    text-align: right;
  }
  .txt-lg-c {
    text-align: center;
  }
  .txt-xs-l {
    text-align: left;
  }
  .txt-xs-r {
    text-align: right;
  }
  .txt-xs-c {
    text-align: center;
  }
  /* -- Text Align End -- */
}
@media (min-width: 769px) and (max-width: 991px) {
  /* sm Small */
  .container {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* -- responsive grid start -- */
  .col-xs-1 {
    width: 8.33%;
    float: left;
  }
  .col-xs-2 {
    width: 16.66%;
    float: left;
  }
  .col-xs-3 {
    width: 24.99%;
    float: left;
  }
  .col-xs-4 {
    width: 33.33%;
    float: left;
  }
  .col-xs-5 {
    width: 41.65%;
    float: left;
  }
  .col-xs-6 {
    width: 49.98%;
    float: left;
  }
  .col-xs-7 {
    width: 58.31%;
    float: left;
  }
  .col-xs-8 {
    width: 66.64%;
    float: left;
  }
  .col-xs-9 {
    width: 74.97%;
    float: left;
  }
  .col-xs-10 {
    width: 83.3%;
    float: left;
  }
  .col-xs-11 {
    width: 91.63%;
    float: left;
  }
  .col-xs-12 {
    width: 100%;
    float: left;
  }
  .col-md-1 {
    width: 100%;
    float: left;
  }
  .col-md-2 {
    width: 100%;
    float: left;
  }
  .col-md-3 {
    width: 100%;
    float: left;
  }
  .col-md-4 {
    width: 100%;
    float: left;
  }
  .col-md-5 {
    width: 100%;
    float: left;
  }
  .col-md-6 {
    width: 100%;
    float: left;
  }
  .col-md-7 {
    width: 100%;
    float: left;
  }
  .col-md-8 {
    width: 100%;
    float: left;
  }
  .col-md-9 {
    width: 100%;
    float: left;
  }
  .col-md-10 {
    width: 100%;
    float: left;
  }
  .col-md-11 {
    width: 100%;
    float: left;
  }
  .col-md-12 {
    width: 100%;
    float: left;
  }
  .col-lg-1 {
    width: 100%;
    float: left;
  }
  .col-lg-2 {
    width: 100%;
    float: left;
  }
  .col-lg-3 {
    width: 100%;
    float: left;
  }
  .col-lg-4 {
    width: 100%;
    float: left;
  }
  .col-lg-5 {
    width: 100%;
    float: left;
  }
  .col-lg-6 {
    width: 100%;
    float: left;
  }
  .col-lg-7 {
    width: 100%;
    float: left;
  }
  .col-lg-8 {
    width: 100%;
    float: left;
  }
  .col-lg-9 {
    width: 100%;
    float: left;
  }
  .col-lg-10 {
    width: 100%;
    float: left;
  }
  .col-lg-11 {
    width: 100%;
    float: left;
  }
  .col-lg-12 {
    width: 100%;
    float: left;
  }
  .col-sm-1 {
    width: 8.33%;
    float: left;
  }
  .col-sm-2 {
    width: 16.66%;
    float: left;
  }
  .col-sm-3 {
    width: 24.99%;
    float: left;
  }
  .col-sm-4 {
    width: 33.33%;
    float: left;
  }
  .col-sm-5 {
    width: 41.65%;
    float: left;
  }
  .col-sm-6 {
    width: 49.98%;
    float: left;
  }
  .col-sm-7 {
    width: 58.31%;
    float: left;
  }
  .col-sm-8 {
    width: 66.64%;
    float: left;
  }
  .col-sm-9 {
    width: 74.97%;
    float: left;
  }
  .col-sm-10 {
    width: 83.3%;
    float: left;
  }
  .col-sm-11 {
    width: 91.63%;
    float: left;
  }
  .col-sm-12 {
    width: 100%;
    float: left;
  }
  /* -- responsive grid end -- */
  /* -- Text Align Start -- */
  .txt-xs-l {
    text-align: left;
  }
  .txt-xs-r {
    text-align: right;
  }
  .txt-xs-c {
    text-align: center;
  }
  .txt-md-l {
    text-align: left;
  }
  .txt-md-r {
    text-align: right;
  }
  .txt-md-c {
    text-align: center;
  }
  .txt-lg-l {
    text-align: left;
  }
  .txt-lg-r {
    text-align: right;
  }
  .txt-lg-c {
    text-align: center;
  }
  .txt-sm-l {
    text-align: left;
  }
  .txt-sm-r {
    text-align: right;
  }
  .txt-sm-c {
    text-align: center;
  }
  /* -- Text Align End -- */
}
@media (min-width: 992px) and (max-width: 1260px) {
  /* md Medium */
  .container {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* -- responsive grid start -- */
  .col-xs-1 {
    width: 8.33%;
    float: left;
  }
  .col-xs-2 {
    width: 16.66%;
    float: left;
  }
  .col-xs-3 {
    width: 24.99%;
    float: left;
  }
  .col-xs-4 {
    width: 33.33%;
    float: left;
  }
  .col-xs-5 {
    width: 41.65%;
    float: left;
  }
  .col-xs-6 {
    width: 49.98%;
    float: left;
  }
  .col-xs-7 {
    width: 58.31%;
    float: left;
  }
  .col-xs-8 {
    width: 66.64%;
    float: left;
  }
  .col-xs-9 {
    width: 74.97%;
    float: left;
  }
  .col-xs-10 {
    width: 83.3%;
    float: left;
  }
  .col-xs-11 {
    width: 91.63%;
    float: left;
  }
  .col-xs-12 {
    width: 100%;
    float: left;
  }
  .col-sm-1 {
    width: 8.33%;
    float: left;
  }
  .col-sm-2 {
    width: 16.66%;
    float: left;
  }
  .col-sm-3 {
    width: 24.99%;
    float: left;
  }
  .col-sm-4 {
    width: 33.33%;
    float: left;
  }
  .col-sm-5 {
    width: 41.65%;
    float: left;
  }
  .col-sm-6 {
    width: 49.98%;
    float: left;
  }
  .col-sm-7 {
    width: 58.31%;
    float: left;
  }
  .col-sm-8 {
    width: 66.64%;
    float: left;
  }
  .col-sm-9 {
    width: 74.97%;
    float: left;
  }
  .col-sm-10 {
    width: 83.3%;
    float: left;
  }
  .col-sm-11 {
    width: 91.63%;
    float: left;
  }
  .col-sm-12 {
    width: 100%;
    float: left;
  }
  .col-lg-1 {
    width: 100%;
    float: left;
  }
  .col-lg-2 {
    width: 100%;
    float: left;
  }
  .col-lg-3 {
    width: 100%;
    float: left;
  }
  .col-lg-4 {
    width: 100%;
    float: left;
  }
  .col-lg-5 {
    width: 100%;
    float: left;
  }
  .col-lg-6 {
    width: 100%;
    float: left;
  }
  .col-lg-7 {
    width: 100%;
    float: left;
  }
  .col-lg-8 {
    width: 100%;
    float: left;
  }
  .col-lg-9 {
    width: 100%;
    float: left;
  }
  .col-lg-10 {
    width: 100%;
    float: left;
  }
  .col-lg-11 {
    width: 100%;
    float: left;
  }
  .col-lg-12 {
    width: 100%;
    float: left;
  }
  .col-md-1 {
    width: 8.33%;
    float: left;
  }
  .col-md-2 {
    width: 16.66%;
    float: left;
  }
  .col-md-3 {
    width: 24.99%;
    float: left;
  }
  .col-md-4 {
    width: 33.33%;
    float: left;
  }
  .col-md-5 {
    width: 41.65%;
    float: left;
  }
  .col-md-6 {
    width: 49.98%;
    float: left;
  }
  .col-md-7 {
    width: 58.31%;
    float: left;
  }
  .col-md-8 {
    width: 66.64%;
    float: left;
  }
  .col-md-9 {
    width: 74.97%;
    float: left;
  }
  .col-md-10 {
    width: 83.3%;
    float: left;
  }
  .col-md-11 {
    width: 91.63%;
    float: left;
  }
  .col-md-12 {
    width: 100%;
    float: left;
  }
  /* -- responsive grid end -- */
  /* -- Text Align Start -- */
  .txt-xs-l {
    text-align: left;
  }
  .txt-xs-r {
    text-align: right;
  }
  .txt-xs-c {
    text-align: center;
  }
  .txt-sm-l {
    text-align: left;
  }
  .txt-sm-r {
    text-align: right;
  }
  .txt-sm-c {
    text-align: center;
  }
  .txt-lg-l {
    text-align: left;
  }
  .txt-lg-r {
    text-align: right;
  }
  .txt-lg-c {
    text-align: center;
  }
  .txt-md-l {
    text-align: left;
  }
  .txt-md-r {
    text-align: right;
  }
  .txt-md-c {
    text-align: center;
  }
  /* -- Text Align End -- */
}
@media (min-width: 1261px) and (max-width: 1420px) {
  /* md Medium */
  .container {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* This is 960/12 Grid System */
html {
  min-height: 100vh;
  scroll-behavior: smooth;
}

img {
  width: 100%;
}

.mark {
  background-color: #fdf7b9;
}

body {
  margin: 0;
  padding: 0;
  line-height: 26px;
  font-size: 16px;
  color: #444444;
  font-family: "Open Sans", sans-serif;
}

ul {
  margin: 0;
  line-height: 26px;
}

ul li {
  padding-bottom: 20px;
}

h1, h2, h3 {
  font-family: "Raleway", sans-serif;
  text-align: center;
}

h1 {
  padding-bottom: 20px;
  font-size: 38px;
  line-height: 48px;
  font-weight: 400;
  color: #000000;
  text-align: center;
}

h2 {
  padding-bottom: 10px;
  font-size: 28px;
  line-height: 34px;
  font-weight: 300;
  color: #111111;
  text-align: left;
}

h3 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #111111;
  text-align: left;
}

.notfound {
  padding: 40px 0;
  text-align: center;
}

section {
  padding-top: 100px;
}

.btn, #home a.projects {
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  background: #000000;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
}
.btn:hover, #home a.projects:hover {
  text-decoration: none;
}

.resmenu {
  display: none;
  width: 40px;
  cursor: pointer;
  position: fixed;
  background: white;
}

#home {
  max-height: 700px;
  min-height: 340px;
  padding: 30px 20px 0 20px;
}
#home article {
  margin: 0 auto;
  text-align: center;
  width: 510px;
}
#home article h1 {
  padding: 0;
  text-align: center;
  font-weight: 100;
}
#home article h2 {
  margin: 20px 0;
  padding: 0;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  font-weight: 600;
  color: #FFFFFF;
}
#home article h2 .h2bg1 {
  padding: 5px 10px;
  background: #000000;
}
#home article h2 .h2bg2 {
  padding: 5px 10px;
  background: #888888;
}
#home article p {
  line-height: 24px;
}
nav.main {
  height: 60px;
  background: #000000;
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav.main .wrap {
  margin: 0 auto;
  width: 1400px;
  display: flex;
  justify-content: space-around;
}
nav.main a {
  line-height: 60px;
  color: #666666;
  font-weight: 400;
  text-decoration: none;
}
nav.main a:hover, nav.main a.on {
  color: #FFFFFF;
  text-decoration: none;
}
nav.main .x {
  display: none;
}

#about {
  padding-bottom: 20px;
  border-bottom: 1px solid #CCCCCC;
}
#about article > div {
  padding: 0 10px 0 30px;
}
#about article > div:first-child {
  padding: 0 10px;
}
#about .summary {
  line-height: 32px;
}

#skills .skillbox {
  margin: 10px 10px 0 0;
  padding: 0 10px;
  display: block;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  background: #444444;
  color: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #FFFFFF;
  float: left;
}
#skills article.skillset {
  padding-bottom: 40px;
}
#skills #skillicon {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #000000;
}
#skills #skillicon .wrap {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#skills #skillicon .wrap img {
  width: 100%;
  max-width: 60px;
  max-height: 60px;
  opacity: 0.3;
}
#skills #skillicon .wrap img:hover {
  opacity: 0.6;
}

.message-item {
  margin-bottom: 25px;
  margin-left: 40px;
  position: relative;
}
.message-item .message-inner {
  border: 1px solid #797979;
  border-radius: 3px;
  padding: 10px;
  position: relative;
}
.message-item .message-inner:before {
  border-right: 10px solid rgb(0, 0, 0);
  border-style: solid;
  border-width: 10px;
  color: rgba(0, 0, 0, 0);
  content: "";
  display: block;
  height: 0;
  position: absolute;
  left: -21px;
  top: 6px;
  width: 0;
}
.message-item .message-inner:after {
  border-right: 10px solid #ffffff;
  border-style: solid;
  border-width: 10px;
  color: rgba(0, 0, 0, 0);
  content: "";
  display: block;
  height: 0;
  position: absolute;
  left: -20px;
  top: 6px;
  width: 0;
}
.message-item:before {
  background: #8a8a8a;
  border-radius: 2px;
  bottom: -30px;
  content: "";
  height: 100%;
  left: -27px;
  position: absolute;
  width: 1px;
}
.message-item:after {
  background: #000000;
  border: 2px solid #000000;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  content: "";
  height: 15px;
  left: -36px;
  position: absolute;
  top: 8px;
  width: 15px;
}
.message-item .message-head {
  border-bottom: 1px solid #656565;
  margin-bottom: 8px;
  padding-bottom: 8px;
  color: #fff;
}
.message-item .message-head .avatar {
  margin-right: 20px;
}
.message-item .message-head .user-detail {
  overflow: hidden;
}
.message-item .message-head .user-detail h5 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #000;
}
.message-item .message-head .post-meta {
  float: left;
  padding: 0 15px 0 0;
}
.message-item .message-head .post-meta > div {
  color: #333;
  font-weight: bold;
  text-align: right;
}
.message-item:last-child:before {
  width: 0;
}

#projects nav {
  height: auto;
  background: none;
  color: #000000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#projects nav a {
  margin: 0 5px;
  padding: 0 10px;
  height: auto;
  line-height: 40px;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid #888888;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
}
#projects nav a:hover {
  background: #000000;
  color: #FFFFFF;
}
#projects nav .on {
  background: #000000;
  color: #FFFFFF;
}
#projects .projtypes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#projects .projtypes .proj-type {
  padding: 20px;
  width: calc(20% - 40px);
  max-width: 240px;
  min-width: 180px;
}
#projects .projtypes .proj-type .box {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  line-height: 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}
#projects .projtypes .proj-type .box.web {
  background: url(../images/web-bg.png) no-repeat;
  background-size: cover;
  color: white;
}
#projects .projtypes .proj-type .box.web:hover {
  background: url(../images/web-bg-hover.png) no-repeat;
  background-size: cover;
  color: #0f3b5a;
}
#projects .projtypes .proj-type .box.mob {
  background: url(../images/mob-bg.png) no-repeat;
  background-size: cover;
  color: white;
}
#projects .projtypes .proj-type .box.mob:hover {
  background: url(../images/mob-bg-hover.png) no-repeat;
  background-size: cover;
  color: #0e5f92;
}
#projects .projtypes .proj-type .box.logo {
  background: url(../images/log-bg.png) no-repeat;
  background-size: cover;
  color: white;
}
#projects .projtypes .proj-type .box.logo:hover {
  background: url(../images/log-bg-hover.png) no-repeat;
  background-size: cover;
  color: #1ca99e;
}
#projects .projtypes .proj-type .box.graphics {
  background: url(../images/gra-bg.png) no-repeat;
  background-size: cover;
  color: white;
}
#projects .projtypes .proj-type .box.graphics:hover {
  background: url(../images/gra-bg-hover.png) no-repeat;
  background-size: cover;
  color: #f0cf68;
}
#projects .projtypes .proj-type .box.media {
  background: url(../images/med-bg.png) no-repeat;
  background-size: cover;
  justify-content: flex-start;
  text-indent: 22px;
  color: white;
}
#projects .projtypes .proj-type .box.media:hover {
  background: url(../images/med-bg-hover.png) no-repeat;
  background-size: cover;
  color: #ec523c;
}
#projects .projs-wrap {
  padding: 40px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#projects .projs-wrap .displaybox {
  margin: 0.5%;
  padding: 5px;
  width: 19%;
  border: 1px solid #CCCCCC;
  text-decoration: none;
  color: #000;
  display: block;
  cursor: pointer;
}
#projects .projs-wrap .displaybox .caption {
  padding-top: 5px;
  text-align: center;
}

.youtube {
  width: 900px;
  height: 600px;
}

#detail {
  margin: 20px auto 0;
  padding: 0;
  width: 100%;
  max-width: 1000px;
  height: auto;
  background: #FFFFFF;
  opacity: 1;
}
#detail .contents {
  padding: 20px 0 0;
  border-top: 1px solid #CCCCCC;
  display: flex;
}
#detail .contents a {
  margin-left: auto;
  min-width: 128px;
}

#education {
  padding-bottom: 100px;
}
#education h1 {
  padding-bottom: 50px;
}

#contact {
  padding-top: 25px;
  background: #000000;
  color: #666666;
}
#contact .info {
  padding: 25px 0;
  width: calc(100% - 270px);
  float: left;
}
#contact img.me {
  width: 250px;
  opacity: 0.5;
  float: right;
}
#contact h2 {
  color: #FFFFFF;
  font-weight: 700;
}
#contact h3 {
  color: #666666;
}
#contact .contacticon {
  padding: 10px 10px 10px 0;
  width: 90px;
  float: left;
}
#contact .contacticon img {
  width: 20px;
  opacity: 0.5;
}
#contact .contactline {
  padding: 10px 10px 10px 0;
  float: left;
}

@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  section {
    padding-top: 50px;
  }
  #home {
    padding: 10px 10px 40px;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    height: auto;
    max-height: none;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  #home article {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  #home article h1 {
    text-align: center;
    font-size: 24px;
    background: #000000;
    color: #FFF;
  }
  #home article h2 {
    margin: 5px 0;
    text-align: center;
    font-size: 20px;
  }
  #home img {
    max-height: 200px;
  }
  #home img {
    margin-right: 0;
  }
  .resmenu {
    display: block;
  }
  nav.main {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    left: -100%;
  }
  nav.main .wrap {
    padding: 20px;
    width: 100%;
    display: block;
  }
  nav.main .wrap a {
    height: 50px;
    line-height: 50px;
    display: block;
    border-bottom: 1px solid #CCCCCC;
  }
  nav.main .wrap .x {
    padding: 10px;
    width: 40px;
    cursor: pointer;
    display: block;
  }
  #about article > div {
    padding-top: 20px;
  }
  #skills #skillicon .wrap img {
    margin: 10px;
    max-width: 40px;
    max-height: 40px;
  }
  #projects nav a {
    margin: 10px 5px;
  }
  #projects .projtypes .proj-type {
    padding: 10px;
    width: calc(33.33% - 20px);
    min-width: 140px;
  }
  #projects .projtypes .proj-type .box {
    font-size: 16px;
  }
  #projects .projtypes .proj-type .box.media {
    text-indent: 14px;
  }
  #education {
    padding-bottom: 50px;
  }
  #contact .info {
    width: 100%;
  }
  #contact img.me {
    display: none;
  }
  .youtube {
    width: 280px;
    height: 185px;
  }
  #projects .projs-wrap .displaybox {
    margin: 1%;
    padding: 5px;
    width: 48%;
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  #home article h1 {
    font-size: 20px;
  }
  #home article h2 {
    font-size: 18px;
  }
  #projects .projtypes .proj-type {
    padding: 10px;
    width: calc(50% - 20px);
    min-width: 140px;
  }
  #projects .projtypes .proj-type .box {
    font-size: 14px;
  }
  #projects .projtypes .proj-type .box.media {
    text-indent: 22%;
  }
  #projects .projs-wrap .displaybox {
    margin: 0.5%;
    padding: 5px;
    width: 49%;
  }
}
@media (min-width: 769px) and (max-width: 991px) {
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 26px;
  }
  #home article h1 {
    font-size: 34px;
  }
  #home article h2 {
    font-size: 26px;
  }
  #home img {
    margin-right: 0;
  }
  #home {
    max-height: 430px;
  }
  #home img {
    max-height: 400px;
  }
  nav.main .wrap {
    width: auto;
  }
  #projects .projtypes .proj-type .box {
    font-size: 16px;
  }
  #about article > div {
    padding-top: 20px;
  }
  #education {
    padding-bottom: 50px;
  }
  .youtube {
    width: 729px;
    height: 486px;
  }
  #projects .projs-wrap .displaybox {
    margin: 1%;
    padding: 5px;
    width: 31%;
  }
}
@media (min-width: 992px) and (max-width: 1260px) {
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 26px;
  }
  #home article h1 {
    font-size: 34px;
  }
  #home article h2 {
    font-size: 26px;
  }
  #home article {
    margin-left: 0;
  }
  #home img {
    margin-right: 0;
  }
  nav.main .wrap {
    width: auto;
  }
  #projects .projtypes .proj-type .box {
    font-size: 16px;
  }
  #education {
    padding-bottom: 50px;
  }
  .youtube {
    width: 952px;
    height: 634px;
  }
  #projects .projs-wrap .displaybox {
    margin: 1%;
    padding: 5px;
    width: 23%;
  }
}
@media (min-width: 1261px) and (max-width: 1420px) {
  nav.main .wrap {
    width: auto;
  }
}/*# sourceMappingURL=main.css.map */