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

body{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(black, grey, black);
  color:  white;
  font-size: 20px;
  font-family: "Thasadith", sans-serif;
}

header {
  background-image: url('https://rllngr.github.io/La-Toile-Jukebox-Code-Makers/assets/header.svg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 250px;
}

nav {
  font-family: "Poppins", sans-serif;
  background: white;
  padding-bottom: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
}

nav li a {
  font-weight: bold;
  color: #4b4b4b;
}

nav a {
  text-decoration: none;
  color: #4b4b4b;
  transition: color 0.3s ease-in-out;
}

nav a:hover {
  color: #e2001a;
}

h1{
  color: rgb(249, 216, 222);
  font-size: 90px;
  font-family: 'dancing script';
}

.presentation h2{
  color: white;
  font-weight: lighter;
  text-transform: uppercase;
  font-size: 84px;
  font-family: "Thasadith", sans-serif;
}
.tittles{
  font-size: 80px;
  font-family: 'dancing script';
  margin: 21px 0px 25px 0px;
  color: rgb(249, 216, 222);
  text-shadow: 0 0 black;
}

#border{
  margin: 4px;
  border: solid 2px rgb(249, 216, 222);
}

section{
  margin: 20px 0px 60px 0px;
}

#album-presentation{
  display: flex;
  justify-content: center;
}

#album-presentation h3 {
  font-size: 35px;
  color: rgb(249, 216, 222);
  font-family: 'dancing script';
}

.presentation{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
}

.presentation img{
  width: 36vw;
  height: 70vh;
  box-shadow: 5px 5px 15px -2px rgb(249, 216, 222);
}

.cover{
  margin-bottom: 50px;
  display: inline-block; /* Optionnel */
  animation: heartbeat-light 2s infinite; /* Animation infinie, durée de 2s pour un effet plus calme */
}

@keyframes heartbeat-light {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.05); /* Agrandissement léger à 105% */
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1); /* Retour à la taille normale */
  }
}

#album-tracklist{
  width: 60vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 170px;
  padding: 20px;
  z-index: 1; /* Pour que le contenu reste au-dessus */
}
  
#album-tracklist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* Fond semi-transparent */
  filter: blur(10px); /* Flou appliqué */
  z-index: -1; /* Place le pseudo-élément derrière le contenu */
  border-radius: 10px; /* Arrondir les coins */
}

.text-bloc{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgb(249, 216, 222);
}

ol{
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-family: "Thasadith", sans-serif;
}

#discographie{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 170px;
  margin-bottom: 200px;
}

#discographie h3{
  margin-bottom: 50px;
}
.disco-container{
  height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 177px;
  row-gap: 60px;
}

.disco-card{
  width: 18%;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

h4{
  margin: 10px 0px 10px 0px;
  font-size: 30px;
  font-weight: bold;
  font-family: 'dancing script';
  color: rgb(249, 216, 222);
}

.disco-card:hover{
  border: solid transparent;
  transform: scale(1.1);
  transition: all .1s ease-in-out;
  box-shadow: 5px 5px 15px -2px rgb(249, 216, 222);
}

.disco-card img{
  width: 100%;
  object-fit: cover;
}

footer {
    background: #e2001a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    padding: 10px;
  }

  @media (max-width: 768px) {
    #album-presentation img {
      width: 80%; /* Les images prennent toute la largeur de l'écran */
      height: auto;
    }
  
    nav ul {
      flex-direction: column; /* Le menu devient vertical */
      gap: 20px;
    }
  
    h1, h2, h3 {
      font-size: 24px; /* Réduction des tailles de police */
    }
  
    #album-tracklist {
      margin: 50px auto; /* Ajustement des marges */
      width: 90%; /* Réduire la largeur */
    }
  
    .disco-card {
      width: 90%; /* Les cartes s'étendent sur la largeur */
      margin: 10px 0;
    }
  }
  