@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Tagesschrift&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Calistoga&family=Tagesschrift&display=swap');

:root {
  /* --- Colours --- */
  --bg-color: #712E21;          /* = web page background */
  --panel-bg: #F0E3C6;          /* = panel background */
  --panel-border: #938a79;      /* = panel border */

  --username-color: #FFB857;    /* = the big name heh :smirk: */
  --nav-bg: #B15503;            /* = nav button fill */
  --nav-text: #FFFFF9;          /* = nav button text */
  --nav-hover-bg: #bc670c;      /* = nav button hover */

  --text-color: #1a1a1a;        /* = main body text */
  --tagline-color: #1a1a1a;     /* = italic tagline */
  --note-color: #555;           /* = small disclaimer */

  --sparkle-color: #1a1a1a;     /* = decorative stars */

  /* --- Fonts ---  */
  --font-body: "Balsamiq Sans", sans-serif;
  --font-username: "Calistoga", "Times New Roman", serif;
  --font-nav: Arial, Helvetica, sans-serif;

  /* --- Web Wide Sizes --- */
  --avatar-size: 210px;
  --sidebar-width: 220px;
  --panel-padding: 1.8rem;
  --nav-btn-gap: 0.6rem;
}

/* =============================================
   RESET BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body {
  background-color: var(--bg-color);
  font-family: var(--font-body);
  color: var(--text-color);
  min-height: 100vh;
  background-image: url(/IMAGES/Thomas_Jordan-bg.jpg);
  background-size: cover;
  background-position: right;
}

/* =============================================
   LAYOUT
   ============================================= */
.page-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 0;

  /* PREVENTS THE MAIN CONTENT FROM FUCKING AROUND DUMBASS */
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 1rem;
}

/* =============================================
   SIDEBAR (left column)
   ============================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--sidebar-width);
  flex-shrink: 0;

  position: relative;
  z-index: 1;
}

.side-line::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  bottom: 0;
  background-color: #000000;
  border-radius: 9px;
  z-index: -1;
  width: 80%;
  height: 120%;
}

/* --- AVATAR --- */
.avatar-ring {
  padding: 16px;
  background-color: #1a1a1a;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
}

.avatar-wrap {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  overflow: hidden;
  background-color: #333; /* fallback colour ! */
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- USERNAME --- */
.username {
  font-family: var(--font-username);
  font-size: 3.4rem;
  position: relative;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--username-color);
  text-align: center;
  margin-bottom: -1rem;

  /* remove these if you don't want a shadow */
  text-shadow: 0px 2px 6px rgba(89, 11, 11, 0.672);
}

/* --- NAV BUTTONS --- */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--nav-btn-gap);
  width: 100%;
  align-items: center;
}

