/* Font texte */

@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap");

/* Font titre */

@import url("https://fonts.googleapis.com/css2?family=Kanit&display=swap");

/* Variables */

:root {
  --couleur: #00ff00;
  --accent: #009f00;
  --fond: #020202;
  --texte-clair: #f1f1f1;
  --texte-sombre: #151515;
  --correct: #00ff00;
  --incorrect: #ff0500;
}

/* CSS reset */

*,
::after,
::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  transition: height 0.3s ease-in, width 0.3s ease-in;
}

/* Page principale */

body::-webkit-scrollbar {
  display: none;
}

::selection {
  background-color: var(--couleur);
  color: var(--texte-sombre);
}

::-moz-selection {
  background-color: var(--couleur);
  color: var(--texte-sombre);
}

a {
  color: var(--couleur);
}

a:hover {
  color: #70ff70;
}

a:visited {
  color: var(--accent);
}

br::selection {
  background: none;
}

body {
  width: 100vw;
  height: 100vh;
  background: var(--fond);
}

.header {
  display: flex;
  position: relative;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 14vh;
  background-color: var(--fond);
  background: linear-gradient(
    70deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(2, 2, 2, 1) 45%,
    rgba(0, 255, 0, 1) 100%
  );
  border-bottom: 4px solid var(--couleur);
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  /* box-shadow: 0px 10px 15px 2px rgba(0, 255, 0, 0.3); */
}

.header .titre {
  display: flex;
  margin-left: 20px;
  padding: 10px;
  align-items: center;
  cursor: default;
}

.header .titre .logo {
  margin-right: 15px;
  padding: 5px;
  width: 50px;
  height: 50px;
  border: 2px solid var(--couleur);
  border-radius: 100%;
  transform: rotate(0);
  box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.35);
}

.header .titre a {
  text-decoration: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.header .titre i.gauche {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-size: 2rem;
  color: var(--couleur);
}

.header .titre i.droite {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-size: 2rem;
  color: var(--accent);
}

.header .titre i.droite::after {
  content: "/";
  font-weight: thin;
  color: var(--couleur);
}

.header .sous-titre {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-size: 2rem;
  color: var(--texte-clair);
}

.qcm-lien {
  color: var(--texte-clair);
  font-family: "Segoe UI", sans-serif;
}

.qcm-lien a {
  color: var(--couleur);
}

img {
  transition: all 0.3s ease-in;
}

footer {
  width: 100vw;
  text-align: center;
  padding: 5px;
}

footer .texte-footer {
  color: var(--texte-clair);
  font-family: "Kanit", sans-serif;
}

@keyframes blinkingBeforeEffect {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 534px) {
  .qcm-lien {
    display: none;
  }
}

@media (max-width: 426px) {
  .header {
    background: var(--fond);
  }

  .header .titre {
    margin-left: 5px;
  }
  .header .titre a {
    margin-right: 5px;
  }
}

@media (max-width: 365px) {
  .header .titre .sous-titre {
    display: none;
  }
  .header {
    align-items: center;
    justify-content: center;
  }
}
