/* ========================================
   FONTS
======================================== */

@font-face {
  font-family: "NudistaMedium";
  src: url("NudistaMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ApercuMono";
  src: url("ApercuMonoProRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ========================================
   SOLID BLACK BACKGROUND
======================================== */

body.section-theme {
  --section-gutter: clamp(20px, 3vw, 55px);

  min-height: 100vh;
  margin: 0;

  color: #ffffff;
  background: #000000;

  font-family: "NudistaMedium", Arial, sans-serif;
  font-weight: 500;

  overflow-x: clip;
}

.section-theme .site-container {
  min-height: 100vh;

  margin: 0;

  padding:
    clamp(20px, 3vh, 35px)
    var(--section-gutter)
    35px
    !important;

  color: #ffffff;
  background: #000000;
}

.section-theme,
.section-theme * {
  text-shadow: none !important;
}

.section-theme .content-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
}


/* ========================================
   REMOVE PREVIOUS DECORATIVE ELEMENTS
======================================== */

.section-theme .site-header,
.section-theme .section-backdrop,
.section-theme .section-shapes {
  display: none !important;
}


/* ========================================
   NAVIGATION — MATCH HOME AND MARRA
======================================== */

.section-theme .top-nav {
  position: relative;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  margin: 0 0 clamp(24px, 5vh, 65px);
  padding: 0;
}

.section-theme .top-nav .nav-tab,
.section-theme .top-nav .nav-tab:hover,
.section-theme .top-nav:hover .nav-tab {
  margin: 0;
  padding: 0;

  color: #ffffff;
  background: transparent;
  opacity: 1;

  font-family: "ApercuMono", monospace;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;

  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.section-theme .top-nav .nav-tab.active,
.section-theme .top-nav .nav-tab[aria-current="page"] {
  color: #ffffff;
  background: transparent;
  opacity: 1;

  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.section-theme .nav-tab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}


/* ========================================
   RESUME
======================================== */

.section-theme .cv-container {
  width: 100%;
  margin-top: 0;

  color: #ffffff;
  font-family: "NudistaMedium", Arial, sans-serif;
  font-weight: 500;
}

.section-theme .cv-content,
.section-theme .cv-item-desc,
.section-theme .cv-interests {
  color: #ffffff;

  font-family: "NudistaMedium", Arial, sans-serif;
  font-weight: 500;
}

.section-theme .cv-label,
.section-theme .cv-item-title {
  font-family: "ApercuMono", monospace;
  font-weight: 400;
}

.section-theme .cv-item-title {
  color: #ffffff;
}

.section-theme .cv-label,
.section-theme .cv-item-date,
.section-theme .cv-list-meta {
  color: #bcbcbc;
}

.section-theme .cv-row {
  border-bottom-color: rgb(255 255 255 / 20%);
}

.section-theme .cv-list-item {
  border-bottom-color: rgb(255 255 255 / 12%);
}


/* ========================================
   PORTFOLIO
======================================== */

.section-theme .pdf-viewer-container {
  width: 100%;
  height: 78vh;
  height: 78dvh;
  min-height: 420px;

  margin: 0 0 30px;

  border: 0;
  background: #000000;
  box-shadow: none;
}

.section-theme .pdf-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ========================================
   IMAGES ARCHIVE
======================================== */

.section-theme .scattered-canvas {
  margin-top: 0;
}

.section-theme .floating-image-wrapper,
.section-theme .floating-image-wrapper:hover {
  background: transparent;
  box-shadow: none;
}

.section-theme .load-more-btn {
  color: #ffffff;
  background: transparent;
  border-color: #ffffff;

  font-family: "ApercuMono", monospace;
  font-weight: 400;
}

.section-theme .load-more-btn:hover {
  color: #000000;
  background: #ffffff;
}

.section-theme a:focus-visible,
.section-theme button:focus-visible {
  outline-color: #ffffff;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
  .section-theme .top-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;

    margin-bottom: 24px;
  }

  .section-theme .top-nav .nav-tab {
    font-size: 0.75rem;
  }
}