/* ========================================
   Everforest Theme - Portfolio Old School
   ======================================== */

/* CSS Variables - Everforest Palette */
:root {
  /* Backgrounds */
  --bg-dim: #232a2e;
  --bg0: #2d353b;
  --bg1: #343f44;
  --bg2: #3d484d;
  --bg3: #475258;
  --bg4: #4f585e;
  --bg5: #56635f;

  /* Foregrounds */
  --fg: #d3c6aa;
  --fg-dim: #9da9a0;
  --fg-bright: #e8e8d8;

  /* Accents */
  --red: #e67e80;
  --orange: #e69875;
  --yellow: #dbbc7f;
  --green: #a7c080;
  --aqua: #83c092;
  --blue: #7fbbb3;
  --purple: #d699b6;

  /* Greys */
  --grey0: #7a8478;
  --grey1: #859289;
  --grey2: #9da9a0;

  /* Status */
  --statusline1: #a7c080;
  --statusline2: #d3c6aa;
  --statusline3: #e67e80;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg0);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg1);
}

::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey0);
}

/* Selection */
::selection {
  background: var(--green);
  color: var(--bg0);
}

/* Background Image */
.bg-forest {
  position: fixed;
  inset: 0;
  background-image: url('../assets/bg-forest.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.bg-forest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(45, 53, 59, 0.75) 0%,
      rgba(45, 53, 59, 0.9) 100%);
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Window Header */
.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(52, 63, 68, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg3);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: var(--red);
}

.dot.yellow {
  background: var(--yellow);
}

.dot.green {
  background: var(--green);
}

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-dim);
}

.window-title .icon {
  width: 14px;
  height: 14px;
}

.window-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-dim);
}

.stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat .icon {
  width: 12px;
  height: 12px;
}

/* Window Content */
.window-content {
  display: flex;
  flex: 1;
  background: rgba(45, 53, 59, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg3);
  border-radius: 0 0 8px 8px;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 200px;
  border-right: 1px solid var(--bg3);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  background: rgba(52, 63, 68, 0.5);
}

.nav-section {
  margin-bottom: 24px;
}

.nav-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-dim);
  margin-bottom: 8px;
  padding-left: 12px;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--fg);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--bg2);
  color: var(--yellow);
}

.nav-link.active {
  background: var(--bg2);
  color: var(--green);
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bg3);
  font-size: 11px;
}

.status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  margin-bottom: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.status-dot.busy {
  background: var(--yellow);
}

.status-dot.away {
  background: var(--orange);
}

.branch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-dim);
}

.branch .icon {
  width: 12px;
  height: 12px;
}

/* Content Area */
.content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  min-height: 0;
}

/* Sections */
.section {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--fg);
}

.section-title svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
}

.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(167, 192, 128, 0.3);
}

.avatar svg {
  width: 40px;
  height: 40px;
  color: var(--bg0);
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
  min-height: 40px;
}

.typing-text::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--green);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--fg-dim);
  margin-bottom: 24px;
}

.highlight {
  font-weight: 500;
}

.highlight.green {
  color: var(--green);
}

.highlight.blue {
  color: var(--blue);
}

.highlight.aqua {
  color: var(--aqua);
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg2);
  border: 1px solid var(--bg3);
}

.tag svg {
  width: 14px;
  height: 14px;
}

.tag.green {
  color: var(--green);
  border-color: var(--green);
}

.tag.blue {
  color: var(--blue);
  border-color: var(--blue);
}

.tag.aqua {
  color: var(--aqua);
  border-color: var(--aqua);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn.primary {
  background: var(--green);
  color: var(--bg0);
}

.btn.primary:hover {
  background: var(--aqua);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--bg3);
}

.btn.outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-social a {
  color: var(--grey1);
  transition: color 0.2s ease;
}

.hero-social a:hover {
  color: var(--green);
}

.hero-social svg {
  width: 20px;
  height: 20px;
}

/* Code Block */
.code-block {
  background: var(--bg1);
  border: 1px solid var(--bg2);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--bg2);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-filename {
  margin-left: 8px;
  font-size: 11px;
  color: var(--fg-dim);
}

.code-content {
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
}

.code-content p {
  margin-bottom: 12px;
}

.code-comment {
  color: var(--purple);
}

.code-prompt {
  color: var(--grey1);
}

.code-output {
  color: var(--green);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(52, 63, 68, 0.5);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-number.green {
  color: var(--green);
}

.stat-number.blue {
  color: var(--blue);
}

.stat-number.yellow {
  color: var(--yellow);
}

.stat-label {
  font-size: 12px;
  color: var(--fg-dim);
}

/* Cards */
.interests-card,
.skills-card,
.certs-card,
.availability-card {
  background: rgba(52, 63, 68, 0.5);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--fg);
}

.card-title svg {
  width: 18px;
  height: 18px;
  color: var(--aqua);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Projects */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.project-card {
  background: rgba(52, 63, 68, 0.5);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.project-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.project-title svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.project-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-dim);
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-links a {
  padding: 6px;
  border-radius: 4px;
  color: var(--fg-dim);
  transition: all 0.2s ease;
}

.project-links a:hover {
  background: var(--bg2);
  color: var(--fg);
}

.project-links svg {
  width: 18px;
  height: 18px;
}

.project-desc {
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags .tag {
  font-size: 11px;
  padding: 4px 8px;
}

.projects-footer {
  text-align: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--aqua);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

/* Skills */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.skill-name {
  color: var(--fg);
}

.skill-value {
  color: var(--fg-dim);
}

.skill-bar {
  height: 6px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  width: var(--progress);
  background: var(--color);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.tech-card {
  background: rgba(52, 63, 68, 0.5);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 16px;
}

.tech-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tech-title svg {
  width: 16px;
  height: 16px;
}

.tech-title.blue {
  color: var(--blue);
}

.tech-title.green {
  color: var(--green);
}

.tech-title.aqua {
  color: var(--aqua);
}

.tech-title.orange {
  color: var(--orange);
}

.tech-title.yellow {
  color: var(--yellow);
}

.tech-title.red {
  color: var(--red);
}

/* Certs */
.certs-list {
  list-style: none;
}

.certs-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--fg);
  border-bottom: 1px solid var(--bg2);
}

.certs-list li:last-child {
  border-bottom: none;
}

.certs-list svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.cert-year {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-dim);
}

