/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  line-height: 1.6;
  background-color: #ffffff;
  padding: 15px 15px 0px 15px;
}

.home {
  line-height: 1.6;
  /* background-color: #000000; */
  background: radial-gradient(#270a41, #000000);
  padding: 15px 15px 0px 15px;
}

.poppins {
  font-family: "Poppins", sans-serif;
}

.parisienne {
  font-family: "Parisienne", cursive;
  line-height: 0.1;
  font-weight: normal;
  font-size: 70px;
}

.gradient-text {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(to bottom, white, lightgray, gray);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* untuk browser yg support */
}

/* bootstrap icon */

.icon-bootstrap {
  color: rgb(255, 255, 255); /* Ubah warna ikon */
}

.kapakana {
  font-family: "Kapakana", cursive;
}

.Bebas-Neue {
  font-family: "Bebas Neue", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header Styles */
header {
  border-radius: 40px 40px 0 0;
  color: #1e1e1e;
  background-color: #ffffff;
  padding: 40px 5% 10px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  height: 4vh;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 800;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #9d2dff;
  transition: width 0.5s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Welcome Section */
.welcome {
  background-color: #ffffff;
  border-radius: 30px;
}
.welcomebody {
  padding: 80px 3% 120px 5%;
  max-width: 830px;
}

.welcome h1 {
  font-size: 70px;
  font-weight: 600;
  line-height: 1.3;
  font-family: "Bebas Neue", sans-serif;
}

.skillwelcome {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  max-width: 670px;
}

.skillwelcome p {
  color: #6a6a6a;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #6a6a6a;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.skillwelcome p:hover {
  border: 1px solid #9d2dff;
  background-color: #00000000;
  color: #9d2dff;
  box-shadow: 0 0px 30px #9d2dff;
}

.skillwelcome a {
  background-color: #ffffff;
  color: #6a6a6a;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #6a6a6a;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.skillwelcome a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0px 10px #9d2dff;
}

.skillwelcome .about-me-btn {
  background: linear-gradient(-45deg, #000000, #9d2dff, #000000, #9d2dff);
  background-size: 400% 400%;
  animation: gradientWave 10s ease infinite;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 16px;
  border: none;
}

.welcome-image img {
  max-width: 100%;
  height: auto;
}

/* Design Service */

.service-section {
  border-radius: 25px;
  color: #ffffff;
}
.service-body {
  padding: 150px 12% 120px 12%;
}

.service-body p {
  padding: 15px;
  position: relative;
  z-index: 2;
  color: #bababa;
  background-color: #000000;
}

.service-section h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: 1.3;
  font-family: "Bebas Neue", sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  justify-items: center;
}

.service-card {
  width: 100%;
  max-width: 400px;
  border: 0.5px solid transparent;
  border-radius: 30px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #ffffff2c, #ffffff61) border-box;
  overflow: hidden;
  transition: transform 1s ease;
  /* border: solid 1px #9d2dff; */
  /* background-color: #ffffff; */

  position: relative;
}

.service-card:hover {
  box-shadow: 0 0px 100px #3d0f64;
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  display: block;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* Atur tinggi gradasinya */
  background: linear-gradient(to top, #000000, transparent);
  z-index: 1;
}

.service-card:hover img {
  transform: scale(1.1);
}

/* Home About me */

.home-exp {
  padding: 0px 250px 100px 250px;
  text-align: justify;
}

.home p {
  font-size: 16px;
}

.home-about {
  /* display: ; */
  padding: 120px 12% 120px 12%;
  color: white;
  gap: 30px;
}

.home-about p {
  color: #cecece;
  text-align: justify;
}

.home-about-me {
  text-align: center;
  padding: 0px 250px 100px 250px;
}

.home-about img {
  width: 300px;
}

.home-about h2 {
  font-weight: bolder;
  font-size: 20px;
  /* line-height: 1.3; */
  /* font-family: "Bebas Neue", sans-serif; */
}

.home-about h1 {
  font-weight: bolder;
  /* line-height: 1.3; */
  /* font-family: "Bebas Neue", sans-serif; */
}

.skillwelcome {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.skillwelcome a {
  background-color: #ffffff;
  color: #6a6a6a;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #6a6a6a;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.skillwelcome p {
  background-color: #ffffff;
  color: #6a6a6a;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #6a6a6a;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.skillwelcome a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0px 30px #9d2dff;
}

.skillwelcome .about-me-btn {
  background-color: #9d2dff;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 16px;
  border: none;
}

.skillwelcome .about-me-btn:hover {
  background-color: #9d2dff;
}

.welcome-image img {
  max-width: 100%;
  height: auto;
}

/* Skills Section */
.skills {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.skills h2 {
  color: #fff;
  font-size: 60px;
  line-height: 50px;
  font-family: "Bebas Neue", sans-serif;
}

.skills p {
  color: #d1d1d1;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, auto));
  justify-content: center;
  gap: 10px;
  padding: 0px 12% 120px 12%;
  margin-top: 30px;
}

.skill {
  border: solid 1px #6a6a6a;
  padding: 30px;
  transition: all 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 10px 30px rgba(248, 0, 0, 0.1); */
}

.skill img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
}

.skill p {
  color: #a8a8a8;
  margin-bottom: 0;
}

.skills-container .see-project-btn {
  display: inline-block;
  /* background-color: #ffffff; */
  /* color: #000000; */
  padding: 5px 30px;
  border-radius: 30px;
  margin-top: 10px;
  text-align: center;
  /* transition: all 0.3s ease; */
  grid-column: 1 / -1;
  max-width: 200px;
  justify-self: center;
  font-family: "Bebas Neue", sans-serif;
  /* font-size: 20px; */

  background: linear-gradient(-45deg, #000000, #9d2dff, #000000, #9d2dff);
  background-size: 400% 400%;
  animation: gradientWave 10s ease infinite;
  color: #ffffff;
  font-size: 30px;
  border: none;
}

.skills-container .see-project-btn:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 0px 50px #9d2dff;
}

/* blog Section */
.blogs {
  padding: 80px 25%;
  background-color: #fff;
  text-align: left;
}

.blogs h2 {
  font-size: 50px;
  margin-bottom: -15px;
  font-weight: 600;
  font-family: "Bebas Neue", sans-serif;
}

.blogs p {
  color: #6a6a6a;
  margin-bottom: 30px;
  font-size: 16px;
}

.blogs-container {
  display: grid;
  gap: 20px;
}

.blog {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid #ededed;
}

.blog:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
}

.blog p {
  color: #333;
  margin-bottom: 0;
}

.blogs-container .see-project-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  padding: 15px 30px;
  border-radius: 30px;
  margin-top: 10px;
  text-align: center;
  transition: all 0.3s ease;
  grid-column: 1 / -1;
  max-width: 200px;
  justify-self: center;
  border: 1px solid #6a6a6a;
}

.blogs-container .see-project-btn:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.153);
}

/* About me */

.aboutme {
  align-items: center;
  text-align: justify;
  padding: 200px 17% 10% 17%;
  background-color: #ffffff;
}

.aboutme h1 {
  font-size: 40px;
}

.aboutme img {
  width: 500px; /* Lebar gambar */
  height: auto; /* Tinggi menyesuaikan proporsi */
  padding: 10px 20px;
  transition: transform 1s ease;
}

.aboutme img:hover {
  transform: scale(1.1);
}

.about {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Experience */

.timeline {
  position: relative;
  margin-left: 30px;
  border-left: 2px solid #9d2dff;
  padding-left: 30px;
}

.entry {
  position: relative;
  margin-bottom: 40px;
}

.entry::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 13px;
  height: 13px;
  background-color: #9d2dff;
  border-radius: 50%;
}

.entry p {
  margin: 10px 0;
  padding: 0px 0px 0px 0px;
}

.edu-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.welcomebody mark {
  border-radius: 12px;
  padding: 0px 8px;
  background: linear-gradient(-45deg, #000000, #9d2dff, #000000, #9d2dff);
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  background-size: 400% 400%;
  animation: gradientWave 10s ease infinite;
}

@keyframes gradientWave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.education {
  padding: 40px;
  background-color: #fff;
  text-align: center;
}

.edu img {
  max-width: 100px;
  margin-bottom: 10px;
}

.edu h2 {
  text-align: center;
}

.edu {
  background-color: #ffffff;
  padding: 30px 50px;
  width: 600px;
  text-align: justify;
  justify-content: center;
  border: 1px solid #ededed;
}

/* Footer */
footer {
  padding: 150px 5% 40px 5%;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

.social-links a {
  font-size: 16px;
  position: relative;
}

.social-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #0118d8;
  transition: width 0.3s ease;
}

.social-links a:hover::after {
  width: 100%;
}

footer p {
  color: #6a6a6a;
  font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 0px 0px 30px 0px;
    font-size: 14px;
  }

  header img {
    height: 2vh;
  }

  nav ul {
    gap: 15px;
  }

  .parisienne {
    line-height: 0.1;
    font-size: 58px;
  }

  .skillwelcome .about-me-btn {
    padding: 3px 14px;
    font-size: 14px;
  }

  .skillwelcome p {
    padding: 3px 10px;
  }

  .aboutme img {
    display: none;
  }

  .aboutme i {
    font-size: 100px;
  }

  .welcomebody {
    padding: 0px 0px;
  }

  .welcome {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 14px;
    padding: 50px 20px 100px 20px;
  }

  .welcome .education mark {
    border-radius: 12px;
    padding: 0px 8px;
    font-family: "Poppins", sans-serif;
  }

  .welcome p {
    border-radius: 50px;
    font-size: 14px;
  }

  .welcome h1 {
    font-size: 40px;
  }

  .aboutme {
    font-size: 14px;
    padding: 120px 8% 8% 8%;
  }

  .skills h2 {
    font-size: 40px;
  }

  .skill p {
    text-align: center;
    /* display: none; */
  }

  .skill img {
    margin-bottom: 0px;
    width: 10%;
  }

  .skill {
    background-color: #1a1a1a00;
    /* padding: 10px 30px; */
    padding: 10px;
    /* border: solid 1px #ff4c2d; */
  }

  .education {
    padding: 20px;
  }

  .blogs {
    padding: 1%;
    background-color: #fff;
  }

  .blogs p {
    font-size: 14px;
  }

  .skills {
    font-size: 14px;
    padding: 80px 20px;
  }

  .skills-container {
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;

    padding: 0px 0px;
  }

  .skills-container .see-project-btn {
    display: inline-block;
    background-color: #ffffff;
    padding: 1px 15px;
    border-radius: 20px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s ease;
    grid-column: 1 / -1;
    max-width: 200px;
    justify-self: center;
    font-size: 25px;
  }

  .service-body {
    padding: 60px 20px 60px 20px;
    font-size: 14px;
  }

  .service-section h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
  }

  .service-card {
    width: 100%;
    border-radius: 10px;
    max-width: 400px;
  }

  .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    justify-items: center;
  }

  .home-exp {
    padding: 10px 20px 10px 20px;
    text-align: justify;
  }

  .home-about {
    padding: 10px 20px 10px 20px;
    color: white;
    font-size: 14px;
    display: grid;
    gap: 0px;
  }

  .home-about-me {
    padding: 0px 0px;
  }

  .entry p {
    padding: 0px;
  }

  footer {
    padding: 50px 5% 40px 5%;
    text-align: center;
  }

  footer p {
    font-size: 14px;
  }
}
