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

@font-face {
  font-family: 'The2K12';
  src: url('/The2K12.woff') format('woff');
}

@font-face {
  font-family: 'Wellbutrin';
  src: url('/Wellbutrin.woff') format('woff');
}

@font-face {
  font-family: 'chintzy';
  src: url('/chintzy.woff') format('woff');
}

@font-face {
  font-family: 'chintzys';
  src: url('/chintzys.woff') format('woff');
}


/* =========================
   BASE STYLES
========================= */

body {
  background-image: url(/background.gif);
  background-color: black;
  margin: 0;
  padding: 0 75px;
}


/* =========================
   TYPOGRAPHY
========================= */

h1 {
  font-family: 'The2K12';
  text-align: center;
  color: #6aec51;
  font-size: 70px;
}

h2 {
  font-family: 'The2K12';
  color: #6aec51;
}

h3 , h4 , h5 , h6 {
  font-family: 'chintzy';
  color: #6aec51;
}

p, ul {
  font-family: 'Wellbutrin', monospace;
  color: #6aec51;
}


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

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color:#a8ed9a
}

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

.container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


/* =========================
   BOX COMPONENTS
========================= */

.box, .main {
  position: relative;
  background: rgba(0, 40, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 5px double #6aec51;
  box-shadow: 0 0 14px rgba(106, 236, 81, 0.25);
  padding: 30px 20px 20px;
  border-radius: 12px;
  overflow: visible;
}

.box-title {
  position: absolute;
  top: -30px;
  right: 15px;
  left: unset;
  padding: 0 6px;
  color: #ffffff;
  font-family: 'chintzy', monospace;
  font-size: 40px;
  z-index: 10;
  text-align: right;
}


/* =========================
   TEXT BOXES
========================= */

.text-box {
  background: rgba(10, 25, 12, 0.55);
  border: 2px solid #3fa634;
  box-shadow: 0 0 12px rgba(63, 166, 52, 0.18);

  padding: 15px 18px;
  margin: 15px 0;

  position: relative;
  border-radius: 0;

  font-family: 'Wellbutrin', monospace;
  color: #6aec51;

  transition: 0.2s ease;
}

.text-box-title {
  position: absolute;
  top: -12px;
  left: 12px;
  padding: 0 6px;
  font-family: 'chintzy', monospace;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(106, 236, 81, 0.35);
}

.text-box:hover {
  border-color: #a8ed9a;
  box-shadow: 0 0 16px rgba(47, 143, 138, 0.35);
  transform: translateX(4px);
  
}


/* =========================
   IMAGE + TEXT ROW
========================= */

.text-image-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin: 15px 0;
}

.text-image-row .text-box {
  flex: 1;
}

.side-image {
  height: 150px;
  width: auto;
  margin-top: 5px;
  transition: 0.2s ease;
  border-radius: 0;
}


/* =========================
   IMAGE BOXES
========================= */

.lastfm-box,
.image-box {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.lastfm-widget,
.image-widget {
  width: 100%;
}

.lastfm-widget img,
.image-widget img {
  width: 100%;
  display: block;
}


/* =========================
   NAV BUTTON BOX
========================= */

.nav-box {
  position: relative;
  background: rgba(38, 77, 101, 0.35);
  border: 5px double #6aec51;
  box-shadow: 0 0 14px rgba(106, 236, 81, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding: 50px 20px 20px;
  border-radius: 12px;
  margin-top: 20px;
}

/* OVERLAPPING TITLE */
.nav-box-title {
  position: absolute;
  top: -30px;
  right: 15px;

  font-family: 'chintzy', monospace;
  font-size: 40px;
  color: #ffffff;

  padding: 0 6px;
}

/* 2 COLUMN GRID */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* BUTTON TILE */
.nav-tile {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  height: 75px;
  padding: 10px 15px;

  background: rgba(10, 25, 12, 0.55);
  border: 2px solid #3fa634;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  text-decoration: none;
  color: #ffffff !important;  

  font-family: 'chintzy', monospace;
  font-size: 18px;

  box-shadow: 0 0 10px rgba(63, 166, 52, 0.15);
  transition: 0.2s ease;
}

/* HOVER */
.nav-tile:hover {
  transform: translateX(4px);
  border-color: #a8ed9a;
  box-shadow: 0 0 16px rgba(81, 236, 210, 0.35);
}

/* =========================
   SHRINE STUFF
========================= */
.shrine-dir-box {
  position: relative;
  background: rgba(38, 77, 101, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 5px double #6aec51;
  box-shadow: 0 0 14px rgba(106, 236, 81, 0.25);
  padding: 50px 20px 20px; 
  margin: 0 250px;
  border-radius: 12px;
  overflow: visible;
}

.shrine-dir-title {
  position: absolute;
  top: -70px;
  padding: 0 6px;
  color: #ffffff;
  font-family: 'chintzy', monospace;
  font-size: 40px;
  z-index: 10;
}

.shrine-dir-box:first-of-type .shrine-dir-title {
  left: 10px;
  right: unset; 
}

.shrine-dir-box:last-of-type .shrine-dir-title {
  right: 10px; 
  left: unset; 
}

/* SHRINE GRID */
.shrine-grid {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 15px;
  justify-content: center;
  align-items: start;
  justify-items: center;
}

/* SHRINE IMAGE */
.shrine-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
  margin: 0 auto;
}

/* SHRINE IMAGE FOR WIDE IMAGE */
.shrine-img.wide {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.shrine-img:hover {
  transform: scale(1.05);
}

/* =========================
   UTILITIES
========================= */

.center-img {
  display: block;
  margin: 20px auto;
}

.footer-text {
  text-align: center;
}