@import url('https://fonts.googleapis.com/css2?family=IM+Fell+Great+Primer:ital@0;1&display=swap');
@font-face {
  font-family: 'Titania';
  src: url(fonts/Titania-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ff-header: 'Titania';
  --ff-p: 'IM Fell Great Primer';
  --fs-h2: 2rem;
  --fs-h3: 1.5rem;
  --fs-p: 1rem;
  --clr-dark: #020202;
  --clr-light: #fcfcfc;
  --spacer: 1rem;
}

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

html, body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

img {
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-header);
  text-transform: uppercase;
}

p {
  font-family: var(--ff-p);
  font-size: var(--fs-p);
}

.wrapper {
  max-width: 55rem;
  flex-grow: 1;
  margin: auto;
  padding: 0 1.5rem;
}

.stack {
  display: flex;
  flex-direction: column;
}

.flow-content > * + * {
  margin-top: var(--spacer);
}

.flow-content--large {
  --spacer: 4rem;
}

.flow-content--normal {
  --spacer: 1rem;
}

.flow-content--small {
  --spacer: 0.5rem;
}

.flex {
  display: flex;
}

.corner {
  border-radius: 10px 0 10px 0;
}

.button {
  display: inline-block;
  text-decoration: none;
  color: var(--clr-dark);
  background-color: var(--clr-light);
  padding: 0.5em 1em;

  font-family: var(--ff-header);
  text-transform: uppercase;
  font-size: var(--fs-h3);
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  background-color: var(--clr-light);
  color: var(--clr-dark);
}

section.dark {
  background-color: var(--clr-dark);
  color: var(--clr-light);
}

.center-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: max(5vh,var(--spacer));
  flex-grow: 1;
}

@media (max-height: 780px) {
  .center-stack {
    padding: var(--spacer) 0;
  }
}

#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(images/sibA.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  width: 90vw;
  max-width: 45rem;
}

.hero-cta {
  font-size: var(--fs-h3);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#about {
  padding-bottom: 0;
}

.audio-player {
  background-color: var(--clr-dark);
  color: var(--clr-light);
  justify-content: space-between;
  width: 100%;
  max-width: 25rem;
}

.play-button {
  margin: 1rem;

  background: none;
  border: none;
  padding: 0;
  outline: none;
  cursor: pointer;

  width: 42px;
  height: 42px;
  flex-shrink: 0;

  background-image: url('icons/play.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: background-image 0.2s ease;
}

.play-button.playing {
  background-image: url('/icons/pause.svg');
}

.track-info-container {
  text-align: right;
  padding-right: 1em;
}

.track-info-container p {
  margin: 0.5rem 0 0.5rem 0;
}

#contact {
  padding-top: 4rem;
  padding-bottom: 0;
  height: 100vh;
}

.contact-info {
  list-style-type: none;
  font-size: var(--fs-h3);
  padding-inline-start: 0;
  text-align: center;
}

.contact-cta {
  margin-top: 4rem;
}

.contact-img {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
}

.contact-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: linear-gradient(
    to bottom, 
    rgba(2, 2, 2, 1) 0%,
    rgba(2, 2, 2, 0.3) 36%,
    rgba(255,255,255,0.1) 100%
  );
  
  pointer-events: none; 
}