/* Contact */
.contact-intro {
  background: rgba(52, 63, 68, 0.5);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.contact-intro p {
  color: var(--fg-dim);
  font-size: 14px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg1);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: var(--bg2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon.green {
  background: rgba(167, 192, 128, 0.1);
  color: var(--green);
}

.contact-icon.blue {
  background: rgba(127, 187, 179, 0.1);
  color: var(--blue);
}

.contact-icon.aqua {
  background: rgba(131, 192, 146, 0.1);
  color: var(--aqua);
}

.contact-icon.yellow {
  background: rgba(219, 188, 127, 0.1);
  color: var(--yellow);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  margin-bottom: 8px;
}

.availability-note {
  font-size: 12px;
  color: var(--fg-dim);
}

/* Contact Form CTA */
.contact-form-cta {
  margin: 24px 0;
  text-align: center;
}

.contact-form-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-form-cta .btn svg {
  width: 16px;
  height: 16px;
}

.contact-form-cta .btn.primary {
  background: var(--green);
  color: var(--bg0);
}

.contact-form-cta .btn.primary:hover {
  background: var(--aqua);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 192, 128, 0.3);
}

/* Window Footer */
.window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  margin-top: 8px;
  background: rgba(52, 63, 68, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg3);
  border-radius: 8px;
  font-size: 11px;
  color: var(--fg-dim);
}

.footer-tech {
  display: flex;
  gap: 16px;
}

.footer-tech span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-tech svg {
  width: 12px;
  height: 12px;
}

.heart {
  color: var(--red);
}


/* ========================================
   Learning History (Skills)
   ======================================== */

.learning-history {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.8;
  background: var(--bg0);
  border: 1px solid var(--bg2);
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
}

.history-line {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  flex-wrap: wrap;
}

.history-line.indent {
  padding-left: 24px;
}

.history-prompt {
  color: var(--green);
  font-weight: bold;
}

.history-command {
  color: var(--fg);
}

.history-output {
  color: var(--blue);
  opacity: 0.9;
}

.history-line.highlight .history-command {
  color: var(--purple);
  font-style: italic;
}


/* ========================================
   Projects Tabs
   ======================================== */

.projects-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--bg3);
  padding-bottom: 12px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--bg3);
  border-radius: 6px;
  color: var(--fg-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab svg {
  width: 16px;
  height: 16px;
}

.tab:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--bg1);
}

.tab.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg0);
}

.tab.active svg {
  color: var(--bg0);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
  display: block;
}


/* ========================================
   Project Badges, Features & CTA
   ======================================== */

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.project-badge.client {
  background: rgba(127, 187, 179, 0.15);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.project-badge.personal {
  background: rgba(167, 192, 128, 0.15);
  color: var(--green);
  border: 1px solid var(--green);
}

.project-badge.opensource {
  background: rgba(219, 188, 127, 0.15);
  color: var(--yellow);
  border: 1px solid var(--yellow);
}

.private-repo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--bg1);
  border: 1px solid var(--bg3);
  border-radius: 4px;
  font-size: 11px;
  color: var(--fg-dim);
  cursor: help;
}

.private-repo svg {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}

.project-features {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg1);
  border-radius: 6px;
  border-left: 3px solid var(--green);
}

.project-features h4 {
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--fg);
}

.project-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-features li {
  font-size: 12px;
  color: var(--fg-dim);
}

.project-features li::before {
  content: "→ ";
  color: var(--green);
}

.project-cta {
  margin-top: 16px;
  text-align: right;
}

.btn.small {
  padding: 6px 12px;
  font-size: 12px;
}


/* ========================================
   Infrastructure Highlight
   ======================================== */

.infra-highlight {
  background: linear-gradient(135deg, rgba(52, 63, 68, 0.8), rgba(45, 53, 59, 0.9));
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.infra-highlight h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--aqua);
}

.infra-highlight h3 svg {
  width: 20px;
  height: 20px;
}

.stat-item {
  padding: 16px;
  background: var(--bg1);
  border-radius: 8px;
  border: 1px solid var(--bg2);
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}


/* ========================================
   Utilidades
   ======================================== */

.prompt {
  color: var(--green);
  font-weight: bold;
}

.command {
  color: var(--fg);
}

.comment {
  color: var(--purple);
  font-size: 10px;
  margin-left: 6px;
}


/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .window-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--bg3);
    padding: 12px;
  }

  .nav-section {
    margin-bottom: 16px;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .nav-list li {
    margin-bottom: 0;
  }

  .nav-footer {
    display: none;
  }

  .content {
    padding: 16px;
    max-height: none;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .projects-tabs {
    flex-wrap: wrap;
  }

  .tab {
    flex: 1;
    justify-content: center;
  }

  .project-header {
    flex-direction: column;
    gap: 12px;
  }

  .window-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* ========================================
   Print
   ======================================== */

@media print {
  .bg-forest,
  .window-header,
  .window-footer,
  .sidebar {
    display: none;
  }

  .window-content {
    border: none;
    background: white;
  }

  .section {
    display: block !important;
    page-break-inside: avoid;
  }
}