/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  background: #000000;
}

body {
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.15;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: #ff3cff;
  font: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #00ffcc;
  text-decoration: none;
}

p {
  margin: 0 0 16px 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* =========================================================
   SITE WRAPPER
   ========================================================= */

.site-wrapper {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 24px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  width: 100%;
  margin: 0 0 24px 0;
  padding: 0;
}

.site-title {
  margin: 0 0 12px 0;
  color: #00ffcc;
  font-size: clamp(25px, 7vw, 40px);
  font-weight: bold;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.tagline {
  max-width: 1000px;
  margin: 0 0 16px 0;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.status-value {
  color: #00ffcc;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  width: 100%;
  margin: 0 0 36px 0;
  padding: 0;
}

.main-nav a {
  color: #ff3cff;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #00ffcc;
}

/* =========================================================
   NOSCRIPT
   ========================================================= */

.noscript-warning {
  margin: 0 0 28px 0;
  color: #ff3cff;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 50px;
  width: 100%;
  align-items: start;
}

.content-column,
.sidebar-column {
  min-width: 0;
  width: 100%;
}

/* =========================================================
   ALL SECTIONS
   NO BOXES, NO BORDERS, NO BACKGROUNDS
   ========================================================= */

.section,
.terminal-box {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 46px 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.section::before,
.section::after,
.terminal-box::before,
.terminal-box::after {
  display: none;
  content: none;
}

.section-heading,
.terminal-box-title {
  width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
  color: #00ffcc;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.command {
  margin: 0 0 18px 0;
  color: #808080;
}

/* =========================================================
   SCROLLABLE LOGS SECTION
   ========================================================= */

.logs-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.logs-frame {
  display: block;
  width: 100%;
  height: 460px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

/* =========================================================
   PROJECTS
   ========================================================= */

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

.project-item {
  width: 100%;
  margin: 0 0 30px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.project-item:last-child {
  margin-bottom: 0;
}

.project-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0 0 8px 0;
  color: #808080;
}

.project-title,
.post-title {
  display: inline-block;
  margin: 0 0 10px 0;
  color: #ff3cff;
}

.project-title:hover,
.project-title:focus,
.post-title:hover,
.post-title:focus {
  color: #00ffcc;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-options {
  width: 100%;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin: 0 0 8px 0;
}

.contact-label {
  color: #00ffcc;
}

.contact-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* =========================================================
   SIDEBAR DATA
   ========================================================= */

.data-list {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
  gap: 6px 16px;
  width: 100%;
  margin: 0;
}

.data-list dt {
  color: #00ffcc;
}

.data-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

/* =========================================================
   NOW PLAYING
   ========================================================= */

.progress-track {
  width: 100%;
  height: 12px;
  margin: 12px 0 0 0;
  overflow: hidden;
  background: #222222;
}

.progress-bar {
  width: 68%;
  height: 100%;
  background: #00ffcc;
}

/* =========================================================
   LINKS
   ========================================================= */

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

.link-list li {
  margin: 0 0 6px 0;
}

/* =========================================================
   QUOTE
   ========================================================= */

.quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.quote footer {
  margin-top: 12px;
  color: #808080;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  margin: 20px 0 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: 100%;
  margin: 0 0 14px 0;
}

.footer-highlight {
  color: #00ffcc;
}

.back-to-top {
  display: inline-block;
  margin-top: 8px;
}

/* =========================================================
   LOGS.HTML PAGE
   ========================================================= */

html:has(body.logs-document) {
  margin: 0;
  padding: 0;
  background: #000000;
}

body.logs-document {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 16px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: #ffffff;
  background: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.15;
  scrollbar-width: thin;
  scrollbar-color: #00ffcc #111111;
}

.logs-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.log-entry {
  width: 100%;
  margin: 0 0 34px 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.log-entry:last-child {
  margin-bottom: 0;
}

.logs-document p {
  margin: 0 0 16px 0;
}

.logs-document p:last-child {
  margin-bottom: 0;
}

/* Chrome, Safari and Edge scrollbar */

body.logs-document::-webkit-scrollbar {
  width: 11px;
}

body.logs-document::-webkit-scrollbar-track {
  background: #111111;
}

body.logs-document::-webkit-scrollbar-thumb {
  background: #00ffcc;
  border: 3px solid #111111;
}

body.logs-document::-webkit-scrollbar-thumb:hover {
  background: #ff3cff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sidebar-column {
    margin-top: 10px;
  }

  .logs-frame {
    height: 420px;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-wrapper {
    padding: 16px;
  }

  .site-title {
    font-size: 42px;
  }

  .status-line,
  .main-nav,
  .footer-line {
    display: block;
  }

  .status-line > span,
  .main-nav a,
  .footer-line > span {
    display: block;
    margin: 0 0 7px 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 14px;
  }

  .data-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .data-list dd {
    margin: 0 0 8px 0;
  }

  .project-meta,
  .post-meta {
    display: block;
  }

  .project-meta span,
  .post-meta span {
    display: block;
    margin: 0 0 4px 0;
  }

  .logs-frame {
    height: 380px;
  }

  body.logs-document {
    padding-right: 10px;
    font-size: 16px;
  }
}