* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

@font-face {
  font-family: "Hocus";
  src: url("../fonts/hocusregular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "maveric";
  src: url("../fonts/maveric_demo-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

/*NAVBAR START */

nav {
  width: 100vw;
  position: fixed;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2em 0;
  transition: all 1s;
}

.my-logo {
  padding-left: 5em;
  margin-right: auto;
}

ul.ul-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 2em;
}

li.li-nav {
  list-style-type: none;
}

li.li-nav a,
a.my-project {
  font-size: 0.7em;
  font-weight: 600;
  font-style: normal;
  color: #283841;
  text-decoration: none;
}

a.my-project {
  padding-right: 5rem;
  margin-left: 10em;
}

/* NAVBAR END */

/* HOME PAGE START */
main#homePage {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-image: url(../img/patern.webp);
}

main#homePage::after {
  content: "";
  width: 100vw;
  height: 25vh;
  background-image: linear-gradient(to top, white, white, transparent);
  position: absolute;
  top: 80%;
  left: 0;
  z-index: 3;
  opacity: 0.9;
}

figure.hero-img {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  overflow-y: hidden;
}

main#homePage img.my-profil {
  height: 80%;
  z-index: 2;
}

figure.hero-img figcaption {
  position: absolute;
}

figure.hero-img figcaption.name {
  top: 20%;
  font-size: 1.5rem;
  white-space: nowrap;
}

figure.hero-img figcaption.job-designer {
  top: 30%;
  font-family: "Press Start 2P", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6.5vw;
  white-space: nowrap;
  -webkit-text-stroke: 1px whitesmoke;
  z-index: 3;
  cursor: default;
}

figure.hero-img figcaption.job-developer {
  top: 48%;
  font-family: "Press Start 2P", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6.5vw;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #000;
  z-index: 1;
  cursor: default;
}

.animation-job-designer {
  color: transparent;
  -webkit-text-stroke: 1px #000 !important;
  z-index: 1 !important;
}

.animation-job-developer {
  color: black !important;
  -webkit-text-stroke: 1px #ffffff !important;
  z-index: 3 !important;
}

section.container-CTA {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-around;
  bottom: 20%;
  padding: 0.1em 0;
}

section.container-CTA header.subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 300px;
}

header.subtitle h3 {
  margin-bottom: 0.5em;
}

section.container-CTA figure.my-partner {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-right: 5em;
  gap: 0.5em;
}

figure.my-partner figcaption {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0.5em;
}

span.underline {
  position: relative;
}

span.underline::before {
  content: "";
  width: 3.5em;
  height: 1.3px;
  position: absolute;
  bottom: -0.2em;
  left: -1em;
  transform: rotate(-5deg);
  background-color: #000;
}

span.underline::after {
  content: "";
  width: 2em;
  height: 1.3px;
  position: absolute;
  bottom: -0.4em;
  left: 0%;
  transform: rotate(-6deg);
  background-color: #000;
}

.container-btnCTA {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 5em;
  z-index: 5;
  bottom: 5%;
}