.nav-btn {
  display: flex;
  gap: 0.6rem;
  width: 60%;

  background-color: var(--nav-bg);
  color: var(--nav-text);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;

  padding: 0.66rem 1rem;
  border-radius: 4px;
  border: 2px solid transparent;

  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nav-btn:hover {
  background-color: var(--nav-hover-bg);
  border-color: #cf9e0b;
  transform: scaleX(1.1);
}

.link-icon {
  font-size: .9rem;
}

.r-btn {
  max-width: min-content;
  margin: auto;
  margin-top: 1.2rem;
  background: linear-gradient(180deg,rgba(170, 151, 143, 0.514) 40%, #c0b18e 100%);
}

.s-btn {
  width: auto;
  margin: auto;
  background: linear-gradient(180deg,rgba(170, 151, 143, 0.514) 40%, #c0b18e 100%);
}

.sticker {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.sticker-glue {
  position: absolute;
  bottom: -35%;
  right: 0;
}

/* =============================================
   PANEL (right column)
   ============================================= */
.bio-panel {
  flex: 1;
  background-color: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: inset 0px 0px 40px 15px #877f6d, 0px 0px 50px 6px #EFE1C5;
  border-radius: 6px;
  padding: var(--panel-padding);
  position: relative;

  margin-left: -40px;
  padding-left: calc(var(--panel-padding) + 40px);
  margin-top: 2rem;
  z-index: 0;

  animation: fadeIn 1s ease-in-out;
}

.panel {
  flex: 1;
  background-color: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: inset 0px 0px 40px 15px #877f6d, 0px 0px 50px 6px #EFE1C5;
  border-radius: 6px;
  padding: var(--panel-padding);
  position: relative;

  margin-left: -40px;
  padding-left: calc(var(--panel-padding) + 40px);
  margin-top: 2rem;
  z-index: 0;

  animation: fadeIn 1s ease-in-out;
}

/* --- SPARKLE / DECORATIN --- */
.bio-header {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-bottom: -10.6rem;
}

.sparkle {
  font-size: 4.8rem;
  color: var(--sparkle-color);
  position: relative;
  top: -5.3rem;
  font-family: Arial;
}
.s2 {
    font-size: 8.8rem;
    top: -8.2rem;
}

.showcase-wrapper {
  position: relative;
  margin: auto;
  background: #1a1a1a;
  width: 40%;
  padding: 1rem;
  border-radius: .6rem;
  margin-bottom: 1.6rem;

  box-shadow: 0 0 4px 2px #bc670c;
}

.animation-ring {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1 / 1;
  inset: 0;
  margin: auto;
  width: 140%;
  margin-right: -20%;
  background: url(/IMAGES/test.png);
  background-size: cover;
  animation: rotate 40s linear infinite;
}

.showcase img {
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover
}

/* =============================================
   CONTENT STYLE
   ============================================= */

/* --- TITLE --- */
.title {
  font-family: var(--font-username);
  letter-spacing: .2em;
}

/* --- BODY PARAGRAPHS --- */
.bodytext {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --- SMALL DISCLAIMER NOTE --- */
.bio-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--note-color);
  margin-top: 1.2rem;
  border-top: 1px solid var(--panel-border);
  padding-top: 0.8rem;
}

/* --- CENTER TEXT --- */
.text-center {
  text-align: center;
}

/* --- HORIZONTAL BREAK --- */
.break {
  border: inset 1px #d7bc96;;
  margin-top: 4px;
}

/* --- CURREN FIXATION / SPOTLIGHT --- */
.fix {
  margin: auto;
  width: fit-content;
  margin-top: -.6rem;
  margin-bottom: .9rem;
  letter-spacing: .2rem;
  text-align: center;
}
.fix-title {
  font-weight: 600;
  text-shadow:
    -1px -1px 0 #712E21,
     1px -1px 0 #712E21,
    -1px  1px 0 #712E21,
     1px  1px 0 #712E21;
  color: #FFB857;
  font-size: larger;
}
.fix-name {
  text-shadow: 0 0 4px #e9c44c;
}

/* --- BASIC TABLE --- */
table {
  border: solid 1px black;
  margin: auto;
  border-collapse: collapse;
  width:100%
}
tr:nth-child(even) {
  background-color: #e3d5b7;
}
tr {
  border-bottom: 1px solid black;
}
td, th {
  border-right: 1px solid black;
  padding: 4px;
}
th {
  background: linear-gradient(180deg,rgba(0, 0, 0, 0) 40%, #c0b18e 100%);
}

/* --- ALT TABLE --- */
table.table2 {
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    text-align: center;
}
table.table2 th {
    border-bottom: .2rem double #B15503;
    border-inline: none;
    background-color: #877f6d;
    color: #EFE1C5;
    padding: 7px;
    letter-spacing: .2rem;
}
table.table2 td {
    color: #000000;
    padding: .6rem;
    text-align: center;
}
table.table2 tr:nth-child(even) {
  background-color: transparent;
}
.table2 td, .table2, .table2 tr, .table2 table {
    border: none;
}


.listy {
  list-style: inside;
  font-family: var(--font-nav);
}
.listy li {
  padding-block: .4rem;
}



/* =============================================
   RESPONSIVE : stack on small screens
   ============================================= */
@media (max-width: 580px) {
  .page-wrapper {
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
  }

  .sidebar {
    width: 100%;
  }

  .bio-panel {
    width: 100%;
    margin-left: auto;
    margin-top: 40%;
    padding-left: 9%;
  }

  .side-line::before {
    content: '';
    height: 100%;
}

  .sticker-glue {
    bottom: -16%;
}

  td, th {
    overflow-wrap: break-word;
    font-size: .8rem;
}

  .showcase-wrapper {
    margin-top: 1rem;
  }
}