/* .inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

/* .montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

body {
  background-color: #eefcff;
  height: max-content;
  width: 100vw;
  position: relative;
  margin: 0px;
  margin-bottom: 0px;
  overflow-x: hidden;
}
nav {
  display: flex;
  position: absolute;
  flex-direction: row;
  background-color: transparent;
  width: 100%;
  height: max-content;
  justify-content: center;
  animation: navani 1s;
}
@keyframes navani {
  from {
    margin-top: -80px;
  }
  to {
    margin-top: 0px;
  }
}
#navcontainer {
  display: flex;
  flex-direction: row;
  width: 50%;
  position: relative;
  justify-content: space-around;
}

nav .option {
  color: black;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  width: 10%;
}
nav .option:hover {
  text-decoration: underline;
  color: #0077b6;
}
#scrolltotop {
  background-color: #00b4d8;
  width: 60px;
  aspect-ratio: 1/1;
  border-radius: 40%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
@keyframes moveonleft {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes moveonright {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(0px);
  }
}
#scrolltotop i {
  font-size: 25px;
  transform: rotate(-90deg);
  color: #eefcff;
}
#scrolltotop:hover {
  background-color: #008aa5;
}
#profile {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: row;
  margin-top: 80px;
}
@keyframes textareaani {
  from {
    margin-left: -50px;
    opacity: 0.5;
  }
  to {
    margin-left: 0px;
    opacity: 1;
  }
}
#profile .textarea {
  width: 50%;
  margin-left: 10%;
  display: flex;
  flex-direction: column;
}
#profile .textarea .shorttext {
  width: 100%;
  font-family: "Inter", sans-serif;
  animation: textareaani 0.6s ease-out forwards;
}
#profile .textarea .shorttext .highlighttext {
  color: #0077b6;
  font-weight: 500;
  font-size: 15px;
}
#profile .textarea .shorttext .highlighttext-tittle {
  color: #023e8a;
  font-weight: 800;
  font-size: 20px;
}
#profile .textarea .longtext {
  font-family: "Montserrat", sans-serif;
  animation: textareaani 0.6s ease-out forwards;
}
#profile .textarea .longtext .about-title {
  color: #00b4d8;
  font-family: "Montserrat", sans-serif;
}
#profile .textarea .longtext .highlighttext {
  color: #00b4d8;
  font-family: "Montserrat", sans-serif;
}
#profile .imagearea {
  width: 50%;
  margin-right: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#profile .imagearea .backgroundblue {
  width: 50%;
  aspect-ratio: 1/1;
  background-color: #caf0f8;
  position: relative;
  border-radius: 100%;
}

#profile .imagearea .backgroundblue .image {
  width: 96%;
  position: absolute;
  height: 120%;
  border-bottom-left-radius: 100% 80%;
  border-bottom-right-radius: 100% 80%;
  bottom: 2%;
  left: 2%;
  overflow: hidden;
}
@keyframes imageani {
  from {
    transform: translateY(100px);
    opacity: 0.25;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}
#profile .imagearea .backgroundblue .image img {
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 100% 80%;
  border-bottom-right-radius: 100% 80%;
  animation: imageani 1s ease-out;
}
.circle {
  aspect-ratio: 1/1;
  border-radius: 100%;
  position: absolute;
}
/* #circle-1 {
  animation: changecolour10 4s infinite linear;
}

#circle-2 {
  animation: changecolour9 3.75s infinite linear;
}

#circle-3 {
  animation: changecolour8 3.75s infinite linear;
}

#circle-4 {
  animation: changecolour7 2s infinite linear;
}

#circle-5 {
  animation: changecolour6 4.25s infinite linear;
}

#circle-6 {
  animation: changecolour5 3.5s infinite linear;
}

#circle-7 {
  animation: changecolour4 3.25s infinite linear;
}

#circle-8 {
  animation: changecolour3 3s infinite linear;
}

#circle-9 {
  animation: changecolour2 4.5s infinite linear;
}

#circle-10 {
  animation: changecolour1 3s infinite linear;
} */

.circlecontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}

