body {
  margin: 0;
  font-family: sans-serif;
}

:root {
    --scale: 2;
    --navbar-height: 80px;
    --primary: #FFD700;
    --secondary: #0057B7;
    --sub: #5A32B5;
    --back: #0E967F;

    --nav-btn-color: #000;
}


/* ===== SLIDE BASE ===== */
.slide {
  display: none;
  height: 100vh;
  box-sizing: border-box;
}



/* ===== SLIDE VISIBILITY ===== */
.slide.active {
  display: flex;
}

/* ===== HOME SLIDE ===== */
.home {
  background-color: #0E967F;

  align-items: center;
  justify-content: center;
  gap: 4rem;

  padding: 3rem;
}

/* Left (Logo) */
.home-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.home-logo {
  width: min(300px, 80%);
  height: auto;
}

/* Right (Text) */
.home-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Typography */
.home-subtitle {
  font-size: calc(1.2rem * var(--scale));
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-title {
  font-size: calc(2.8rem * var(--scale));
  color: var(--primary);
  line-height: 1;
}

.home-author {
  font-size: calc(0.9rem * var(--scale));
  color: var(--sub);
  margin-top: 0.5rem;
}

h1, h2, p {
  margin: 0;
}

/* ===== SLIDE 2 ===== */
.slide-2 {
  background-color: var(--secondary);
  color: var(--primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 1.5rem;
  padding: 3rem;
}

.slide-2 h1 {
  font-size: calc(2.5rem * var(--scale));
}

.slide-2 p {
  font-size: calc(1.1rem * var(--scale));
  opacity: 0.8;
}

/* ===== SLIDE 3 ===== */
.slide-3 {
  background-color: var(--primary);
  color: var(--sub);

  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: 1.5rem;
  padding: 5rem;
}

.slide-3 h1 {
  font-size: calc(2.5rem * var(--scale));
}

.slide-3 p {
  font-size: calc(1.1rem * 1.6);
  opacity: 0.8;
}

/* ===== SLIDE 4 ===== */
.slide-4 {
  background-color: var(--sub);
  color: var(--back);

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 1.5rem;
  padding: 5rem;
}

.slide-4 h1 {
  font-size: calc(2.5rem * var(--scale));
}

.slide-4 p {
  font-size: calc(1.1rem * var(--scale));
  opacity: 0.8;
}

/* border: solid 2px black; */

/* ===== SIDE NAV BUTTONS ===== */
.side-btn {
  position: fixed;
  top: 50%;
  color: var(--nav-btn-color);
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1000;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.side-btn img {
  width: 40px;
  height: auto;
}

/* Left & Right positioning */
.side-btn.prev {
  left: 1rem;
}

.side-btn.next {
  right: 1rem;
}

.side-btn:hover {
  transform: translateY(-50%) scale(1.4);
}

.side-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* ===== HOME BUTTON ===== */
.home-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: none;
  color: var(--nav-btn-color);
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  z-index: 1000;
  transition: transform 0.15s ease;
}

.home-btn img {
  width: 36px;
  height: auto;
}

.home-btn:hover {
  transform: scale(1.3);
}

.side-btn svg,
.home-btn svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Make inline SVG icons visible */
.icon {
  width: 40px;
  height: 40px;
  display: block;
}


.hidden {
  display: none !important;
}
