/* Page créée par Filip Mihajlovic
* Page contenant le style du site web sur le FC Barcelone
* Page créée le 25 décembre 2024 */
body {
  margin: 0;
  font-family: "Oswald", sans-serif;
  color: whitesmoke;
  background: linear-gradient(90deg, #00137f 50%, #a4234b 50%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #f5f5f5;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  background-color: #000854;
  justify-content: space-between;
  align-items: center;
}

#accueilContent{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidenav {
  height: 100vh;
  width: 250px;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: #000854;
  padding-top: 60px;
  transition: left 0.5s ease;
  z-index: 10;
  overflow-y: auto;
}

.sidenav a,
.dropdown {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: whitesmoke;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  text-decoration: underline;
}

.sidenav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidenav.active {
  left: 0;
}

.sidenav .close {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}

.burger-icon span {
  display: block;
  width: 38px;
  height: 7px;
  background-color: whitesmoke;
  margin: 6px;
  margin-left: 30px;
}

.dropdown-content {
  display: none;
  padding: 0;
}

.dropdown:hover .dropdown-content,
.dropdown:active .dropdown-content {
  display: block;
}

.spotifyLogo {
  height: 50px;
}

.nikeLogo {
  height: 63px;
  margin-bottom: -6px;
}

.sponsors,
.sponsorsOnMobile {
  font-size: 4em;
  color: whitesmoke;
  margin-right: 30px;
  align-items: center;
}

.logo img {
  width: 70px;
}

.mesQueUnClub h1,
.mesQueUnClub p {
  margin: -10px;
  margin-left: 10px;
  padding: 0px;
  text-align: left;
}

.centerHeader {
  display: flex;
  justify-content: center;
  align-content: baseline;
  padding-left: 90px;
}
.centerContent {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
}

.titrePage {
  text-align: center;
  font-size: 60px;
}

.grandP {
  margin-left: 4%;
  margin-right: 4%;
}

.grandP,
.leftContent,
.rightContent,
.competition,
.centerContent {
  background-color: #000854;
  border-radius: 20px;
}

.rightContent,
.leftContent,
#fs-standings,
#fs-upcoming {
  width: 40%;
  display: flex;
  flex-direction: column;
}

#fs-standings,
#fs-upcoming,
#fs-standings a,
#fs-upcoming a {
  color: black;
}

p {
  font-size: 1em;
  padding: 20px;
  text-align: center;
}

.rightContent > ul {
  list-style: circle;
  padding: 10px;
  padding-left: 40px;
}

.rightContent li {
  margin-bottom: 10px;
}

article {
  margin-bottom: 4%;
  margin-top: 4%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}

h2 {
  text-align: center;
  font-size: 30px;
  margin: 5px;
  padding-top: 20px;
}

#accueil {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#palmares {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  margin: 0;
}

.competition > img {
  height: 100px;
  margin: 10px;
}

.competition {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  margin: 10px;
  flex-grow: 1;
}

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

.ballon-or > img {
  width: 100px;
}

.ballon-or > h3 {
  font-size: 2em;
}

.actif,
.actif > a {
  color: rgb(255, 208, 0);
  text-decoration: underline;
}

.sponsorsOnMobile {
  display: none;
}

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

.maillots img {
  width: 40%;
}

#palmares ul {
  list-style: none;
  padding-right: 20px;
  padding-left: 20px;
  max-height: 200px;
  overflow-y: auto;
}

@media (max-width: 600px) {
  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .titrePage {
    font-size: 40px;
  }

  article {
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
  }

  #palmares {
    flex-direction: column;
  }

  .wrappedOnMobile {
    flex-direction: column-reverse;
  }

  .rightContent,
  .leftContent,
  .grandP,
  .competition,
  #palmares,
  #fs-standings,
  #fs-upcoming {
    width: 90%;
    margin: 10px;
  }

  .sponsors,
  .hiddenOnMobile {
    display: none;
  }

  .burger-icon span {
    margin-left: 0;
  }

  header {
    justify-content: space-around;
  }

  .centerHeader {
    padding-left: 0;
    align-items: center;
  }

  .mesQueUnClub > h1 {
    font-size: 1.5em;
  }

  .mesQueUnClub > p {
    font-size: 0.8em;
  }

  .competition {
    flex-direction: row;
    justify-content: space-evenly;
  }

  .sidenav {
    width: 100%;
    left: -100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .sidenav a,
  .dropdown {
    padding-left: 0px;
    text-align: center;
  }

  .sidenav ul {
    text-align: center;
  }

  .sponsorsOnMobile {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    width: 100%;
  }

  .sponsorsOnMobile a {
    padding: 0;
  }

  footer {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .nikeLogo {
    padding-left: 10px;
  }

  .spotifyLogo {
    padding-right: 10px;
  }

  .mesQueUnClub {
    display: none;
  }
}

footer {
  width: 100%;
  display: flex;
  background-color: #000854;
  justify-content: space-around;
  align-items: center;
  padding-top: 10px;
  bottom: 0;
}

footer img {
  width: 50px;
}

footer a {
  color: whitesmoke;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  background-color: #00137f;
}