@charset "UTF-8";

html * {
  box-sizing: border-box;
  scroll-behavior: smooth;
  cursor: pointer;
}

body {
  margin: 0;
  width: 100%;
}

.wrapper {
  margin: 0px;
  background: transparent;
}

.scene {
  padding: 0%;
  width: 100%;
  height: 100vh;
  top: 0;
  border: 1px solid #ccc;
  margin: 0px;
  perspective: 5000px;
}
.cube {
  width: 100%;
  height: 100vh;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-50vh);
  transition: transform 1s;
}
.cube.show-front {
  transform: translateZ(-250px) rotateY(0deg);
}
.cube.show-right {
  transform: translateZ(-250px) rotateY(-90deg);
  visibility: hidden;
}
.cube.show-back {
  transform: translateZ(-250px) rotateX(180deg);
}
.cube.show-left {
  transform: translateZ(-250px) rotateY(90deg);
  visibility: hidden;
}
.cube.show-top {
  transform: translateZ(-250px) rotateX(-90deg);
}
.cube.show-bottom {
  transform: translateZ(-250px) rotateX(90deg);
}
.cube__face {
  position: absolute;
  border: 2px solid black;
  line-height: 200px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  text-align: center;
}
.type1 {
  width: 100%;
  height: 100vh;
}
.type2 {
  width: 100vh;
  height: 100vh;
}
.type3 {
  width: 100%;
  height: 100vh;
}
.cube__face--front {
  background: transparent;
}
.cube__face--right {
  background: hsla(60, 100%, 50%, 0.7);
}
.cube__face--back {
  background: transparent;
}
.cube__face--left {
  background: hsla(180, 100%, 50%, 0.7);
}
.cube__face--top {
  background: transparent;
}
.cube__face--bottom {
  background: transparent;
}
.cube__face--front {
  transform: rotateY(0deg) translateZ(50vh);
}
.cube__face--right {
  transform: rotateY(90deg) translateZ(113.5vh);
}
.cube__face--back {
  transform: rotateX(-180deg) translateZ(50vh);
}
.cube__face--left {
  transform: rotateY(-90deg) translateZ(50vh);
}
.cube__face--top {
  transform: rotateX(90deg) translateZ(50vh);
}
.cube__face--bottom {
  transform: rotateX(-90deg) translateZ(50vh);
}
label {
  margin-right: 10px;
}

/*top page design */
.header {
  background: #060606;
  /*position: absolute;*/
  left: 0%;
  top: 0%;
  width: 100%;
  box-sizing: border-box;
  height: 100vh;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
}
.switch {
  position: absolute;
  display: block;
  top: 50%;
  left: -1%;
  width: 15%;
  transform: rotateZ(-10deg) rotateY(10deg) skewX(5deg);
  filter: drop-shadow(1px 1px 1px #ffffff);
}

#lights {
  position: relative;
  display: block;
  left: 25%;
  width: 50%;
}

ul {
  align-items: center;
  display: flex;
  list-style-type: none;
  margin-left: 10%;
  margin-top: 15%;
}

.word0 {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  display: inline-block;
  transform: rotateX(70deg) skewX(-15deg) scale(1, 1.5);
  transform-origin: bottom;
}

.word0_hover {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  display: inline-block;
  transform: rotateX(0deg) skewX(0deg) scale(1, 1);
  transform-origin: bottom;
}
.on {
  filter: drop-shadow(2px 10px 8px #a97c33);
}
.on_hover {
  filter: drop-shadow(-1px 15px 10px rgb(187, 159, 115));
}

.word1 {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  transform: rotateX(70deg) skewX(-15deg) scale(1, 1.5);
  transform-origin: bottom;
}

.pageload {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  transform: rotateX(0deg) skewX(0deg) scale(1, 1);
  transform-origin: bottom;
}

.word1_hover {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  transform: rotateX(0deg) skewX(0deg) scale(1, 1);
  transform-origin: bottom;
}

.word2 {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  transform: rotateX(70deg) skewX(-15deg) scale(1, 1.5);
  transform-origin: bottom;
}

.word2_hover {
  color: aliceblue;
  font-size: 60px;
  text-align: center;
  position: relative;
  width: 20%;
  margin-right: 10%;
  transform: rotateX(0deg) skewX(0deg) scale(1, 1);
  transform-origin: bottom;
}

/*About page design*/
.about {
  background-color: rgb(237, 241, 244);
  margin-top: 0;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  box-sizing: border-box;
}
#about {
  position: absolute;
  top: 0;
  left: 100px;
  height: 100vh;
}
#sidebar0 {
  position: absolute;
  background: black;
  color: aliceblue;
  font-size: 40px;
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
}
#sidebar0 p {
  position: relative;
  transform: rotate(-90deg);
  transform-origin: center;
  top: 50px;
  left: 5px;
}
.about-me {
  color: #060606;
  font-size: 25px;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  width: 50%;
  margin: 0 25%;
}
#skills nav {
  width: 50%;

  height: 30%;
  margin: 0 20%;
  justify-content: center;
}
#skills li {
  color: #060606f0;
  margin: 0 20px;
  font-size: 20px;
  line-height: 20px;
  font-family: 'Courier New', Courier, monospace;
}
.profile0 {
  color: #060606;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 30px;
  width: 50%;
  margin: 0 25%;
}

