/* Fribourg le 13 Janvier 2026
Luis Inchauste Rivera */
/* Variables Globales */
:root {
    --txt-primary-color: #444444;
    --txt-secondary-color: #d1d1d1;
    --bg-primary-color: rgb(233, 233, 233);
    --bg-secondary-color: rgb(110, 110, 110);
}

/* Styles génerales pour les balises */
* {
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 94% auto;
}
main {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
hr {
    width: 100%;
}

/* Style pour la barre de navigation En-tête et pied de page */
nav {
    background-color: var(--bg-primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
nav a {
    text-decoration: none;
    position: relative;
    color: var(--txt-primary-color);
}

/* Style pour les liens de navigation */
.nav-link-list {
    list-style: none;
    padding: 0;
    font-size: .9rem;
    display: flex;
    gap: 1rem;
}
.nav-link-list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: .5rem;
}
/* Ligne separatrice entre liens */
.nav-link-list li::after {
    content: "";
    border: 1px solid var(--bg-secondary-color);
    position: absolute;
    height: 100%;
    left: -10%;
    top: 0%;
}
.nav-link-list > li:first-child::after {
    content: "";
    border: none;
}
/* Animation de transition pour les liens */
a.link + span {
    bottom: -20%;
    position: absolute;
    width: 90%;
    border: 1px solid transparent;
    transition: 200ms all ease-in-out;

}
a.link:hover + span{
    transition: 200ms all ease-in-out;
    border: 1px solid var(--bg-secondary-color);
    bottom: 0%;
}
/* Lien active */
.active-link {
    transform: translateY(2%);
    font-weight: bolder;
    font-size: 1rem;
}

/* Style pour le pied de page */
footer {
    text-align: center;
    height: 100%;
    background-color: var(--bg-primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer div {
    width: 100%;
    background-color: var(--bg-primary-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--txt-primary-color);
    padding: 1rem;
}

/* Styles pour les cartes et articles */
.glass-card {
    padding: .5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 34px 17px rgba(255, 255, 255, 1.7);
    position: relative;
    overflow: hidden;
  }
  
  .glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent
    );
  }
  
  .glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3)
    );
  }
.hide {
    opacity: .2 !important;
}

/* Styles pour télephone */
@media (max-width: 575.98px) {
    body {
        min-height: 100vh;
        display: grid;
    }
    /* Modification du barres de navigation en tête et en pied de page */
    nav {
        width: 100%;
    }
    .nav-link-list {
        padding: .5rem .3rem;
        width: 100%;
        justify-content: space-evenly;
    }
    .nav-link-list li {
        position: relative;
        font-size: 1rem;
        padding: 0;
    }
    .nav-link-list li::after {
        left: -30%;
    }
}

/* @media (max-width: 767.98px) {

} */