html {
  -webkit-text-size-adjust: 100%; /* Prevents font scaling on WebKit browsers */
  text-size-adjust: 100%;       /* Prevents font scaling on other browsers */
}

body {
  background-image: url('/schema/myspace/stars2-BG.gif');
  background-color: #000; 
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size:12px;
}

a:link, a:visited {
    color: #0000FF; /* Default link color */
    text-decoration: none; /* No underline by default */
}

a:hover {
    color: #cc0000; /* Link color when hovered */
    text-decoration: underline; /* Underlined when hovered */
}

.hidden {
  display: none;
}

/* HEADER (MAIN MYSPACE BLUE) */
.header {
  position: relative;
  width: 820px;
  height: 100px;
  margin: 0 auto;
  padding-top: 0px; /* Change padding to 0 if no Xmas lights, 14px yes there are Xmas lights */
  background-color: #003399;
  overflow: hidden;
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 4;
  text-align: left;
  display: flex; /* Use Flexbox for layout */
  align-items: center; /* Align items vertically */
  gap: 434px; /* Add space between the logo and the YouTube banner */
}

.youtube-banner {
  position: relative;
  margin-top: 20px;   /* Adjust vertical position */
  user-select: none; /* Prevents text/image selection */
  pointer-events: none; /* Disables dragging and other pointer interactions */
}

.logo-link img {
  user-select: none; /* Prevents text/image selection */
  pointer-events: none; /* Disables interactions like dragging */
}

/* CHRISTMAS SNOW */
/* Common styles for all snow layers */
.snow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 820px;
  height: 116px; /* Adjust the height of the snow depending if you add any padding-top to the main header */
  pointer-events: none;
  background-repeat: repeat;
}

/* First snow layer animation */
.snow-layer-1 {
  z-index: 2;
  background-image: url('../images/snow.png');
  animation: snow-layer-1 12s linear infinite;
}

/* Second snow layer animation */
.snow-layer-2 {
  z-index: 1;
  background-image: url('../images/snow-2.png');
  animation: snow-layer-2 22s linear infinite;
}

/* Snow animations */
@keyframes snow-layer-1 {
  from {
      background-position: 0 0;
  }
  to {
      background-position: 300px 300px; /* Diagonal movement */
  }
}

@keyframes snow-layer-2 {
  from {
      background-position: 0 0;
  }
  to {
      background-position: 400px 400px; /* Slower and diagonal movement */
  }
}

/* CHRISTMAS LIGHTS */
.christmas-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 820px;
  height: 16px;
  z-index: 3;
  background-image: url('../images/christmas-lights.gif');
  background-repeat: repeat-x;
  background-size: auto 16px;
  background-position: top;
}

/* BLOG SECTION */
.blog {
  font-family: Verdana, sans-serif;
  font-size:12px;
  line-height: 1.6;
  padding-bottom: 6px;
}

.badges {
  padding-bottom: 10px;
  display: flex;
  gap: 6px; /* Space between items */
}