.circlecontainer .container {
  width: 10%;
  position: relative;
}
@keyframes changecolour1 {
  0%,
  100% {
    background-color: #00b4d8;
    width: 33px;
  }
  50% {
    background-color: #0077b6;
    width: 23px;
  }
}

@keyframes changecolour2 {
  0%,
  100% {
    width: 18px;
    background-color: #0077b6;
  }
  50% {
    background-color: #00b4d8;
    width: 33px;
  }
}

@keyframes changecolour3 {
  0%,
  100% {
    width: 28px;
    background-color: #023e8a;
  }
  50% {
    background-color: #00b4d8;
    width: 30px;
  }
}

@keyframes changecolour4 {
  0%,
  100% {
    width: 40px;
    background-color: #caf0f8;
  }
  50% {
    background-color: #023e8a;
    width: 30px;
  }
}

@keyframes changecolour5 {
  0%,
  100% {
    width: 15px;
    background-color: #0096c7;
  }
  50% {
    background-color: #caf0f8;
    width: 20px;
  }
}

@keyframes changecolour6 {
  0%,
  100% {
    width: 25px;
    background-color: #48cae4;
  }
  50% {
    width: 30px;
    background-color: #0096c7;
  }
}
@keyframes changecolour7 {
  0%,
  100% {
    width: 20px;
    background-color: #ade8f4;
  }
  50% {
    width: 28px;
    background-color: #0077b6;
  }
}
@keyframes changecolour8 {
  0%,
  100% {
    width: 35px;
    background-color: #90e0ef;
  }
  50% {
    width: 28px;
    background-color: #03045e;
  }
}
@keyframes changecolour9 {
  0%,
  100% {
    width: 30px;
    background-color: #0077b6;
  }
  50% {
    width: 20px;
    background-color: #00b4d8;
  }
}
@keyframes changecolour10 {
  0%,
  100% {
    width: 10px;
    background-color: #00b4d8;
  }
  50% {
    width: 18px;
    background-color: #48cae4;
  }
}

.edusectioncontainer {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 70px;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
  border-top: 2px solid #03045e;
  position: relative;
  height: max-content;
  flex-direction: column;
}
.edusectioncontainer .container {
  width: 100%;
  /* height:700px; */
  max-width: 1300px;
  overflow: hidden;
  border-radius: 0px;
  height: 90%;
  position: absolute;
  top: 80px;
  left: 0;
}
.edusection {
  width: 115%;
  /* max-width: 1400px; */
  height: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("hinhanh/01212022-1047259374-coding-classes_scanrail.webp");
  background-size: cover;
}
.edusection::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle closest-side,
    rgba(255, 255, 255, 0.9),
    transparent 90%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: var(--shine-opacity, 0);
  transition: opacity 0.3s ease;
  z-index: 12;
}
.diviconforedusection {
  width: max-content;
  height: max-content;
  font-size: 130px;
  padding: 30px;
  border-radius: 40%;
  position: absolute;
  top: -30px;
  left: -30px;
  background-color: #eefcff;
  border: 5px solid;
}
.solecontainer {
  width: 150px;
  height: 150px;
  position: relative;
  display: flex;
}
@keyframes goUp {
  0% {
    top: 500px; /* start lower */
    visibility: hidden;
  }
  100% {
    top: -30px; /* move up */
    visibility: visible;
  }
}
.edusectioncontainer .text {
  width: 100%;
  height: 10%;
  font-family: "Montserrat", sans-serif;
  visibility: hidden;
}
@keyframes edutextani {
  from {
    transform: translateY(50px);
  }
  to {
    transform: translateY(0px);
  }
}
.skillsection {
  margin-top: 70px;
  border-top: 2px solid #03045e;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 100px;
  padding-top: 20px;
}
.skillsection .text {
  font-size: 25px;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: row;
  visibility: hidden;
}
.skillsection .text h2 i {
  color: black;
}
.skillsection .text h2 {
  color: #00b4d8;
  margin: 0px;
}
/* === Container === */
#circleinskillconatiner {
  position: relative;
  border-radius: 50%;
  width: 80%;
  margin-left: 20%;
  aspect-ratio: 1 / 1;
  background-image: url(hinhanh/Screenshot\ 2025-08-29\ 040249.png);

  /* 
  background: linear-gradient(60deg, #00b4d8, #0077b6, #90e0ef); */
  box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.4);

  /* smooth transition for hover motion */
  transition: transform 1.2s ease, background 1.2s ease;
  transform-origin: center center;
}

