@charset "UTF-8";
/************************************************
* phyne-music.ch
* author: jonas.furrer@gmail.com
* initial: 07.2022
***
* Viewports:
* - small (smaller than 640px)
* - medium (641px to 1007px)
* - large (1008px and larger)
* -> https: //docs.microsoft.com/en-us/windows/apps/design/layout/screen-sizes-and-breakpoints-for-responsive-design
***
* sources (inspiration and copy/paste):
* - hamburger nav: https: //stackoverflow.com/questions/59820346/how-would-i-turn-the-navbar-into-a-hamburger-menu-when-on-mobile
*	- smooth scroll: https://nikitahl.com/smooth-scroll-to-anchor
* - css play/pause button: https://css-tricks.com/making-pure-css-playpause-button/
*************************************************/

:root {
  --page-width: 1440px;
  --page-side-spacing: 35px;
  --vertical-spacing: 30px;
  --vertical-section-spacing: 100px;
  --text-color: rgb(0, 0, 0);
  --background-color: rgb(255, 255, 255);
  --separator-color: rgb(244, 244, 244);

  --font-size-small: 16px;
  --font-size-large: 26px;
  --font-size-very-large: 36px;
}

::selection {
  color: var(--background-color);
  background: var(--text-color);
}

:focus-visible {
  outline: none;
  box-shadow: 0px 0px 0px 1px var(--text-color);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: var(--font-size-small);
  line-height: 1.3;

  color: var(--text-color);
  background-color: var(--background-color);

  display: flex;
  flex-direction: column;
}

header,
main,
footer {
  width: 100%;
  max-width: var(--page-width);
}

a,
a:visited,
a:active {
  color: var(--text-color);
  text-decoration: underline;
}

a:hover {
  text-decoration-style: wavy;
}

/* extend clickable area on links in the text*/
section a {
  padding: 10px;
  margin: -10px;
}

details {
  width: 100%;
}

details > summary {
  list-style: none;
  cursor: pointer;
  text-decoration: underline;
  width: fit-content;
  margin-bottom: var(--vertical-spacing);
}

details > summary:hover {
  text-decoration: wavy underline;
}

details > summary .state-open {
  display: none;
}

details[open] > summary .state-open {
  display: inline;
}

details[open] > summary .state-closed {
  display: none;
}

/************************************************
*** header / nav
*************************************************/
header {
  position: fixed;
  padding-left: var(--page-side-spacing);
  padding-right: var(--page-side-spacing);
  background-color: var(--background-color);
  border-bottom: 1px solid var(--separator-color);
  transition: top 500ms ease;
  z-index: 9001;
}

nav {
  height: 49px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
}

nav li {
  display: block;
  text-align: right;
  padding-top: 10px;
  padding-right: 60px;
}

nav li:last-of-type {
  padding-bottom: 10px;
}

.logo-link {
  height: fit-content;
  width: fit-content;
}

.logo {
  height: 63px;
  margin-left: -14px;
}

nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* nav-icon */
nav .nav-icon-container {
  cursor: pointer;
  display: inline-block;
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: 22px;
  position: relative;
  user-select: none;
}

nav .nav-icon-container .nav-icon {
  background: var(--text-color);
  display: block;
  height: 4px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 25px;
}

