/* portfolio - home css */

html {
  font-size: 16px;
  background-color: rgb(39, 37, 49);
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Rakkas", serif;
  font-weight: 400;
  font-style: normal;
}

li {
  color: rgb(200, 200, 200);
}

/* ── Navigation Bar ── */

.navigation {
  font-size: 28px;
  color: rgb(24, 20, 58);
  background-color: rgb(97, 122, 190);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  padding: 0 40px;
  height: 64px;
  align-items: center;
}

.navigation a {
  background-color: transparent;
  color: rgb(24, 20, 58);
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-title {
  text-decoration: none;
  background-color: transparent;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#nav-item {
  background-color: transparent;
  display: flex;
  align-items: center;
}

/* ── Hero Section ── */

.hero {
  text-align: center;
  padding: 40px 40px 30px;
  max-width: 820px;
  margin: 0 auto;
}

#hero-text {
  color: rgb(200, 200, 200);
  font-weight: 450;
  font-size: 36px;
  margin-bottom: 10px;
  line-height: 1.4;
}

#hero-text:first-child {
  font-size: 42px;
  color: rgb(97, 122, 190);
  margin-bottom: 12px;
}

#hero-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

#hero-items {
  font-size: 24px;
  width: 220px;
  padding: 12px 20px;
  color: rgb(24, 20, 58);
  background-color: rgb(97, 122, 190);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

#hero-items:hover {
  background-color: rgb(120, 148, 215);
  transform: translateY(-2px);
  color: rgb(24, 20, 58);
}

/* ── About Section ── */

#about-container {
  border-top: 1px solid rgb(97, 122, 190);
  padding: 20px 40px 25px;
}

#about-item {
  text-align: center;
  font-size: 22px;
  padding: 6px 16px;
  color: rgb(200, 200, 200);
  line-height: 1.5;
}

/* ── Footer ── */

.footer-box {
  padding: 14px 40px;
  text-align: center;
  border-top: 1px solid rgb(97, 122, 190);
  margin-top: 10px;
}

.footer-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-box ul ul {
  margin-top: 6px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-box li {
  color: rgb(150, 160, 190);
  font-size: 16px;
  padding: 2px 0;
}

.footer-box > ul > li:first-child {
  color: rgb(97, 122, 190);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.link-item {
  text-decoration: underline;
  cursor: pointer;
}

/* ── Shared Hover ── */

.text-item:hover {
  color: rgb(150, 180, 255);
  text-decoration: underline;
  cursor: pointer;
}