/*Works page design*/
.works {
  background-color: aliceblue;
  margin-top: 0;
  height: 100vh;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  box-sizing: border-box;
}
#works {
  position: absolute;
  background: rgb(246, 243, 244);
  top: 0;
  left: 100px;
  height: 100vh;
}
.webs {
  margin: 10% auto;
  display: block;
  justify-content: center;
  height: 80%;
  width: 33.33%;
  float: left;
}
.thumbnail {
  margin: 20px;
  width: 80%;
  font-size: 20px;
  border-radius: 5px;
  border: 0.5px solid #060606;
  filter: drop-shadow(4px 4px 4px #00000040) drop-shadow(-4px -4px 4px #f9f6f6);
}
.title {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 20vh;
  height: 20vh;
  color: #060606;
}
.explanation {
  margin: auto;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  width: 75%;
  height: 20vh;
  line-height: 20px;
  color: #060606;
}

/*contact page design*/
.contact {
  background-color: aliceblue;
  margin-top: 0;
  height: 100vh;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  box-sizing: border-box;
}
#contact {
  position: absolute;
  top: 0;
  left: 100px;
  height: 100vh;
  width: 100%;
}
#contact p {
  margin: 0 50px;
  font-size: 40px;
  line-height: 100vh;
  color: #060606f0;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.form {
  width: 80%;
  height: 80vh;
  margin: 10%;
  font-size: 18px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #060606f0;
}
@media (max-width: 1024px) {
  .cube {
    display: block;
    position: relative;
    transform: none;
  }
  .scene {
    border: none;
  }
  .cube__face {
    position: relative;
  }
  #cube-face1 {
    transform: none;
  }
  #cube-face2 {
    transform: none;
  }
  #cube-face3 {
    display: none;
  }
  #cube-face4 {
    display: none;
  }
  #cube-face5 {
    transform: none;
    top: 100%;
  }
  #cube-face6 {
    transform: none;
    top: -100%;
  }
  .switch {
    top: 50%;
  }
  .header ul {
    margin-top: 30%;
    padding: 0;
    text-align: center;
  }
  .word0,
  .word1,
  .word2 {
    transform: none;
  }
  #skills {
    height: 40%;
    line-height: 50px;
  }
  #profile {
    height: 40%;
    line-height: 50px;
  }
  .profile0 {
    margin-top: 5%;
  }
  .about-me {
    margin-top: 5%;
    height: 40%;
    line-height: 50px;
  }
  #skills nav {
    width: 80%;
    margin: 10% 10%;
  }
  #contact {
    left: 5%;
  }
  #contact p {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  .title {
    line-height: 20px;
    height: fit-content;
  }
  .switch {
    visibility: hidden;
  }
  .word0,
  .word1,
  .word2 {
    font-size: 50px;
  }
  .about-me {
    height: 20%;
  }
  #skills {
    height: 30%;
  }
  #skills ul {
    margin-left: 10%;
    padding: 0;
  }
  #skills li {
    font-size: 12px;
  }
  .profile {
    height: 45%;
  }
  #contact p {
    margin-top: 50%;
    margin-left: 15%;
    line-height: 60px;
  }
}
@media (max-width: 500px) {
  .wrapper {
    background: #060606;
  }
  .header ul {
    display: block;
    margin-left: 0;
    margin-top: 5%;
  }
  .switch {
    visibility: hidden;
  }
  #word0,
  #word1 {
    text-align: center;
    width: 60%;
    line-height: 60px;
    margin-left: 20%;
    margin-right: 20%;
  }
  #word2 {
    text-align: center;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
  }
  #sidebar0 {
    transform: none;
    width: 100%;
    height: 100px;
    z-index: 2;
  }
  #sidebar0 p {
    transform: none;
    height: 110px;
    line-height: 100px;
    top: 20px;
    left: 0;
    margin: 0;
  }
  #about {
    top: 100px;
    left: 0%;
  }
  #skills nav {
    margin-left: 2.5%;
  }
  #skills ul {
    margin-left: 0%;
    padding: 0;
  }
  #skills li {
    font-size: 10px;
    width: 40px;
  }
  .profile0 {
    width: 75%;
    margin: 0 12.5%;
  }
  .webs {
    width: 100%;
    height: 200px;
  }
  .title,
  .explanation {
    visibility: hidden;
  }
  #cube-face5 {
    top: 1000px;
  }
  #cube-face6,
  .works {
    height: 1000px;
  }
  #works {
    top: 100px;
    left: 1%;
    height: 900px;
  }
  #contact {
    top: 200px;
    left: 1%;
    height: auto;
  }
  #contact p {
    margin-top: 30%;
    line-height: 60px;
  }
}