nav .nav-icon-container .nav-icon:before,
nav .nav-icon-container .nav-icon:after {
  background: var(--text-color);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

nav .nav-icon-container .nav-icon:before {
  top: 7px;
}

nav .nav-icon-container .nav-icon:after {
  top: -7px;
}

nav .nav-btn {
  display: none;
}

/* nav menu */
nav ul {
  position: absolute;
  right: 0;
  margin-top: 48px;
  align-self: flex-start;
  width: 100%;
  max-height: 0px;
  transition: all 0.2s ease-out;
  overflow: hidden;
  background-color: var(--background-color);
}

nav .nav-btn:checked ~ ul {
  height: fit-content;
  max-height: 190px;
  border-bottom: 1px solid var(--separator-color);
}

nav .nav-btn:checked ~ .nav-icon-container .nav-icon {
  background: transparent;
}

nav .nav-btn:checked ~ .nav-icon-container .nav-icon:before {
  transform: rotate(-45deg);
}

nav .nav-btn:checked ~ .nav-icon-container .nav-icon:after {
  transform: rotate(45deg);
}

nav .nav-btn:checked ~ .nav-icon-container:not(.steps) .nav-icon:before,
nav .nav-btn:checked ~ .nav-icon-container:not(.steps) .nav-icon:after {
  top: 0;
}

/************************************************
*** footer
*************************************************/
footer {
  position: fixed;
  bottom: 0;
  border-top: 1px solid var(--separator-color);
  height: 49px;
  padding-left: var(--page-side-spacing);
  padding-right: var(--page-side-spacing);
  background-color: var(--background-color);
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  transition: bottom 500ms ease;
}

footer ul {
  display: flex;
  padding: 0;
}

footer ul li {
  margin-right: 5px;
}

footer img {
  height: 30px;
}

footer .newsletter-signup {
  text-align: right;
}

.newsletter-signup-back {
  display: block;
  margin-top: var(--vertical-spacing);
  margin-bottom: var(--vertical-spacing);
}

/************************************************
*** main
*************************************************/
main {
  margin-top: 49px;
  margin-bottom: 49px;
}

.stage {
  margin-bottom: var(--vertical-spacing);
}

.stage {
  width: 100%;
  height: 61.8vh;
  object-fit: cover;
}

.stage-static {
  width: 100%;
  height: 61.8vh;
  object-fit: cover;
  background-image: url(../assets/header_1440.jpg);
  background-attachment: scroll;
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: var(--vertical-spacing);
}

.stage-large {
  display: none;
}

.stage-small {
  display: block;
}

/************************************************
*** sections
*************************************************/
section {
  margin-bottom: var(--vertical-section-spacing);
  padding-left: var(--page-side-spacing);
  padding-right: var(--page-side-spacing);
  scroll-margin-top: 80px;
}

section h3,
section h2,
section h1.small {
  font-weight: normal;
  font-size: var(--font-size-small);
  margin-bottom: 25px;
}

hr {
  height: 0;
  color: var(--text-color);
  border: none;
  border-top: 1px solid var(--text-color);
  margin-bottom: 15px;
}

/************************************************
*** news
*************************************************/

.news-item {
  display: flex;
  flex-direction: row;
  gap: 35px;
  margin-bottom: var(--vertical-spacing);
}

.news-date {
  margin-top: 10px;
  width: 65px;
}

.news-content {
  width: 70%;
}

.news-content p {
  font-size: var(--font-size-large);
}

.news-links {
  margin-top: 10px;
}

.news-links ul {
  padding: 0;
}

.news-links li {
  display: inline;
  margin-right: 15px;
}

.news-archive {
  display: block;
  margin-top: 15px;
}

.news-archive-back {
  display: block;
  margin-top: var(--vertical-spacing);
  margin-bottom: var(--vertical-spacing);
}

/************************************************
*** music / albums
*************************************************/

.album-section {
  margin-bottom: calc(var(--vertical-spacing) * 2);
}

.album-link,
.album-store-link {
  display: inline-block;
  margin-top: var(--vertical-spacing);
  margin-right: 1.5rem;
}

/* Album page */
.album-page {
  padding: var(--vertical-spacing) var(--page-side-spacing);
}

.album-page-back {
  display: block;
  margin-bottom: var(--vertical-spacing);
}

.album-cover {
  margin-bottom: var(--vertical-spacing);
}

.album-cover img {
  width: 100%;
  max-width: 450px;
}

.album-page-title {
  margin-bottom: var(--vertical-spacing);
}

.album-page-intro {
  margin-bottom: var(--vertical-spacing);
}

.album-page-store {
  margin-bottom: var(--vertical-spacing);
}

.music-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.music-item {
  margin-bottom: var(--vertical-spacing);
}

.controls {
  display: flex;
  flex-direction: row;
  align-items: center;

  height: 30px;
  padding: 0 3px;
  margin-top: 10px;

  border-bottom: 1px solid var(--text-color);
}

.controls .play-pause {
  border: 0;
  background: transparent;
  box-sizing: border-box;
  width: 15px;
  height: 15px;

  border-color: transparent transparent transparent var(--text-color);
  transition: 100ms all ease;
  cursor: pointer;

  border-style: solid;
  border-width: 8px 0 8px 15px;
}

.controls .play-pause.paused {
  border-style: double;
  border-width: 0px 0 0px 15px;
}

.controls .play-pause:hover {
  border-color: transparent transparent transparent var(--text-color);
}

/* extend clickable area */
.controls .play-pause::before {
  content: "";
  width: 55px;
  height: 40px;
  cursor: pointer;
  margin-left: -20px;
  margin-top: -15px;
  display: inline-block;
}

.controls .timeline {
  display: flex;
  flex-direction: row;
  align-items: center;

  height: 100%;
  width: 100%;
  margin-left: 10%;
  border-left: 1px solid var(--text-color);

  cursor: pointer;
}

.controls .progress-bar {
  display: inline-block;
  width: 0%;
  height: 4px;
  background-color: var(--text-color);
  transition: 800ms width ease;
}

.song-image {
  cursor: pointer;
  width: 100%;
}

.song-image picture {
  transition: opacity 800ms ease-in-out;
}

.song-image-playing {
  position: relative;
  margin-top: -100%;
  z-index: -1;
}

.song-image .switch {
  opacity: 0;
}

.music-item dialog {
  border: unset;
  width: 100%;
  position: fixed;
  margin-left: var(--page-side-spacing);
}

.music-item dialog[open] {
  display: flex;
}

.music-item dialog::backdrop {
  background-color: rgb(255, 255, 255);
}

.song-lyrics {
  background-color: var(--background-color);
}

.song-lyrics h2 {
  font-size: var(--font-size-large);
}

.song-lyrics .lyrics-subtitle {
  margin-top: -25px;
  margin-bottom: var(--vertical-spacing);
}

.song-lyrics .lyrics-info {
  margin-bottom: var(--vertical-spacing);
}

.song-lyrics .lyrics-info p {
  font-style: italic;
  font-size: var(--font-size-small);
}

.song-lyrics .lyrics-info ul {
  font-style: italic;
  font-size: var(--font-size-small);
  margin-bottom: var(--vertical-spacing);
  padding-left: 0;
}

.song-lyrics pre.lyrics {
  font-size: min(5vw, var(--font-size-large));
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}

.song-lyrics button {
  margin-bottom: 15px;
}

.song-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 10px 0 8px 0;
}

