html {
  display: flex;
}

body {
  display: flex;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  color: #101010;
}

p {
    margin: 0;
    padding: 0;
}

main {
  flex: 1 0 auto;
}

.container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

header {
    flex-shrink: 0;
    width: 100%;
    background: url(../images/header.jpg) no-repeat center center;
    background-color: #ffc72f;
    background-size: cover;
}

.top-header {
    text-align: center;
}

.logo {
    padding: 1.5rem;
    max-width: 17rem;
    max-height: 472px;
    box-sizing: border-box;
}

.event {
    max-height: 472px;
    padding: 0.5rem;
}

.event img {
    object-fit: contain;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

footer {
  flex-shrink: 0;
  margin-top: -37vmin;
  position: relative;
  height: 37vmin;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ff2524;
  transform: skewY(-5deg);
  transform-origin: bottom right;
}

footer .links {
    position: absolute;
    padding: 3vmin;
    height: 3rem;
    left: 0;
    bottom: 0;
}

footer a {
    display: inline-block;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}

footer a.mail {
    background: url("../images/circle-mail.svg");
    background-size: cover; 
}

footer a.facebook {
    background: url("../images/circle-facebook.svg");
    background-size: cover; 
}

footer img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-height: 27vmin;
    margin-bottom: 3vmin;
    margin-right: 3vmin;
}

footer .credits {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    margin-left: auto; 
    margin-right: auto; 
    font-size: 2vmin;
    color: #252525
}

nav {
    width: 100%;
    height: 50px;
    background: #252525;
    position: sticky;
    z-index: 1;
    text-align: center;
    top: 0;
}

.nav {
    width: 100%;
    max-width: 30rem;
    display: inline-block;
}

nav ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 1rem;
}

nav ul li {
    list-style: none;
    font-family: 'Dancing Script', cursive;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 0 0.5rem;
}

li a {
    color: inherit;
}



nav ul li a {
    display: block;
    color: #989898;
    line-height: 50px;
}

nav ul li a:hover:not(.current){
    color: #fff;
}

a.current{
    color: #d4d4d4;
}

