/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body dan latar belakang */
body {
  font-family: Arial, sans-serif;
  background-image: url(co.jpg); /* Ganti dengan nama file gambar latar belakang Anda */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.container-navbar {
  background-color: red;
  padding: 10px 0;
}

.ul-navbar {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.li-navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.li-navbar a:hover {
  text-decoration: underline;
}

/* Konten utama */
.konten-utama {
  flex: 1;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  background-color: transparent; /* Latar belakang semi-transparan */
  border-radius: 10px;
  box-shadow: transparent;
}

/* Konten tengah (Home) */
.konten-tengah h1 {
  text-align: center;
  color: #000;
  font-size: 28px;
  line-height: 1.5;
}

/* Kontainer untuk About Me, Portofolio, Contact */
.kontainer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bingkai-bulat img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid black;
}

.tulisan h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

/* Bio atau deskripsi */
.bio h3 {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  font-weight: normal;
}

/* Footer */
.container-footer {
  background-color: #d62828; /* Warna merah seperti header */
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  margin-top: auto;
}

/* Responsif */
@media (max-width: 768px) {
  .kontainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tulisan h2 {
    text-align: center;
  }

  .bio h3 {
    text-align: justify;
  }
}