@font-face {
  font-family: "Tan Headlines";
  src: local("Tan Headlines"), url("../assets/TAN-Headline/TANHEADLINE-Regular.otf") format("opentype"), url("../assets/TAN-Headline/TANHEADLINE-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  src: url("ATTENTE2025/assets/Poppins-Full-Version/Web Fonts/Poppins/Poppins-Regular.woff2") format("woff2"),
    url("ATTENTE2025/assets/Poppins-Full-Version/Web Fonts/Poppins/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.portrait {
  display: none;
}

body {
  --bleu-turquoise: #365b6d;
  --bleu-turquoise-fonce: #113241;
  --bleu-clair: #289dd2;
  --jaune: #e2b343;
  --blanc-creme: #f6f6e9;
  margin: 0;
  padding: 0;
  background-color: var(--bleu-turquoise);
}

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

.paysage {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-columns: repeat(5, 20%);
  grid-template-rows: repeat(5, 20%);
  grid-template-areas:
    "batterie note2 trompette trompette note5"
    "batterie playlist playlist playlist saxo"
    "note1 playlist playlist playlist saxo"
    "violon texte texte texte piano"
    "violon note4 vide note3 piano";
}

.playlist {
  grid-area: playlist;
}

.texte {
  grid-area: texte;
}

.texte h1 {
  text-align: center;
  font-family: "Tan Headlines";
  font-weight: normal;
  font-style: normal;
  font-size: 22pt;
  color: var(--jaune);
  margin: 1rem 1rem 1rem 1rem;
}

.paysage > div > img {
  max-width: 75%;
  max-height: 75%;
}

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

.note1 {
  grid-area: note1;
}

.note2 {
  grid-area: note2;
}

.note3 {
  grid-area: note3;
}

.note4 {
  grid-area: note4;
}

.note5 {
  grid-area: note5;
}

.batterie {
  grid-area: batterie;
}

.violon {
  grid-area: violon;
}

.trompette {
  grid-area: trompette;
}

.saxo {
  grid-area: saxo;
}

.piano {
  grid-area: piano;
}

@media only screen and (max-width: 1000px) and (orientation: portrait) {
  .paysage {
    display: none;
  }

  .portrait {
    display: grid;
    width: 90vw;
    height: 90vh;
    margin-top: 5vh;
    grid-template-columns: repeat(3, 33%);
    grid-template-rows: repeat(4, 25%);
    grid-template-areas:
      "piano note1 batterie"
      "playlist playlist playlist"
      "texte texte texte"
      "note2 saxo note3"
  }

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

  .portrait > div > img {
    max-width: 90%;
    max-height: 90%;
  }

  .playlist {
    grid-area: playlist;
  }

  .note1 {
    grid-area: note1;
  }

  .note2 {
    grid-area: note2;
  }

  .note3 {
    grid-area: note3;
  }
}

@media only screen and (max-height: 600px) {
  .texte h1 {
    font-size: 16pt;
  }
}

@media only screen and (max-width: 600px) {
  .texte h1 {
    font-size: 16pt;
  }
}
