img,
object,
embed,
video {
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, .root {
  font-size: 14px; 
}

body {
  max-width: 768px;
  margin: auto;
  background-color: #000;
  color: white;
  font-family: eurostile, sans-serif;
  font-size: 1em;
  line-height: 1.3;
}


/* Typography */
h1, .h1 {
  font-family: stevie-sans, sans-serif;
  font-size: 3.5em;
  line-height: 1.2;
  margin-top: 0.3em;
  margin-bottom: 0.5em;
}

h2, .h2 {
  font-family: stevie-sans, sans-serif;
  font-size: 2.5em; 
  line-height: 1.3;
  margin-top: 0.4em;
  margin-bottom: 0.5em;
}

h3, .h3 {
  font-family: stevie-sans, sans-serif;
  font-size: 1.75em; 
  line-height: 1.3;
  margin-top: 0.6em;
  margin-bottom: 0.4em; 
  margin-bottom: 2rem;
}

h4, .h4 {
  font-size: 1.2em;
  line-height: 1.4;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
}

h5, .h5 {
  font-size: 1em; 
  line-height: 1.4;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
}

p, ul, ol, pre, table, blockquote {
  font-family: stevie-sans, sans-serif;
  margin-top: 0;
  margin-bottom: 1.3em;
}

ul ul, ol ol, ul ol, ol ul {
  margin-top: 0;
  margin-bottom: 0;
}

hr, .hr {
  border: 1px solid white;
  margin: 1em 0;
}

a, b, i, strong, em, small, code {
  line-height: normal; 
}

sub, sup {
  line-height: normal;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* main */

#contentwrapper{
  padding-left: 1em;
  padding-right: 1em;
}

/* main image */
#mainimagecontainer {
  position: relative; 
  max-width: 100vw;
  padding-bottom: 4em;
  min-height: 100vh;
}


#mainimagecontainer picture,
#mainimagecontainer img:not(#mainlogo) {
  display: block;
  width: 100%;
  height: auto;
}

/*animation set up*/
@keyframes pulseScale {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}
/* Logo overlay */
#mainlogo {
  position: absolute;
  top: 50%;        
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;        
  pointer-events: none; 
  z-index: 5;     
  animation: pulseScale 3s ease-in-out infinite;
  max-width: 400px;
}

#mainimagecontainer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom,
    transparent 40%, 
    black 90%
  );
  pointer-events: none;
  z-index: 1;
}

/* Social media */
.social-nav {
  position: relative; 
  z-index: 10;
  max-width: 300px;
  margin: 0 auto; 
  padding: 2em;
}

.social-list {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-list li a svg {
  width: 40px;
  height: 40px;
  fill: white;
  display: block;
  transition: fill 0.3s ease;
}

.social-list li a:hover svg {
  fill: cornflowerblue;
}

section footer {
  
  margin-top: -0.9em;
}

/* Videos */ 
#videos {
  padding-top: 2em;
  background: #000;
}

.video-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
  position: relative;
}

.video-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  background: #111;
  overflow: hidden;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  display: block;
}

/* Scrollbar styling (Webkit) */
.video-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.video-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

/* Scroll edge fade */
.video-scroll-wrapper::before,
.video-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2rem;
  pointer-events: none;
  z-index: 10;
}

.video-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.video-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/* merch */

.button {
  display: inline-block;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  color: #000;
  padding: 0.75em 3em;
  background: hsl(0, 0%, 100%);
  border: 0.2em solid hsl(0, 0%, 80%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 8px 8px rgba(0, 0, 0, 0.19);
  border-radius: 1vw;
  cursor: pointer;
  transition: background-color 250ms, transform 100ms;
}

.button:hover,
.button:focus-visible {
  background: hsl(219, 79%, 66%, 0.7);
}

.button:active {
  transform: translateY(4px);
}

#music {
  padding-top: 2em;
}

#shop {
  
  
  padding-top: 2em;
}

#shop h3 {
  margin-bottom: 1rem;
}

#shop .content-row {
  display: flex;
  align-items: center; 
  gap: 1.5rem; 
}

#shop p {
  flex: 1; 
  margin: 0; 
}

#gigs {
  padding-top: 2em;
}

.media-row, .merch-gigs-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/*tablet portrait layouts*/

@media (min-width: 850px) {
  
  #mainimagecontainer {
   
    min-height: 85vh;
  }
 body {
  max-width: 90vw;
 }

   

}
/*landscape layout*/
@media (min-width: 1024px) {
  body {
    max-width: 800px; 
  }
  html, .root {
    font-size: 16px; /* or 18px if you want bolder */
  }

    #mainimagecontainer {
      position: relative;
      width: 100vw;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      padding-bottom: 4em;
    }

    #mainlogo {

      max-width: 500px;
    }
  }


#pagefooter {
  padding: 6rem 1rem;
  text-align: center;
  background: #000;
  color: white;
}

#pagefooter .footer-text {
  margin-bottom: 2rem;
  font-size: 1em;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  font-weight: 400;
}