/* avoid scroll on desktop */ 

html, body { margin:0; padding:0; height:100%; } 

/* container for sidebar + graveyard */ 


body { display: flex; flex-direction: row; } 

p { padding-bottom:15px; } 

	a { color:blue;}

/* Sidebar left */ 

h1 { margin: 0; }
.doors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  max-width:500px;
  gap: 8px;
  flex: 0 0 auto;        /* don't let it grow/shrink unpredictably */
  z-index: 3;
}

.subtitle {
	font-size:1em;
}

/* .sidebar { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; } /*

/* Doors stacked on desktop */ 

.doors { display: flex; flex-direction: column; gap: 16px; } 


/* Music Room / Stage area */
.graveyard {
  flex: 1;
  position: relative;
  background: linear-gradient(to top, #001f3f 0%, #0074D9 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Checkered floor effect */
.graveyard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: 
    linear-gradient(45deg, #000 25%, transparent 25%) -25px 0,
    linear-gradient(-45deg, #000 25%, transparent 25%) -25px 0,
    linear-gradient(45deg, transparent 75%, #000 75%) -25px 0,
    linear-gradient(-45deg, transparent 75%, #000 75%) -25px 0;
  background-size: 50px 50px;
  background-color: #fff;
  z-index: 1;
}

.musics {
  
  width: 700px;
  height:80%;
}

/* Jukebox */
.jukebox {
  position: relative;
  width: 300px;
  height: 450px;
  background: #222;
  border-radius: 150px 150px 20px 20px;
  border: 6px solid #ff006e;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Jukebox arch decoration */
.jukebox::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  height: 80px;
  border-radius: 150px 150px 0 0;
  border: 6px solid #39ff14;
  background: radial-gradient(circle at center, #ffdc00, #ff4136);
  z-index: -1;
}

/* Album cover slots */
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: auto;
  width: 90%;
}

.album-slot {
  background: #444;
  border: 2px solid #999;
  aspect-ratio: 1/1;
}




/* TABLET and MOBILE override */ 
@media (max-width: 1000px) { 

.sidebar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  max-width:500px;
  gap: 8px;
  flex-wrap:wrap;

  
}

body { flex-direction: column; } 

img {max-width:80%;}

.doors { flex-direction: row; justify-content: center; } .sidebar { align-items: center; } 

}
