@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 58px; 
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0600b8;
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier Prime', 'Courier New';
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 20px; 
  transition: opacity 0.3s;
}

.nav-links a:hover {
  color: #000000;
}

.hero-image-container {
  width: 100%;
  height: 100%; /* Adjust this to your preferred height */
  overflow: hidden; /* Ensures nothing spills out */
}

.full-width-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
}

.content-area {
  margin-top: 20px;
  padding: 0 10%; 
  font-family: 'Courier Prime', 'Courier New';
  line-height: 1.6;
  color: #000000;
}

.gradient-highlight {
  background: linear-gradient(to right,#0600b8,#0600b81a);
  display: inline-block;
  line-height: 1.2;
  color: white;
}

.custom-button {
  display: block;        
  width: fit-content;    
  margin: 40px auto;      
  border-radius: 8px;      
  padding: 12px 24px;
  background-color: #0600b8;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Courier Prime', 'Courier New';
  transition: all 0.3s ease;
}

.custom-button:hover {
  background-color: #000000;
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 15px)); 
  gap: 20px;
  padding: 20px 2%;
  max-width: 1400px; 
  margin: 0 auto;
  align-items: start;
}

.song-card h3 {
  font-family: 'Courier Prime', 'Courier New';
  text-align: center;
}

.song-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* This prevents the card from growing larger than the column */
  min-width: 0; 
}

.song-card a {
  width: 100%;
  display: block;
}

.cover-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid #0600b8;
  box-sizing: border-box; 
}

.cover-art:hover {
    border: 4px solid #000000;
}

audio {
  width: 100%;               
  height: 35px;                 
}

.song-detail-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr; 
  gap: 20px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 5%;
  align-items: start; 
}

.song-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-cover {
  width: 100%;
  height: auto;
  border: 4px solid #0600b8;
}

.download-btn {
  display: block;        
  width: fit-content;    
  margin: 40px auto;      
  border-radius: 8px;      
  padding: 12px 24px;
  background-color: #0600b8;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Courier Prime', 'Courier New';
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #000000;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 10px;
  font-family: 'Courier Prime', 'Courier New';
}

.description {
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: 'Courier Prime', 'Courier New';
}

h1 {
  font-family: 'Courier Prime', 'Courier New';
  padding-bottom: 20px;
}

.comment-area {
  max-width: 1300px;
  margin: 40px auto; 
  padding: 30px;
  margin-top: 60px;
  background: #000000; 
  color: #ffffff;
  font-family: 'Courier Prime', 'Courier New';
  border-radius: 20px;
}

.critique-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.critique-form input, 
.critique-form textarea {
  background: #000000;
  color: #ffffff;
  padding: 12px;
  font-family: inherit;
  border-radius: 10px;
}

.critique-form textarea {
  min-height: 120px;
}

.comment-button {
  display: block;        
  width: fit-content;    
  margin: 40px auto;      
  border-radius: 8px;      
  padding: 12px 24px;
  background-color: #0600b8;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Courier Prime', 'Courier New';
  transition: all 0.3s ease;
}

.comment-button:hover {
  background-color: #000000;
}

.blog-container {
  max-width: 1300px;
  margin: 100px auto;
  padding: 0 5%;
  font-family: 'Courier Prime', 'Courier New';
}

.blog-post {
  background: #ffffff;
  border: 4px solid #0600b8;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden; 
  transition: all 0.3s ease;
}

summary {
  padding: 20px;
  cursor: pointer;
  list-style: none; 
  color: #fff;
  background-color: #0600b8;
}

summary::marker { display: none; } 

.summary-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.post-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
}

.post-date {
  font-size: 0.9rem;
  opacity: 0.7;
}

.post-preview {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
  background-color: #0600b8;
}

.post-full-content {
  padding: 0 20px 20px 20px;
  color: #000000;
  line-height: 1.6;
}

details[open] {
  border-color: #ffffff;
  border: 4px solid #0600b8;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .discography-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 500px) {
  .discography-grid {
    grid-template-columns: 1fr; /* 1 column on small phones */
  }
}

@media (max-width: 800px) {
  .song-detail-container {
    grid-template-columns: 1fr;
    margin-top: 80px;
    text-align: center;
  }
  
  .song-visual {
    order: -1; /* Moves the image to the top on mobile */
  }
}