/* รีเซ็ต margin/padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  min-height: 200vh;
  background: #f0f0f0;
}

header {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

/* วีดีโอ background */
header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  transition: transform 0.2s ease-out;
}

/* ข้อความตรงกลาง */
header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 2.5em;
  z-index: 1;
  text-shadow:
    2px 2px 4px rgba(0,0,0,0.5),
    -1px -1px 0 rgba(255,255,255,0.3),
    1px -1px 0 rgba(255,255,255,0.3),
    -1px 1px 0 rgba(255,255,255,0.3),
    1px 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.2s ease-out;
}

main {
  padding: 20px;
}

/* Floating Wes */
#floatingImage {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  z-index: 1000 !important;
  animation: floatUpDown 4s ease-in-out infinite;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* Header marquee */
.marquee-container {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  background-color: #fff;
  padding: 5px 0;
  box-sizing: border-box;
  position: relative;
}
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
}
.marquee span {
  display: inline-block;
  font-size: 1.2em;
  color: #000;
  margin-right: 50px;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* yay!:-D marquee */
#yay-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  background-color: #fff;
  padding: 5px 0;
  box-sizing: border-box;
  margin-top: 15px;
  position: relative;
}
#yay-marquee .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 15s linear infinite;
}
#yay-marquee span {
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  color: #000;
  margin-right: 50px;
}

/* Black box */
.box {
  border: 2px solid #000;
  padding: 10px;
  margin: 15px;
  color: #000;
  background: #fff;
}

/* 3-column layout */
#content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
#left-col, #mid-col, #right-col {
  flex: 1;
  min-width: 300px;
}

/* Vinyl Showcase - www.kazimariusz.com */

#vinyl-gallery * {
  all: unset;
}

#vinyl-gallery {
  all: initial;
  width: 100%;
  height: 230px;
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  position: relative;
  margin-left: -6px;
}

#vinyl-gallery .vinyl {
  perspective: 500px !important;
  width: 18px;
  transition: width 0.5s;
}

#vinyl-gallery .vinyl:hover {
  width: 148px;
}

#vinyl-gallery img {
  transition: transform 0.5s, width 0.5s, height 0.5s, margin-top 0.5s;
  width: 180px;
  height: 180px;
  transform: rotateX(0deg) rotateY(25deg);
  transform-style: preserve-3d;
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

#vinyl-gallery .vinyl:hover img {
  transform: rotateX(0deg) rotateY(10deg);
  width: 188px;
  height: 188px;
  margin-top: -2px;
}

#vinyl-gallery .title {
  display: block;
  visibility: hidden;
  position: absolute;
  bottom: 0px;
  text-align: center;
  width: 100%;
  padding-left: 6px;
}

#vinyl-gallery .vinyl:nth-child(n):hover + .title {
  visibility: visible;
}

/* --- GIF PAIR in middle column --- */
.gif-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.gif-pair .small-gif {
  width: 150px;
  height: 150px;
  object-fit: cover;


}




