body {  
  color: #FFF;
    padding: 0px 50px 0px 50px; /* top right bottom left */
  text-align: left;
  font-size: 18px;
  background-image: url("img/bg.JPG");
  background-repeat;
}

a:link {color: lightgray;}
a:visited {color: pink;}

#p_large{font-size:24px;}
#p_indent{padding-left:50px;}
#p_indent_2{padding-left:100px;}

#img_logic{width:300px; height:240px;}
#img_camera{max-width:100%; float:left; width:600px; height:400px; padding:20px}
#img_camera_small{max-width:100%; float:left; width:480px; height:320px; padding:20px}
#img_camera_small_r{max-width:100%; float:right; width:480px; height:320px; padding:20px}
#img_camera_small_2{max-width:100%; float:left; width:300px; height:200px; padding:20px}
#img_camera_small_c{max-width:100%; float:center; width:400px; height:320px; padding:20px}

iframe {
  width:334px; 
  height:188px; 
  border:solid 3px; 
  border-color: #000000;
}

#header{width: 100%;}

#content{position: relative;}

#sidebar{
  position: absolute;
  left: 0;
  width: 150px
; height: auto;
  min-height: 100%;
}

#footer{
  width: 100%;
  text-align: right;
  font-size: 0.8em;
}

.gallerycontainer {
  /*margin-left: 160px; removed if no sidebar*/
  /*margin-top: 20px;*/
  margin-bottom: 20px;
  padding-left: 10px;
  padding-right: 20px;
  overflow: auto;
}

.gallerytile {
  float: left;
  width: 310px;
  height: 320px;
  margin: 15px;
  margin-bottom: 0px;
  border: 1px solid black;
  text-align: center;
}
.gallerytilelong {
  float: left;
  width: 310px;
  height: 320px;
  margin: 15px;
  margin-bottom: 200px;
  border: 1px solid black;
  text-align: center;
}

html, body {
  overflow-x: hidden;
}

/* Desktop: 20px top + 20px left */
@media (min-width: 641px) {
  body {
    padding-top: 20px !important;
    padding-left: 20px !important;
  }
}

/* Mobile: 2px top + 2px left */
@media (max-width: 640px) {
  body {
    padding-top: 2px !important;
    padding-left: 2px !important;
  }
}

/* Background behavior */
body {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

/* Wrapper */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto 0 0;
  text-align: left;
}

/* Header: no min-height, sits at top */
.music-header {
  display: grid;
  align-items: end;
  padding-top: 0;
}

.music-header__inner { padding: 0; }

.music-title {
  margin: 0 0 12px 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Tabs */
.music-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.music-tab {
  appearance: none;
  border: 1px solid #333;
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  border-radius: 999px;
  cursor: pointer;
}
.music-tab.is-active {
  background: rgba(255,255,255,0.12);
  border-color: #666;
}

/* White horizontal line under tabs */
.music-tabs + .music-tabs-line {
  margin-top: 10px;
  height: 1px;
  background: #fff;
  width: 100%;
  margin-bottom: 20px;
}

/* Audio box layout */
.audio-box {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.audio-box__row {
  display: grid;
  grid-template-columns: 100px minmax(260px, 520px) 1fr;
  gap: 16px;
  align-items: start;
}

.audio-box__thumb {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}
.audio-box__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-box__main {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
}

.audio-box__title {
  font-size: 20px;
  text-decoration: none;
}
.audio-box__title:hover { text-decoration: underline; }

.audio-box__player audio {
  width: 100%;
  display: block;
}

.audio-box__desc {
  font-size: 18px;
  line-height: 1.6;
  color: #e8e8e8;
}

@media (max-width: 780px) {
  .audio-box__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .audio-box__desc {
    font-size: 16px;
    line-height: 1.5;
  }
}