* {
  box-sizing: border-box;
}

body {
  background-color: #201e30;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  margin: 0;
}

canvas#finisher-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.header {
  width: 100%;
  height: auto;  /* Gunakan auto agar tinggi header menyesuaikan dengan kontennya */
  min-height: 300px;  /* Minimum height untuk memastikan header tidak terlalu kecil */
  position: relative;
  overflow: hidden;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  font-size: 2rem;
  padding: 20px 0;  /* Tambahkan sedikit padding untuk ruang yang cukup */
  height: 100%;  /* Pastikan konten memenuhi tinggi header */
  box-sizing: border-box; /* Untuk menghindari overflow */
}

/* Styling untuk headerone dan headerdua */
.headerone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.headersatu {
  font-size: 5vmax;
  padding: 10px;
}

.headerdua {
  font-size: 3vmax;
  padding-top: 3%;
  padding-bottom: 5%;
}

.headertiga img{
  width: auto;
  height: 20vmax;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.6));
  transform: scale(1);
  transition: transform 0.3s ease;
}

.headertiga img:hover {
  transform: scale(1.05);
}

.PageBreak img{
  width: 70vw;
  height: auto;
  align-items: center;
  justify-content: center;
  padding-top: 10%;
  margin-bottom: -10%;
}

.PageBreak1 {
  display: none; /* Sembunyikan elemen secara default */
}

/* Layout container untuk bagian edukasi dan skills */
.container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.column {
  flex: 1;
  border-radius: 8px;
  text-align: center;
}

.Edu, .skills {
  margin-top: 30%;
  font-size: 3.5vmax;
  text-align: center;
}

.Kampus, .SMK {
 font-size: 3vmax;
 text-align: center;
 margin-top: 10%;
}

.Prodi, .Jurusan {
 font-size: 2vmax;
 text-align: center;
 margin-top: -1%;
}

.headerskill {
  font-size: 2.5vmax;
  margin-top: 7.5%;
  margin-bottom: 2%;
  text-decoration: underline;
}

.CPlus, .C, .Python, .FreeRTOS, .HTML, .CSS, .JavaScript, .Linux, .CiscoIOS, .MikrotikRouterOS {
  font-size: 2vmax;
} 

/* Styling untuk setiap item di skill section */
.item {
  display: flex;
  align-items: center;
  gap: 0.5%;
  text-align: center;
  font-size: 2.5vh;
  justify-content: center;
  margin: -2%;
}
  
.item img {
  width: auto;
  height: 4vmax;
  margin-left: 2%;
  align-items: center;
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.6));
}

.item img:hover {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

.kontainerproject {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 15%;
}

.Project {
  font-size: 3.5vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 20%;
  width: 100%;
}

.TulisanProject {
  font-size: 3vmax;
  display: flex;
  justify-content: center;
  align-items: center;
}

.BentukProject {
  display: flex;
  justify-content: center; 
  align-items: flex-start;     
  position: relative;
  font-size: 2.5vh;
  flex: 1;
  padding: 1%;
  transition: all 0.5s ease;
  width: 100%;
  margin-top: -20%;
}

.Project1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Saat box aktif (ditampilkan), pastikan berada di tengah */
.Project1.fade-in {
  opacity: 1;
  transform: translateX(0); /* Reset posisi ke tengah */
  z-index: 10;             /* Pastikan box terlihat di atas */
}

/* Efek fade-out dan pergeseran ke kiri */
.fade-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

/* Efek fade-out dan pergeseran ke kanan */
.fade-out-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Efek fade-in untuk box yang baru tampil */
.fade-in {
  transform: translateX(0);
  opacity: 1;
}

.namaproject {
  width: 180%;
  font-size: 2vmax;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.Project1 img {
  width: auto;
  width: 22vmax;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.6));
}

.DescProject {
  font-size: 1.2vmax;
  width: 200%;
}

.indicator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0%;
}

.indicator {
  width: 0.75vmax;
  height: 0.75vmax;
  background-color: gray;
  border-radius: 50%;
  cursor: pointer;
  transform: scale(1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

.ContainerButton {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

button {
  padding-top: 0.5vmax;
  padding-bottom: 0.5vmax;
  font-size: clamp(18px, 5vw, 24px);
  margin: 1vmax;
  background-color: #2424d8;
  color: white;
  border: none;
  border-radius: 20vmax;
  cursor: pointer;
  display: inline-block;
  width: 15vmax;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #8888ff;
}

button:active {
  background-color: #aaaaff;
}

.About {
  margin-top: 160%;
  font-size: 3vmax;
}

.AboutLink {
  font-size: 2vmax;
  transition: transform 0.3s ease;
  transform: scale(1);
}

.AboutLink:hover {
  transform: scale(1.15);
}

.AboutLink a {
  text-decoration: none; /* Menghilangkan underline */
  color: white; /* Warna teks putih secara default */
  transition: color 0.3s ease; /* Transisi halus pada perubahan warna */
}

.AboutLink a:active {
  color: gray; /* Warna teks abu-abu saat diklik */
}

.AboutLink a:hover {
  text-decoration: underline; /* Menambahkan underline saat hover (opsional) */
}

/* Responsif untuk tampilan kecil */
  @media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .PageBreak1 {
    display: block; /* Tampilkan elemen */
    text-align: center; /* Opsional: Untuk memusatkan konten */
  }

  .PageBreak1 img {
    width: 70vw;
    height: auto;
    align-items: center;
    justify-content: center;
    padding-top: 10%;
    margin-bottom: -10%;
  }
}
