:root {
  --primary: #b6895b;
  --bg: rgb(0, 0, 0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  padding-top: 60px;
  color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  z-index: 9999;
}

/* Hero */

.hero {
  height: 900px;
  position: relative;
  background-image: url("pustaka.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay {
  background: rgba(0, 0, 0, 0.55);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.overlay h2 {
  font-size: 40px;
  font-style: italic;
}

.hero .logo {
  position: absolute;
  top: 40px;
  left: 20px;
}

.overlay span {
  color: #ffb300;
}

.overlay h1 {
  font-size: 55px;
  margin: 10px;
}

.overlay p {
  font-size: 18px;
}

/* Tentang */

.tentang {
  padding: 200px 120px;
  text-align: center;
  background-color: #fff;
  height: 100%;
}

.tentang h2 {
  color: #a25c00;
  font-size: 48px;
}

.tentang h3 {
  color: #000;
}

.tentang p {
  margin: 15px;
  font-style: italic;
  color: gray;
}

/* Aplikasi */

.apps {
  padding: 10px 120px;
  text-align: center;
  background-color: #fff;
  height: 100%;
}

.apps h2 {
  font-size: 48px;
  color: #a25c00;
}

.apps h3 {
  color: #000;
}

.apps p {
  padding: 100px 10%;
  font-style: italic;
  color: gray;
}

.grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card i {
  width: 120px;
  height: 120px;
  background: #b5831d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 55px;
  color: white;
  margin-bottom: 20px;
}
