/* ==========================================================================
   1. FONTS
   ========================================================================== */
@font-face {
  font-family: "Ari";
  src: url("fonts/ari-w9500.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ari";
  src: url("fonts/ari-w9500-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "AriDisplay";
  src: url("fonts/ari-w9500-display.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ==========================================================================
   2. BASE ELEMENTS
   ========================================================================== */
html, body, * {
  cursor: url("images/cursor/Red1.png"), auto !important;
  box-sizing: border-box;
}

body {
  background-image: url("images/cb_contents/vlcsnap-2025-03-14-02h28m12s281.png");
  background-color: black;
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Ari", monospace;
  text-transform: uppercase;
  text-align: center;
  font-size: 30px;
  color: red;
  margin: 0;
}

h2, p, li {
  font-family: "Ari", monospace;
  font-size: 18px;
  color: red;
  margin: 0;
}

li, p {
  line-height: 1.5;
  color: red;
}

i {
  font-style: italic;
}

nav li {
  color: red;
  text-decoration: underline;
}

nav li:hover {
  color: black;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
header {
  justify-content: center;
  margin: 60px 0;
}

header h1, header h2 {
  font-style: italic;
  text-align: center;
  color: rgb(99, 32, 32);
  line-height: 100px;
}

header h1 {
  font-size: 100px;
  letter-spacing: 20px;
}

header h2 {
  margin-top: 5px;
}

/* ==========================================================================
   4. MAIN LAYOUT — THREE COLUMNS
   ========================================================================== */
main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin: 0 auto;
  width: 95%;
  height: 750px;
}

/* ==========================================================================
   5. LEFT SIDEBAR
   ========================================================================== */
.side {
  display: block;
  width: 25%;
  min-width: 25%;
  max-width: 25%;
  height: 100%;
  border: 1px solid rgb(147, 7, 7);
  overflow-x: hidden;
  overflow-y: auto;
}

/* ==========================================================================
   6. CENTER COLUMN
   ========================================================================== */
.center {
  display: block;
  width: 50%;
  min-width: 50%;
  max-width: 50%;
  height: 100%;
  border-top: 1px solid rgb(80, 4, 4);
  border-bottom: 1px solid rgb(117, 1, 1);
  overflow-x: hidden;
  overflow-y: auto;
}

.centertitle {
  background-color: black;
}

.centertitle h1 {
  color: rgb(255, 0, 0);
}

.centerTitleLinks {
  width: 100%;
  margin: 5px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 25px;
}

.centerTitleLinks a {
  font-family: "Ari", monospace;
  text-decoration: none;
  color: red;
}

.centerTitleLinks a:hover {
  color: white;
}

.webpages {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.page {
  display: block;
  width: 48%;
  border: 1px solid rgb(92, 8, 8);
  padding: 2px;
  margin: 2px;
}

.page h1 {
  text-align: center;
  font-size: 20px;
  border-top: 1px solid rgb(117, 7, 7);
}

.page img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.pagesect {
  width: 100%;
}

.below-box-text {
  margin: 20px auto;
  width: 90%;
  text-align: center;
}

.below-box-text p {
  font-family: "Ari", monospace;
  font-size: 14px;
  color: #ff1e1e;
  line-height: 1.6;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

.center-image-box {
  width: 90%;
  max-width: 350px;
  margin: 20px auto;
  border: 1px solid rgb(147, 7, 7);
  padding: 6px;
  background-color: black;
  text-align: center;
  overflow: hidden;
}

.center-image-frame {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
  border: 1px solid rgb(92, 8, 8);
}

.center-image-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   7. SHARED BOX STYLES
   ========================================================================== */
.box {
  position: relative;
  border: 1px solid rgb(147, 7, 7);
  padding: 5px;
  margin: 10px;
  z-index: 5;
}

.boxflex {
  display: flex;
  position: relative;
  border: 1px solid rgb(147, 7, 7);
  padding: 5px;
  margin: 10px;
  z-index: 5;
}

.navlinklist {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.box nav {
  display: block;
}

.box nav h1 {
  font-size: 30px;
}

/* ==========================================================================
   8. RIGHT SIDEBAR
   ========================================================================== */
.right-sidebar-fixed {
  display: flex;
  flex-direction: column;
  width: 25%;
  min-width: 25%;
  max-width: 25%;
  height: 100%;
  border: 1px solid rgb(147, 7, 7);
  overflow: hidden;
}

.right-sidebar-fixed .thoughts-box {
  flex: 0 0 auto;
  margin: 10px 10px 0 10px;
  overflow-y: auto;
}

.right-sidebar-fixed .random-image-box {
  flex: 1;
  margin: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(147, 7, 7);
}

.right-sidebar-fixed .random-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   9. DECORATIONS
   ========================================================================== */
.decoimg1 {
  position: absolute;
  top: 519px;
  width: 500px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 10;
}

.d2 {
  opacity: 1;
  z-index: 0;
}

.sideimg {
  display: flex;
  margin: 0 auto;
}

.decoimg2 {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
  padding: 10px;
  width: 50%;
  height: 150px;
}

footer {
  margin-top: 100px;
}

/* ==========================================================================
   10. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1139px) {
  .page {
    width: 100%;
  }
}

@media (max-width: 1316px) {
  .sideimg {
    margin-left: 120px;
  }
}