@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,400;0,700;0,900;1,400&display=swap");
:root {
  --backgroundColor: #ffffff;
  --textColor: #000000;
  --mixColor: #707070;
}
* {
  box-sizing: border-box;
}
html,
body {
  font-family: "Lato", sans-serif;
  font-size: 16px;
}
a {
  color: var(--textColor);
  text-decoration: none;
}
nav {
  position: fixed;
  height: 40px;
  top: 0px;
  display: block;
  width: 100vw;
  background-color: var(--backgroundColor);
  z-index: 10;
  box-shadow: 1px 1px 1px #ccc;
}
nav ul {
  position: absolute;
  right: 10%;
  top: 10px;
}
nav ul li {
  display: inline-block;
  margin-left: 15px;
  font-size: 0.8em;
  transition: 0.3s;
}
nav ul li a p {
  display: inline;
  color: var(--mixColor);
}
nav ul li:hover {
  transform: scale(1.1);
}
/* Aside */
aside.left {
  position: fixed;
  left: 2vw;
  bottom: 0;
}
aside.left img {
  width: 20px;
  margin-bottom: 20px;
  transition: 0.3s;
}
aside.left li:hover img {
  filter: invert(49%) sepia(4%) saturate(6%) hue-rotate(329deg) brightness(86%)
    contrast(85%);
  transform: scale(1.5);
}
aside.left .vertical-line {
  display: block;
  background-color: var(--textColor);
  height: 100px;
  width: 1px;
  margin-left: 10px;
}
aside.right {
  position: fixed;
  right: 2vw;
  bottom: 0;
}
aside.right p {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  font-size: 0.8em;
  margin-bottom: 20px;
  font-family: "Courier New", Courier, monospace;
  transition: 0.3s;
  cursor: pointer;
}
aside.right p:hover {
  transform: scale(1.1);
  text-shadow: -3px 3px 1px #ccc;
}
aside.right .vertical-line {
  display: block;
  background-color: var(--textColor);
  height: 100px;
  width: 1px;
  margin-left: 5px;
}
/* Main */
main section {
  min-height: 100vh;
  display: block;
  border-top: 1px solid #ccc;
}
/* Main - Hello */
main section#hello .content {
  width: 45vw;
  margin: 15% auto 0;
  transform: translateX(-30%);
}
main section#hello .content h4 {
  font-size: 1em;
}
main section#hello .content h4 p {
  color: var(--mixColor);
  display: inline;
}
main section#hello .content h1 {
  font-size: 4em;
  font-weight: 900;
  margin: 20px 0;
}
main section#hello .content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px 0;
}
main section#hello .content span {
  font-size: 1em;
  line-height: 1.5em;
}
main section#hello .content a.button {
  margin: 10px 0;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--textColor);
  transition: 0.3s;
}
main section#hello .content a.button:hover {
  transform: scale(1.2);
}
/* Main - ABOUT */
main section#about .content {
  width: 45vw;
  margin: 5% auto 0;
}
main section#about .content h1 {
  font-size: 3em;
  font-weight: 900;
  margin: 20px 0;
}
main section#about .content h1 p {
  color: var(--mixColor);
  display: inline;
}
main section#about .content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px 0;
}
main section#about .content span {
  font-size: 1em;
  line-height: 1.5em;
  display: block;
}
main section#about .content ul {
  display: grid;
  grid-template-columns: 50% 50%;
  margin: 10px 0 30px;
}
main section#about .content ul li {
  line-height: 1.3em;
}
main section#about .content ul li img {
  width: 20px;
  margin-right: 10px;
  transform: translateY(5px);
}
/* Main - EXPERIENCE  */
main section#experience .content {
  width: 45vw;
  margin: 10% auto 0;
  min-height: 350px;
  transform: translateX(20%);
}
main section#experience .content h1 {
  font-size: 3em;
  font-weight: 900;
  margin: 20px 0;
}
main section#experience .content h1 p {
  color: var(--mixColor);
  display: inline;
}
main section#experience .content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px 0;
}
main section#experience .content .tab-container {
  display: grid;
  grid-template-columns: 25% 75%;
  margin: 20px 0 10px;
}
main section#experience .content .tab-container .tab-left ul {
  border-left: 1px solid var(--textColor);
  height: 150px;
}
main section#experience .content .tab-container .tab-left ul li {
  padding: 7px 10px;
  cursor: pointer;
}
main section#experience .content .tab-container .tab-left ul li:hover {
  font-weight: bold;
}
main section#experience .content .tab-container .tab-left ul li.active {
  border-left: 3px solid var(--textColor);
  transform: translateX(0px);
  font-weight: bold;
}
main section#experience .content .tab-container .tab-right > div {
  display: none;
}
main section#experience .content .tab-container .tab-right > div.active {
  display: block;
}
main section#experience .content .tab-container .tab-right .detail .title {
  font-weight: 700;
}
main section#experience .content .tab-container .tab-right .detail .date {
  font-style: italic;
  color: var(--mixColor);
  margin: 5px 0 10px;
}
main
  section#experience
  .content
  .tab-container
  .tab-right
  .detail
  .description
  ul
  li {
  list-style-type: circle;
  list-style-position: inside;
  line-height: 1.7em;
}
/* Main - Project */
main section#project .content {
  width: 70vw;
  margin: 3% auto 0;
}
main section#project .content h1 {
  font-size: 3em;
  font-weight: 900;
  margin: 20px 0;
}
main section#project .content h1 p {
  color: var(--mixColor);
  display: inline;
}
main section#project .content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px 0;
}
/* Main - Project - Left Thumbnail */
main section#project .item-left {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}
main section#project .item-left .thumbnail {
  position: absolute;
  width: 500px;
  z-index: -1;
}

