html {
  font-size: 62.5%;
  color: #364153;
}

body {
  background-color: #004d98;
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
}

.medium {
  font-size: medium;
}

.messi {
  background-position: center center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 8.6rem;
  background-image: url(../photos/messi.jpg);
  background-size: cover;
  align-items: center;
  background-attachment: fixed;
  position: relative;
  z-index: 0;
  text-align: center;
  height: 35dvh;
}

.messi::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  opacity: 0.6;

  background: linear-gradient(
    90deg,
    #a50044 0%,
    #9d194b 7.14%,
    #962552 14.29%,
    #8e2d58 21.43%,
    #86345e 28.57%,
    #7d3964 35.71%,
    #753d6a 42.86%,
    #6c4170 50%,
    #634476 57.14%,
    #59467c 64.29%,
    #4e4981 71.43%,
    #434a87 78.57%,
    #354b8d 85.71%,
    #234c92 92.86%,
    #004d98 100%
  );
}

.italic {
  font-style: italic;
}

.rouge {
  color: #a50044;
}

.blanc {
  color: #fff;
}

.bleu {
  color: #004d98;
}

.petit {
  font-size: 1.8rem;
}

.normal {
  font-size: 2rem;
}

.titre {
  font-family: "Oswald", sans-serif;
}

h1 {
  color: #ffffff;
  font-size: 4.8rem;
}

strong {
  font-weight: bold;
}

.nav {
  background-color: #a50044;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;

  position: sticky;
  top: 0;
}

.footer {
  background-color: #a50044;
  margin-top: 4.8rem;
  padding: 1.6rem;
  text-align: center;
}

.tableau1 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2.4rem;
}

.texte1 {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  line-height: 2.5rem;
}

.random1 {
  display: flex;
  flex-direction: row;
  gap: 2.4rem;
}

.menu {
  display: flex;
  gap: 2.4rem;
}

.animation {
  text-decoration: none;
}

.animation:hover {
  text-decoration: underline #1a0dab;
  color: #1a0dab;
}

.stade {
  border-radius: 1rem;
}

.idk1 {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.main {
  padding: 4.8rem;
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 4.8rem;
}

.tableau2 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2.4rem;
}

.random2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.chiffre1 {
  background-color: #a50044;
  color: #ffffff;
  padding: 2.4rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.chiffre1 strong {
  font-size: 3.6rem;
}

.tableau3 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 3rem;
}

.jsp {
  background-color: #f9fafb;
  padding: 2.4rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.jsp strong {
  font-size: 2.4rem;
  font-weight: normal;
}

.tableau4 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  border-left: 0.2rem #a50044 solid;
  gap: 1.6rem;
  padding: 3.4rem;
}

.idk2 {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.tableau5 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.tableau5 strong {
  font-weight: normal;
}

.mega {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  line-height: 3.2rem;
}

.minis {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mini1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1.2rem;
}

.mini {
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 0.1rem rgba(0, 0, 0, 0.1) solid;
}

.tableau6 {
  background-color: #a50044;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.tableau6 strong {
  font-weight: normal;
}

.megaa {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  line-height: 3.5rem;
}
.miniss {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.minii {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
}

.tableau7 {
  background-color: #ffffff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.tableau7 strong {
  font-size: bold;
  color: #004d98;
}

.megaaa {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  line-height: 2.25rem;
}

.minisss {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.miniii {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media screen and (max-width: 1275px) {
  .stade {
    display: none;
  }
}

@media screen and (max-width: 1080px) {
  .main {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 720px) {
  .random2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .main {
    padding: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    margin-top: 0;
  }

  .main {
    gap: 3rem;
  }

  .idk1 {
    gap: 2.4rem;
    overflow: hidden;
    width: 100%;
  }

  .random2 {
    display: flex;
    flex-direction: row;
    overflow: scroll;

    scroll-snap-type: x mandatory;
  }

  .chiffre1 {
    flex-shrink: 0;
    width: 75%;
    scroll-snap-align: center;
  }

  .messi {
    height: calc(100dvh - 7.2rem);
    background-attachment: scroll;
    justify-content: center;
  }
}
