/****

  Furguson "It's dark but you still shine"
  A website by fer fer fer (ferferfer.net)
  @mariaambaccent @otapilota

****/


/* Reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; } body {line-height: 1; } ol, ul {list-style: none; } blockquote, q {quotes: none; } blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none; } table {border-collapse: collapse; border-spacing: 0; }

html {
  background-color: #000;
}

body {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  line-height: 1.5em;
  font-weight: 600;
  text-align: center;
  background-color: #fff;
  opacity: 0;
  animation: fadein 2s ease-in-out 2s 1 forwards;
}

a {
  color: inherit;
  text-decoration: none;
  /*margin-bottom: 1rem;*/
  display: inline-block;
}

h1, h2 {
  display: inline-block;
  text-transform: capitalize;
}

h2 {
  text-transform: uppercase;
}

em {
  font-style: italic;
}

h2 span {
  font-size: .8em;
  font-style: normal;
  text-transform: capitalize;
}


/* Cover */

svg {
  width: 100%;
  height: auto;
  object-fit: scale-down;
  box-sizing: border-box;
}

svg path {
  transform: rotate(10deg);
  transform-origin: center center;
  position: absolute;
  animation: rumble 8000ms ease-in-out 0s infinite;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
 
@keyframes rumble {
    0% {
      transform: scale(1.02) skew(1deg) rotate(1deg);
    }
    25% {
      transform: scale(.98) skew(1.5deg) rotate(-1deg);
    }
    50% {
      transform: scale(1.02) skew(1deg) rotate(1deg);
    }
    75% {
      transform: scale(.98) skew(1.5deg) rotate(-1deg);
    }
    100% {
      transform: scale(1.02) skew(1deg) rotate(1deg);
    }
}


main {
  position: relative;
}

/* Bandcamp */
.bandcamp {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  perspective: 200px;
}
.bandcamp iframe {
  width: 100%;
  max-width: 420px;
  height: 120px;
  box-shadow: 0 0 20vw #fff;
  animation: player 6000ms ease-in-out 0s infinite alternate;
}

@keyframes player {
    0% {
      transform: scale(1) rotateZ(5deg) rotateX(-5deg);
    }
    50% {
      transform: scale(.95) rotateZ(0deg) rotateX(0deg);
    }
    100% {
      transform: scale(1) rotateZ(-5deg) rotateX(5deg);
    }   
}

/* Header */

header {
  /*position: absolute;
  top: .5vw;
  left: 0;*/
  display: flex;
  position: relative;
  width: 100%;
  padding: 3rem 0 0rem;
}

header h2 {
  flex: 2 1 auto;
}

header h1, header .social {
  flex: 2 1 auto;
}

.social {
  display: inline-block;
  right: 6rem;
}

/* Footer */

footer {
  position: relative;
  width: 80%;
  padding: 4rem 0;
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}

footer div {
  flex: 1 1 auto;
}

footer div:first-child {
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: center;
}

.description {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.5em;
  text-align: left;
}

.castanya {
  margin: 0 auto;
  max-width: 60px;
  height: auto;
}

.bottomline {
  font-size: 10px;
  width: 100%;
}


@media screen and (max-width: 720px) {
  body, h2 span {
    font-size: 13px;
  }
  header {
    padding: 1.5rem 0 0rem;
  }
  .bandcamp { 
    position: relative;
    margin-top: 1rem;
  }
  .bandcamp iframe {
    max-width: 92%;
    animation: none;
  }
  footer {
    width: 100%;
    padding: 2rem 0 0;
  }
  footer div {
    width: 100%;
  }
  .description {
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
}
