* {
  margin: 0;
  padding: 0;
}

:root {
  --primary-50: #e6f2ff;
  --primary-100: #b0d7ff;
  --primary-500: #017eff;
  --primary-700: #0159b5;
  --primary-900: #00356b;
  --primary-1000: #001c38;
  --secondary-50: #fefdfc;
  --secondary-100: #fbf9f6;
  --secondary-200: #f9f6f2;
  --secondary-300: #f6f2ec;
  --secondary-500: #f2ebe2;
  --grey-50: #fafafb;
  --grey-400: #d7dadf;
  --grey-600: #bbbec4;
  --grey-700: #929499;
  --grey-800: #717376;
  --grey-900: #56585a;
  --min-height: 44px;
}

/* Display none pour ordi */

.infographie,
.deskMenu,
#menu {
  display: none;
}

/* Define */

@font-face {
  font-family: "Sora Regular";
  src: url("/css/fonts/Sora-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Sora Medium";
  src: url("/css/fonts/Sora-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Sora Semi Bold";
  src: url("/css/fonts/Sora-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Sora Bold";
  src: url("/css/fonts/Sora-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Sora Extra Bold";
  src: url("/css/fonts/Sora-ExtraBold.ttf") format("truetype");
}

h1 {
  font-family: "Sora Extra Bold";
  line-height: 120%;
  font-size: 32px;
  width: 48px;
  height: 48px;
  z-index: 11;
  margin-left: 24px;
}

h2 {
  font-family: "Sora Bold";
  line-height: 150%;
  font-size: 24px;
}

h3 {
  font-family: "Sora Bold";
  line-height: 150%;
  font-size: 20px;
  color: var(--primary-1000);
}

h4 {
  font-family: "Sora Semi Bold";
  line-height: 130%;
  font-size: 16px;
  color: var(--primary-1000);
}

p {
  font-family: "Sora Regular";
  line-height: 130%;
  font-size: 14px;
  color: var(--grey-900);
}

ul{
  padding-left: 24px;
}

li{
  font-family: "Sora Regular";
  line-height: 130%;
  font-size: 14px;
  color: var(--primary-1000);
}

a,
button {
  font-family: "Sora Semi Bold";
  line-height: 100%;
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 24px;
  text-decoration: none;
  width: fit-content;
}

button {
  border: none;
}

.display-large {
  font-family: "Sora Extra Bold";
  line-height: 120%;
  font-size: 32px;
}

.display {
  font-family: "Sora Bold";
  line-height: 150%;
  font-size: 24px;
}

.display-small {
  font-family: "Sora Bold";
  line-height: 150%;
  font-size: 16px;
}

label,
.label {
  font-family: "Sora Medium";
  line-height: 130%;
  font-size: 10px;
}

.tag {
  font-family: "Sora Bold";
  line-height: 120%;
  font-size: 12px;
}

.placeholder,
input,
textarea {
  font-family: "Sora Regular";
  line-height: 130%;
  font-size: 14px;
}

.big-number {
  font-family: "Sora Extra Bold";
  line-height: 100%;
  font-size: 72px;
}

.cta-primary {
  background-color: var(--primary-500);
  color: var(--secondary-50);
  transition: transform 0.3s ease-in-out;
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-tertiary-grey:hover,
button {
  transform: translateY(-4px);
}

.cta-secondary {
  border: 1px solid var(--primary-500);
  color: var(--primary-500);
  transition: transform 0.3s ease-in-out;
}

.cta-tertiary-grey {
  border-radius: 0;
  border-bottom: 1px solid var(--grey-900);
  color: var(--grey-900);
  padding: 0;
  font-size: 14px;
  font-family: "Sora Regular";
  transition: transform 0.3s ease-in-out;
}
.cta-tertiary-grey:hover {
  opacity: 0.8;
}

h1 a {
  padding: 0;
}

h1 a img {
  width: 100%;
  object-fit: cover;
}

header {
  padding: 24px 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  z-index: 6;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--secondary-500);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
}

#burger {
  position: relative;
  right: 24px;
  width: 2.2em;
  height: 2.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;
  transition: 0.3s;
  cursor: pointer;
}

#burger::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5%;
  background-color: var(--primary-1000);
  z-index: 1002;
  transform: translateY(-12px);
  border-radius: 10px;
  box-shadow: 0 12px 0 var(--primary-1000);

  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#burger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5%;
  background-color: var(--primary-1000);
  z-index: 1002;
  transform: translateY(12px);
  border-radius: 10px;

  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#burger.active::before {
  transform: translateY(0px) rotate(-45deg);
  box-shadow: none;
  background-color: var(--secondary-50);
}

#burger.active::after {
  transform: translateY(0px) rotate(45deg);
  background-color: var(--secondary-50);
}

#menu {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 90vw;
  height: 80vh;
  display: none;
  justify-content: center;
  align-items: end;
  flex-direction: column;
  gap: 20px;
  color: var(--secondary-100);
  background-color: var(--primary-700);
  overflow: hidden;
  padding: 10vh 5vw;
}