#circleinskillconatiner:hover {
  transform: skew(20deg) scaleY(0.5);
}

/* === Inner Circles === */
.circleinskill {
  background-color: white;
  opacity: 0.1;
  box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.4);
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 50%;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(1);

  /* smooth animation */
  transition: transform 1.2s ease, opacity 1.2s ease;
  transform-origin: center;
}

/* === Different sizes and staggered timing === */
#circleinskill {
  width: 90%;
}
#circleinskill1 {
  width: 80%;
  transition-delay: 0.1s;
}
#circleinskill2 {
  width: 70%;
  transition-delay: 0.2s;
}
#circleinskill3 {
  width: 60%;
  transition-delay: 0.3s;
}
#circleinskill4 {
  width: 50%;
  transition-delay: 0.4s;
}
#circleinskill5 {
  width: 40%;
  transition-delay: 0.5s;
}

/* === Hover: squash to ellipse + spin === */
#circleinskillconatiner:hover #circleinskill {
  transform: translate(calc(-50% + 3%), calc(-50% - 8%)) scaleY(1);
  opacity: 0.5;
}
#circleinskillconatiner:hover #circleinskill1 {
  transform: translate(calc(-50% + 6%), calc(-50% - 16%)) scaleY(1);
  opacity: 0.5;
}

#circleinskillconatiner:hover #circleinskill2 {
  transform: translate(calc(-50% + 12%), calc(-50% - 32%)) scaleY(1);
  opacity: 0.5;
}
#circleinskillconatiner:hover #circleinskill3 {
  transform: translate(calc(-50% + 18%), calc(-50% - 48%)) scaleY(1);
  opacity: 0.5;
}
#circleinskillconatiner:hover #circleinskill4 {
  transform: translate(calc(-50% + 30%), calc(-50% - 80%)) scaleY(1);
  opacity: 0.5;
}
#circleinskillconatiner:hover #circleinskill5 {
  transform: translate(calc(-50% + 48%), calc(-50% - 128%)) scaleY(1);
  opacity: 0.5;
}
.skillsection .container {
  display: flex;
  flex-direction: row;
  justify-content: center;

  position: relative;

  margin-top: 20px;
  visibility: hidden;
  margin-top: 80px;
}
.skillsection .skilldetail {
  position: relative;
  padding-left: 5px;
  font-family: "Montserrat", sans-serif;
  width: 50%;
}
.skillsection .skilldetail h2 {
  color: #023e8a;
  text-align: center;
}

#toado1 {
  width: 0px;
  height: 0px;
  top: 50%;
  left: 50%;
  position: absolute;
}
#toado2 {
  width: 0px;
  height: 0px;
  top: 50%;
  left: 50%;
  position: absolute;
}

.skillsection #softskill {
  color: rgb(0, 0, 0);
}
.skillsection #proskill {
  color: #000000;
}
.skillsection #proskill p {
  width: 80%;
  opacity: 0; /* hidden before animation */
}

/* when animation is applied */
.skillsection #proskill p.animated {
  animation: proskillani 0.5s ease-in forwards;
}
.skillsection #softskill p {
  opacity: 0; /* hidden before animation */
  width: 100%;
}

/* when animation is applied */
.skillsection #softskill p.animated {
  animation: proskillani 0.5s ease-in forwards;
}

@keyframes proskillani {
  from {
    transform: translatey(50px);
    opacity: 0;
  }
  to {
    transform: translatey(0px);
    opacity: 1;
  }
}
@keyframes proskillani2 {
  from {
    transform: translatey(0px) translatex(50px);
    opacity: 0;
  }
  to {
    transform: translatey(0px) translatex(0);
    opacity: 1;
  }
}
@keyframes proskillani3 {
  from {
    transform: translatey(0px) translatex(0%);
    opacity: 0;
  }
  to {
    transform: translatey(0px) translatex(50%);
    opacity: 1;
  }
}

