
@font-face {
  font-family: 'bbam';
  src: url('Bar\ Booth\ at\ Matts.ttf')
}

@font-face {
  font-family: 'oswlad';
  src: url('Oswald-VariableFont_wght.ttf')
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "bbam";
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(#000000a8, #181313ae),url(main\ bg.jpg);
  background-size:cover ;
  background-attachment: fixed;
  transition: background 0.5s;
  overflow-x: hidden;
  font-size: 20px;
}

header, main {
  position: relative;
  z-index: 1;
  text-align: center;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px
}
#settings {
  background: transparent;
  color: #fff;
  font-size:30px;
  border: none;
  cursor: pointer;
  font-family: "oswald";
}
#settings:hover {
  transform: rotate(15deg);
}

.grid-container {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 180px));
  grid-auto-rows: minmax(150px, 180px);
  justify-content: center;
  align-content: center;
  gap: 15px; 
}

.grid-item,
.logo {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s, filter 0.4s, background 0.4s;
  cursor: pointer;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: #fff 2px solid;
}

.grid-item img, .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.grid-item.playing {
  transform: scale(1.05);
}
.grid-item.paused {
  transform: scale(1);
}


.grid-item.paused::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(80,0,0,0.6);
  pointer-events: none;
}


.logo.playing-logo {
  animation: pulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
}
@keyframes pulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.04); filter: brightness(1.4); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Themes */
body.reid { background-image: linear-gradient(#000000a8, #140000ae),url(spencebg.jpg);
   color: #a0001b; 
   background-size:cover ; 
   background-attachment: fixed;}


body.hotch { background-image: linear-gradient(#000000a8, #000514ae),url(hotchbg.jpg);
   color:#314055;
    background-size:cover ; 
    background-attachment: fixed;}


body.garcia { background-image: linear-gradient(#000000a8, #411931ae),url(garciabg.jpg);
  color:#b51964;
   background-size:cover ;
    background-attachment: fixed;}



#settings-panel {
  position: fixed;
  top: 10%;
  right: 5%;
  background: #0f0909f2;
  border: 2px solid #b4b4b433;
  border-radius: 12px;
  padding: 10px;
  width: 250px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
#settings-panel.hidden {
  display: none;
}
#settings-panel h2 {
  margin-bottom: 0.5px;
  text-align: center;
}
#settings-panel label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font-size: 15px;
}
#volume-slider {
  width: 100%;
}


@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    place-items: center;
  }
  .grid-item,
  .logo {
    width: 250px;
    height: 250px;
  }
  #settings{font-size: 40px}
  body{font-size: 50px;}
}
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    place-items: center;
  }
  .grid-item,
  .logo {
    width: 275px;
    height: 275px;
    margin: 0 auto;
  }
  #settings-panel {
    width: 90%;
    right: 5%;
    top: 15%;
  }
   #settings{font-size: 50px;}
body{font-size: larger;}
}