#menu.active {
  display: flex;
}

.ul-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  align-items: end;
  height: 50vh;
}

.ul-menu li {
  text-decoration: none;
  list-style: none;
}

.ul-menu li a {
  padding: 0;
  color: var(--secondary-50);
  font-size: 36px;
}

.menu-rs {
  display: flex;
  width: 100%;
  align-items: end;
  justify-content: end;
  flex-direction: column;
}

.menu-rs h4 {
  color: var(--secondary-50);
}

body {
  background-color: var(--secondary-500);
}

main{
  padding: 8px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 8px auto;
  max-width: 1400px;
}

.page {
  padding-top: 100px;  
}

/* Page accueil */

.hero {
  padding: 8px;
  background-color: var(--secondary-50);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 104px;
  position: relative;
}

.image-container {
  position: relative;
}

.image-container img {
  height: 60vh;
  min-height: 300px;
  border-radius: 24px;
  width: 100%;
  object-fit: cover;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 24px;
  height: 60vh;
  min-height: 300px;
}

.hero h2 {
  color: var(--primary-50);
  position: absolute;
  left: 0;
  vertical-align: text-bottom;
  bottom: 260px;
  margin: 8px 16px;
  padding: 24px 16px;
}

.grey {
  color: var(--grey-800);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soutien {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soutien div {
  display: flex;
  gap: 8px;
}

.partenaires {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.logo-partenaires {
  display: flex;
  width: 56px;
}

.logo-partenaires img {
  width: 48px;
  height: 48px;
  min-height: 0;
  object-fit: cover;
  border-radius: 36px;
}

.logo-partenaires img:nth-child(1) {
  position: relative;
  left: 0;
}
.logo-partenaires img:nth-child(2) {
  position: relative;
  left: -32px;
}
.logo-partenaires img:nth-child(3) {
  position: relative;
  left: -64px;
}

#partenaire h2{
  margin-bottom: 16px;
}

/* Section jeux */

.page-jeux {
  padding: 0;
}

.jeux {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 85vh;
  gap: 16px;
}

.index-jeux{
  height: 60vh;
}

.jeux div,
.page-jeux {
  width: 100%;
  border-radius: 16px;
  height: 100%;
}

.jeux div .display {
  color: var(--secondary-50);
  width: 90%;
}

.valorant {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%), url("../img/valo.webp");
  background-position: center;
  background-size: cover;
}

.valorant p {
  position: relative;
  top: 16px;
  left: 16px;
}

/* Section histoire */

.histoire {
  padding: 16px;
  background-color: var(--secondary-50);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.histoire-image {
  position: relative;
  top: -24px;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image {
  position: absolute;
  height: 200px;
  width: 160px;
  border-radius: 16px;
  object-fit: cover;
}

/* Image centrale */
.image-center {
  z-index: 2;
  width: 180px;
  height: 230px;
}

/* Images de fond */
.image-back-left {
  transform: rotate(-10deg) translate(-50px, 16px);
  z-index: 1;
}

.image-back-right {
  transform: rotate(10deg) translate(50px, 16px);
  z-index: 1;
}

.histoire-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

/* Section partenaires */

.sponsors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.text-content-sponsors div {
  display: flex;
  align-items: center;
}

.text-content-sponsors div button {
  padding: 0;
  font-size: 16px;
  font-family: "Sora Medium";
  background-color: transparent;
  border-bottom: 1px solid var(--primary-1000);
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.content-sponsors {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-400);
  background: var(--grey-50);
  border-radius: 16px;
  position: relative;
  align-items: center;
}

.content-sponsors-text {
  height: 80px;
  overflow: hidden;
  transition: height 0.3s ease;
}

.content-sponsors-text.expanded {
  height: auto;
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow.rotated {
  transform: rotate(180deg);
}

.external-link {
  position: absolute;
  top: 24px;
  right: 24px;
}

.external-link a {
  padding: 0;
}

.presentation-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
}

.text-content-sponsors {
  padding: 24px;
  border-top: 1px solid var(--grey-400);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: fit-content;
}

.text-content-sponsors h3 {
  color: var(--primary-1000);
}

.text-content-sponsors p {
  color: var(--grey-900);
}

.text-content-sponsors div a {
  color: var(--primary-1000);
  padding: 0;
}

/* Section actualités */

.titre-actualites {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-direction: column;
}

.news {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.news img,
.aside img {
  width: 100%;
  height: 240px;
  border-radius: 24px;
  filter: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  object-fit: cover;
}

.a-article {
  padding: 0;
  width: 100%;
}

.a-article-main {
  width: 100%;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.news-img {
  z-index: 2;
}

.news-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  border-radius: 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, 0) 100%);
}

.news-item div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.date {
  color: var(--grey-400);
}

.news-item .tag {
  flex-direction: row;
  position: absolute;
  top: 16px;
  left: 16px;
}

.tag-small {
  padding: 4px 8px;
  background-color: var(--primary-50);
  font-family: "Sora Semi Bold";
  color: var(--primary-1000);
  border-radius: 16px;
}

.article-content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  gap: 4px;
}

.article-content h3 {
  color: var(--secondary-50);
}

.news-main {
  width: 100%;
}

.description {
  color: var(--grey-400);
}

.section-news{
  margin-bottom: 24px;
}

.section-news h2{
  margin-bottom: 8px;
}

/* formulaire */

.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reseaux-sociaux {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: left;
  margin-top: 8px;
}

.reseaux-sociaux div a {
  padding: 0;
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

input,
textarea {
  min-height: 44px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--grey-700);
  background: var(--secondary-100);
}

textarea {
  padding: 8px;
  min-height: 96px;
}

/* Footer */

footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background-color: var(--primary-1000);
}