.skillimageconatiner {
  width: 100%;
  height: 500px;
  position: relative;
}
.skillimage {
  background-image: url(hinhanh/Screenshot\ 2025-08-29\ 040436.png);
  width: 50%;
  height: 70%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  border-radius: 15px;
  bottom: 20%;
  left: 25%;
  transition: transform 0.5s ease-in-out;
}
.skillimageback {
  width: 50%;
  height: 70%;
  position: absolute;
  border-radius: 15px;
  transition: transform 0.5s ease-in-out;
}
.skillsection #proskill .highlighttext {
  font-weight: 600;
}

/* === Animation setup === */
#skillimageback {
  background-color: #a0c4ff;
  bottom: 5%;
  left: 40%;
  animation: ani2 1.5s linear infinite 0.3s;
}

#skillimageback1 {
  background-color: #2670ff;
  bottom: 10%;
  left: 35%;
  animation: ani2 1.5s linear infinite 0.2s;
}

#skillimageback2 {
  background-color: #a0c4ff;
  bottom: 15%;
  left: 30%;
  animation: ani2 1.5s linear infinite 0.1s;
}

/* === Smoother gradient flow === */
@keyframes ani2 {
  0% {
    background-color: #a0c4ff;
  } /* light blue */
  20% {
    background-color: #7dafff;
  } /* slightly deeper */
  40% {
    background-color: #4d8cff;
  } /* medium blue */
  60% {
    background-color: #2670ff;
  } /* deeper blue */
  80% {
    background-color: #0047b3;
  } /* dark blue */
  100% {
    background-color: #a0c4ff;
  } /* back to light blue */
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  } /* go up */
  100% {
    transform: translateY(0);
  } /* return smoothly */
}
#skillimageback,
#skillimageback1,
#skillimageback2,
.skillimage {
  transition: none; /* we use animation instead */
}

.skillimagesmallcon:hover .skillimage {
  animation: floatUpDown 0.5s ease-in-out forwards;
}

/* Staggered timing */
.skillimagesmallcon:hover #skillimageback {
  animation: floatUpDown 0.5s ease-in-out 0.3s forwards,
    ani2 1.5s linear 0.3s infinite;
}

.skillimagesmallcon:hover #skillimageback1 {
  animation: floatUpDown 0.5s ease-in-out 0.2s forwards,
    ani2 1.5s linear 0.2s infinite;
}

.skillimagesmallcon:hover #skillimageback2 {
  animation: floatUpDown 0.5s ease-in-out 0.1s forwards,
    ani2 1.5s linear 0.1 s infinite;
}

.edutimelinecontainer {
  width: 100%;
  z-index: 10;
  height: 90%;
}
.parent {
  display: grid;
  grid-template-columns: 1fr 10px 1fr;
  grid-template-rows: repeat(7, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  visibility: hidden;
}
@keyframes div1ani {
  from {
    transform: translatex(-100px);
    opacity: 0; /* ✅ thêm mờ dần để nhìn mượt hơn */
  }
  to {
    transform: translatex(0);
    opacity: 1;
  }
}
@keyframes div2ani {
  from {
    transform: translatex(100px);
    opacity: 0; /* ✅ thêm mờ dần để nhìn mượt hơn */
  }
  to {
    transform: translatex(0);
    opacity: 1;
  }
}
@keyframes ani5 {
  from {
    height: 0%;
  }
  to {
    height: 100%;
  }
}
@keyframes ani6 {
  from {
    transform: skewY(-20deg) translateX(100%);
    opacity: 1;
  }
  to {
    transform: skewY(-20deg) translateX(0%);
    opacity: 1;
  }
}

.straightline {
  position: absolute;
  background-color: #008aa5;
  transform-origin: 100% 0%;
  opacity: 0;
  height: 100%;
  width: 10%;
  left: 0%;
  margin-top: -3.6%;
  z-index: 0;
  /* animation: ani6 0.5s ease-in 0.75s forwards; */
}

.straightline1 {
  position: absolute;
  background-color: #00b4d8;
  box-shadow: 8px 0 10px -8px black, -8px 0 10px -8px black;
  border-radius: 20px;
  /* animation: ani5 0.75s ease-in forwards; */
  width: 15%;
  margin-top: 0%;
  left: 10%;
  z-index: 1;
}

#div1 {
  grid-area: 1 / 1 / 4 / 2;
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  padding-top: 00px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
#div2 {
  grid-area: 3 / 3 / 6 / 4;
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  /* padding-top: 5%; */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  /* animation: div2ani 0.5s ease-out forwards; */
}

