@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-text-color: white;
  --secondary-text-color: #000000;
  --primary-color: #000000;
  --primary-color-dark: #d4133a;
  --secondary-color: #0b1423;
  --secondary-color-dark: #091121;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --padding-inline-section: 20px;
  --max-width: 1280px;
  --img-sm-width : 30px;
}

body {
  font-family: 'Courier New', Courier, monospace;
  color: var(--primary-text-color);
  /* background-color: var(--primary-color); */
  background: var(--primary-color) url(images/fond.jpg) fixed center no-repeat;
  max-width: var(--max-width);
  margin: auto;
}

p {
  font-size: 1.25rem;
  color: var(--primary-text-color);
  line-height: 1.8rem;
}

a {
  color: var(--primary-text-color);
  text-decoration: none;
  display: inline-block;
}

ul {
  list-style: none;
  font-size: 1.8rem;
  font-weight: bold;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--padding-inline-section);
  padding: 0;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: space-between;
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
}

/* NAV */

.top-banner {
  background-image: url(images/bande.png);
  /* background-color: yellow; */
  margin: 0 auto;
  height: 100px;
  width: 100%;
  max-width: var(--max-width);
  border-radius: 8px 8px 0 0;
}

nav {
  height: 100px;
}

.logo {
  height: 100px;
}

.logo img{
  display: block;
}

.main-nav {
  justify-content: space-between;
  position: relative;
  overflow: initial;
}

.nav-links {
  flex-basis: 730px;
}

.nav-links ul {
  justify-content: end;
  gap: 40px;
  padding-right: 20px;
}

.hover-link {
  color: var(--secondary-text-color);
  transition: 0.2s ease-out;
}

.hover-link:hover {
  color: var(--primary-text-color);
  letter-spacing: 2px;
}

.nav-toggle {
  display: none;
}

/* ACCUEIL */

header {
  margin: 0 auto;
}

#accueil_teaser {
  background-image: url(images/accueil.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 60%;
  min-height: auto;
  text-align: center;
  margin: 0 auto;
  animation: fadein 0.5s;
}

.accueil {
  text-align: center;
  margin: 0 auto;
  animation: fadein 1s;
}

.accueil p {
  font-size: clamp(16px, 8.5vw, 110px);
  font-weight: bold;
  margin-bottom: 40px;
}

.accueil img {
  width: 100%;
}

/* GROUPE */

#groupe {
  margin: 20px auto 0 auto;
  background-image: url(images/groupe.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  text-align: justify;
  padding: 240px 0 0 0;
  min-height: 853px;
  z-index: -2;
  }

.biographie {
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  padding: 20px;
  animation: fadein 1s;
}

/* CONCERTS */

#concerts {
  margin: 20px auto 0 auto;
  background-image: url(images/concerts.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  padding: 40px 0 0 0;
  min-height: 75vh;
}

.dates {
  width: var(--max-width);
  margin: 0 auto 0 auto;
  animation: fadein 1s;
}

/* RESPONSIVE TABLE */

.responsive-table {
  li {
    font-size: clamp(14px, 1.4vw, 18px);
    padding: 0;
    display: flex;
    justify-content: start;
    margin-bottom: 20px;
    width: 100%;
  }

  .table-row {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .col {
    padding: 12px;
  }

  .col-1 {
    width: 12%;
    border-right: solid 2px white;
    background-image: url(images/bande.jpg);
    color: var(--secondary-text-color); 
  }

  .col-2 {
    width: 22%;
    border-right: solid 2px white;
  }

  .col-3 {
    width: 59%;
    border-right: solid 2px white;
  }

  .col-4 {
    width: 7%;
    text-align: right;
  }

  .grey {
    background-image: none;
    background-color: grey;
  }

  p {
    font-size: clamp(14px, 1.4vw, 18px);
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
  }
}

.year,
.year_first  {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-text-color);
    width: 100%;
    margin: 40px auto 20px auto;
    background-image: url(images/bande.jpg);
    border-top: solid 1px black;
    border-bottom: solid 1px black;
}

.year_first {
    margin: 0 auto 20px auto; ;
}

/* VIDEOS */

#videos {
  margin: 20px auto 0 auto;
  background-image: url(images/videos.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  min-height: auto;
}

.YT {
  position: relative;
  display: block;
  width: 100%; /* width of iframe wrapper */
  height: 0;
  margin: 5% auto;
  padding: 0% 0% 56.25%; /* 16:9 ratio */
  overflow: hidden;
}

.YT iframe {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  animation: fadein 2s;
}

/* DISCOGRAPHIE */

#discographie {
  text-align: center;
  margin: 20px auto 0 auto;
  background-image: url(images/discographie.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  min-height: 792px;
}

.ecoute {
  font-size: clamp(01rem, 2vw, 1.5rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.morceaux {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 0 50px 0;
  animation: fadein 1s;
}

.morceaux img {
  box-shadow: 0.01vh 0.01vh 0.2vh yellow;
}

.date_discographie {
  font-size: clamp(2rem, 3vw, 3rem);
}

.titre_discographie {
  font-size: clamp(2rem, 2vw, 2rem);
}

/* CONTACT */

#contact {
  text-align: center;
  margin: 20px auto 0 auto;
  background-image: url(images/contact.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  /* min-height: 854px; */
}

.contact {
  margin: 6% auto 0 auto;
}

.contact a {
  display: inline;
}

.contact img {
  width: clamp(30px, 4vw, 80px);
}

.mail {
  font-size: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1rem, 8vw, 9rem);
}

.mailpresse {
  font-size: clamp(1rem, 3vw, 2rem);
  padding-bottom: 2%;
}

/* SOCIAL MEDIAS */

.social_medias img {
  width: var(--img-sm-width)
}

/* FOOTER */

footer {
  margin: 20px auto 0 auto;
  text-align: center;
  height: 30px;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1180px) {
  ul {
    font-size: 2.2vw;
  }  
}

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

  .nav-toggle {
    display: block;
    margin-right: 20px;
  }

  .main-nav {
    overflow: initial;
  }

  .nav-links {
    position: absolute;
    background-image: url(images/menu.jpg);
    background-color: rgba(189, 201, 22, 0.95);
    left: -100%;
    top: 100%;
    width: 100%;
    padding-block: 20px;
    transition: 0.5s ease-in-out;
    z-index: 99;
  } 

  .nav-links.active {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    font-size: 1.5rem;
  }

  .accueil p {
  margin-bottom: 10px;
}

  #groupe {
    padding-top: 0;
    padding-bottom: 0;
  }

  .biographie p {
    font-size: 1rem;
  }

  #concerts {
    min-height: 50vh;
  }

  #discographie {
    min-height: auto;
  }
  .morceaux{
    justify-content: center;
  }

  .responsive-table {

    li {
      display: block;    
    }  

    .col {
      width: 100%;
      display: flex;
      padding: 10px 0;
      justify-content: center;
    }

    .col-1, .col-2, .col-3 {
      border-right: none;
    }
    
    .col-1 {
      font-size: larger;
    }
  }   
  .year,
  .year_first  { 
    top: 0;
    position: sticky;
  }
}

/* ANIMATION */

@keyframes fadein {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}