* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 2em;
  font-family: "Noto Sans TC", sans-serif;
}
.header {
  position: fixed;
  left: 0%;
  top: 0%;
  height: 100%;
  width: 30%;
  background: rgba(0, 0, 0, 1);
  background-image: url("../image/bg.png");
  background-size: 225%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-flow: column wrap;
  padding: 4rem 2rem;
}
.header > * {
  flex-shrink: 0;
}
.inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-grow: 3;
}
.contact {
  width: 100%;
  flex-grow: 3;
}
.contact ul {
  list-style: none;
  color: #bdc3c7;
}
.contact ul li {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
  font-size: small;
  font-weight: bold;
  transition: all 0.5s ease-in-out;
}
.contact ul li:hover {
  transform: scale(1.1);
  transition: all 0.5s ease-in-out;
  color: #ecf0f1;
}
.contact ul li div {
  height: 30px;
  width: 30px;
  margin-left: 0.5rem;
  text-align: center;
}
.footer {
  width: 100%;
  flex-grow: 1;
}
.profilePic {
  height: 150px;
  width: 150px;
  background-image: url("../image/mypic.jpg");
  background-position: center;
  background-size: contain;
  border-radius: 50%;
  margin-bottom: 2rem;
}
.inner h3 {
  color: #bdc3c7;
  text-align: right;
}
.name {
  color: #ecf0f1;
  font-weight: bold;
}
.icon {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  list-style: none;
}
.icon li a {
  padding: 0.5rem;
}
.icon li a,
.reference li a {
  color: #f7f1e3;
  opacity: 0.5;
  list-style: none;
  transition: all 0.3s ease-in-out;
}
.icon li a:visited,
.icon li a:active,
.reference li a:visited,
.reference li a:active {
  opacity: 0.5;
  color: #f7f1e3;
}
.icon li a:hover,
.reference li a:hover {
  color: #f5f6fa;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.reference {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: bold;
  color: #b2bec3;
  list-style: none;
}
.reference li {
  padding: 0 0.5rem;
  border-left: 1.5px solid #b2bec3;
}
.copyright {
  display: flex;
  justify-content: flex-end;
  color: #b2bec3;
  list-style: none;
  font-weight: bold;
  font-size: 13px;
}
.copyright li {
  padding: 0.5rem;
}
.copyright li br {
  display: none;
}
.goseek {
  display: none;
}
.main {
  margin-left: 30%;
  height: fit-content;
  width: 70%;
  padding: 8rem 12rem 8rem 8rem;
  vertical-align: baseline;
}
.sectionOne {
  /* height: 50vh; */
  margin-bottom: 2rem;
  padding: 4rem 0rem 0rem 0rem;
  border-bottom: 3px solid #33333388;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.sectionOne p,
.sectionOne button {
  margin-bottom: 2rem;
}
.sectionOne h1,
.sectionOne h4,
.sectionOne h5 {
  text-align: center;
  line-height: 3rem;
  color: #4b4b4b;
}
.gitpage {
  text-decoration: none;
  color: #555;
  position: relative;
  font-weight: bold;
}
.gitpage:active,
.gitpage:visited {
  color: #555;
}
.gitpage:hover {
  color: #333;
}
.gitpage::after {
  content: "";
  width: 105%;
  height: 50%;
  background: #ff9f1a55;
  position: absolute;
  left: 0;
  bottom: -2%;
  transition: all 0.3s ease-in-out;
}
.gitpage:hover::after {
  height: 15%;
  bottom: 0%;
  transition: all 0.3s ease-in-out;
}
.likes {
  margin-left: auto;
  cursor: pointer;
  margin-bottom: 4rem;
  transition: all 0.5s ease-in-out;
}
.cloudIcon {
  text-align: center;
  margin: auto;
  margin-bottom: 2rem;
  color: #4b4b4b;
}
.sectionOne button {
  padding: 1rem 1.5rem;
  margin: 2rem 0rem 0rem 0rem;
  outline: none;
  background: transparent;
  opacity: 0.9;
  border: 2px solid #999;
  color: #333;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.sectionOne button:hover {
  opacity: 1;
  border: 2px solid #333;
  color: #333;
  transition: all 0.3s ease-in-out;
}
.lane {
  height: 25vh;
  width: 3px;
  background: #33333388;
  margin: auto;
}

.sectionTwo {
  margin-bottom: 2rem;
  border-bottom: 3px solid #33333388;
}
.sectionTwo h1 {
  padding-top: 2rem;
}
.au {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("../image/australia.jpg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 2rem 0rem 0rem 0rem;
  transition: all 0.5s ease-in-out;
  display: flex;
}
.au::before {
  content: "Working Holiday - ";
  line-height: 300px;
  font-size: xx-large;
  text-align: center;
  color: white;
  font-weight: bolder;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #00000099;
  transition: all 0.5s ease-in-out;
}
.au:hover::before {
  content: "";
  background: #00000000;
  transition: all 0.5s ease-in-out;
}
.au div {
  width: 60%;
  color: white;
  margin: auto;
  background: #00000055;
  padding: 1rem;
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
.au:hover div {
  opacity: 1;
  transition: all 0.5s ease-in-out;
}
.pilot {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("../image/pilot.jpg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0rem 0rem 0rem 0rem;
  transition: all 0.5s ease-in-out;
  display: flex;
}
.pilot::before {
  content: "Prospective Pilot - ";
  line-height: 300px;
  font-size: xx-large;
  text-align: center;
  color: white;
  font-weight: bolder;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #00000099;
  transition: all 0.5s ease-in-out;
}
.pilot:hover::before {
  content: "";
  background: #00000000;
  transition: all 0.5s ease-in-out;
}
.pilot div {
  width: 60%;
  color: white;
  margin: auto;
  background: #00000055;
  padding: 1rem;
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
.pilot:hover div {
  opacity: 1;
  transition: all 0.5s ease-in-out;
}
.program {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("../image/coding.jpg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0rem 0rem 2rem 0rem;
  transition: all 0.5s ease-in-out;
  display: flex;
}
.program::before {
  content: "Web Engineer - ";
  line-height: 300px;
  font-size: xx-large;
  text-align: center;
  color: white;
  font-weight: bolder;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #00000099;
  transition: all 0.5s ease-in-out;
}
.program:hover::before {
  content: "";
  background: #00000000;
  transition: all 0.5s ease-in-out;
}
.program div {
  width: 60%;
  color: white;
  margin: auto;
  background: #00000099;
  padding: 1rem;
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
.program:hover div {
  opacity: 1;
  transition: all 0.5s ease-in-out;
}
.sectionTwo button {
  padding: 0.5rem 0.5rem;
  margin: 2rem 0rem;
  outline: none;
  background: transparent;
  opacity: 0.7;
  border: 2px solid #999;
  color: #333;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.sectionTwo button:hover {
  opacity: 1;
  border: 2px solid #333;
  color: #333;
  transition: all 0.3s ease-in-out;
}
.sectionThree h1 {
  padding-top: 2rem;
}
.portfolio {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
.card {
  width: 450px;
  padding-bottom: 2rem;
}
.href {
  position: relative;
  display: inline-block;
  height: 300px;
  width: 450px;
  margin: 2rem 0rem 2rem 0rem;
  border-radius: 5px;
  box-shadow: 0 0 2px #333;
}
.hrefImg {
  height: 100%;
  width: 100%;
}
.href::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #33333399;
  opacity: 0;
}
.href::after {
  content: "VIEW";
  color: white;
  font-weight: bolder;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #33333399;
  padding: 0.5rem 1rem;
  border: 3px solid #d1ccc0;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.href:hover::before {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.href:hover::after {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.psImg1,
.psImg2,
.psImg3 {
  position: relative;
  display: inline-block;
  height: 300px;
  width: 450px;
  margin: 2rem 0rem 2rem 0rem;
  border-radius: 5px;
  box-shadow: 0 0 2px #333;
}
.psImg1 {
  background-image: url(../image/ps1.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.psImg2 {
  background-image: url(../image/ps2.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.psImg3 {
  background-image: url(../image/ps3.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.psImg1:hover,
.psImg2:hover,
.psImg3:hover {
  cursor: pointer;
}
.psImg1::before,
.psImg2::before,
.psImg3::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #33333399;
  opacity: 0;
}
.psImg1::after,
.psImg2::after,
.psImg3::after {
  content: "VIEW";
  color: white;
  font-weight: bolder;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #33333399;
  padding: 0.5rem 1rem;
  border: 3px solid #d1ccc0;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.psImg1:hover::before,
.psImg2:hover::before,
.psImg3:hover::before {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.psImg1:hover::after,
.psImg2:hover::after,
.psImg3:hover::after {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.muted {
  font-size: small;
  color: #666;
}
.displayPS1 {
  position: fixed;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 100%;
  background: #33333399;
  transform: translate(-50%, -50%);
  background-image: url(../image/ps1.jpg);
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
}
.displayPS2 {
  position: fixed;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 100vw;
  background: #33333377;
  transform: translate(-50%, -50%);
  background-image: url(../image/ps2.png);
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
}
.displayPS3 {
  position: fixed;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 100vw;
  background: #33333377;
  transform: translate(-50%, -50%);
  background-image: url(../image/ps3.jpg);
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
}
.card h2 a:hover {
  transform: scale(1.1);
}
.sectionThree {
  border-bottom: 3px solid #33333388;
  margin-bottom: 2rem;
}
.sectionThree h2,
.sectionThree h4 {
  margin-bottom: 1rem;
  color: #4b4b4b;
}
.sectionThree p {
  line-height: 1.5rem;
  color: #4b4b4b;
}
.totop {
  float: right;
  padding: 1rem 1.5rem;
  outline: none;
  background: transparent;
  opacity: 0.9;
  border: 2px solid #999;
  color: #333;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.totop:hover {
  opacity: 1;
  border: 2px solid #333;
  color: #333;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1680px) {
  .main {
    padding: 6rem 4rem 6rem 4rem;
  }
  .au,
  .pilot,
  .program {
    width: 100%;
    background-size: 100%;
  }
  .card {
    width: 400px;
  }
  .href {
    height: 267px;
    width: 400px;
  }
  .psImg1,
  .psImg2,
  .psImg3 {
    height: 267px;
    width: 400px;
  }
}
@media screen and (max-width: 1560px) {
  .icon {
    transform: scale(0.9);
  }
  .icon li {
    width: fit-content;
    height: fit-content;
  }
  .reference {
    font-size: 10px;
  }
}
@media screen and (max-width: 1440px) {
  .reference {
    flex-flow: column wrap;
    font-size: 14px;
    align-items: flex-end;
  }
  .reference li {
    width: 145px;
  }
}
@media screen and (max-width: 1366px) {
  .header {
    width: 25%;
  }
  .main {
    margin-left: 25%;
    width: 75%;
  }
  .au,
  .pilot,
  .program {
    width: 100%;
    background-size: 110%;
  }
  .au div,
  .pilot div,
  .program div {
    background: #00000099;
  }
  .icon,
  .reference,
  .copytight {
    padding-bottom: 0.5rem;
  }
  .copyright li {
    text-align: right;
  }
  .copyright li br {
    display: initial;
  }
}
@media screen and (max-width: 450px) {
  .header {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(../image/mobileBackground.jpg);
    background-size: cover;
    padding-top: 1rem;
  }
  .inner {
    align-items: center;
    flex-grow: 1;
  }
  .profilePic {
    width: 200px;
    height: 200px;
    margin: auto;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
  .inner div h3 {
    position: relative;
    margin: auto;
    display: inline-block;
    padding: 0.3rem 0rem 0.3rem 0.3rem;
    margin-bottom: 0.5rem;
    color: #f7f1e3;
    font-size: medium;
    text-align: center;
    background-color: #222;
  }
  .contact {
    flex-grow: 1;
  }
  .contact ul {
    color: #f7f1e3;
  }
  .contact ul li {
    padding: 0;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: lighter;
    padding-bottom: 0.1rem;
    font-weight: initial;
  }
  .contact ul li:hover {
    transform: scale(1);
    font-weight: bold;
    color: #bdc3c7;
    padding: 0.3rem;
    font-size: medium;
  }
  .icon {
    display: none;
  }

  .reference,
  .copyright {
    display: none;
  }
  .goseek {
    display: block;
    padding: 0.5rem 1.5rem;
    border: 2px solid #eee;
    background: #3d3d3d;
    color: #d2dae2;
    font-weight: bold;
    font-size: large;
    outline: none;
  }
  .main {
    margin: 0;
    width: 100%;
    padding: 2rem 1rem 2rem 1rem;
  }
  .lane {
    display: none;
  }
  .sectionOne {
    height: 100vh;
    padding-top: 2rem;
    margin-bottom: 1rem;
  }
  .cloudIcon {
    margin-top: 2rem;
  }
  .likes {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
    padding: 0rem 1rem;
  }
  .sectionOne button {
    padding: 0.5rem 1rem;
    margin: 6rem 0rem 0rem 0rem;
    font-weight: bold;
    font-size: large;
  }
  .au,
  .pilot,
  .program {
    width: 100%;
    height: 60vh;
    background-size: cover;
  }
  .au::before,
  .pilot::before,
  .program::before {
    display: none;
  }
  .au div,
  .pilot div,
  .program div {
    opacity: 1;
    width: 85%;
  }
  .sectionTwo button {
    padding: 1rem 1.5rem;
    margin: 5rem 0rem;
    font-weight: bold;
    font-size: large;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .card {
    width: 90%;
    margin: auto;
  }
  .card h2 a {
    display: none;
  }
  .href {
    width: 100%;
    height: auto;
  }
  .psImg1,
  .psImg2,
  .psImg3 {
    width: 90%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .totop {
    margin-bottom: 2rem;
  }
  .displayPS1,
  .displayPS2,
  .displayPS3 {
    background-size: 90%;
  }
}
@media screen and (max-width: 380px) {
  .header {
    padding: 2rem 2rem;
    height: 667px;
  }
  .profilePic {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .sectionOne {
    height: 667px;
  }
  .likes {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .sectionOne button {
    margin: 2rem 0rem 3rem 0rem;
    font-weight: bold;
    font-size: large;
  }
}
