* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Space Mono";
  src: url(../asset/font/SpaceMono-Regular.ttf);
}

body {
  height: 100vh;
  /* background: url(../asset/light_background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
  overflow: hidden;
}

nav {
  padding: 10px 15px;
  display: flex;
  gap: 12px;
}

.Night-Light {
  background: none;
  border: none;
  transition: transform 0.3s ease;
}

.Night-Light:hover {
  transform: scale(1.1);
}

.Night-Light img {
  width: 40px;
}

.Sound-Toggle {
  background: none;
  border: none;
  transition: transform 0.3s ease;
}

.Sound-Toggle:hover {
  transform: scale(1.1);
}

.Sound-Toggle img {
  width: 40px;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.Container {
  height: 530px;
  width: 770px;
  overflow: hidden;
  margin-top: 70px;
  border-radius: 15px;
}

.Title {
  background-color: #DF1F2D;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "Roboto Mono";
  padding: 0px 12px;
  font-size: 20px;
  letter-spacing: -0.6px;
}

.Content {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 60px);
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
  border: 2px solid #447BBE;
  border-radius: 0 0 15px 15px;
}

.Headline {
  font-size: 55px;
  letter-spacing: -3px;
}

.Describe {
  color: #424242;
  margin-top: 20px;
}

.Nav-Links {
  display: flex;
  gap: 2rem;
  margin-top: 50px;
}

.Nav-Links button {
  text-decoration: none;
  color: black;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease;
  background: none;
  border: none;
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
}

.Nav-Links button:hover {
  transform: scale(1.1);
}

.Nav-Links button:active {
    transform: scale(0.9);
}

.Nav-Links img {
  width: 70px;
}
y
.Nav-Links span {
  margin-top: 5px;
}

/* About Section */
.Container-About {
  height: 530px;
  width: 770px;
  overflow: hidden;
  border-radius: 15px;
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 9999;

  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s ease;
}

.Container-About.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  visibility: visible;
}

.Title-About {
  background-color: #DF1F2D;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "Roboto Mono";
  padding: 0px 20px;
  font-size: 20px;
  letter-spacing: -0.6px;
  justify-content: space-between;
  user-select: none;
}

.Content-About {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 60px);
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
  border: 2px solid #447BBE;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}

.IMG-Profile {
  width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

.IMG-Profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.About-Headline {
  width: 100%;
  flex: 0 0 auto;
  padding: 20px 40px;
  display: flex;
  font-family: "Roboto Mono";
  align-items: center;
  gap: 2rem;
  flex-direction: row;
}

.Headline-Teks {
  display: flex;
  flex-direction: column;
}

/* About Content */
.About-Scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.About-Text {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #333;
}

.About-Info {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  color: #424242;
  font-size: 14px;
}

.About-Info strong {
  color: #000;
}

.About-List-Wrapper {
  font-size: 14px;
  color: #424242;
}

.About-List {
  margin-top: 10px;
  padding-left: 18px;
  color: #424242;
}

.About-List li {
  margin-bottom: 8px;
}

/* Links Section */
.Container-Links {
  height: 530px;
  width: 770px;
  overflow: hidden;
  border-radius: 15px;
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s ease;
}

.Container-Links.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  visibility: visible;
}

.Title-Links {
  background-color: #DF1F2D;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "Roboto Mono";
  padding: 0px 20px;
  font-size: 20px;
  letter-spacing: -0.6px;
  justify-content: space-between;
  user-select: none;
}

.Content-Links {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 60px);
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
  border: 2px solid #447BBE;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  gap: 2rem;
}

.Content-Links a {
  text-decoration: none;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease;
}

.Content-Links a:hover {
  transform: scale(1.15);
}

.Content-Links a img {
  width: 70px;
}

/* Project Section */
.Container-Project {
  height: 500px;
  width: 850px;
  overflow: hidden;
  border-radius: 15px;
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s ease;
}

.Container-Project.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  visibility: visible;
}

.Title-Project {
  background-color: #DF1F2D;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "Roboto Mono";
  padding: 0px 20px;
  font-size: 20px;
  letter-spacing: -0.6px;
  justify-content: space-between;
  user-select: none;
}

.Content-Project {
  background-color: white;
  width: 100%;
  height: calc(100% - 60px);
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
  border: 2px solid #447BBE;
  border-radius: 0 0 15px 15px;
  overflow: auto;
  padding: 20px;
}

.Project-1 {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.Project-1 img {
  width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 15px;
}

.Project-Info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.Project-Info strong {
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
}

.Project-Info p {
  line-height: 1.6;
}

/* Faq Section */
.Container-Faq {
  height: 500px;
  width: 850px;
  overflow: hidden;
  border-radius: 15px;
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s ease;
}

.Container-Faq.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  visibility: visible;
}

.Title-Faq {
  background-color: #DF1F2D;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "Roboto Mono";
  padding: 0px 20px;
  font-size: 20px;
  letter-spacing: -0.6px;
  justify-content: space-between;
  user-select: none;
}

.Content-Faq {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 60px);
  font-family: "Roboto Mono";
  letter-spacing: -0.6px;
  border: 2px solid #447BBE;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  gap: 2rem;
}

.Faq-Scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
}

/* Universal Title Button Hover And Pressed */

.Title-About button,
.Title-Links button,
.Title-Project button,
.Title-Faq button {
    border: none;
    background: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.Title-About button:hover,
.Title-Links button:hover,
.Title-Project button:hover,
.Title-Faq button:hover {
    transform: scale(1.1);
}

.Title-About button.pressed,
.Title-Links button.pressed,
.Title-Project button.pressed,
.Title-Faq button.pressed {
    transform: scale(0.9);
}

/* --- Accordion Card Style --- */
.Faq-Item {
  background-color: #fef7da;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.Faq-Question {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  color: #222;
  user-select: none;
}

.Faq-Icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.Faq-Answer {
  display: none;
  padding: 0 20px 16px 20px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
  background-color: #fffdf5;
}

.Faq-Answer a {
  color: #d97706;
  text-decoration: underline;
}

/* State Aktif saat diklik */
.Faq-Item.active .Faq-Answer {
  display: block;
}

.Faq-Item.active .Faq-Icon {
  transform: rotate(180deg);
}