/* Thème GEFOR du portail Let's Connect! / eduVPN
 * Couleurs du logo Groupe GEFOR : bleu marine #283276, orange #f15a23
 * Icônes des applications : paquet vpn-portal-artwork-lc (img/LC/app)
 */

:root {
  --gefor-navy: #283276;
  --gefor-orange: #f15a23;
  --accent-color: #283276;
  --header-bg-color: #283276;
  --bg-button-header-hover: #3a479e;
  --bg-color-main-header: #283276;
  --border-color: #f15a23;
  --lead-text-color: #283276;
  --nav-logo: url("../../img/GEFOR/logo.png");
  --img-linux: url("../../img/LC/app/Linux.png");
  --img-windows: url("../../img/LC/app/Windows.png");
  --img-macos: url("../../img/LC/app/macOS.png");
  --img-android: url("../../img/LC/app/Android.png");
  --img-ios: url("../../img/LC/app/iOS.png");
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-color: #8f9bf0;
    --header-bg-color: #1b2152;
    --bg-button-header-hover: #283276;
    --bg-color-main-header: #283276;
    --lead-text-color: #f4f4f4;
    --nav-logo: url("../../img/GEFOR/logo-dark.png");
    --img-macos: url("../../img/LC/app/macOS-dark.png");
    --img-ios: url("../../img/LC/app/iOS-dark.png");
  }
}

/* Liseré orange sous la barre du haut, comme le logo */
header.page {
  border-bottom: 3px solid var(--gefor-orange);
}

nav {
  background-image: var(--nav-logo);
  background-size: auto 50px;
  background-repeat: no-repeat;
  background-position: 50% 1em;
  min-height: calc(50px + 2em);
}

nav ul {
  padding: calc(50px + 1.5em) 0 0 0;
}

nav ul li.active a {
  border-bottom-color: var(--gefor-orange);
}

form.frm button, a.btn {
  background-color: var(--gefor-navy);
}

form.frm button:hover, a.btn:hover {
  background-color: var(--gefor-orange);
}

blockquote {
  border-left: 0.2em solid var(--border-color);
}

p.lead {
  font-style: normal;
  font-weight: bold;
}

p.server {
  text-align: center;
  font-size: 1.15rem;
}

p.server strong {
  color: var(--gefor-orange);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

p.orgInfo {
  padding: 0.75em 1em;
  border-left: 0.2em solid var(--gefor-orange);
  background-color: var(--bg-color);
  border-radius: 0 0.5em 0.5em 0;
}

ul.apps {
  list-style: none;
  padding: 0;
  text-align: center;
}

ul.apps li {
  display: inline-block;
  padding: 1.5em;
}

ul.apps li a {
  display: block;
  background-repeat: no-repeat;
  background-size: 64px 64px;
  background-position: 50% 0;
  min-height: calc(64px + 2em);
  padding: calc(64px + 0.5em) 0 0 0;
  min-width: 64px;
}

ul.apps li a.Windows { background-image: var(--img-windows); }
ul.apps li a.macOS { background-image: var(--img-macos); }
ul.apps li a.Android { background-image: var(--img-android); }
ul.apps li a.iOS { background-image: var(--img-ios); }
ul.apps li a.Linux { background-image: var(--img-linux); }

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--gefor-orange);
}

@media screen and (max-width: 480px) {
  nav {
    background-size: auto 36px;
  }
}

@media screen and (min-width: 800px) {
  nav {
    background-position: 2% 50%;
  }
  nav ul {
    padding: 0 0 0 calc(375px + 2em);
  }
}
