@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/dubsteptrix.ttf');
}

body {
  display: flex;       /* This aligns the sidebars and content horizontally */
  margin: 0;
  min-height: 100vh;   /* Makes sure it fills the screen height */
  width: 100vw;
    font-family: 'MyCustomFont';
    color: rgb(255, 248, 187);
    background-color: #fc3a98;
    overflow: hidden;
}

#main-content {
display: flex;
    flex-direction: column;
    flex: 1;                /* THIS IS IT: It forces the middle to fill the gap */
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

#sidebar-left, #sidebar-right {
  display: flex;      
  flex-shrink: 0;
  flex-direction: column; 
  border: 10px solid #000; /* The main outer box */
    width: 240px;           /* Sets the width of your sidebar */
    min-height: 95vh;
}

.sidebar-title{
  display: flex;
  justify-content: center;
  text-align: center;
    height: 80px;
    padding: 10px;
     font-size: 30px;
    font-weight: bolder;
    border-bottom: 10px solid #000; /* Line under the title */
  }
  
.nav-box {
    display: flex;          /* Allows us to center the text inside the box */
    align-items: center; /* Centers text vertically */
    justify-content: center;
    padding: 12px 10px;
    color: black;
    text-decoration: underline;
    border-bottom: 10px solid black;
    flex-grow: 1;           /* THIS is what makes every box stretch equally! */
}

.nav-box:last-child {
    border-bottom: none;
}

.artwork-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text and art inside the box */
    margin-left: auto;   /* These two lines center the whole block */
    margin-right: auto;  /* if flexbox isn't doing it for you */
}

/* The Title Bar */
.track-header {
  margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
}
 
/* The Box for your Art */
.artwork-box {
  display: block; 
    border: 10px solid rgb(0, 0, 0);
    line-height: 0; /* Removes a tiny 2px ghost gap at the bottom of images */
}

.artwork-box img {
  display: block;
    max-width: 100%;
    max-height: 60vh; /* Limits height so it doesn't cause a scroll */
}

/* The Player Bar at the bottom */
.player-box {
  display: flex;
  justify-content: center;
  flex-direction: row;
    margin-top: 40px;
    border: 10px;
    padding: 10px;
    background-color:  #5997bb;
    border-radius: 1px;
}

/* Make the audio player fill the width */
audio {
    width: 100%;
}

/*chat page css*/

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%; /* Or whatever height your center column is */
  border: 10px solid #000000;
  background: #5997bb;
}

.message-history {
  display: flex;
  flex-direction: column;
  flex: 1; /* This pushes the input area to the bottom */
  padding: 15px;
  gap: 15px;
  overflow-y: auto; /* Enables scrolling for long chats */
}

.chat-entry {
  border-bottom: 1px solid #000000;
  padding-bottom: 10px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.input-area {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  border-top: 10px solid #010101;
  padding: 10px;
  gap: 10px;
}

.input-group{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1; /* This pushes the SEND button to the far right */
}

/* Styling the inputs to match your handwritten labels */
.name-input, textarea {
  width: 100%;
  border: 5px solid #000000;
  padding: 8px;
  gap: 50px;
  font-family: inherit;
  box-sizing: border-box;
}

.send-btn {
  align-self: flex-end;
  align-items: center; /* Matches your 'SEND' box on the right */
  padding: 37px;
  border: 5px solid black; 
  cursor: pointer;
  font-family: 'Mycustomfont';
}

/* BLOG page css*/

.blog-card {
  border: 3px solid #ff3385;
  margin-bottom: 20px;
  background: #020202;
  transition: all 0.3s ease;
}

/* This is the clickable bar */
.card-header {
  display: flex;
  padding: 15px;
  list-style: none; /* Removes the default arrow */
  cursor: pointer;
  justify-content: space-between;
  font-weight: bold;
  background-color: #000000;
}

/* Removes the arrow in Chrome/Safari */
.card-header::-webkit-details-marker {
  display: none;
}

/* The content that slides open */
.card-content {
  padding: 0 15px 15px 15px;
  border-top: 1px solid #ff3385;
}

.card-body {
  padding: 15px 0;
}

.card-footer {
  text-align: right;
  font-size: 0.8rem;
  color: #666;
}

/*art text css*/

#main-content.art-page{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.art-text{
  display: flex;
  text-align: center;
  justify-content: center;
  font-size: 40px;
  margin-top: 30px;
}

/*archive css*/

.master-player{
display: flex;
justify-content: center;
  margin-top: 30px;
    border: 3px;
    padding: 10px;
    margin: 10px;
    background-color:  #5997bb;
   
}

.archive-list{
  margin-top: 30px;
    font-size: 20px;
}

details {
  margin-bottom: 20px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.388); /* Optional: adds a faint line between months */
}

summary::-webkit-details-marker {
  display: none;
}

.track-btn{
  background:  #5997bb;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-family: inherit;
  margin: 5px 0;
}

.track-btn:hover{
  background-color: rgb(255, 248, 187);
  color: #5997bb;

}
.dl-link{
  cursor: pointer;
  color: white;
}
.dl-link:hover{
  cursor: pointer;
  color: rgb(255, 248, 187);

}
.master-track-name{
  margin-top: 20px;
  font-size: 30px;
  justify-content: center;
  text-align: center;
}