main section#project .item-left > div {
  width: 100%;
  text-align: right;
  margin: 15px 0;
}

main section#project .item-left > div.category {
  font-weight: 700;
}
main section#project .item-left > div.title {
  font-weight: 900;
  font-size: 2em;
}
main section#project .item-left > div.description {
  border: 1px solid var(--mixColor);
  background-color: var(--backgroundColor);
  z-index: 4;
  padding: 10px;
  width: 50%;
  text-align: right;
  box-shadow: 1px 1px 3px var(--mixColor);
  transform: translateX(100%);
}
main section#project .item-left > div.languages p {
  display: inline;
  margin-left: 10px;
  border-bottom: 1px solid var(--mixColor);
  padding-bottom: 3px;
}
main section#project .item-left > div.action p {
  display: inline;
  margin-left: 10px;
}
main section#project .item-left > div.action p img {
  height: 22px;
  transition: 0.3s;
}
main section#project .item-left > div.action p img:hover {
  transform: translateX(-5px) scale(1.2);
}

/* Main - Project - Right Thumbnail */
main section#project .item-right {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}
main section#project .item-right .thumbnail {
  position: absolute;
  width: 500px;
  z-index: -1;
  right: 0px;
}

main section#project .item-right > div {
  width: 100%;
  text-align: left;
  margin: 15px 0;
}

main section#project .item-right > div.category {
  font-weight: 700;
}
main section#project .item-right > div.title {
  font-weight: 900;
  font-size: 2em;
}
main section#project .item-right > div.description {
  border: 1px solid var(--mixColor);
  background-color: var(--backgroundColor);
  z-index: 4;
  padding: 10px;
  width: 50%;
  text-align: left;
  box-shadow: 1px 1px 3px var(--mixColor);
}
main section#project .item-right > div.languages p {
  display: inline;
  margin-right: 10px;
  border-bottom: 1px solid var(--mixColor);
  padding-bottom: 3px;
}
main section#project .item-right > div.action p {
  display: inline;
  margin-right: 10px;
}
main section#project .item-right > div.action p img {
  height: 22px;
  transition: 0.3s;
}
main section#project .item-right > div.action p img:hover {
  transform: translateX(5px) scale(1.2);
}
/* Main - Other Project */
main section#side-project .tab-container .tab-control ul {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: nowrap;
  flex-direction: row;
}
main section#side-project .tab-container .tab-control li {
  cursor: pointer;
}
main section#side-project .tab-container .tab-control li.active {
  font-weight: bold;
}
main section#side-project .tab-container .tab-control li:not(:last-child):after {
  content: "/";
  margin: 0 10px;
}
main section#side-project .tab-container .tab-content {
  position: relative;
}
main section#side-project .tab-container .tab-right > div {
  display: none;
}
main section#side-project .tab-container .tab-right > div.active {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