#div3 {
  grid-area: 5 / 1 / 8 / 2;
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: flex;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  /* animation: div1ani 0.8s ease-out forwards; */
}
#div5 {
  grid-area: 1 / 2 / 8 / 3;
  width: 95%;
  height: 100%;
  overflow: hidden;
}

#div5 #timeline {
  transform-origin: top; /* ✅ mọc từ trên xuống */
  border-radius: 20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #03045e 0%, #0096c7 50%, #90e0ef 100%);
}

@keyframes div5ani {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -100% 50%;
  } /* only X changes */
}
#parent .div .inforcontainer {
  width: 90%;
  height: 95%;
  overflow: scroll;
  background-color: rgb(255, 255, 255);
  border-radius: 20px;
  border: 5px solid #00b4d8;
  scrollbar-width: none; /* hides scrollbar */
  -ms-overflow-style: none; /* IE/Edge */
  margin-right: 10%;
  position: relative;
}

#parent.div.inforcontainer::-webkit-scrollbar {
  display: none;
}

#parent .div .inforcontainer p {
  font-family: "Montserrat", sans-serif;
  color: black;
  padding-left: 5px;
  margin-right: 5%;
}
#parent .div .inforcontainer .nameandlogo h2 {
  padding-left: 5px;
  font-family: "Montserrat", sans-serif;
  color: #00b4d8;
  font-size: 1.25em;
  margin-right: 5px;
}
#parent .div .inforcontainer .nameandlogo {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 5px;
}
#parent .div .inforshadow {
  width: 14%;
  aspect-ratio: 1/1.5;

  position: absolute;
  clip-path: polygon(0% 0%, 50% 50%, 0% 100%);
  left: 90%;
}
#parent #div1 .inforcontainer {
  border-color: #03045e;
}
#parent #div1 .inforshadow {
  background-color: #03045e;
}
#parent #div3 .inforcontainer {
  border-color: #90e0ef;
}
#parent #div3 .inforshadow {
  background-color: #90e0ef;
}

#parent #div2 .inforcontainer {
  border-color: #0096c7;
  margin-right: 0%;
  margin-left: 10%;
}

#parent #div2 .inforshadow {
  clip-path: polygon(0% 50%, 50% 0%, 50% 100%);
  left: 0%;
  position: absolute;
  left: 3%;
  background-color: #0096c7;
}

.logocontainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.location {
  position: absolute;
  left: 50%;
  top: 50%;
}
.circlelocation {
  display: none;
  width: 1px;
  position: absolute;
  left: 0%;
  top: 0%;
}
.projectsection {
  margin-top: 20px;
  border-top: 2px solid #03045e;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
 
  font-family: "Montserrat", sans-serif;
}
.projectsection .text {
  color: #00b4d8;
}
.projectsection .text h1 i {
  color: black;
}
.projectsection .container {
  position: relative;
  overflow: hidden;
}
.projectsection .container .project {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  color: white;
  display: flex;
  margin-top: 10%;
  position: relative;
}
@keyframes ani7 {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
.projectsection .container #project {
  flex-direction: row-reverse;
}
.projectsection .container #project2 {
  flex-direction: row-reverse;
}
.projectsection .container #project1 {
  flex-direction: row;
}
.projectsection .container #project .texting {
  z-index: 2;
  width: 50%;
  padding: 20px;
  /* padding-right: 50px; */
  background-color: #0096c7;
  transform: translateX(-100%);
  /* animation: ani7 1s ease-in 1.25s forwards; */
}
.projectsection .container #project2 .texting {
  width: 50%;
  padding: 20px;
  padding-right: 50px;
  background-color: #0096c7;
  z-index: 2;
  opacity: 0;
  /* animation: ani7 1s ease-in 2.25s forwards; */
}
.projectsection .container #project1 .texting {
  background-color: #0096c7;
  padding-left: 8%;
  width: 50%;
  padding-left: 8%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1;
  opacity: 0;
  /* animation: ani7 1s ease-in 2.25s forwards; */
}
.projectsection .container #project1 .image {
  width: 50%;
  height: 100%; /* set a height */
  background-size: cover, cover;
  background-position: 100% 0%;
  background-repeat: no-repeat;
  background-image: url("hinhanh/Screenshot\ 2025-08-29\ 124329.png");
  z-index: 2;
  opacity: 0;
  /* animation: ani7 1s ease-in 1.25s forwards; */
}
.projectsection .container #project .image {
  width: 50%;

  height: 100%; /* set a height */
  background-size: cover, cover;
  background-position: 0% 0%, 100% 0%;
  background-repeat: no-repeat;

  background-image: url("hinhanh/Screenshot 2025-08-29 072032.png"),
    url("hinhanh/Screenshot 2025-08-29 072003.png");
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  opacity: 0;
  /* animation: ani7 1s ease-in 2.25s forwards; */
}

.projectsection .container #project2 .image {
  width: 50%;

  height: 100%; /* set a height */
  background-size: cover, cover;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background-image: url("hinhanh/python-programming-language.webp");
  opacity: 0;
  /* animation: ani7 1s ease-in 2.25s forwards; */
}
@keyframes slideBackground {
  0% {
    background-position: 0% 0%, 100% 0%;
  }
  50% {
    background-position: 100% 0%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, 100% 0%;
  }
}
#funpart {
  width: 100%;
  height: 800px;
  position: relative;
}
#funpart .container {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-top: 5px solid #0077b6;
  position: absolute;
  bottom: 0px;
}

.fle-ce-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#thankmes {
  width: 50%;
  z-index: 10;
  background-color: white;
  border-radius: 20px;
  border: 5px solid #023e8a;
  overflow: hidden;
}

.fle-ce-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; /* ensure container width matches box */
}

.locforthankmes {
  position: relative;
  z-index: 13;
  padding: 20px;
  text-align: center;
  background-color: #caf0f8;
}

.locforthankmes::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle closest-side,
    rgba(2, 62, 138, 0.4),
    transparent 80%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: var(--shine-opacity, 0);
  transition: opacity 0.3s ease;
  z-index: 12;
}

