@media screen and (max-width: 1000px) {
  p {
    font-size : 0.5rem;
    line-height: 1.8rem;
  }
  
  
.grid-3 {
  gap: 1rem;
}

.skills-right ul li {
  font-size: 0.9rem;
}


}

@media screen and (max-width: 720px) {
  
  p {
    font-size: 1rem;
    line-height: 1.8rem;
  }
  /* Burger */
  .burger{
  display: block;
  cursor: pointer;
}

.education-skills {
  display: block; /* Mengatur tumpukan secara vertikal */
  padding: 2rem; /* Padding untuk seluruh section */
  background: var(--secondaryBackgroundColor); /* Background diterapkan untuk keseluruhan container */
  width: 100%; /* Membuat background memenuhi lebar penuh */
}

/*Navigation*/
nav {
  position: fixed;
  width: 50%;
  right: 0;
  top: 0;
  height: 100vh;
  flex-direction: column;
  background: var(--primaryBackgroundColor);
  border-left: 1px solid var(--borderColor);
  z-index: 9;
  transform: translateX(100%);
  transition: .2s ease-in-out;
}
nav ul {
  height: 100vh;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.nav-active {
  transform: translateX(0);
}
:root {
    --sectionPadding: 6rem 0;
}
.section-title {
  font-size: 1.6rem;
  margin: 0.6rem 0 2.5rem;
}

.pre-title {
  font-size: 0.8rem;
}

/*Hero section */
#hero {
  grid-template-columns: 2fr;
  height: fit-content;
}

.hero-right {
  order: -1;
}



.hero-right {
  width: 70%;
}

.hero-right {
  margin-left: 60px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.hero-left {
  text-align: center;
  padding-bottom: 5rem;
}

.hero-left .pre-title {
  margin: 0 auto;
}

.hero-name {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

/* Skills section */
.skills-grid {
  gap: 1rem;
}

/*Footer Section */
footer {
  padding: 2rem 0;
}
.portofolio-cover {
  height: 250px;
}
}

@media screen and (max-width: 640px) {
  /* Title */
  .section title {
    font-size: 1.3rem;
  }
  
  .pre-title{
    font-size: 0.7rem;
  }
}
 