* {
  margin: 0;
  padding: 0;
  font-family: "Karla", sans-serif;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}

body {
  filter: brightness(1.2);
  background-size: cover;
  font-size: 20px;
  color: #f0f0f0;
}
header {
  background-size: 100% auto;
  overflow: hidden;
  position: relative;
  padding-bottom: 50px;
}
header img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
header nav {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  gap: 10px;
  background-color: rgba(100, 0, 166, 0.473);
}
header nav span {
  font-family: "Playwrite AU QLD", cursive;
  font-optical-sizing: auto;
  font-weight: 900;
  font-size: 30px;
  margin-left: 8%;
  margin-right: 18px;
  min-width: 75px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
header nav span:hover {
  text-shadow: 0px 3px 20px rgb(247, 255, 17);
  transform: scale(1.15);
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-right: 8%;
}

header nav ul li a {
  color: rgb(255, 255, 255);
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-size: 25px;
  transition: color 0.3s ease;
}
header nav ul li a:hover {
  color: yellow;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: rgb(221, 0, 255);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

#type-animation {
  color: Yellow;
}
header .container {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  padding: 15px 30px 0px 30px;
}
.first-p {
  padding: 60px 0px 0px 0px;
  font-size: 45px;
  animation: ani3 1.5s ease 0.2s forwards;
  position: relative;
  /* width: 800px; */
}
@keyframes ani3 {
  0% {
    opacity: 0%;
    right: 50px;
  }
  100% {
    opacity: 100%;
    right: 0px;
  }
}
.first-p .hello {
  display: block;
  font-size: 20px;
  opacity: 70%;
  margin-bottom: 20px;
}
.first-p .span2 {
  display: block;
  margin-top: 20px;
  font-size: 30px;
}

header .container .edit-img {
  position: relative;
  min-width: 348px;
  height: 348px;
  opacity: 0;
  overflow: hidden;
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
  animation: ani2 1.5s ease 0.4s forwards;
}
header .container .edit-img:hover {
  box-shadow: 0px 0px 100px #ff3aff;
}
@keyframes ani2 {
  0% {
    opacity: 0%;
    top: 50px;
  }
  50% {
    top: -10px;
  }
  100% {
    opacity: 100%;
    top: 0px;
  }
}

header .container .edit-img .img-container {
  position: absolute;
  width: 346px;
  height: 345px;
  border-radius: 50%;
  background: linear-gradient(#340073, #7300ff, #ffe600);
  filter: brightness(1.5);
  box-shadow: 5px 5px 20px rgb(200, 0, 255);
  animation: ani 0.8s linear infinite;
}
@keyframes ani {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
header .container img {
  width: 340px;
  height: 340px;
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}
.shadow {
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.293),
    rgba(0, 0, 0, 0.562),
    rgba(0, 0, 0, 0.721)
  );
  box-shadow: -5px -5px 500px rgb(0, 0, 0);
  z-index: 2;
}
/* ---------------------------------------- */
.about-sec {
  position: relative;
  margin: 50px 0px 20px 100px;
  max-width: 600px;
  min-width: 200px;
  line-height: 35px;
  /* opacity: 0; */
}
.about-sec h2 {
  position: relative;
  opacity: 0%;
  font-size: 60px;
  margin-bottom: 40px;
  animation: ani2 1.5s ease 1s forwards;
}
.about-sec p {
  position: relative;
  opacity: 0%;
  margin-bottom: 50px;
  font-size: 25px;
  animation: ani2 1.5s ease 1.2s forwards;
}
/* ------------------------------------ */
.education-sec {
  position: relative;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.education-sec .container {
  margin-left: 70px;
  margin-bottom: 150px;
}
.education-sec img {
  position: absolute;
  width: 100%;
  height: 150%;
  top: 0;
  left: 0;
  z-index: -1;
}
.education-sec h2 {
  font-size: 60px;
  margin-top: 60px;
  margin-bottom: 30px;
}
.education-sec p {
  margin-bottom: 50px;
  font-size: 25px;
  max-width: 600px;
  min-width: 200px;
  line-height: 35px;
}
.education-sec #shadow {
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.293),
    rgba(0, 0, 0, 0.562),
    rgba(0, 0, 0, 0.721)
  );
  box-shadow: -5px -5px 500px rgb(0, 0, 0);
  z-index: 2;
}

#skills {
  padding: 100px;
  text-align: center;
  color: #000000;
  background-image: url("backgrounds/Gemini_Generated_Image_4rhyij4rhyij4rhy.png");
  background-repeat: no-repeat;
  background-size: 200% 230%;
  background-position: 20%;
}
#skills h2 {
  font-size: 45px;
  padding-bottom: 20px;
}

.skill {
  opacity: 0; /* start hidden, GSAP will animate to 1 */
  transform: translateY(50px);
  margin: 15px;
  font-size: 1.5rem;
  display: inline-block;
  color: #000000; /* ensure text color contrasts with background */
  padding: 10px 18px;
  border-radius: 12px;
  background: #db28bd75; /* subtle pill background */
  backdrop-filter: blur(4px);
}
/* -------------------------------------------- */