.btn-cta1 {
  padding: 0.5em 1em;
  border: none;
  background-color: #000;
  color: white;
  box-shadow: -10px 15px 15px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -2px 6px 10px 0px rgba(0, 0, 0, 0.75);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-cta1:hover {
  border: 2px solid black;
  background-color: transparent;
  color: #7921ec;
  cursor: pointer;
}

.btn-cta2 {
  padding: 0.4em 1em;
  color: #7921ec;
  background-color: transparent;
  border: 2px solid black;
  box-shadow: -10px 15px 15px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -2px 6px 10px 0px rgba(0, 0, 0, 0.75);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-cta2:hover {
  color: white;
  background-color: black;
  border: none;
}

/* HOME PAGE END */

/* INTRODUCE PAGE START */
section#Introduction {
  height: 120vh;
  position: sticky;
  top: 0%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
  border-radius: 100px 100px 0 0;
}

.robot {
  position: absolute;

}

.container-card1 {
  position: absolute;
  top: 30%;
  left: 25%;
  height: 150px;
  width: 140px;
  color: rgb(0, 255, 234);
  perspective: 800px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container-card2 {
  position: absolute;
  top: 30%;
  right: 25%;
  height: 150px;
  width: 140px;
  color: rgb(179, 0, 255);
  perspective: 800px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.card {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.355);
  border-radius: 2rem;
  position: relative;
  transition: transform 1500ms;
  transform-style: preserve-3d;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10%;
  position: absolute;
  width: 50%;
  background-color: transparent;
  border: 2px solid black;
  top: 0;
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  /* box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.7); */
}

.bgcard-top1 {
  box-shadow: 0px 0px 10px 5px rgb(0, 255, 234);
}

.bgcard-top2 {
  box-shadow: 0px 0px 10px 5px rgb(179, 0, 255);
}

.card-top-para {
  font-size: 12px;
  font-weight: bold;
}

.container-card1:hover > .card {
  cursor: pointer;
  transform: rotateX(180deg) rotateZ(-180deg);
}

.container-card2:hover > .card {
  cursor: pointer;
  transform: rotateX(180deg) rotateZ(-180deg);
}

.front,
.back {
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bg-front1,.bgback1{
  box-shadow: 0px 0px 10px 5px rgb(0, 255, 234);
}

.bg-front2,.bgback2{
  box-shadow: 0px 0px 10px 5px rgb(179, 0, 255);
}

.back {
  background: rgba(0, 0, 0, 0.355);
  transform: rotateX(180deg) rotateZ(-180deg);
}

.heading {
  font-size: 14px;
  font-weight: bold;
}

.follow {
  font-size: 9px;
  font-weight: 500;
}

.my-deskripsi p {
  text-align: center;
  font-size: 8px;
}

.h3-intro {
  position: absolute;
  bottom: 35%;
  left: 20%;
  color: black;
  background-color: rgba(255, 255, 255, 0.671);
  font-size: 14px;
  border-radius: 20px;
  padding: 5px 20px; 
}

.p-intro {
  position: absolute;
  width: 20vw;
  bottom: 27%;
  left: 20%;
  color: white;
  font-size: 9px;
  text-align: justify;
}

section#Introduction .light {
  position: absolute;
  height: 30vh;
  width: 30vh;
  border-radius: 50%;
}
section#Introduction .shadow-left {
  filter: blur(100px);
  background-color: rgb(0, 195, 255);
  box-shadow: 0 0 100px  rgba(14, 247, 173, 0.693);
  left: 0%;
  top: 0;
  animation: lightLeft 7s  infinite;
}

@keyframes lightLeft {
  0%,
  100% {
    top: 100%;
  }
  50% {
    top: 0%;
  }
}

section#Introduction .shadow-right {
  filter: blur(100px);
  background-color: rgb(179, 0, 255);
  box-shadow: 0 0 100px  rgb(236, 33, 182, 0.6);
  right: 0%;
  bottom: 0;
  animation: lightRight 7s infinite;
}

@keyframes lightRight {
  0%,
  100% {
    top: 100%;
  }
  50% {
    top: 0%;
  }
}
/* INTRODUCE PAGE END */

/* ABOUT PAGE START */
section#About {
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 3;
  overflow: hidden;
  background-color: rgb(236, 236, 236);
}

section#About figure {
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  bottom: 0%;
}

section#About figure img {
  margin-top: auto;
  height: 80%;
  width: 70%;
  filter: drop-shadow(20px 20px 50px rgba(0, 0, 0, 0.4));
  z-index: 5;
}

section#About div.aa {
  width: 100%;
  position: absolute;
  background-color: #000;
  top: 30%;
  border-radius: 30px;
}

