* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #819ece;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

/*navbar*/

.nav {
  top: 0;
  margin: 0;
  z-index: 999999;
  position: fixed;
  background-color: #819ece;
  padding: 10px 29px;
  display: flex;
  justify-content: space-between;
}

.nav-links {
  top: 0;
  z-index: 100000;
  position: fixed;
  background-color: #819ece;
  left: 0;
  width: 100%;
  justify-content: center;
  display: flex;
  padding: 20px 100px;
}

.nav-links li {
  list-style-type: none;
  margin-left: 5px;
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  background-color: white;
  border-radius: 4px;
  color: #819ece;
  padding: 9px;
}

@media (max-width: 390px) {
  .nav-links a:hover {
    background-color: white;
    border-radius: 4px;
    color: #819ece;
    justify-content: center;
    padding: 9px;
    display: inline-block;
  }
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.bar {
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
}

/* Animation hamburger menu open */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 800px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    width: 100%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a:hover {
    color: #333;
  }

  .nav-links li {
    text-align: center;
    margin: 15px 0;
  }
}

/* .nav {
  z-index: 100000;
  position: fixed;
  background-color: #819ece;
  left: 0;
  width: 100%;
  justify-content: center;
  display: flex;
  padding: 20px 100px;
}

.nav ul {
  display: flex;
}

.nav ul li {
  list-style-type: none;
  margin-left: 5px;
}

.nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 6px 15px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav ul li a:hover {
  background-color: #fff;
  color: #7691bc;
  border-radius: 5px;
} */

/*image*/

.hero {
  overflow: hidden;
  height: 100vh;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.last-img {
  z-index: 1;
}

.top-img {
  z-index: 2;
}

.bottom-img {
  z-index: 2;
}

.center-img {
  z-index: 4;
}

/*tullisan id landing h1*/

#landing h1 {
  position: absolute;
  z-index: 3;
  top: 27%;
  right: 1%;
  left: 1%;
  font-size: 40px;
  color: #fff;
  text-align: center;
}

/*tullisan id landing h2 dan h3*/

#landing h2 {
  position: absolute;
  z-index: -1111;
}

#landing h3 {
  position: absolute;
  z-index: -1111;
}

/*tombol click here*/

.btn {
  position: absolute;
  top: 89%;
  margin: 0 auto;
  -ms-transform: translate(-50%, -50%);
  transform: (-50%, -50%);
  transform: translateX(-50%);
  text-decoration: none;
  padding: 2px 30px;
  border-radius: 4px;
  background-color: #7691bc;
  color: white;
  font-weight: bold;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  box-shadow: 5px 0 15px rgba(85, 85, 85, 0.5);
}

.btn:hover {
  background-color: #5a7496;
  color: #ffffff;
  box-shadow: 5px 0 15px rgba(85, 85, 85, 0.7);
}

/*landing blur di bawah button click me*/

/*#landing relatif */
#landing {
  position: relative;
}

/* Pseudo-elemen untuk landing */
#landing::before {
  z-index: 10;
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, #7691bc, transparent);
  display: block;
  box-sizing: border-box;
}

/*content*/

#content .content,
#dreams .dreams,
#cv .cv,
#contact .contact {
  padding: 50px;
  line-height: 25px;
  color: white;
  background-color: #7691bc;
  z-index: 9999;
  position: relative;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/*content headline & paragraph paralax*/
.headline {
  transition: 4s;
  opacity: 0;
}

.headline.active {
  opacity: 1;
}

.paragraph,
.paragraphtranslate,
.contact-list {
  transition: 6s;
  opacity: 0;
  transform: translate(-50px, 0);
}

.paragraphtranslate {
  transform: translate(50px, 0);
}

.paragraph.active,
.paragraphtranslate.active,
.contact-list.active {
  opacity: 1;
  transform: translate(0, 0);
}

/*fixed konten meluap*/

/* #about .content {
    max-width: 100%;
    overflow-x : hidden;
    word-wrap: break-word;
} 

#dreams .content {
  max-width : 100%;
  overflow-x : hidden;
  word-wrap : break-word;
}

#cv .content {
  max-width : 100%;
  overflow-x : hidden;
  word-wrap : break-word;
}

#contact .content {
  max-width : 100%;
  overflow-x : hidden;
  word-wrap : break-word;
} */

