*{
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 500;
    font-style: normal;
}


.btn {
    background-color: rgb(44, 44, 150);
    color: rgb(230, 230, 230);
}
body{
    background-color: var(--background);
}


#title{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: absolute;
    top: 250px;
    left: 50%;
    right: 50%;
    z-index: 1;
    color: rgb(255, 255, 255);
}
#subTitle{
    position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 30px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

#logo{
    width: 150px;
    height: auto;
}
#titleLogo{
    font-size: 120px;
}

#backgroundImage{
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 75%;
    object-fit: cover;
    width: 100%;
    height: 800px;
    transition: opacity 0.8s ease-in-out;
}

body, html{
    padding: 0px;
    margin: 0px;
    overflow-x: hidden
}

#credit{
    color: var(--text-color);
    margin-top: 720px;
    font-size: x-small;
    width: 100%;
    text-align: center;
    opacity: 50%;
}
#credit a{
    color: var(--text-color);
}


.btn{
    color: var(--white);
    padding: 20px;
    background-color: var(--btn-color);
    border: 2px solid var(--btn-color-outline);
    border-radius: 10px;
    color: #fff;
    font-style: normal;
    font-size: x-large;
    font-variation-settings: "wdth" 100, "YTLC" 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.btn svg{
    fill: currentColor;
}
.btn:hover{
    background-color: var(--btn-color-outline);
    border: 2px solid var(--btn-color);
}


footer{
    padding-bottom: 50px;
    padding-top: 50px;
    padding-left: 50px;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    background-color: var(--el-background-color);
    border-top: solid 2px var(--el-border-color);
    margin-top: 50px;
    color: var(--text-color);
}
footer a{
    color: var(--text-color);
}

/* Credit footer colum */
.colum{
    width: 100%;
}
#colum *{
        text-align: left
}
#colum h3, h1, p{
    text-align: left;
        padding-left: 0px;
        padding-right: 30px;
}



header {
    position: sticky;
    top: 20px;
    width: calc(100% - 200px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    background-color: var(--el-background-color);
    border: 2px solid var(--el-border-color);
    color: var(--text-color);
    height: 80px;
    z-index: 25;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
}
.navBarIcon{
    flex-shrink: 0;
    height: 20px;
    width: 20px;
}
header p {
    color: var(--text-color);
    font-size: 20px;
}

header .btnGithub {
    color: var(--white);
    margin-left: auto;
    margin-right: 20px;
    cursor: pointer;
    background-color: var(--btn-color);
    border: 2px solid var(--btn-color-outline);
    border-radius: 5px;
    height: 35px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
header .btnGithub:hover{
    background-color: var(--btn-color-outline);
    border: 2px solid var(--btn-color);
}
header .btnGithub svg {
    height: 20px;
    width: 20px;
}





/* var from metrop app */
@media (prefers-color-scheme: light) {
  :root {
      /* Arrière-plans principaux (Blancs très légèrement teintés de bleu) */
      --main-color-backg: rgba(244, 247, 254, 0.7); /* Blanc glacé semi-transparent */
      --footer-color: #e2e8f0;                       /* Gris-bleu très clair et doux */
      --background: #d8e2f0;                         /* Fond doux bleu-gris pastel */
    
      /* Textes et Inversion */
      --text-color: #1e293b;                         /* Bleu nuit très sombre (plus doux que du noir pur) */
      --invert-color: #ffffff;                       /* Blanc pur pour le contraste */
    
      /* Éléments de structure & Bordures */
      --el-border-color: #94a3b8;                    /* Bordure bleu-gris moyen */
      --el-background-color: #c4d4e8;                /* Fond d'élément bleu pastel */
    
      /* Boutons & Interactions */
      --btn-color: #6366f1;                        /* Bleu indigo lumineux */
      --btn-color-outline: #818cf8;                 /* Bleu secondaire / survol */
      --white: #fff;
    }
}
@media (prefers-color-scheme: dark) {
  :root {
      /* Arrière-plans principaux (Sombres avec nuance bleue) */
      --main-color-backg: rgba(15, 23, 42, 0.75); /* Bleu nuit profond semi-transparent */
      --footer-color: #0f172a;                     /* Sombre et sobre */
      --background: #020617;                       /* Fond principal très sombre / nuit */

      /* Textes et Inversion */
      --text-color: #f1f5f9;                       /* Blanc cassé/glacé très lisible */
      --invert-color: #0f172a;                     /* Couleur d'inversion pour les contrastes */

      /* Éléments de structure & Bordures */
      --el-border-color: #334155;                  /* Bordure discrète bleu-gris sombre */
      --el-background-color: #1e293b;              /* Fond de cartes / conteneurs */

      /* Boutons & Interactions (Bleus lumineux pour ressortir sur le sombre) */
      --btn-color: #6366f1;                        /* Bleu indigo lumineux */
      --btn-color-outline: #818cf8;                /* Bleu néon pour le survol / contours */
      --white: #fff;
    }
}




.grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 10px;
  margin-top: 30px;
}

/* Éléments de taille normale */
.element {
  background-color: var(--el-background-color);
  border: 2px solid var(--el-border-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  flex-direction: column;
  font-size: 1cqw;
  color: var(--text-color);
}
.element svg{
    fill: currentColor;
    height: 26%;
    width: 26%;
}
.element span{
    color: var(--text-color);
}

@media (width <= 1000px) {
    #title{
        gap: 10px;
        top: 150px;
    }
    #logo{
        width: 50px;
        height: auto;
    }
    #titleLogo{
        font-size: 45px;
        padding-right: 10px;
    }
    #subTitle{
        top: 250px;
        font-size: 7px;
    }
    #credit{
        margin-top: 420px;
    }
    #backgroundImage{
        height: 500px;
    }
    header{
        visibility: hidden;
    }
}


/* hero */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    height: 400px;
    padding: 10px;
}

.hero-text {
  width: 100%;
  height: 100%;
  background-color: var(--el-background-color);
  border: 2px solid var(--el-border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: center;
  padding: 20px;
  color: var(--text-color);
}

.hero-text svg{
    fill: currentColor;
}

.titleHero{
    font-size: x-large;
    margin-bottom: 10px;
}

.hero-image-r{
  position: relative;
  height: 100%;
  width: 120%;
  margin-left: 10px;
  box-sizing: border-box;
  background-color: var(--el-background-color);
  border: 2px solid var(--el-border-color);
  border-radius: 10px;
}

@media (max-width: 700px) {
  .hero {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-image-r{
    background-size: cover;
      width: 100%;
      margin-left: 10px;
      margin-right: 10px;
    }
}



@media (prefers-color-scheme: light) {
    #world-arg-bckg{
        background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/0f/From_Cottonwood_Cove_looking_north_past_the_teepees%2C_in_Coyote_Buttes_South%2C_Arizona.jpg);
    }
    #card-arg-bckg{
        background-image: url(./pictures/lightListCard.png);
    }
}
@media (prefers-color-scheme: dark) {
    #world-arg-bckg{
        background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/0f/From_Cottonwood_Cove_looking_north_past_the_teepees%2C_in_Coyote_Buttes_South%2C_Arizona.jpg);
    }
    #card-arg-bckg{
        background-image: url(./pictures/darkListCard.png);
    }
}
