
#header {
  position: relative;
  background-image: url("../images/header.jpg");
  background-size: cover;
  background-position: center center;
  /* background-attachment: fixed; */
  color: #fff;
  text-align: center;
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* #header:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
} */

#header .inner {
  z-index: 1;
}
#header .inner img.logo {
  max-width: 900px;
  opacity: 1;
  transition: .2s ease-in-out;
}
body.home.is-preload #header .inner img.logo {
  max-width: 300px;
  opacity: .6;
}

body.home.is-preload #header .inner .loading {
  margin-top: 3rem;
  opacity: 1;
  transition: .8s ease-in-out;
}
body.home #header .inner .loading {
  opacity: 0;
}


#header header {
  display: inline-block;
}

#header header > p {
  font-size: 1.25em;
  margin: 0;
}

#header h1 {
  color: #fff;
  font-size: 3em;
  line-height: 1em;
}

#header h1 a {
  color: inherit;
}

#header .button {
  display: inline-block;
  border-radius: 99%;
  width: 3.5em;
  height: 3.5em;
  line-height: 3.5em;
  text-align: center;
  font-size: 1.25em;
  padding: 0;
  background: none;
  border: 1px solid transparent;
  transition: .3s;
}

#header hr {
  top: 1.5em;
  margin-bottom: 3em;
  border-bottom-color: rgba(192, 192, 192, 0.35);
  box-shadow: inset 0 1px 0 0 rgba(192, 192, 192, 0.35);
}

#header hr:before, #header hr:after {
  background: rgba(192, 192, 192, 0.35);
}

#header footer {
  margin: 1em 0 0 -32px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 1;
  transition: .3s ease-in-out;
	opacity: 1;
}
body.is-preload #header footer {
	opacity: 0;
  bottom: -35px;
}

body.home #header {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 40em;
}

body.home #header h1 {
  font-size: 4em;
}

body.home #header:after {
  content: '';
  background: var(--color-dark);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  -moz-transition-delay: .1s;
  -webkit-transition-delay: .1s;
  -ms-transition-delay: .1s;
  transition-delay: .1s;
}

body.home.is-preload #header:after {
  opacity: 1;
}

.soundcloud-player-wrap {
  display: flex;
  justify-content: center;
}
.soundcloud-player-wrap .soundcloud-player {
  width: 800px;
}

#header footer a span {
  color: #fff;
  font: normal 400 20px/1 sans-serif;
  letter-spacing: .1em;
  margin: 0;
  padding: 0;
  position: absolute;
  top: -4px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  animation: scrolldown 4s infinite;
  box-sizing: border-box;
  transition: .3s;
}
#header footer a:hover.button {
  /* border-color: var(--color-primary); */
}
#header footer a:hover span {
  animation: none;
  -webkit-transform: rotate(-45deg) translate(-20px, 20px);
  transform: rotate(-45deg) translate(-20px, 20px);
  opacity: 1;
  border-color: var(--color-primary);
}


#chi-siamo .text-content {
  max-width: 800px;
  margin: 0 auto;
}
#chi-siamo .text-content p {
  display: block;
  font-size: 1.3rem;
  margin: 1em 0 2em 0;
  line-height: 1.5em;
  text-align: inherit;
}
#chi-siamo .text-content p:first-child {
  margin-top: 0;
}

a.read-more-link {
  display: inline-block;
  font-size: 1.1rem;
  padding: 4px 22px;
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 22px;
  border: none;
  text-align: center;
  transition: background color .3s ease-in-out;
}
a.read-more-link:hover {
  background: var(--color-primary);
  color: white;
}
a.read-more-link.clicked {
  background: var(--color-primary);
  color: white;
  font-size: 20px;
  line-height: 40px;
  padding: 0;
  height: 40px;
  width: 40px;
}
a.read-more-link.clicked:hover {
  background: var(--color-primary-dark);
  color: white;
}

a.read-more-link .opened-text,
a.read-more-link.clicked .not-opened-text {
  display: none !important;
}
a.read-more-link .not-opened-text,
a.read-more-link.clicked .opened-text {
  display: inline !important;
}

#gallery-wrap {
  padding-top: 2rem;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.gallery-slider a img {
  opacity: .8;
  transition: .2s ease-in-out;
}
.gallery-slider a:hover img {
  opacity: 1;
}