.song-title {
  font-size: var(--font-size-large);
}

/************************************************
*** video
*************************************************/
.video-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.video-item {
  margin-bottom: var(--vertical-spacing);
  width: 100%;
  max-width: 100%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}

.video-item iframe,
.video-item object,
.video-item embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--separator-color);
  z-index: 0;
}

.video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--separator-color);
  background: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 200ms;
}

.video-thumb:hover img {
  opacity: 1;
}

.video-play-icon {
  position: absolute;
  width: 64px;
  height: 44px;
  background: #ff0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/************************************************
*** live
*************************************************/

.live-intro {
  font-size: var(--font-size-large);
  margin-bottom: var(--vertical-spacing);
}

.live-item {
  display: grid;
  grid-template-columns: 1fr;
  font-size: var(--font-size-very-large);
  margin-bottom: var(--vertical-section-spacing);
}

.live-item .additional-info {
  font-size: var(--font-size-small);
  margin-bottom: 0;
}

.live-item p {
  margin-bottom: var(--vertical-spacing);
}

.live-notice {
  font-size: var(--font-size-large);
}

#live .video-wrapper {
  margin-bottom: var(--vertical-spacing);
}
.gigs-archive {
  display: block;
  margin-top: 15px;
}

.gigs-archive-back {
  display: block;
  margin-top: var(--vertical-spacing);
  margin-bottom: var(--vertical-spacing);
}

/************************************************
*** merch
*************************************************/
.merch-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.merch-item {
  margin-bottom: var(--vertical-spacing);
}

.merch-description {
  margin-top: 15px;
}

.merch-title {
  font-size: var(--font-size-large);
  margin-top: 15px;
}

.merch-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 10px 0 8px 0;
}

.merch-links a {
  display: inline-block;
  white-space: nowrap;
}

.tracklist {
  margin-bottom: var(--vertical-spacing);
}

.tracklist ol {
  padding: 0;
  line-height: var(--font-size-large);
}

.tracklist li {
  white-space: nowrap;
}

.tracklist h3 {
  font-weight: normal;
  margin-bottom: 15px;
  margin-top: 30px;
}

/************************************************
*** about
*************************************************/
.about-item-container p {
  margin-bottom: 30px;
}

.about-music {
  margin-bottom: var(--vertical-section-spacing);
  font-size: var(--font-size-large);
}

.about-bio {
  width: 66%;
  margin-bottom: var(--vertical-spacing);
}

/************************************************
*** press
*************************************************/
.press-item-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
}

.press-item {
  font-size: var(--font-size-large);
  margin-bottom: var(--vertical-spacing);
}

.press-item .who {
  font-size: var(--font-size-small);
  margin-bottom: var(--vertical-spacing);
}

.press-item p {
  margin-bottom: var(--vertical-spacing);
}

.press-item a,
.press-item span {
  font-size: var(--font-size-small);
}

