head {
    font-family: Inter;
}

html{
    scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}


body{
    background: #EEF1DA;
    background: linear-gradient(0deg, rgba(238, 241, 218, 1) 0%, rgba(210, 102, 90, 1) 50%, rgba(184, 33, 50, 1) 100%);
    background-attachment: fixed;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Inter;
}

#navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(246, 222, 216, 0.3);
  padding: 10px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  overflow: visible;
  box-sizing: border-box;
  height: 85px;
  transition: background-color 0.3s ease-in-out;
}

#navbar.hidden {
  background-color: rgba(148, 180, 193, 0);
}

.logo a{
  font-size: 30px;
  text-decoration: none;
}

.logo-img{
  width: 80px;
  height: auto;
}

.nav-links{
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: flex-start;
}

.nav-links a{
  text-decoration: none;
  color: #F6DED8;
  font-family: Inter;
  /* font-weight: 500; */
  font-size: 15px;
  font-weight: bold;
  transition: color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

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

#awal {
    padding-top: 130px; /* biar nggak ketutup navbar */
    padding-bottom: 100px;
    gap: 20px;
    justify-content: center; /* vertikal tengah */
    align-items: center;
    min-height: 100vh; /* tinggi minimum satu layar */
    display: flex;
    flex-direction: column;
}

h1{
  font-weight: bold;
  font-size: 50px;
  color: #ECEFCA;
}

.animasi-awal {
  font-size: 3rem;
  font: bold;
  width: fit-content;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid rgba(255, 255, 255, 0.75);
  animation: typing-loop 6s steps(16) infinite, blink 0.75s step-end infinite;
}

.animasi-awal span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes typing-loop {
  0%   { width: 0 }
  40%  { width: 13ch }
  60%  { width: 13ch }
  100% { width: 0 }
} 

@keyframes blink {
  50% { border-color: transparent; }
}

section:not(#awal) {
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2 {
  font-size: 30px;
  color: #F6DED8;
  margin-bottom: 20px;
}

p, li {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

th, td {
  border: 1px solid #fff;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

th {
  background-color: rgba(184, 33, 50, 0.8);
}

td {
  background-color: rgba(246, 222, 216, 0.1);
}

#misi ul {
  list-style: none;
  padding-left: 0; 
}