.content hr,
.dreams hr,
.cv hr,
.contact hr {
  display: inline-block;
  width: 30%;
  border: 1px solid #fff;
  text-align: center;
}

.content p,
.dreams p,
.cv p,
.contact p {
  text-align: justify;
}

/*contact list*/
/* #contact-me {

    background-color: #819ece;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.contact-me {
    max-width: 600px;
    margin: 0 auto;
}

.headline-contact {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.paragraph-contact {
    font-size: 16px;
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
} */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: justify;
}

.contact-list li {
  margin: 10px 0;
  font-size: 16px;
}

.contact-list li strong {
  color: white;
}

.contact-list a {
  color: rgb(6, 189, 255);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: rgb(11, 74, 97);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #contact-me {
    padding: 20px 10px;
  }

  .headline {
    font-size: 24px;
  }

  .paragraph {
    font-size: 14px;
  }

  .contact-list li {
    font-size: 14px;
  }
}

span {
  display: block;
}

/*footer*/

.footer {
  padding: 10px;
  width: 100%;
  background-color: #819ece;
  color: white;
  text-align: center;
  display: inline-block;
}

.footer p {
  text-align: center;
}

/*responsive*/

@media screen and (max-width: 800px) {
  html,
  body {
    background-color: #819ece;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
  }

  /*navbar*/

  /* .nav {
    z-index: 100000;
    position: absolute;
    background-color: #819ece;
    left: 0;
    width: 100%;
    justify-content: center;
    display: inline-block;
    padding: 10px 10px 10px 10px;
  }

  .nav ul {
    display: inline-block;
  }

  .nav ul li {
    list-style-type: none;
    margin-left: 5px;
  }

  .nav ul li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 6px 15px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .nav ul li a:hover {
    background-color: #fff;
    color: #7691bc;
    border-radius: 5px;
  } */

  /*image*/

  .hero {
    height: 100vh;
    position: relative;
  }

  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
  }

  .last-img {
    z-index: 1;
  }

  .top-img {
    z-index: 2;
  }

  .bottom-img {
    z-index: 2;
  }

  .center-img {
    z-index: 4;
  }

  /*tullisan id landing h1*/

  #landing h1 {
    position: absolute;
    z-index: 3;
    top: 29%;
    right: 1%;
    left: 1%;
    font-size: 30px;
    color: #fff;
    text-align: center;
  }

  #landing h2 {
    position: absolute;
    z-index: 3;
    top: 55%;
    right: 90%;
    left: 0;
    font-size: 17px;
    color: #fff;
    text-align: center;
    text-shadow: 10px 8px 5px black;
  }

  #landing h3 {
    position: absolute;
    z-index: 3;
    top: 70%;
    right: 0;
    font-size: 17px;
    color: #fff;
    text-align: center;
    text-shadow: -20px 8px 5px black;
  }

  /*tombol click here*/

  .btn {
    position: absolute;
    top: 89%;
    margin: 0 auto;
    -ms-transform: translate(-50%, -50%);
    transform: (-50%, -50%);
    transform: translateX(-50%);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #7691bc;
    color: white;
    font-weight: bold;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 5px 0 15px rgba(85, 85, 85, 0.5);
    text-align: center;
  }

  .btn:hover {
    background-color: #5a7496;
    color: #ffffff;
    box-shadow: 5px 0 15px rgba(85, 85, 85, 0.7);
  }

  /*landing blur di bawah button click me*/

  /* Pastikan #landing memiliki posisi relatif */
  #landing {
    position: relative;
  }

  /* Pseudo-elemen untuk landing */
  #landing::before {
    z-index: 10;
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, #7691bc, transparent);
    display: block;
    box-sizing: border-box;
  }

  /*content*/

  #content .content,
  #dreams .dreams,
  #cv .cv,
  #contact .contact {
    padding: 50px;
    line-height: 25px;
    color: white;
    background-color: #7691bc;
    z-index: 9999;
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .content hr,
  .dreams hr,
  .cv hr,
  .contact hr {
    display: inline-block;
    width: 69%;
    border: 1px solid #fff;
    text-align: center;
  }

  .content p,
  .dreams p,
  .cv p,
  .contact p {
    text-align: justify;
  }

  /*footer*/
  .footer {
    padding: 10px;
    width: 100%;
    background-color: #819ece;
    color: white;
    text-align: center;
    display: inline-block;
  }
}
