@charset "UTF-8";
@media (max-width: 768px) {
  #content {
    width: 90% !important;
  }
}
a {
  transition: color 0.2s;
}

a:hover {
  color: #35ff42 !important;
}

.centered {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

body {
  margin: 0;
  background-color: #202020;
}

#sug {
  color: #FFFFFF;
  text-align: left;
  margin-left: 50px;
  font-family: "Arial", sans-serif;
  font-size: 40px;
}

.index_link {
  color: #FFFFFF;
  text-align: left;
  margin-left: 50px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 20px;
}

.footer_link {
  color: #FFFFFF;
  text-align: center;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 17px;
}

.bg-img {
  background-image: url("/files/index_bg.jpg");
  background-size: cover;
  background-position: center;
  width: 400px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#index_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.white-border {
  border: thick solid white;
}

.text1 {
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
}

.fullscreen {
  width: 100vw !important;
  height: 100vh !important;
}

#home {
  padding-bottom: 30px;
  transition: color 0.75s ease;
}

#index_text {
  transition: opacity 0.5s;
}

@font-face {
  font-family: "neomatrix";
  src: url("/NeomatrixCode.ttf") format("truetype");
}
.horiz-cent {
  display: flex;
  justify-content: center;
}

#content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 1s;
  width: 600px;
  height: calc(100vh - 3rem);
  overflow: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
}

#writeup-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 1s;
  height: calc(100vh - 3rem);
  overflow: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
  width: 1000px;
}

.invisible {
  opacity: 0 !important;
  visibility: hidden !important;
}

#content::-webkit-scrollbar {
  display: none;
}

#content * {
  font-family: "neomatrix";
  color: white;
}

#writeup-content * {
  overflow-x: visible;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 95%;
  font-family: "Cascadia Code", monospace;
  color: white;
}

.neo {
  font-family: "neomatrix";
}

h1 {
  text-align: center;
  font-size: 50px;
}

#terminal {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 20vh;
  background-color: #000;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
}

#terminal * {
  text-align: left;
  font-family: monospace;
}

#output {
  overflow-wrap: break-word;
  height: 20vh;
  overflow-y: auto;
  white-space: pre-wrap;
  padding: 10px;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
}

#output::-webkit-scrollbar {
  display: none;
}

#input-container {
  margin-top: 5px;
  display: flex;
  align-items: center;
  position: relative;
}

#prompt-line {
  display: flex;
  width: 100%;
}

#input {
  width: 0;
  flex: 1;
  resize: none;
  background-color: #000;
  color: #00ff00;
  border: none;
  outline: none;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

#links {
  margin-bottom: 15px;
}

.ctf-list {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 1.5rem;
}

.ctf-item {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.ctf-item:hover {
  border-color: #00ba32;
  background-color: #0f2515;
  box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.ctf-item h3 {
  margin: 0 0 0.5rem 0;
}
.ctf-item h3 a {
  text-decoration: none;
  color: #333;
}
.ctf-item h3 a:hover {
  color: #00ba32;
}

.ctf-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.categories {
  margin: 0.5rem 0;
}

.category-tag {
  color: #202020 !important;
  display: inline-block;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

.ctf-post {
  max-width: 800px;
  margin: 0 auto;
}

.ctf-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.ctf-stats {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}
.ctf-stats strong {
  margin-right: 0.5rem;
}
.ctf-stats strong:not(:first-child) {
  margin-left: 1rem;
}

.ctf-content {
  line-height: 1.6;
}
.ctf-content h2, .ctf-content h3, .ctf-content h4 {
  margin-top: 2rem;
}

.ctf-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e8ed;
}

.writeups {
  width: 100%;
  padding: 5px;
}

.writeup {
  border-top: 1px solid #e1e8ed;
}

#ascii-pencils {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #202020;
  overflow: hidden;
  pointer-events: none;
}

.pencil {
  position: absolute;
  white-space: pre;
  font-family: "Courier New", monospace;
  font-size: 6px;
  line-height: 1;
  color: #8B4513;
  opacity: 0.7;
  pointer-events: none;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.highlighter-rouge {
  max-width: 95%;
}

.highlight pre,
pre.highlight {
  white-space: pre-wrap; /* ⭐ This enables wrapping */
  word-wrap: break-word;
  word-break: break-word;
  overflow-x: auto;
}

.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

.highlight, .highlight .w {
  padding: 5px;
  border-radius: 10px;
  color: #fbf1c7;
  background-color: #282828;
}

.highlight .err {
  color: #fb4934 !important;
  background-color: #282828 !important;
  font-weight: bold !important;
}

.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
  color: #928374 !important;
  font-style: italic !important;
}

.highlight .cp {
  color: #8ec07c !important;
}

.highlight .nt {
  color: #fb4934 !important;
}

.highlight .o, .highlight .ow {
  color: #fbf1c7 !important;
}

.highlight .p, .highlight .pi {
  color: #fbf1c7 !important;
}

.highlight .gi {
  color: #b8bb26 !important;
  background-color: #282828 !important;
}

.highlight .gd {
  color: #fb4934 !important;
  background-color: #282828 !important;
}

.highlight .gh {
  color: #b8bb26 !important;
  font-weight: bold !important;
}

.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
  color: #fb4934 !important;
}

.highlight .kc {
  color: #d3869b !important;
}

.highlight .kt {
  color: #fabd2f !important;
}

.highlight .kd {
  color: #fe8019 !important;
}

.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
  color: #b8bb26 !important;
  font-style: italic !important;
}

.highlight .si {
  color: #b8bb26 !important;
  font-style: italic !important;
}

.highlight .sr {
  color: #b8bb26 !important;
  font-style: italic !important;
}

.highlight .sa {
  color: #fb4934 !important;
}

.highlight .se {
  color: #fe8019 !important;
}

.highlight .nn {
  color: #8ec07c !important;
}

.highlight .nc {
  color: #8ec07c !important;
}

.highlight .no {
  color: #d3869b !important;
}

.highlight .na {
  color: #b8bb26 !important;
}

.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
  color: #d3869b !important;
}

.highlight .ss {
  color: #83a598 !important;
}

.language-plaintext {
  color: #35ff42 !important;
  background-color: #282828;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}

/*# sourceMappingURL=styles.css.map */