#thankmes h1 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  color: #023e8a;
}
@keyframes finani {
  from {
    transform: translateY(600px);
  }
  to {
    transform: translateY(0px);
  }
}
@media (max-width: 768px) {
  /* or any width you want */
  .circlecontainer {
    display: none;
  }
  #navcontainer {
    width: 100%;
  }
  nav .option {
    font-size: 10px;
  }
  #profile {
    flex-direction: column-reverse;
  }
  #profile .textarea {
    width: 96%;
    margin-top: 50px;
    margin-left: 2%;
    margin-right: 2%;
  }
  #profile .imagearea {
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
  .skillsection .container {
    flex-direction: column;
  }
  .skillsection .skilldetail {
    width: 100%;
  }

  .parent {
    display: grid;
    grid-template-columns: 20px auto; /* first column 200px, second 300px */

    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 10px;
  }

  #div5 {
    grid-area: 1 / 1 / 4 / 2;
    padding-top: 0px;
    height: 90%;
    width: 10px;
  }

  @keyframes div1ani {
    from {
      transform: translatex(100px);
      opacity: 0; /* ✅ thêm mờ dần để nhìn mượt hơn */
    }
    to {
      transform: translatex(0);
      opacity: 1;
    }
  }
  @keyframes div2ani {
    from {
      transform: translatex(100px);
      opacity: 0; /* ✅ thêm mờ dần để nhìn mượt hơn */
    }
    to {
      transform: translatex(0);
      opacity: 1;
    }
  }
  #div1 {
    grid-area: 1 / 2 / 2 / 3;
    padding-top: 0px;
    /* animation: divani 0.3s ease-out forwards; */
  }

  #div2 {
    grid-area: 2 / 2 / 3 / 3;
    padding-top: 0px;
  }
  #div3 {
    grid-area: 3 / 2 / 4 / 3;
    padding-top: 0px;
  }

  .edusectioncontainer {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
  .edusectioncontainer .container #edusection {
    display: none;
    opacity: 0;
  }

  .edutimelinecontainer {
    height: max-content;
  }
  #parent .div .inforcontainer {
    margin-left: 10%;
    margin-right: 0;
  }
  #parent .div .inforcontainer .nameandlogo h2 {
    font-size: 1em;
  }
  #parent .div .inforshadow {
    clip-path: polygon(0% 50%, 50% 0%, 50% 100%);
    left: 0%;
    position: absolute;
    left: 3%;
    background-color: #0096c7;
  }
  #parent .div .inforcontainer .nameandlogo {
    margin-left: 5%;
  }
  #parent .div .inforcontainer p {
    margin-left: 5%;
  }

  #parent #div2 .inforcontainer .nameandlogo h2 {
    font-size: 1em;
  }

  #parent #div2 .inforcontainer .nameandlogo {
    margin-left: 5%;
  }
  #parent #div2 .inforcontainer p {
    margin-left: 5%;
  }

  @keyframes gradientShift1 {
    0% {
      background-position: 50% 100%;
    }
    100% {
      background-position: 50% 0%;
    } /* only Y changes */
  }

  .projectsection .container #project .texting {
    width: 80%;
    overflow: scroll;
  }
  .projectsection .container #project1 .texting {
    width: 80%;
    overflow: scroll;
  }
  .projectsection .container #project2 .texting {
    width: 80%;
    overflow: scroll;
  }
  
  #funpart {
    display: none;
  }
  #circleinskillconatiner {
    display: none;
  }
  .skillimageconatiner {
    display: none;
  }
  #pointhandcontainer {
    display: none;
  }
}
#afigurecontainer3 {
  transform: translateX(90px) translateY(40px) rotate(35deg);
}
@keyframes ani4 {
  0% {
    transform: translateX(90px) translateY(40px) rotate(35deg);
  }
  50% {
    transform: translateX(90px) translateY(40px) rotate(40deg);
  }
  200% {
    transform: translateX(90px) translateY(40px) rotate(35deg);
  }
}
#afigurecontainer2 {
  transform: translateX(100px) translateY(20px) rotate(20deg);
}
@keyframes ani41 {
  0% {
    transform: translateX(100px) translateY(20px) rotate(20deg);
  }
  50% {
    transform: translateX(100px) translateY(20px) rotate(25deg);
  }
  200% {
    transform: translateX(100px) translateY(20px) rotate(20deg);
  }
}

#afigurecontainer1 {
  transform: translateX(115px) translateY(10px) rotate(10deg);
}
@keyframes ani42 {
  0% {
    transform: translateX(115px) translateY(10px) rotate(10deg);
  }
  50% {
    transform: translateX(115px) translateY(10px) rotate(15deg);
  }
  200% {
    transform: translateX(115px) translateY(10px) rotate(10deg);
  }
}
.figure {
  position: absolute;
  clip-path: polygon(
    75% 0%,
    77% 0.1%,
    79% 0.5%,
    81% 1.1%,
    83% 2%,
    85% 3.2%,
    87% 4.7%,
    89% 6.5%,
    91% 8.6%,
    93% 11%,
    95% 13.6%,
    97% 16.5%,
    98.5% 19%,
    99.3% 21.2%,
    100% 25%,
    100% 100%,
    90% 99%,
    85% 96.5%,
    80% 94%,
    75% 90.5%,
    70% 87%,
    65% 79.5%,
    60% 70%,
    55% 59.5%,
    50% 50%,
    8px 50%,
    8px 0
  );
  transform-origin: bottom left;
  background-color: #000000;
  overflow: visible;
}

