/* STYLE BODY */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--background-color);
}

/* Cercles lumineux */
.orbs-top {
  display: flex;
  position: absolute;
  top: 0%;
  left: 0%;
  width: clamp(180px, 40vmin, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orbs-primary-color);
  opacity: 0.2;
  filter: blur(clamp(24px, 5vmin, 64px));
  z-index: -2;
}

.orbs-bottom {
  display: flex;
  position: absolute;
  bottom: -0%;
  right: -0%;
  width: clamp(180px, 40vmin, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orbs-secondary-color);
  opacity: 0.6;
  filter: blur(clamp(24px, 5vmin, 64px));
  z-index: -2;
}

/* Particles.JS (Sans le css les particules pousses le contenue vers le bas) */
#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* STYLE DU MAIN */
.main-frame {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  width: 100vw;
  max-width: 1450px;
  max-height: 70vh;
  height: 90vh;
  overflow: hidden;
  background: var(--background-main);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  padding: 2vh 4vh;
  color: var(--text-primary-color);
}

/* HEADER */
.frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  flex-shrink: 0;

  /* CÔTÉ GAUCHE HEADER */
  .left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    line-height: 0.08rem;

    .name {
      font-family: var(--font-global);
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--text-primary-color);
    }

    .role {
      font-family: var(--font-global);
      font-size: 0.75rem;
      font-weight: 100;
      color: var(--text-secondary-color);
    }

    .badge-year {
      font-family: var(--font-global);
      font-size: 0.65rem;
      font-weight: 400;
      color: var(--text-secondary-color);
      background-color: var(--button-color);
      padding: 1rem 0.75rem;
      border-radius: 5px;
      border: 1px solid var(--button-stroke);
    }
  }

  /* CÔTÉ DROIT HEADER */
  .right {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--button-color);
    padding: 0.25rem 0.5rem;
    border-radius: 25px;
    border: 1px solid var(--button-stroke);

    >a {
      display: flex;
      text-decoration: none;
      color: var(--text-secondary-color);
      font-family: var(--font-global);
      font-size: 0.75rem;
      font-weight: 400;
    }

    .status-indicator {
      display: flex;
      align-items: center;
      color: var(--text-secondary-color);
      font-family: var(--font-global);
      font-size: 0.75rem;

      .light {
        width: 0.65rem;
        height: 0.65rem;
        border-radius: 50%;
        background-color: #00ff71;
        margin-right: 0.5rem;
      }
    }
  }
}

/* FOOTER */
.frame-footer {
  height: 1vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  font-family: var(--font-global);

  .copyright {
    font-size: clamp(0.8rem, 1vw, 0.75rem);
    font-weight: 400;
    color: var(--text-secondary-color);
  }

  .status-notes {
    font-size: clamp(0.8rem, 1vw, 0.75rem);
    font-weight: 400;
    color: var(--text-tertiary-color);
  }

  .status-notes> :last-child {
    color: var(--text-primary-color);
  }
}

/* SÉPARATEUR */
.main-separator {
  width: 100%;
  border: 1px solid var(--separator-color);
  margin: 2vh 0;
  border-radius: 50px;
}

/* RESPONSIVE */
@media (max-width: 1240px) {
  
}


@media (max-width: 768px) {

  body {
    align-items: flex-start;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .main-frame {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 100dvh;
    margin: 0;
    padding: 1rem 1rem 6rem;
    overflow: visible;
    background-color: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;


  }

  .frame-header {
    flex-direction: column;
    align-items: flex-start;

    .left {
      display: none;
    }

    .right {
      display: none;
    }
  }

  .frame-footer {
    display: flex;
    justify-content: center;
    height: auto;
    min-height: 2rem;
    margin-top: 1rem;

    .status-notes {
      display: none;
    }
  }

  .main-separator {
    display: none;
  }
}