*,
html {
  margin: 0;
  padding: 0;
  font-family: Work Sans;
  color: #222222;
  scroll-behavior: smooth;
}

@font-face {
  font-family: Work Sans;
  src: url(../font/WorkSans-VariableFont_wght.ttf);
}

a {
  text-decoration: none;
}

.home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80vh;
}

.splash {
  visibility: hidden;
  transition: 1s ease-in-out;
  background-color: #88b4af;
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash img {
  animation: myAnim 15s ease-in-out 0s infinite normal forwards;
}

/* Popup */
.popup {
  position: fixed;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  z-index: 4;
}

.popup-card {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 10px;
  border: 2px solid #222222;
  border-radius: 8px;
  box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
    0px 10px 0px 0px rgba(34, 34, 34, 100);
  transition: 0.2s ease-in-out;
}

.popup-card img {
  width: 100%;
}

.popup-card button {
  cursor: pointer;
  display: flex;
  margin-top: 8%;
  align-items: center;
  font-weight: 500;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #222222;
  border-radius: 8px;
  background-color: transparent;
  padding: 10px;
  transition: 0.3s ease-in-out;
}

/* Popup */

/* Header */
.header {
  padding: 30px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img {
  width: 60px;
}

.header-menu {
  width: 32%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu p {
  cursor: pointer;
}

.menu-active {
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #505050;
  padding: 10px 20px;
  cursor: pointer;
}

.header div p {
  transition: 0.3s ease-in-out;
}

.header div p:hover {
  font-weight: 600;
}

.header div p:active {
}

.hamburger {
  display: none;
}

.list-hamburger {
  display: none;
}

.list-hamburger p {
  cursor: pointer;
}
/* Header */

/* Hero */
.hero {
  padding: 0px 70px;
  margin-top: 5%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.hero .left {
  height: fit-content;
  width: 60%;
}

.greeting {
  display: flex;
  align-items: end;
  gap: 8px;
}

.greeting-name {
  width: 340px;
}

@keyframes greeting {
  0% {
    margin-bottom: 0px;
    opacity: 0;
  }
  
  50% {
    margin-bottom: 20px;
    opacity: 1;
}

  60% {
    margin-bottom: 0px;
  }
  
  70% {
    margin-bottom: 5px;
  }

  80% {
    margin-bottom: 0px;
  }
}

.left p {
  margin-top: 8px;
  font-size: 20px;
}

.cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta button {
  cursor: pointer;
  background-color: white;
  padding: 12px 20px;
  border: 2px solid #222222;
  border-radius: 5px;
  box-shadow: 7px 7px 0px -2px rgba(41, 41, 41, 100),
    7px 7px 0px 0px rgba(34, 34, 34, 100);
  transition: 0.2s ease-in-out;
}

.cta button:hover {
  box-shadow: 10px 10px 0px -2px rgba(41, 41, 41, 100),
    10px 10px 0px 0px rgba(34, 34, 34, 100);
}

.cta button:active {
  box-shadow: 3px 3px 0px -2px rgba(41, 41, 41, 100),
    3px 3px 0px 0px rgba(34, 34, 34, 100);
}

.cta div {
  display: flex;
  gap: 20px;
}

.cta img {
  width: 20px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.cta img:hover {
  rotate: 360deg;
}

.hero .right {
  display: flex;
  justify-content: end;
  align-items: center;
  width: fit-content;
}

/* .hero .right img { */
/* width: 65%; */
/* } */

.hero-front {
  animation: myAnim 15s ease-in-out 0s infinite normal forwards;
  width: 55%;
  position: absolute;
  z-index: 2;
}

.hero-back {
  animation: myAnim 19s ease-in-out 0s infinite normal forwards;
  width: 80%;
}

/* Hero */

/* About */
.about {
  margin-top: 5%;
  padding: 0px 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  animation: myAnim 13s ease-in-out 0s infinite normal forwards;
  width: 100%;
  background-color: white;
  padding: 40px 40px;
  border: 2px solid #222222;
  border-radius: 8px;
  box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
    0px 10px 0px 0px rgba(34, 34, 34, 100);
  transition: 0.2s ease-in-out;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header img {
  width: 50px;
  border-radius: 100%;
  border: 1px solid #222222;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text {
  margin-left: 70px;
  margin-top: 20px;
  text-align: justify;
  font-size: 18px;
}

.card-footer {
  margin-top: 2%;
  margin-left: 70px;
  display: flex;
  justify-content: space-between;
}

.card-footer div {
  display: flex;
  gap: 10px;
}

.card-footer img {
  width: 20px;
}

/* Educations */
.educations {
  width: 50%;
  padding: 0px 10px;
  justify-content: start;
  display: flex;
}

.education-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.education-title {
  font-size: 25px;
  font-weight: 600;
}

.education-card {
  width: 97%;
  background-color: white;
  padding: 10px 10px;
  border: 2px solid #222222;
  border-radius: 8px;
  box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
    0px 10px 0px 0px rgba(34, 34, 34, 100);
  transition: 0.2s ease-in-out;
}

.education-card:hover {
  box-shadow: 10px 10px 0px -2px rgba(41, 41, 41, 100),
    10px 10px 0px 0px rgba(34, 34, 34, 100);
}

.education-card div {
  width: 100%;
  display: flex;
  gap: 3%;
  justify-content: space-between;
  align-items: center;
}

.education-card button {
  cursor: pointer;
  display: flex;
  margin-top: 8%;
  align-items: center;
  font-weight: 500;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #222222;
  border-radius: 8px;
  background-color: transparent;
  padding: 10px;
  transition: 0.3s ease-in-out;
}

.education-card button:hover {
  background-color: #eaeaea;
}

.education-card h2 {
  animation: educations 2s ease 0s infinite normal forwards;
}

.education-card p {
  margin-top: 5px;
}

.resume {
  margin-top: 4%;
  margin-bottom: 10%;
  display: flex;
  padding: 0px 70px;
  gap: 20px;
}
/* Educations */

/* Skills */
.skill {
  margin-top: 4%;
  margin-bottom: 8%;
  display: flex;
  flex-direction: column;
  padding: 0px 70px;
  gap: 20px;
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  transition: 0.3s ease-in-out;
  justify-content: space-between;
  row-gap: 30px;
}

.skill-card {
  display: flex;
  align-items: center;
  width: 22%;
  background-color: white;
  padding: 10px;
  border: 2px solid #222222;
  border-radius: 8px;
  gap: 10px;
  box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
    0px 10px 0px 0px rgba(34, 34, 34, 100);
}

.skill-card img {
  border-radius: 6px;
  border: 2px solid #222222;
  padding: 5px;
  width: 30px;
}

.skill-card div {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 100%;
}

.skill-card p {
  font-size: 20px;
  font-weight: 600;
}
/* Skills */

/* Projects */
.projects {
  margin-top: 2%;
  margin-bottom: 10%;
  display: flex;
  flex-direction: column;
  padding: 0px 70px;
  gap: 30px;
}

.projects-row {
  display: flex;
  justify-content: space-between;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20%;
  height: auto;
  background-color: white;
  padding: 15px;
  padding-bottom: 20px;
  border: 2px solid #222222;
  border-radius: 8px;
  gap: 30px;
  box-shadow: 0px 13px 0px -2px rgba(41, 41, 41, 100),
    0px 13px 0px 0px rgba(34, 34, 34, 100);
}

.project-card img {
  margin-top: 2%;
  width: 100%;
  border: 1px solid #222222;
  border-radius: 5px;
  box-shadow: 0px -6px 0px -2px rgba(34, 34, 34, 100),
    0px -6px 0px 0px rgba(34, 34, 34, 100);
}

.project-card h2 {
  font-size: 23px;
  font-weight: 600;
}

.project-card p {
  font-size: 15px;
}

.project-card button {
  font-weight: 600;
  width: 100%;
  background-color: white;
  cursor: pointer;
  padding: 15px;
  border: 1.5px solid #222222;
  border-radius: 8px;
  margin-top: 8%;
}

.project-card button:hover {
  background-color: #88b4af;
  color: white;
}

/* Projects */

@keyframes showContent {
  0% {
    margin-top: 20%;
  }

  100% {
    margin-top: 15%;
  }
}

@keyframes myAnim {
  0%,
  100% {
    transform: translateY(0);
  }

  10%,
  30%,
  50%,
  70% {
    transform: translateY(-8px);
  }

  20%,
  40%,
  60% {
    transform: translateY(8px);
  }

  80% {
    transform: translateY(6.4px);
  }

  90% {
    transform: translateY(-6.4px);
  }
}

@keyframes educations {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}
/* Responsive */
@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 500px) {
  
  html {
    font-family: Work Sans;
  }

  .header img {
    width: 45px;
  }

  .home {
    height: 87vh;
  }

  /* Popup */
  .popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    z-index: 4;
  }

  .popup-card {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 10px;
    border: 2px solid #222222;
    border-radius: 8px;
    box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
      0px 10px 0px 0px rgba(34, 34, 34, 100);
    transition: 0.2s ease-in-out;
  }

  .popup-card img {
    width: 100%;
  }

  .popup-card button {
    cursor: pointer;
    display: flex;
    margin-top: 8%;
    align-items: center;
    font-weight: 500;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #222222;
    border-radius: 8px;
    background-color: transparent;
    padding: 10px;
    transition: 0.3s ease-in-out;
  }

  /* Popup */

  .header {
    margin-top: 10%;
    padding: 0px 30px;
    align-items: start;
  }

  .header-menu {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
  }
  
  
  .btn-hamburger {
    height: 50px;
    display: inline;
    rotate: 0deg;
  }

  
  .btn-hamburger:active {
    animation: .3s hamburgerActive;
  }


  .list-hamburger {
    display: none;
    width: 150px;
    margin-top: 15%;
    z-index: 100;
    right: 8%;
    position: absolute;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    border: 2px solid #505050;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
    0px 10px 0px 0px rgba(34, 34, 34, 100);
  }
  
  @keyframes hamburgerShow {
    0% {
      right: -50%;
      gap: 0px
    }

    100% {
      gap: 0px;
      right: 8%;
    }
  }

  @keyframes hamburgerHide {
    0% {
      gap: 0px;
      right: 8%;
    }

    100% {
      right: -50%;
      gap: 0px
    }

  }

  @keyframes hamburgerGap {
    0% {
      gap: 0px;
    }
    
    100% {
      gap: 20px;
    }
  }

  @keyframes hamburgerHideGap {
    0% {
      gap: 20px;
    }

    100% {
      gap: 0px;
    }
    
  }

  @keyframes hamburgerActive {
    0% {
      rotate: 180deg;
    }
    
    100% {
      rotate: 360deg;
    }
  }

  .hero {
    padding: 0px 10px;
    margin-top: 20%;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 50px;
    align-items: center;
  }

  .hero .left {
    padding: 0px;
    justify-content: center;
    align-items: center;
    width: fit-content;
  }

  .greeting {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .greeting div {
    display: flex;
    align-items: end;
    justify-content: center;
  }

  .greeting-hi {
    width: 30%;
  }

  .greeting-name {
    width: 60%;
    transition: 0.5s ease-in-out;
  }

  .left p {
    font-size: 96%;
    text-align: center;
  }

  .cta {
    padding: 0% 5%;
  }

  .hero .right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
  }

  .hero-front {
    animation: myAnim 15s ease-in-out 0s infinite normal forwards;
    width: 60%;
    position: absolute;
    z-index: 2;
  }

  .hero-back {
    animation: myAnim 19s ease-in-out 0s infinite normal forwards;
    width: 85%;
  }
  .about {
    margin-top: 15%;
    padding: 0px 30px;
  }

  .card {
    width: 100%;
    padding: 30px 30px;
  }

  .about-text {
    margin-left: 0px;
    font-size: 16px;
  }

  .card-footer {
    margin-left: 0px;
    margin-top: 10%;
  }

  .resume {
    margin-top: 20%;
    flex-direction: column;
    padding: 0px 30px;
    gap: 50px;
    align-items: center;
  }

  .educations {
    width: 100%;
  }

  .education-card {
    width: 95%;
  }

  .education-right {
    gap: 25px;
    width: 100%;
  }

  .exp {
    padding: 0px 20px;
    display: flex;
  }

  .exp-left {
    width: 20%;
  }

  .exp-end {
    align-items: end;
  }

  .exp-title {
    width: 85%;
  }

  .exp-right {
    align-items: end;
    justify-content: end;
    width: 100%;
  }

  .exp-card {
    width: 85%;
    height: 190px;
  }

  /* Skills */
  .skill {
    margin-top: 20%;
    margin-bottom: 30%;
    display: flex;
    flex-direction: column;
    padding: 0px 30px;
    gap: 20px;
  }

  .skill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 30px;
  }

  .skill-card {
    display: flex;
    align-items: center;
    width: 40%;
    background-color: white;
    padding: 10px;
    border: 2px solid #222222;
    border-radius: 8px;
    box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
      0px 10px 0px 0px rgba(34, 34, 34, 100);
  }

  .skill-card img {
    border-radius: 6px;
    border: 2px solid #222222;
    padding: 5px;
    width: 30px;
  }

  .skill-card div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .skill-card p {
    font-size: 14px;
    text-align: center;
    font-weight: 600;
  }
  /* Skills */

  .projects {
    margin-top: 15%;
    margin-bottom: 30%;
    display: flex;
    flex-direction: column;
    padding: 0px 30px;
    gap: 20px;
  }

  .projects-row {
    flex-direction: column;
    gap: 40px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90%;
    height: auto;
    background-color: white;
    padding: 15px;
    padding-bottom: 20px;
    border: 2px solid #222222;
    border-radius: 8px;
    gap: 30px;
    box-shadow: 0px 10px 0px -2px rgba(41, 41, 41, 100),
      0px 10px 0px 0px rgba(34, 34, 34, 100);
  }

  .project-card img {
    margin-top: 2%;
    width: 100%;
    border: 1px solid #222222;
    border-radius: 5px;
    box-shadow: 0px -6px 0px -2px rgba(34, 34, 34, 100),
      0px -6px 0px 0px rgba(34, 34, 34, 100);
  }

  .project-card h2 {
    font-size: 23px;
    font-weight: 600;
  }

  .project-card button {
    font-weight: 600;
    width: 100%;
    background-color: white;
    padding: 15px;
    border: 1.5px solid #222222;
    border-radius: 5px;
    margin-top: 8%;
  }
}