.projects-sec {
  position: relative;
  padding: 50px 100px 100px 100px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.projects-sec p {
  margin-bottom: 50px;
  font-size: 60px;
}
.projects-sec .background-img {
  position: absolute;
  width: 100%;
  height: 150%;
  top: 0;
  left: 0;
  z-index: -1;
}

.projects-sec .cards-container {
  padding: 15px;
  background-color: #471d6eb5;
  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  flex-flow: row wrap;
  gap: 25px;
  border-radius: 18px;
}
.projects-sec .cards-container .card {
  width: 350px;
  min-width: 270px;
  max-width: 450px;
  position: relative;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  border: 3px black solid;
  overflow: hidden;
}
.projects-sec .cards-container .card img {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  cursor: pointer;
}
.projects-sec .cards-container .card .discription {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  display: flex;
  padding-top: 30px;
  box-sizing: border-box;
  text-align: center;
  line-height: 30px;
  /* prettier-ignore */
  background: linear-gradient(to top, rgb(51, 51, 51),rgba(51, 51, 51, 0.9) , rgba(51, 51, 51, 0.4));
  top: 100%;
  transition: all 1s ease;
  cursor: pointer;
}
.projects-sec .cards-container .card a {
  position: absolute;
  width: 150px;
  height: 60px;
  background-color: #ffffeba5;
  bottom: 15px;
  border-radius: 45px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  color: black;
  transition: background-color 0.3s ease, color 0.5s ease, box-shadow 0.2s ease;
  animation: ani1 3s ease-in-out infinite;
}
.projects-sec .cards-container .card a:hover {
  background-color: #ff3cc7;
  color: #ffffeb;
  box-shadow: 0px -5px 50px#ffffeb;
}
@keyframes ani1 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.contact-sec img {
  width: 50px;
  height: 50px;
}
.contact-sec {
  background-image: url("img/galaxy.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.contact-sec .big-container {
  /* width: fit-content; */
  padding: 80px 0px 100px 10%;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 10px;
  overflow: hidden;
}
.contact-sec .big-container .contact-info {
  padding: 50px 5% 50px 5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-sec .big-container .contact-info span {
  font-size: 65px;
  margin-bottom: 20px;
  font-family: "Playwrite AU QLD", cursive;
}
.contact-sec .big-container .contact-info .email a,
.contact-sec .big-container .contact-info .phone-num a {
  color: #f0f0f0;
  text-decoration: underline;
  text-decoration-color: red;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.contact-sec .big-container .contact-info .email,
.contact-sec .big-container .contact-info .phone-num {
  padding: 10px 70px 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  color: #f0f0f0;
}
.contact-sec .big-container .contact-info .email img,
.contact-sec .big-container .contact-info .phone-num img {
  width: 35px;
  height: 35px;
}

.contact-sec .big-container .contact-info .phone-num {
  width: fit-content;
  margin-bottom: 20px;
}
.contact-sec .big-container .contact-info .contain-buttons {
  padding: 20px 0px 50px 0px;
  display: flex;
  gap: 15px;
}
.contact-sec .big-container .contact-info .contain-buttons img {
  width: 40px;
  height: 40px;
}
.contact-sec .big-container .contact-info .cv-btn {
  width: fit-content;
  padding: 20px;
  font-size: 30px;
  background-color: red;
  color: white;
  font-weight: 900;
  border-radius: 18px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.contact-sec .big-container .contact-info .cv-btn:hover {
  transform: scale(1.15);
  box-shadow: 0px -5px 40px#ffffeb;
}

.contact-sec .big-container .form-container {
  width: 50%;
  background-color: #000000;
}
.contact-sec .big-container .form-container form {
  padding: 20px 50px 0px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 30px;
  top: 50px;
}

.contact-sec .big-container .form-container form input {
  padding: 8px;
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 12px;
  background-color: #282828;
  font-size: 16px;
  color: white;
}
.contact-sec .big-container .form-container form input:focus {
  outline: none;
  border: 3px rgb(255, 38, 0) solid;
}

.contact-sec .big-container .form-container form textarea {
  padding: 8px;
  max-width: 100%;
  min-height: 200px;
  max-height: 250px;
  border: none;
  border-radius: 12px;
  background-color: #282828;
  font-size: 16px;
  margin-bottom: 25px;
  color: white;
}
.contact-sec .big-container .form-container form textarea:focus {
  outline: none;
  border: 3px rgb(255, 38, 0) solid;
}
.contact-sec .big-container .form-container form button {
  width: 150px;
  height: 60px;
  border-radius: 20px;
  background-color: rgb(255, 38, 0);
  font-size: 20px;
  font-weight: 900;
  color: #f0f0f0;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.contact-sec .big-container .form-container form button:hover {
  transform: scale(1.15);
  box-shadow: 0px -5px 40px#ffffeb;
}

.contact-sec .big-container .contain-buttons a {
  border-radius: 50%;
  transition: transform 0.5s ease, box-shadow 0.2s ease;
}
.contact-sec .big-container .contain-buttons a:hover {
  transform: translateY(-10px);
  box-shadow: 0px -5px 40px#ffffeb;
}

@media (max-width: 1260px) {
  .contact-sec .big-container .form-container {
    width: 45%;
  }
}
@media (max-width: 1220px) {
  .first-p {
    font-size: 40px;
    min-width: 718px;
  }
  .contact-sec .big-container .contact-info span {
    font-size: 60px;
  }
  .contact-sec .big-container .contact-info .email,
  .contact-sec .big-container .contact-info .phone-num {
    font-size: 15px;
  }
  .contact-sec .big-container .contact-info .email img,
  .contact-sec .big-container .contact-info .phone-num img {
    width: 30px;
    height: 30px;
  }
  .contact-sec .big-container .contact-info .cv-btn {
    padding: 17px;
    font-size: 25px;
  }
}

@media (max-width: 1140px) {
  header .container {
    /* justify-content: center; */
    justify-content: center;
  }
  header .container .edit-img {
    margin-right: 250px;
    margin-left: 250px;
    order: 1;
  }
  header .container .first-p {
    order: 2;
  }
}

@media (max-width: 970px) {
  .projects-sec .cards-container .card {
    flex-grow: 1;
  }
  .projects-sec .cards-container .card img {
    height: 350px;
  }
  header nav ul {
    gap: 20px;
  }
  .contact-sec .big-container .contact-info {
    padding-left: 1%;
  }
}
@media (max-width: 855px) {
  .contact-sec .big-container .contact-info span {
    font-size: 55px;
  }
  .contact-sec .big-container .contact-info .email,
  .contact-sec .big-container .contact-info .phone-num {
    font-size: 13px;
  }
  .contact-sec .big-container .contact-info .email img,
  .contact-sec .big-container .contact-info .phone-num img {
    width: 28px;
    height: 28px;
  }
  .contact-sec .big-container .contact-info .cv-btn {
    padding: 16px;
    font-size: 23px;
  }
}
@media (max-width: 770px) {
  header nav ul li a {
    font-size: 20px;
  }
  header nav span {
    font-size: 25px;
  }
  header nav {
    padding: 15px;
  }
  .contact-sec .big-container .contact-info {
    margin-left: 30px;
  }
  .contact-sec .big-container {
    padding-left: 20px;
    justify-content: center;
  }
  .contact-sec .big-container .form-container form input {
    min-width: 420px;
  }
  .contact-sec .big-container .form-container form textarea {
    min-width: 420px;
  }
  .contact-sec .big-container .form-container {
    padding-left: 0px;
    padding-right: 150px;
  }
  .first-p {
    font-size: 30px;
    padding-left: 120px;
  }
  .about-sec {
    margin-left: 50px;
  }
  .about-sec h2 {
    font-size: 55px;
  }
  .about-sec p {
    font-size: 20px;
  }
  .education-sec .container {
    margin-left: 20px;
  }
  .education-sec h2 {
    font-size: 55px;
  }
  .education-sec p {
    font-size: 20px;
  }
}
@media (max-width: 630px) {
  .first-p {
    font-size: 26px;
    padding-left: 200px;
  }
  header nav ul li a {
    font-size: 15px;
  }
  header nav span {
    font-size: 20px;
  }
  header nav {
    padding: 13px;
  }
  header .container .edit-img {
    min-width: 306px;
    height: 306px;
  }
  header .container .edit-img .img-container {
    width: 306px;
    height: 305px;
  }
  header .container img {
    width: 300px;
    height: 300px;
  }
  .about-sec h2 {
    font-size: 50px;
  }
  .about-sec p {
    font-size: 17px;
  }
  .education-sec h2 {
    font-size: 50px;
  }
  .education-sec p {
    font-size: 17px;
  }
  .contact-sec .big-container .form-container form input {
    min-width: 380px;
  }
  .contact-sec .big-container .form-container form textarea {
    min-width: 380px;
  }
}

@media (max-width: 550px) {
  header nav ul {
    gap: 10px;
    flex-flow: row wrap;
  }
  header nav {
    gap: 0px;
    flex-flow: row wrap;
    justify-content: center;
  }

  .first-p {
    font-size: 23px;
    padding-left: 270px;
  }
  .contact-sec .big-container .form-container form input {
    min-width: 300px;
  }
  .contact-sec .big-container .form-container form textarea {
    min-width: 300px;
  }
}
@media (max-width: 460px) {
  .first-p {
    font-size: 21px;
    padding-left: 320px;
  }
  header .container .edit-img {
    min-width: 296px;
    height: 296px;
  }
  header .container .edit-img .img-container {
    width: 296px;
    height: 295px;
  }
  header .container img {
    width: 290px;
    height: 290px;
  }
}
@media (max-width: 410px) {
  .contact-sec .big-container .form-container {
    padding-right: 200px;
  }
  .first-p {
    font-size: 21px;
    padding-left: 350px;
  }
}

@media (max-width: 410px) {
  .first-p {
    font-size: 20px;
    padding-left: 400px;
  }
  .first-p .hello {
    font-size: 17px;
  }
  .bla {
    display: none;
  }
}