section#About figure figcaption {
  padding-top: 1.5%;
  color: white;
  font-family: "maveric";
  font-size: 5.5vw;
  word-spacing: 1.5em;
  text-wrap: nowrap;
  text-align: center;
}

section#About .p-about {
  display: flex;
  gap: 15em;
  padding: 0 6em;
  bottom: 30%;
  width: 100%;
  position: absolute;
}

section#About .p-about p {
  text-align: justify;
  font-size: 15px;
}

/* ABOUT PAGE END */

/* EDUCATIONAL BACKGROUND PAGE START */
section#education {
  position: relative;
  z-index: 2;
  height: 100vh;
  width: 100%;
  background-color: rgb(236, 236, 236);
}

h6.headline-EA {
  position: absolute;
  text-transform: uppercase;
  font-size: 8vw;
  line-height: 0.8em;
}

h6.headline-Education {
  top: 10%;
  left: 10%;
}

section h6 span {
  position: relative;
  letter-spacing: 5px;
  font-family: "hocus";
  font-weight: bold;
}

section h6::before {
  content: "";
  width: 1.5em;
  height: 2px;
  position: absolute;
  top: -5px;
  background-color: #000;
}
section h6::after {
  content: "";
  width: 1.5em;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: -1px;
  transform: rotate(-5deg);
  background-color: #000;
}

section#education article {
  position: absolute;
  top: 40%;
  width: 30%;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

section#education article h3{
  font-size: 14px;
  font-weight: 700;
}

section#education article p {
  font-size: 12px;
}

/* EDUCATIONAL BACKGROUND PAGE END */

/* ACHIEVMENT PAGE START */
section#achievement {
  position: relative;
  z-index: 2;
  height: 100vh;
  width: 100%;
  background-color: rgb(236, 236, 236);
}

h6.headline-Achievement {
  bottom: 10%;
  right: 10%;
}

section#achievement article {
  position: absolute;
  top: 30%;
  width: 30%;
  left: 10%;
  display: flex;
  flex-direction: column;
  align-items: start;

}

section#achievement article h6{
  font-size: 16px;
  font-weight: 700;
}

section#achievement article p {
  font-size: 14px;
  text-align: justify;
}

/* ACHIEVMENT PAGE END */

/* PROJECT PAGE START */
section#Project {
  position: sticky;
  z-index: 3;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #222;
  color: white;
  transition: all 1s;
  gap: 10%;
}

section#Project ul {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 80%;
  width: 80%;
  list-style-type: none;
}

section#Project ul li {
  height: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0.5%;
  border-top: 2px solid rgb(168, 168, 168);
  border-bottom: 2px solid rgb(168, 168, 168);
  list-style-type: none;
  color: white;
  text-transform: capitalize;
  transition: all 1s;
}

section#Project ul li:first-child {
  border-top: 3px solid rgb(168, 168, 168);
}

section#Project ul li:nth-last-child(1) {
  border-bottom: 3px solid rgb(168, 168, 168);
}

.container-textProject {
  margin-top: 2%;
}

section#Project .container-textProject a {
  font-size: 12px;
  color: #ffffff;
  transition: all 0.5s;
  text-decoration: none;
}

section#Project ul li img {
  height: 500px;
  width: 500px;
  filter: drop-shadow(10px 10px 0px rgba(0, 0, 0, 0.4));
  z-index: 3;
  transition: all 1s;
  border-radius: 20px;
  margin-right: 15%;
  pointer-events: none;
}

section#Project ul h5.year-project {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* PROJECT PAGE END */


@media (max-width: 1024px) {
  ul.ul-nav {
    gap: 1.5em;
  }

  li.li-nav a,
  a.my-project {
    font-size: 0.8em;
  }

  a.my-project {
    padding-right: 5rem;
    margin-left: 2rem;
  }

  section.container-CTA {
    z-index: 6;
  }

  .text-line {
    font-size: 15em;
  }

  section#Introduction .link-about {
    bottom: 4%;
  }

  section#About figure img {
    width: 80%;
  }

  section#About div.aa {
    bottom: 20%;
  }
}

