/* site body, fonts, background animations */

@font-face {
  font-family: "gohu";
  src: url("/assets/GohuFont11NerdFont-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "gohu", monospace;
  background-image: url("/assets/crossline.png");
  background-repeat: repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

/* window bar css rules */
.window-bar {
  width: 100%;
  height: 20px;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: none;
}

.window-bar-section {
  width: 33.33%;
  color: #fff;
  display: flex;
}


.window-bar-section-exit {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.window-bar-section-title {
  justify-content: center;
}

.window-bar-btn {
  background-color: #ff0000;
  width: 20px;
  height: 20px;
}

/* computer window styling */

.window-style {
  background-color: #ffffff;
  border: 1px solid #000;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  box-shadow: 5px 5px 2px rgba(0, 0, 0, .75);
}

.window-style::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none; /* Ensure scan lines do not affect child elements */
  z-index: -1;
}

.window-style-inner {
  margin: 5px;
  padding: 5px;
  opacity: 0.85;
  border: 1px black dotted;
  background-color: white !important; /* Ensure it only applies to this element */
}

/* banner styling */
.banner {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.banner-text {
  font-family: "gohu", monospace;
  font-size: 0.5em;
  color: #000;
  white-space: pre-wrap; /* Preserve whitespace */
}

/* adware decoration styling */
.adware {
 max-width: 920px;
 width: 100%;
}

.adware-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}


.main-wrapper {
  width: 920px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
}

.content-wrapper {
  width: 78%;
  align-self: flex-start; /* Prevent stretching */
}

.content h1 {
  background-image: linear-gradient(to right, black, white);
  margin: 0px;
  width: 100%;
  color: white;
  align-self: stretch;
  border-left: 5px solid black;
}


/* sidebar styling */
.sidebar-wrapper {
  width: 20%;
  align-self: flex-start; /* Prevent stretching */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-list {
  list-style-type: none;
  text-decoration: none;
  color: black;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  border-bottom: 1px dashed;
  width: 100%;
  margin-bottom: 5px;
}

.sidebar-list li a{
  text-decoration: none;
  color: black;
}

.sidebar-list li :hover {
  background-color: #000;
}

.sidebar-list li a:hover {
  color: #fff;
  /* margin-left: 10px; */
}

/* footer window styling */
.footer {
  width: 100%;
  max-width: 720px;
}