.figure2 {
  position: absolute;
  transform: translateY(5px);
  clip-path: polygon(
    75% 0%,
    77% 0.1%,
    79% 0.5%,
    81% 1.1%,
    83% 2%,
    85% 3.2%,
    87% 4.7%,
    89% 6.5%,
    91% 8.6%,
    93% 11%,
    95% 13.6%,
    97% 16.5%,
    98.5% 19%,
    99.3% 21.2%,
    100% 25%,
    100% 100%,
    90% 99%,
    85% 96.5%,
    80% 94%,
    75% 90.5%,
    70% 87%,
    65% 79.5%,
    60% 70%,
    55% 59.5%,
    50% 50%,
    0 50%,
    0 0
  );
  transform-origin: bottom left;
  background-color: #00b4d8;
}
@keyframes wavingfigure {
  from {
    transform: rotate(15deg) translateX(110px) translateY(0px);
    border-top-left-radius: 10px;
  }
  to {
    transform: rotate(0deg) translateX(110px) translateY(0px);
    border-top-left-radius: 0px;
  }
}
@keyframes wavingfigureshadow {
  from {
    transform: rotate(15deg) translateX(110px) translateY(-5px);
    border-top-left-radius: 10px;
  }
  to {
    transform: rotate(0deg) translateX(110px) translateY(-5px);
    border-top-left-radius: 0px;
  }
}

@keyframes pointup {
  from {
    transform: rotate(60deg);
    opacity: 0;
  }
  to {
    transform: rotate(20deg);
    opacity: 1;
  }
}
#pointhandcontainer {
  position: absolute;
  visibility: hidden;

  transform-origin: 0px 50%;
  top: 45%;
  left: -120%;
}
#pointhandcontainer:hover #afigurecontainer1 {
  animation: ani42 1s ease-in-out forwards;
}

#pointhandcontainer:hover #afigurecontainer2 {
  animation: ani41 1s ease-in-out forwards;
}

#pointhandcontainer:hover #afigurecontainer3 {
  animation: ani4 1s ease-in-out forwards;
}

#pointingfig {
  position: absolute;
  width: 170px;

  height: 25px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    99.8% 8%,
    99.2% 16%,
    98.2% 24%,
    96.8% 32%,
    95% 40%,
    92.8% 48%,
    90.2% 56%,
    87.2% 64%,
    83.8% 72%,
    80% 80%,
    0% 100%
  );

  transform-origin: 120px -0px;
  border-top-left-radius: 10px;
  background-color: #00b4d8;
  /* animation: wavingfigure 1.5s ease-in alternate forwards; */
}
#pointingfigshadow {
  /* animation: wavingfigureshadow 1.5s ease-in alternate forwards ; */
  position: absolute;
  border-top-left-radius: 20px;
  width: 175px;
  height: 35px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    99.8% 8%,
    99.2% 16%,
    98.2% 24%,
    96.8% 32%,
    95% 40%,
    92.8% 48%,
    90.2% 56%,
    87.2% 64%,
    83.8% 72%,
    80% 80%,
    0% 100%
  );

  transform-origin: 120px -5px;

  background-color: #000000;
}
#plam {
  position: absolute;
  width: 120px;
  height: 80px;
  background-color: #00b4d8;
  clip-path: polygon(0% 0%, 0% 80%, 40% 100%, 100% 90%, 100% 0%);
  border-top-right-radius: 10px;
}
#plamshadow {
  position: absolute;
  width: 120px;
  height: 90px;
  background-color: #000000;
  clip-path: polygon(0% 0%, 0% 80%, 40% 100%, 100% 90%, 100% 0%);
  transform: translateY(-5px);
  border-top-right-radius: 10px;
}
#wrist {
  background-color: #00b4d8;
  width: 120px;
  height: 65px;
  position: absolute;
  transform-origin: top right;
  transform: translateX(-120px) rotate(-20deg);
}
#wristshadow {
  background-color: #000000;
  width: 120px;
  height: 75px;
  position: absolute;
  transform-origin: top right;
  transform: translateX(-120px) translateY(-5px) rotate(-20deg);
}