/* BLUE TITLE SECTIONS */
.blue-section-wrapper {
  font-family: Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.blue-table-container {
  width: 300px;
  margin: 0;
  border: 2px solid #6799C5;
  background-color: #6699CC;
}

.blue-header {
  background-color: #6799C5;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px;
  margin-bottom: 2px;
  word-wrap: break-word;
}

.blue-content-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.blue-content-table th,
.blue-content-table td {
  padding: 3px;
  text-align: left;
  border: 3px solid #ffffff; /* Thicker borders */
}

.blue-content-table th {
  width: 101px;
  background-color: #B1D0EF;
  color: #336699;
  vertical-align: top;
  text-align: left;
  font-size: 12px;
}

.blue-content-table td {
  background-color: #D5E7FF;
  color: #000000;
  font-size: 12px;
  word-wrap: break-word;
}

/* ORANGE TITLE SECTIONS */
.orange-bar {
  height: 20px;
  width: 434px;
  background-color: #fdcc92;
  margin-bottom: 5px;
  display: flex;
  align-items: center; /* Vertically centers the text */
  padding-left: 8px; /* Adds padding to the left */
  box-sizing: border-box; /* Ensures padding is included in width/height */
}

.orange-bar-text {
  color: #ff6700;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  word-wrap: break-word;
}

/* General orange body container (optional for future styling) */
.orange-body {
  margin-bottom: 0px;
}

/* Orange body title styling */
.orange-body-title {
  color: #ff6700;
  font-weight: bold;
  font-family: 'Verdana', sans-serif;
  font-size: 12px;
  padding-left: 8px;
}

/* Orange body content styling */
.orange-body-content {
  color: #000000;
  font-family: 'Verdana', sans-serif;
  font-size: 12px;
  display: inline-block;
  padding-bottom: 10px;
  padding-left: 8px;
}


/* FRIEND SPACE */
.friends-container {
  width: 434px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 4px;
}

.friends {
  display: flex;
  justify-content: space-around; /* Ensures items are not fully at the edges vs. space-between */
  flex-wrap: wrap;
  gap: 0px; /* Decrease the space between items */
  padding: 0 5px; /* Adds padding on the left and right */
}

.friend {
  text-align: center;
}

.friend-link {
  color: #0000FF;
  font-weight: bold;
  font-family: Verdana, sans-serif;
  font-size: 12px;
}

.friend-img {
  width: 85px;
  height: 95px;
  margin-top: 2px;
}

.view-all {
  text-align: right;
  margin-top: 10px;
}

.view-all-link {
  color: #cc0000 !important;
  font-weight: bold;
  font-family: Verdana, sans-serif;
  font-size: 12px;
}

/* SCROLLING PHOTOS */
.photo-scroll-container {
  height: 640px;
  width: 420px;
  border: 5px solid #b1d0ef;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  display: block;
}

.photo-scroll-container img {
  display: block; 
  width: 100%; 
  margin: 0; 
  padding: 0; 
  border: none; 
}

/* TABLES CONTAINER */
.tables-container {
    display: flex; /* Use flexbox to align tables side by side */
    flex-wrap: nowrap; /* Prevent items from wrapping */
    width: 820px; /* Total width of the container */
    margin: 0px auto; /* Center the container horizontally */
    gap: 11px; /* Add spacing between the tables */
    background-color: #ffffff;
}

.table-wrapper:not(:last-child) {
    margin-right: 11px; /* Fallback spacing */
}
/* FIRST TABLE WRAPPER LEFT */
.table-wrapper {
    flex: 0 0 346px; /* Fixed width for the first table */
    background-color: #ffffff;
    margin-bottom: 13px; /* Add space below each table */
    padding-bottom: 10px; /* Optional: Add internal space for better breathing room */
    margin-left: 20px;
}

/* SECOND TABLE WRAPPER RIGHT */
.table-wrapper-2 {
    flex: 0 0 434px; /* Fixed width for the second table */
    background-color: #ffffff;
    margin-left: -20px; /* The TRUE GAP between both Table Wrappers!!! */
    margin-bottom: 13px; /* Add space below each table */
    padding-bottom: 0px; /* Optional: Add internal space for better breathing room */
    overflow: hidden; /* Prevent content overflow */
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
}
/*------------------------- PROFILE SECTION ---------------------------*/
.profile-container {
    font-family: Verdana, sans-serif;
    max-width: 304px;
    background-color: transparent;
    margin: 0;
    align-self: flex-start;
  }

  .profile-header {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .profile-body {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .profile-image {
    position: relative;
    flex: 0 0 181px;
  }

  .profile-image img {
    width: 181px;
    height: 173px;
    border-radius: 0px;
    object-fit: cover;
  }

  .profile-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 0;
  }

  .profile-text b {
    font-size: 12px;
    margin-top: 0px;
  }

  .profile-text p {
    margin-top: 0px;
  }

  .profile-mood {
    margin-top: 8px;
    font-size: 12px;
  }

  .profile-mood img {
    height: 18px;
    vertical-align: middle;
    position: relative;
    top: -2px; /* Adjust value to shift mood image */
  }

  .profile-links {
    margin-top: 6px;
    font-size: 12px;
  }

  .profile-links a {
    text-decoration: none;
    color: #0000FF;
  }

  .profile-links a:hover {
    text-decoration: underline;
    color: #cc0000;
  }

/* MOBILE STYLING */
@media screen and (max-width: 820px) {
    .tables-container {
        flex-wrap: nowrap; /* Stack tables vertically */
        justify-content: left; /* Center tables in the viewport */
        gap: 10px; /* Add vertical spacing */

    }

    .table-wrapper, .table-wrapper-2 {
        max-width: 820px; /* Prevent overflow */

    }

    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
        font-size: 12px;
    
    }
}

/* FOOTER STYLING */
.footer {
    text-align: center;
    width: 100%; /* Full width for the footer */
    background-color: transparent; /* Match body background */
    color: #fff;
    padding: 18px 0; /* Vertical padding for breathing room */
    position: relative; /* Ensure it's not affected by other elements */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: normal ;
}

.footer p {
    margin: 0 auto;
    max-width: 820px; /* Limit the footer content width */
}

/* IMAGES BOTTOM OF HOME PAGE STYLING */
.image-container-bottom-page {
        text-align: center;
}
.image-container-bottom-page img {
        margin: 5px; /* Spacing between images */
}

footer a {
  color: #9fe2f8 !important; /* Light blue with !important to override */
  text-decoration: none;
}

footer a:hover {
  color: #87CEEB !important; /* Slightly darker blue on hover */
}

/* --------------- AUDIO PLAYER ----------------- */
.audio-player {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #b0b0b0, #e0e0e0);
  border: 2px solid #808080;
  width: 288px;
  padding: 6px;
  font-family: Arial, sans-serif;
  }
  /* Play button */
  .audio-player button {
  background: linear-gradient(45deg, #444, #999); /* Metallic gradient */
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  }
  .audio-player button:hover {
  background: linear-gradient(45deg, #222, #777); /* Button darker on hover */
  }
  /* Song information */
  .audio-info {
  flex-grow: 1;
  margin-left: 10px;
  text-align: left;
  margin-bottom: -4px;
  }
  .audio-info .title {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
  }
  .audio-info .artist {
  font-size: 10px;
  color: #666;
  }
  /* Volume Slider */
  .volume-slider {
  width: 100%;
  margin-top: 0px;
  }
  .volume-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: linear-gradient(to right, #ff9800 75%, #e67e00 75%); /* Dynamic background */
  border-radius: 5px;
  outline: none;
  }
  .volume-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #ff9800;
  border-radius: 50%;
  cursor: pointer;
  }
  .volume-slider input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ff9800;
  border-radius: 50%;
  cursor: pointer;
}

/* ---------------- CONTACTING MAX SOCIAL MEDIA ---------------- */
.contact-container {
  width: 300px; /* Matches the width of the profile section */
  border: 2px solid #6799C5;
  font-family: 'Verdana', sans-serif;
  font-size: 12px;
  margin-top: 14px; /* Adds separation from profile */
  margin-bottom: 13px;
  background-color: #fff; /* Ensure a white background */
}

.contact-header {
  background-color: #6799C5;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px;

  text-align: left;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 6px; /* Space between columns */
  padding: 4px; /* Adds spacing inside the container */
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 6px; /* Adds spacing between links in each column */
}

.contact-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: blue;
  font-size: 12px;
}

.contact-link img {
  margin-right: 5px;
  vertical-align: middle;
  height: 14px; /* Consistent icon size */
}

/* --------------- MEOW :3 ----------------- */
.cat-container {
    text-align: center;
    margin-top: 20px;
}

#cat-image {
    width: 40px;
    cursor: pointer;
}

.wiggle {
    animation: wiggle 1s ease;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}