.section {
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.no-row {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

.one-row {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
}

.two-rows {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: flex-start;
}

.content {
    margin-left: 4vw;
    margin-right: 4vw;
    background: rgba(255, 255, 255, 0.7);
}

.one-row .content {
    box-sizing: border-box;
    margin-top: 6rem;
    margin-bottom: 5rem;
    flex-basis: calc(100% - 8vw);
    padding: 1.5rem;
}

.index .section {
    background: url(../images/scene.jpg) no-repeat center center;
    background-color: #410524;
    background-size: cover;
    background-attachment: fixed;
}

.index p {
    text-align: justify;
}

.index p + p {
    padding-top: 1rem;
}

.index em {
    display: block;
    padding-bottom: 1.3rem;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 200;
    text-align: center;
}

.index p + em {
    padding-top: 1.3rem;
}

.join .end .content {
    transform: rotate(-12deg);
    position: relative;
    flex: 0 0 15rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 15rem;
    padding: 3.1rem .5rem .5rem .5rem;
    background: #ff2524;
    text-align: center;
    color: #252525;
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
}

.join .end .content a{
    opacity: 0.2;
    display: block;
    position: absolute;
    top: 53%;
    left: calc(50% - 2.5rem);
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    background: url("../images/mail.svg");
    background-size: cover;
}

.join .end .content .address{
    position: relative;
    z-index: 3;
    margin-top: 1.4rem;
    font-size: 0.8rem;
    font-family: "Lato", Helvetica, Arial, sans-serif;
    word-break: break-all;
}

.repertoire .section {
    background: url(../images/duo.jpg) no-repeat top center;
    background-color: #4a1900;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 15rem;
}

.section.next-concerts{
    background: url(../images/trombone.jpg) no-repeat center center;
    background-size: cover;
    background-color: #093301;
    background-attachment: fixed;
    padding-bottom: 0;
}

.section.past-concerts{
    background: url(../images/clars.jpg) no-repeat center right;
    background-size: cover;
    background-color: #02025d;
    background-attachment: fixed;
    padding-bottom: 15rem;
}

.section .end {
    justify-content: flex-end;
    overflow: hidden;
}

.core .content {
    box-sizing: border-box;
    flex: 1 1 380px;
    padding: 1.5rem;
}

.content.right {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.video .content.right {
    margin-bottom: 15rem;
}

.content.ytcontainer {
    padding: 0;
    box-sizing: border-box;
    position: relative;
    margin-top: 0;
    padding-bottom: 52%;
}

#ytplayer {
    padding: 1px;
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
}

.pre-loading {
    display: none;
}

.copinage.content{
    background: rgba(175, 175, 175, 0.7);
}

.content.music-content{
    padding: 1.5rem;
}

.music-content .title {
    font-weight: bold;
    font-size: 110%;
}

.music-content .title div{
    display: flex;
    justify-content: space-between;
}

.music-content .repertoire-title {
    cursor: pointer;
}

.music-content .repertoire-title:hover{
    color: #000;
}

.music-content .repertoire-title::before {
    content: '+';
    margin-right: .7rem;
    font-weight: bolder;
}

.music-content.opened .repertoire-title::before {
    content: '\2212';
    margin-right: .7rem;
    font-weight: bolder;
}

.music-content.closed ul {
    display: none;
}

.music-content ul {
    padding-left: 1rem;
    margin: 0.5rem auto;
}

.music-content li {
    clear: both;
}

.music-content li .record-title{
    cursor: pointer;
    position: relative;
}

.music-content .record-title:hover{
    color: #000;
}

.record-title::before {
    content: '+';
    margin-right: .7rem;
    font-weight: bolder;
}

.selected-music:not(.hidden) .record-title::before {
    content: '\2212';
    margin-right: .7rem;
    font-weight: bolder;
}

.record-status {
    font-size: 80%;
    margin-left: 0.5em;
}

.record-status.error {
    color: #970c0c;
    cursor: pointer;
}

.record-status.loaded {
    color: #025c02;
}

.record-status.loading {
    color: #003aa7;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0.5rem;
    margin-bottom: 1.4rem;
}

h1, h3 {
    text-align: center;
    font-weight: 900;
    font-size: 1.7rem;
    line-height: 1.2;
}

ul {
    list-style: none;
}

.concerts ul {
  padding-left: 0.5rem;
}

.concerts li {
    white-space: pre-wrap;
}

.concerts li + li {
    padding-top: .4rem;
}

span.date {
    font-weight: 600;
}

.concerts li a {
    text-decoration: none;
    color: inherit;
}

.concerts li a:hover {
    color: #000;
}

@media screen and (min-width: 480px) {
    .logo {
        max-width: 20rem;
    }
    
    nav ul li {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 800px) {
    .logo {
        max-width: 25rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .one-row .content {
        flex-basis: calc(50% - 8vw);
    }
    
    .join .end .content {
        margin-right: calc(25% - 7.5rem + 4vw);
        margin-top: 4rem;
    }
    
    .core .content {
        flex-basis: 30%;
    }

    .video .content.right {
        margin-bottom: 20rem;
    }

    .content.left.ytcontainer {
        margin-top: -10rem;
        margin-bottom: 25rem;
        padding-bottom: 23.5%;
    }
    
    .concerts .one-row .content {
        flex-basis: calc(65% - 8vw);
    }
    
    .repertoire .section {
        padding-bottom: 30rem;
    }
    
    .content.left {
        margin-top: -10rem;
        margin-bottom: 10rem;
    }
    
    .content.right {
        margin-top: 10rem;
    }
    
    .content.copinage {
        margin-top: 15rem;
    }

    .concerts ul {
      padding-left: 3rem;
    }

}