/************************************************
*** contact
*************************************************/
.contact-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-item {
  margin-bottom: var(--vertical-spacing);
  width: 100%;
}

.contact-item ul {
  padding: 0;
  margin-bottom: 15px;
}

.contact-item p {
  margin-bottom: 15px;
}

#creditlist p,
#creditlist ul {
  margin-bottom: var(--page-side-spacing);
}

#creditlist ul li {
  margin-bottom: 5px;
}

.creditlist-back {
  display: block;
  margin-top: var(--vertical-spacing);
  margin-bottom: var(--vertical-spacing);
}

/************************************************
*** dev
*************************************************/
.dev-size {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 9px;
  background-color: #333;
  color: #f4f4f4;
}

.dev-small {
  display: inline;
}

.dev-medium,
.dev-large {
  display: none;
}

/*///////////////////////////////////////////////
/////////////////////////////////////////////////
///  medium size
////////////////////////////////////////////////
//////////////////////////////////////////////*/
@media (min-width: 640px) {
  /************************************************
	*** stage
	*************************************************/
  .stage-large {
    display: block;
  }

  .stage-small {
    display: none;
  }

  /************************************************
	*** footer
	*************************************************/
  footer ul li {
    margin-right: 8px;
  }

  /************************************************
	*** music
	*************************************************/
  .music-item {
    width: calc(50% - 15px);
  }

  .song-lyrics pre.lyrics {
    font-size: var(--font-size-large);
  }

  /************************************************
	*** live
	*************************************************/
  .live-item {
    grid-template-columns: 1fr 2fr;
    grid-gap: 30px;
    margin-bottom: var(--vertical-spacing);
  }

  /************************************************
	*** merch
	*************************************************/
  .merch-item {
    width: calc(50% - 15px);
  }

  /************************************************
	*** about
	*************************************************/
  .about-item-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .about-music {
    margin-bottom: var(--vertical-spacing);
    font-size: var(--font-size-large);
    width: calc(66% - 15px);
  }

  .about-bio {
    width: 66%;
    margin-bottom: var(--vertical-spacing);
    width: calc(33% - 15px);
  }

  /************************************************
	*** press
	*************************************************/
  .press-item-container {
    grid-template-columns: 1fr 1fr;
  }

  /************************************************
	*** contact
	*************************************************/
  .contact-item {
    width: calc(50% - 15px);
  }

  /************************************************
	*** dev
	*************************************************/
  .dev-medium {
    display: inline;
  }

  .dev-large,
  .dev-small {
    display: none;
  }
}

/*///////////////////////////////////////////////
/////////////////////////////////////////////////
///  large size
////////////////////////////////////////////////
//////////////////////////////////////////////*/
@media (min-width: 1007px) {
  body {
    align-items: center;
  }

  .stage-static {
    height: 698px;
    background-attachment: fixed;
    background-size: auto;
    background-position: center top;
  }

  /************************************************
	*** header / nav
	*************************************************/
  nav .nav-icon-container {
    display: none;
  }

  nav ul {
    position: relative;
    width: fit-content;
    max-height: fit-content;
    margin-top: 0;
    align-self: center;
  }

  nav li {
    display: inline;
    padding-right: 40px;
  }

  nav li:last-of-type {
    padding-right: 0;
  }

  /************************************************
	*** news
	*************************************************/

  .news-item {
    width: 66%;
  }

  /************************************************
	*** music
	*************************************************/
  .music-item-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
  }

  .music-item {
    width: 100%;
  }

  .music-item dialog[open] {
    justify-content: center;
  }

  /************************************************
	*** video
	*************************************************/
  .video-item {
    width: calc(50% - 15px);
  }

  /************************************************
	*** live
	*************************************************/
  .live-item {
    grid-template-columns: 1fr 2fr;
  }

  /************************************************
	*** merch
	*************************************************/
  .merch-item-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
  }

  .merch-item {
    width: 100%;
  }

  /************************************************
	*** press
	*************************************************/
  .press-item-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /************************************************
	*** contact
	*************************************************/
  .contact-item {
    width: calc(25% - 15px);
  }

  /************************************************
	*** dev
	*************************************************/
  .dev-large {
    display: inline;
  }

  .dev-medium,
  .dev-small {
    display: none;
  }
}

/************************************************
*** utils
*************************************************/
.invisible {
  font-size: 0;
  height: 0;
  width: 0;
}

.hidden {
  display: none;
}

.link-button {
  background-color: transparent;
  border: unset;
  cursor: pointer;
  text-decoration: underline;
}

.link-button:hover {
  text-decoration-style: wavy;
}