@media (max-width: 768px) {
  .icon-menu {
    --gap: 5px;
    --height-bar: 5.5px;
    --pos-y-bar-one: 0;
    --pos-y-bar-three: 0;
    --scale-bar: 1;
    --rotate-bar-one: 0;
    --rotate-bar-three: 0;
    width: 25px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    cursor: pointer;
    position: fixed;
    top: 1%;
    left: 2%;
    z-index: 9;
  }

  .bar {
    position: relative;
    height: var(--height-bar);
    width: 100%;
    border-radius: 0.5rem;
    background-color: #9941fc;
  }

  .bar--1 {
    top: var(--pos-y-bar-one);
    transform: rotate(var(--rotate-bar-one));
    transition: top 200ms 100ms, transform 100ms;
  }

  .bar--2 {
    transform: scaleX(var(--scale-bar));
    transition: transform 150ms 100ms;
  }

  .bar--3 {
    bottom: var(--pos-y-bar-three);
    transform: rotate(var(--rotate-bar-three));
    transition: bottom 200ms 100ms, transform 100ms;
  }

  .check-icon:checked + .icon-menu > .bar--1 {
    transition: top 200ms, transform 200ms 100ms;
  }

  .check-icon:checked + .icon-menu > .bar--3 {
    transition: bottom 200ms, transform 200ms 100ms;
  }

  .check-icon:checked + .icon-menu {
    --pos-y-bar-one: calc(var(--gap) + var(--height-bar));
    --pos-y-bar-three: calc(var(--gap) + var(--height-bar));
    --scale-bar: 0;
    --rotate-bar-one: 45deg;
    --rotate-bar-three: -45deg;
  }
  /* FIN ICON-MENU */

  nav {
    display: block;
    flex-direction: column;
    height: 100vh;
    width: 40vw;
    right: 0%;
    transform: translateX(250px);
    gap: 1em;
    background-color: white;
    text-align: center;
    transition: all 2s;
  }

  .my-logo {
    padding-left: 0em;
    margin-right: 0;
    margin-bottom: 5em;
  }

  ul.ul-nav {
    flex-direction: column;
    justify-content: space-around;
    gap: 2em;
  }

  a.my-project {
    padding-right: 0rem;
    margin-left: 0%;
    transform: translateX(-40%);
  }

  section.container-CTA {
    z-index: 6;
  }

  section.container-CTA header.subtitle {
    margin-left: 50px;
    font-size: 12px;
    gap: 0em;
  }

  section.container-CTA figure.my-partner {
    text-wrap: nowrap;
    margin-right: 3em;
    /* gap: 0em; */
  }

  figure.hero-img figcaption.name {
    font-size: 1.1rem;
  }

  figure.hero-img figcaption.job-designer {
    top: 35%;
  }
  figure.hero-img figcaption.job-developer {
    top: 40%;
  }

  .text-line {
    font-size: 30vw;
  }

  section#Introduction .link-about h6 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  section#Introduction p:first-child {
    top: 10%;
  }

  section#Introduction p:nth-child(2) {
    top: 25%;
  }

  section#Introduction .link-about h6 {
    font-size: 1em;
    color: white;
    margin-bottom: 5px;
  }
  
  section#Introduction .link-about {
    width: 100%;
    bottom: 4%;
  }
  section#Introduction .link-about h6 {
    text-wrap: nowrap;
  }

  section#Introduction .link-about ul li {
    padding: 0px 10px;
  }

  section#About .p-about {
    flex-direction: column;
    gap: 1em;
    padding: 0 2em;
  }

  section#education article {
    width: 100%;
    align-items: center;
    text-align: center;
    right: 0%;
  }

  section#achievement article {
    width: 100%;
    left: 0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