footer input {
  background-color: transparent;
  border: 1px solid var(--secondary-500);
}

.div-footer-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

footer input::placeholder {
  color: var(--secondary-500);
}

footer h3 {
  color: var(--primary-50);
}

footer p {
  color: var(--primary-100);
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-content img {
  width: 80px;
}

.footer-content div p {
  margin-bottom: 16px;
}

.footer-content .reseaux-sociaux img {
  width: 44px;
}

.lien-externe {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Page joueurs */

.nom-roster {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.roster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.joueur {
  position: relative;
  border-radius: 32px;
  height: 60vh;
  background-color: var(--primary-1000);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.joueur img {
  width: 60%;
  height: auto;
  object-fit: cover;
  border-radius: 32px;
  position: absolute;
  bottom: 0;
}

.informations-joueurs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  border-radius: 32px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}

.renseignements {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
}

.informations-joueurs-content {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
  padding: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.informations-joueurs-content p {
  color: var(--secondary-100);
}

.renseignements h4 {
  color: var(--secondary-100);
}

.redirect-joueur {
  padding: 0;
  width: 100%;
}

/* Page des joueurs */

.page-joueur {
  gap: 24px;
  margin: 0 auto;
  padding: 0;
}

.presentation {
  display: flex;
  flex-direction: column;
  padding-top: 104px;
}

.presentation-joueur {
  display: flex;
  position: relative;
  flex-direction: column;
}

.presentation-joueur img {
  max-height: 60vh;
  object-fit: contain;
}

.joueur-info {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 152px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 50vh;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}

.joueur-info .informations-joueurs-content {
  width: 100%;
  padding: 0;
  justify-content: center;
  position: initial;
}

.joueur-info .reseaux-sociaux {
  width: 100%;
  justify-content: center;
  padding-bottom: 8px;
}

.tracker {
  color: var(--primary-1000);
  padding: 0;
  border-bottom: 1px solid var(--primary-1000);
  border-radius: 0;
}

.stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: var(--primary-700);
  padding: 24px;
  gap: 24px;
  height: 104px;
  justify-content: center;
  align-items: center;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
}

.stat-content p {
  color: var(--secondary-50);
}

.data-carriere {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.data-joueur,
.carriere,
.palmares {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 5%;
  background-color: var(--secondary-100);
  border-radius: 16px;
  width: 86%;
  height: fit-content;
  margin: 2%;
  align-self: stretch;
}

.data-joueur h3,
.carriere h3,
.palmares h3 {
  color: var(--primary-900);
}

.data-joueur-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.data-joueur-content-div {
  width: auto;
  min-width: 48%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.data-joueur-content-div img {
  width: 44px;
  height: 44px;
}

.carriere-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: auto;
  align-self: stretch;
  overflow: scroll;
}

.carriere-table-line {
  width: 98%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--grey-600);
  padding: 1%;
}

.palmares-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.palmares-content {
  background-color: var(--secondary-300);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  width: 100%;
  border-radius: 16px;
}

.palmares-content-div {
  display: flex;
  align-items: center;
  min-width: 180px;
  justify-content: space-between;
}

.palmares-content-div img {
  width: 56px;
  height: 56px;
}

.palmares-content-div-resultat {
  display: flex;
  align-items: start;
}

.histoire-palmares{
  border-radius: 32px;
}

.display-large,
.label {
  color: var(--primary-500);
}

.palmares-tournoi .label {
  color: var(--grey-800);
}

.palmares-tournoi p {
  color: var(--primary-1000);
}

/* Template article */

.template-article-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redaction-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redaction-article section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 24px;
  background-color: var(--secondary-200);
}

.redaction-article h2{
  color: var(--primary-1000);
}

.author-share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author img {
  width: 44px;
  height: 44px;
  border-radius: 44px;
}

aside,
.aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

aside .a-article {
  width: 100%;
}

/* Page histoire */

.histoire-storytelling {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.histoire-storytelling img {
  border-radius: 16px;
}

.histoire-storytelling-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.histoire-storytelling-content .label {
  width: 100%;
}