.gallery-slider .slick-slide {
  padding-right: 1px;
}

#video-player {
  border-radius: 20px;
  border: 10px solid var(--color-dark);
}
#video-player .plyr__controls {
  border-radius: 10px;
}

#video-player:fullscreen {
  border-radius: 0;
  border: none;
}
#video-player:fullscreen .plyr__controls {
  border-radius: 0;
}



#the-band {
  padding-top: 0;
}
#the-band .row.aln-center.aln-middle {
  margin-left: 0
}

#the-band .band-element {
  text-align: center;
  padding: 1rem 0;
  margin: 1rem;
  transition: .3s ease-in-out;
}
#the-band .band-element .photo {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
}
#the-band .band-element .photo::before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  content: "";
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
}
#the-band .band-element .photo::after {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  height: 40px;
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
#the-band .band-element .photo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

#the-band .band-element.lead-vocals .photo::after {
  background-image: url(../images/icons/microphone.png);
}
#the-band .band-element.guitar .photo::after {
  background-image: url(../images/icons/guitar.png);
}
#the-band .band-element.piano .photo::after {
  background-image: url(../images/icons/piano-fill.png);
}
#the-band .band-element.bass .photo::after {
  background-image: url(../images/icons/bass.png);
}
#the-band .band-element.drums .photo::after {
  background-image: url(../images/icons/drums.png);
}

#the-band .band-element .player {
  margin-top: 1rem;
  display: block;
  line-height: 1.4;
  font-size: 1.4rem;
  font-family: var(--font-title);
  color: var(--color-dark);
}
#the-band .band-element .player em {
  font-style: normal;
  /* display: block; */
}
#the-band .band-element .player span {
  display: block;
  font-size: 1.1rem
}
#the-band .band-element .instrument-name {
  display: block;
  margin-top: .4rem;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

#the-band .break-on-small {
  display: none;
  content: "";
  flex-basis: 100%;
  padding: 0;
}


@media screen and (max-width: 1024px) {

  #header .inner img.logo {
    max-width: 80%;
  }
  
  #the-band .band-element .photo img {
    width: 130px;
    height: 130px;
  }
  #the-band .band-element {
    margin: .6rem;
  }

}

@media screen and (max-width: 768px) {
  
  #the-band .band-element .photo img {
    width: 150px;
    height: 150px;
  }
  #the-band .band-element {
    margin: 1rem;
  }
  
  #the-band .break-on-small {
    display: flex;
  }

}

@media screen and (max-width: 736px) {
  
  body.home.is-preload #header .inner img.logo {
    max-width: 40%;
  }
  body.home.is-preload #header .inner img.logo.second {
    max-width: 30%;
  }
  
  #chi-siamo .foto-di-gruppo {
    margin-left: -1.05rem;
    margin-right: -1.05rem;
  }
  
  #the-band {
    padding-left: .3rem;
    padding-right: .3rem;
  }
  #the-band .band-element .photo::before {
    height: 50px;
  }
  #the-band .band-element .photo::after {
    bottom: 7px;
    height: 32px;
  }
  #the-band .band-element .player {
    margin-top: .5rem;
    line-height: 1.3;
    font-size: 1.2rem;
  }
  #the-band .band-element .photo img {
    width: 106px;
    height: 106px;
  }
  #the-band .band-element {
    margin: .16rem;
  }
  #the-band .band-element.drums {
    margin-left: 2rem;
  }
  
  #the-band .break-on-small {
    display: flex;
  }
  

  #header .inner img.logo {
    max-width: 90%;
  }
  #header .inner img.logo.second {
    max-width: 70%;
  }

  #header {
    background-attachment: scroll;
    padding: 2.5em 0 0 0;
  }

  #header .inner {
    padding-top: 0;
    padding-left: 1em;
    padding-right: 1em;
  }

  #header header > p {
    font-size: 1em;
  }

  #header h1 {
    font-size: 1.75em;
  }

  #header hr {
    top: 1em;
    margin-bottom: 2.5em;
  }


  body.home #header:before {
    display: none;
  }

  body.home #header h1 {
    font-size: 2.5em;
  }

}


@media screen and (max-width: 390px) {
  
  #the-band .band-element .photo img {
    width: 116px;
    height: 116px;
  }
  #the-band .band-element.guitar-2 {
    margin-left: 3rem;
  }

}
