
/* -----------------------------
   Base
----------------------------- */

* {
  box-sizing: border-box;
}

html {
  background: #11110f;
  color: #f1efe8;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.5;

  background: #252524;
  color: #f1efe8;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.65;
}
.bandcamp-project {
  text-align: center;
}

.bandcamp-project .project-title,
.bandcamp-project .project-description {
  text-align: center;
}
.seaghouls-project {
  text-align: center;
}

.seaghouls-project .video {
  margin-left: auto;
  margin-right: auto;
}

.seaghouls-project .project-description {
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   Header
----------------------------- */

.site-header {
  padding: 24px 30px;
}

.site-title {
  margin: 0;

  display: flex;
  align-items: baseline;
  gap: 12px;

  font-size: 1rem;
  font-weight: normal;
}

.site-title a {
  text-decoration: none;
}

.page-title {
  font-weight: normal;
}


/* -----------------------------
   Main
----------------------------- */

main {
  flex: 1;
  width: 100%;
  padding: 60px 30px 100px;
}

.page {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}


/* -----------------------------
   Home
----------------------------- */

.home {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-nav {
  display: flex;
  gap: 80px;

  font-size: clamp(1.5rem, 4vw, 3.5rem);
}

.home-nav a {
  text-decoration: none;
}


/* -----------------------------
   Introduction
----------------------------- */

.intro {
  width: 100%;
  max-width: 800px;

  margin: 30px auto 100px;

  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}


/* -----------------------------
   Project grids
----------------------------- */

.project-grid {
  width: 100%;
  max-width: 1180px;

  margin: 0 auto 100px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 60px;
}

.project {
  width: 100%;
  min-width: 0;
}

.project-title {
  margin: 0 0 15px;

  font-size: 1rem;
  font-weight: normal;
}

.project-description {
  margin: 15px auto 0;
  max-width: 560px;
}

.section-heading {
  width: 100%;
  max-width: 1180px;

  margin: 120px auto 40px;

  font-size: 1rem;
  font-weight: normal;
}


/* -----------------------------
   YouTube
----------------------------- */

.video {
  display: block;

  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;

  margin: 0 auto;

  border: 0;
}

.featured-project {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 100px;
  text-align: center;
}

.featured-project .video {
  margin-left: auto;
  margin-right: auto;
}

.featured-project .project-title {
  text-align: center;
}

.featured-project .project-description {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* -----------------------------
   Bandcamp
----------------------------- */

.bandcamp {
  display: block;

  width: 350px;
  max-width: 100%;
  height: 470px;

  margin: 0 auto;

  border: 0;
}


/* -----------------------------
   WVCW text
----------------------------- */

.wvcw-description {
  width: 100%;
  max-width: 1180px;

  margin: -40px auto 80px;
}


/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;

  padding: 25px 30px;

  font-size: 0.85rem;
}


/* -----------------------------
   Mobile
----------------------------- */

@media (max-width: 700px) {

  .site-header,
  main,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  main {
    padding-top: 40px;
  }


  /* Home */

  .home-nav {
    flex-direction: column;
    gap: 20px;
  }


  /* Intro */

  .intro {
    margin-top: 20px;
    margin-bottom: 70px;

    font-size: 1rem;
  }


  /* Projects */

  .project-grid {
    grid-template-columns: 1fr;
    gap: 60px;

    margin-bottom: 80px;
  }

  .section-heading {
    margin-top: 90px;
  }


  /* Media */

  .video {
    max-width: 100%;
  }

  .bandcamp {
    width: 350px;
    max-width: 100%;
  }


  /* WVCW */

  .wvcw-description {
    margin-top: -20px;
  }


  /* Footer */

  .site-footer {
    flex-direction: column;
    align-items: center;

    gap: 5px;

    text-align: center;
  }

}
