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

body {
  background-color: black;
  background-image: url(../img/bg2.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: white;
  max-width: 560px;
  line-height: 1.6em;
  margin: auto;
  padding: 4px;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.band {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.7);
}

.logo {
  width: 140%;
  margin-left: -20%;
}

.member {
  display: inline-block;
  width: 230px;
  margin: 0 20px;
}

.member .people,
.member .role {
  display: block;
  margin: 0;
  padding: 0;
  background-color: rgba(0,0,0,0.5);
  position: relative;
  top: -3em;
}
.member img {
  border-radius: 50%;
  width: 100%;
  margin: 1px solid black;
}

.member.double {
  position: relative;
}
.member.double .un {
  opacity: 1;
  transition: opacity 0.3s;
}
.member.double .deux {
  display: block;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.member.double:hover .un {
  opacity: 0;
}
.member.double:hover .deux {
  opacity: 1;
}

#18acfe
#0063e1

.photos {
  text-align: center;
}

.photos img {
  display: block;
  border: 0;
  margin: 5px auto;
}

h1 {
  display:none;
}

h2.subtitle {
  text-align: center;
  margin-top: -1.2em;
}

h2 {
  font-family: Palatino;
  margin-top: 2em;
  text-align: center;
}

p {
  background-color: rgba(0,0,0,0.3);
  border-radius: 0.5em;
}

p.fb-link,
p.sc-link {
  display: inline-block;
  background: transparent;
  text-align: center;
  margin:  24px;
}

p.fb-link a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: bold;
  background: rgb(0,99,225);
background: linear-gradient(180deg, rgba(0,99,225,1) 22%, rgba(24,172,254,1) 100%);
  padding: 1px 10px;
  border-radius: 5px;
  border: 2px solid white;
}


p.sc-link a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: bold;
  background: rgb(0,99,225);
background: linear-gradient(180deg, #fd7207 22%, #fc2306 100%);
  padding: 1px 10px;
  border-radius: 5px;
  border: 2px solid white;
}

p.fb-link a,
p.sc-link a {
  border: 2px solid white;
}

.videos {
  display: block;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

/*.videos iframe {
  display: inline-block;
  margin: 20px;
}*/

.agenda {
  padding: 0;
}

.agenda li {
  list-style-type: none;
  /*position: relative;*/
  line-height: 1.8em; 
  transition: all 0.3s ease-in-out;
}

.agenda li:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0s ease-in-out;
}

.agenda-event {
  display: flex;
  align-items: flex-start;
} 

.agenda-event .agenda-date {
  display: inline-block;
  width: 28%;
  text-align: right;
  padding-right: 10px;
  border-right: 2px dotted rgba(255,255,255,0.5);
  opacity: 0.9;
  /*flex: 1 1 auto;*/
}

.agenda-event .agenda-summary {
  display: inline-block;
  width: 68%;
  text-align: left;
  padding-left: 10px;
  /*flex: 1 1 auto;*/
}

.agenda-old {
  opacity: 0.8;
  font-size: 0.9em;
}

.mailto {
  color: white;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

.mailto:hover {
  border-bottom: 1px dashed rgba(255, 255, 255, 1);
}


.guitar {
  position: absolute;
  top: 300px;
  right: 0px;
  width: 225px;
  height: 1000px;
  opacity: 0.8;
  background-image: url(../img/guitare-s.png);
  background-repeat: no-repeat;
  background-position: left;
  z-index: -1;
}

.guitar.guitar-next {
  top: 1400px;
  width: 200px;
  /*transform: rotate(180deg);*/
  opacity: 0.5;
  right: initial;
  left: 0px;
  background-position: right;
}


@media( max-width: 850px) {
  .guitar {
    width: 150px;
    opacity: 0.6;
  }
  .guitar.guitar-next {
    width: 120px;
  }
}

@media( min-width: 560px ) {

  section {
    position: relative;
  }

/*      section:nth-child(odd) {
    left: calc(56px - 10vw);
  }

  section:nth-child(even) {
    left: calc(10vw - 56px);
  }*/

  section.presentation p { position: relative; }
  section.presentation p:nth-child(1) { left: 56px; }
  section.presentation p:nth-child(3) { left: calc( -10vw + 56px); }
}

@media( max-width: 420px ) {
  .guitar{
    opacity: 0.2;
  }
  .guitar.guitar-next {
    opacity: 0.3;
  }
}