html, body {
  font-family: "Lucida Console", monospace;
  font-size: 16px;
  height: 100%;
  width: 100%;
  margin: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a, a:visited {
  text-decoration: none;
  color: #f11aaa;
  cursor: pointer;
}

/* Main content */
#main-content {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  padding: 60px clamp(20px, 5vw, 40px);
}

.section {
  min-height: 100vh;
  padding: 40px 0;
}

.section.loading {
  opacity: 0.5;
}

/* Progress Bar Navigation */
#progress-nav {
  position: fixed;
  right: max(20px, calc(50vw - 450px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: right 0.3s ease;
}

#progress-nav::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
  transform: translateX(-50%);
  z-index: -1;
}

#progress-indicator {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: #f11aaa;
  transform: translateX(-50%);
  transition: height 0.3s ease;
  z-index: -1;
}

.progress-item {
  position: relative;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.progress-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
}

.progress-item a:hover {
  color: #f11aaa;
}

.progress-label {
  opacity: 0;
  margin-right: 15px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 10;
  position: relative;
}

.progress-item:hover .progress-label {
  opacity: 1;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.progress-item a:hover .progress-dot {
  border-color: #f11aaa;
  transform: scale(1.3);
}

.progress-item.active .progress-dot {
  background: #f11aaa;
  border-color: #f11aaa;
  transform: scale(1.3);
}

.progress-item.active a {
  color: #f11aaa;
}

.progress-item.active .progress-label {
  opacity: 1;
  font-weight: 600;
}

/* Contact info */
#contact-info {
  position: fixed;
  right: max(20px, calc(50vw - 450px));
  bottom: 40px;
  text-align: right;
  font-size: clamp(11px, 2vw, 12px);
  color: #666;
  transition: right 0.3s ease;
}

#contact-info h4 {
  margin: 0 0 10px 0;
  font-size: clamp(13px, 2.5vw, 14px);
}

#contact-info p {
  margin: 5px 0;
  word-break: break-word;
}

hr {
  height: 2px;
  border-width: 0;
  color: black;
  background-color: black;
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
  #progress-nav {
      right: 30px;
  }
  
  #contact-info {
      right: 30px;
  }
}

@media (max-width: 1200px) {
  #main-content {
      max-width: 650px;
  }
  
  #progress-nav {
      right: 20px;
  }
  
  #contact-info {
      right: 20px;
  }
}

@media (max-width: 900px) {
  #main-content {
    max-width: 90%;
    padding: 50px 20px;
  }
  
  .progress-label {
    display: none;
  }
  
  #progress-nav {
    right: 15px;
  }
  
  #contact-info {
    font-size: 11px;
    right: 15px;
    bottom: 30px;
  }
}

@media (max-width: 768px) {
  #main-content {
    padding: 40px 20px;
  }
  
  .section {
    min-height: auto;
    padding: 30px 0;
  }
  
  #progress-nav {
    display: none;
  }
  
  #contact-info {
    position: static;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  html, body {
    font-size: 14px;
  }
  
  #main-content {
    padding: 30px 15px;
  }
}

/* Print styles */
@media print {
  #progress-nav,
  #contact-info {
    display: none;
  }
  
  #main-content {
    max-width: 100%;
  }
}