main section#side-project h1 {
  font-size: 3em;
  font-weight: 900;
  margin: 20px 0;
  text-align: center;
}
main section#side-project h1 p {
  color: var(--mixColor);
  display: inline;
}
main section#side-project .content {
  width: 70vw;
  margin: 3% auto 0;
}

main section#side-project .content .item {
  margin: 20px;
  width: calc(100% / 4 - 40px);
  cursor: pointer;
  color: #fff;
}
@media screen and (max-width: 1400px) {
  main section#side-project .content .item {
    width: calc(100% / 3 - 40px);
  }
}
@media screen and (max-width: 1024px) {
  main section#side-project .content .item {
    width: calc(100% / 2 - 40px);
  }
}
@media screen and (max-width: 768px) {
  main section#side-project .content .item {
    width: 100%;
    margin: 20px 0;
  }
}
main section#side-project .content .item .tech-stack p {
  float: right;
  margin: 10px;
}
/* Main - Contact */
main section#contact .content {
  width: 45vw;
  margin: 15% auto 0;
  text-align: center;
}
main section#contact .content h4 {
  font-size: 1em;
}
main section#contact .content h4 p {
  color: var(--mixColor);
  display: inline;
}
main section#contact .content h1 {
  font-size: 3em;
  font-weight: 900;
  margin: 20px 0;
}
main section#contact .content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px 0;
}
main section#contact .content span {
  font-size: 1em;
  line-height: 1.5em;
}
main section#contact .content a.button {
  margin: 10px 0;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--textColor);
  transition: 0.3s;
}
main section#contact .content a.button:hover {
  transform: scale(1.2);
}
@media screen and (max-width: 1024px) {
  main section#project .content h2 {
    font-size: 2em;
    font-weight: 700;
    margin: 10px 0;
  }
  main section#project .item-left .thumbnail {
    position: relative;
    width: 100%;
    z-index: -1;
  }
  main section#project .item-left > div.description,
  main section#project .item-right > div.description {
    width: 100%;
    transform: none;
  }
  main section#project .item-right .thumbnail {
    position: relative;
    width: 100%;
    z-index: -1;
  }
}
@media screen and (max-width: 768px) {
  nav ul {
    /* right: 0; */
  }
  aside {
    display: none;
  }
  main section > .content {
    width: 90% !important;
    transform: unset !important;
  }
  main section > .content h1,
  main section > .content h2,
  main section > .content h3,
  main section > .content h4 {
    text-align: center;
  }
  main section#hello .content div {
    text-align: center;
  }
  main section#hello .content a.button {
    padding: 5px 10px;
  }
}
@media screen and (max-width: 525px) {
  nav {
    position: fixed;
    height: 55px;
  }
  nav ul li {
    margin: 0px 10px 0px;
    line-height: 20px;
  }
  /* nav ul li:last-child {
    margin: 0px 15px 0px 0px;
  } */
  main section#hello .content a.button {
    padding: 5px 10px;
  }
}
footer {
  font-size: 0.8em;
  font-weight: 400;
  text-align: center;
  text-decoration: underline;
  margin: 30px auto 20px;
}
.icons {
  text-align: right;
}
.icons a {
  color: #fff;
  margin: 3px 10px;
  display: inline-block;
}
.icons a:hover {
  color: #ccc;
}