@charset "UTF-8";

html, html[data-theme="light"] { /* Variables mode clair*/
  --main-color: #33312e;         /* Couleur principale */
  --main-elements-color: #fff;   /* Couleur des éléments dans la couleur principale (doit faire contraste) */
  --aside-color: #eee;
  --accent-color: #2cb739;       /* Couleur d'accent */
  --background-color: #fff;
  --text-color: #333;            /* Couleur du texte */
}
/*==================== General classes ====================*/
html {
  position: relative;
  box-sizing: border-box;
  /*
    L'agencement de font-family ci-dessous permet d'utiliser la police
    native du système. Donc, les temps de chargements sont plus courts.
  */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after {
  position: relative;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  min-height: 100vh;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: all .2s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
               sans-serif;
  text-align: center;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  margin: auto;
  max-width: 1700px;
  min-height: 100%;
}

.container-full {
  max-width: 100%;
}

.header-footer {
  display: flex;
  margin: auto;
  max-width: 1700px;
}

.with-sidebar {
  display: flex;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

[class*="col-"] {
  width: 100%;
  padding: 15px;
}

[class*="col-"] > * {
  max-width: 100%;
}

main {
  padding-bottom: 48px;
  color: var(--text-color);
}

header,
footer {
  padding: 15px;
  background-color: var(--main-color);
  color: var(--main-elements-color);
  z-index: 10000;
  transition: background-color .2s ease-in-out;
}

footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-right {
  margin-left: auto;
}

/*==================== Discord ====================*/

.discord {
	padding: 30px;
}

/*==================== Header ====================*/
.title {
  display: inline;
  color: inherit;
  font-weight: 400;
}

.title-accent {
  color: var(--accent-color);
  font-weight: bold;
}

/*==================== Navbar ====================*/
nav {
  position: fixed;
  right: 0;
  margin-top: 54px;
  max-height: 0;
  box-shadow: -1px 1px 3px #000;
  overflow: hidden;
  background-color: var(--main-color);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
               sans-serif;
  transition: max-height .2s ease-in-out;
  z-index: 1000;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.sticky + main {
  padding-top: 69px;
}

.sticky + .with-sidebar main {
  margin-top: 0;
}

.sticky + .with-sidebar aside {
  margin-top: 0;
}

nav a {
  display: block;
  padding: 10px 15px;
  color: var(--main-elements-color);
  font-size: 1.2em;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

nav > .active {
  background-color: var(--accent-color);
  font-weight: 600;
}

/*==================== Hamburger ====================*/
#sandwich-menu {
  margin-left: auto;
}

.bar1,
.bar2,
.bar3 {
  margin: 6px 0;
  width: 35px;
  height: 5px;
  border-radius: 5px;
  background-color: var(--main-elements-color);
  transition: .2s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-8px, 7px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-8px, -8px);
}

/*==================== Sidebar ====================*/
.with-sidebar main {
  margin-top: -69px;
  padding-top: 69px;
  width: 100%;
  min-height: 100vh;
}

#sidebar-button {
  position: fixed;
  left: 0;
  top: 50%;
  border-radius: 0 5px 5px 0;
  padding: 5px;
  font-size: 2em;
  background: var(--aside-color);
  opacity: .7;
  z-index: 4;
}

.sidebar-open #sidebar-button::before {
  content: "\f104";
}

aside {
  position: fixed;
  margin-top: -69px;
  padding-top: 69px;
  padding-bottom: 120px;
  width: 0;
  height: 100vh;
  background-color: var(--aside-color);
  overflow-x: hidden;
  transition: background .2s ease-in-out, color .2s ease-in-out, width .2s ease-in-out;
  z-index: 3;
}

.sidebar-open aside {
  width: 100%;
}

.sidebar {
  padding: 15px;
}

.sidebar-section-toggle {
  margin-top: 20px;
  padding: 10px;
  font-size: 1.2em;
  user-select: none;
  -moz-user-select: none;
}

.sidebar-section-toggle::after {
  content: '\f0d7';
  font-family: "Font Awesome 5 Free";
  font-size: 1.3em;
  font-weight: 900;
  float: right;
}

.sidebar-section-toggle.active::after {
  content: '\f0d8';
}

.sidebar-section-toggle:hover {
  cursor: pointer;
}

.sidebar-section {
  max-height: 0;
  border-top: 2px solid var(--text-color);
  overflow: hidden;
  transition: max-height .2s ease-in-out;
}

.sidebar-section > * {
  padding: 15px;
}

.sidebar-section li {
  list-style: none;
}

.sidebar-section a {
  color: var(--accent-color);
  font-size: 1.1em;
  line-height: 1.3em;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.sidebar-section .faction-assistants {
  color: goldenrod;
}

.sidebar-section .faction-cultives {
  color: blue;
}

.sidebar-section .faction-dynamiques {
  color: red;
}

.sidebar-section .faction-relax {
  color: green;
}

/*==================== Temp classes ====================*/
label {
  display: block;
}

#mise-a-jour {
  color: #FFFFFF;
  font-size: 1.1em;
}

#section-selector h3 {
  margin-top: 10px;
  margin-left: 20px;
  text-align: left;
}

table {
  margin: auto;
  padding-top: 10px;
  font-size: 1.1em;
}

td {
  padding: 0 10px;
}

/*==================== Page Coordonner ====================*/

.t-coordonner{
  margin-top: 20px;
  margin-bottom:20px;
  margin-left: 20px;
  text-align: left;
}


/*==================== Projects - page créditer ====================*/
.project-container {
  margin: auto;
  max-width: 70%;
}

.project-card {
  border: 3px solid var(--text-color);
  border-radius: 10px;
  padding: 25px;
}

.project-title {
  margin-bottom: 35px;
  text-align: left;
  font-size: 1.6em;
  font-weight: bold;
}

.project-subtitle {
  margin-bottom: 10px;
  text-align: left;
  font-size: 1.1em;
  color: var(--secondary-text-color);
}

.project-sub-subtitle{
  margin-bottom: 30px;
  text-align: left;
  font-size: 0.9em;
}

/*==================== Medium devices (tablets, 768px and up) ====================*/
@media only screen and (min-width: 768px) {
  /*==================== Navbar ====================*/
  nav {
    position: initial;
    margin: 0 0 0 auto;
    max-height: 100%;
    box-shadow: none;
    background-color: initial;
  }

  .sticky {
    position: relative;
  }

  .sticky + main {
    padding-top: 0;
  }

  .sticky + .with-sidebar main {
    margin-top: -69px;
  }

  .sticky + .with-sidebar aside {
    margin-top: -69px;
  }

  nav a {
    display: inline-block;
    font-size: initial;
  }

  nav > .active {
    border-radius: 5px;
  }

  /*==================== Hamburger ====================*/
  #sandwich-menu {
    display: none;
  }

  /*==================== Sidebar ====================*/
  .with-sidebar main {
    width: 70%;
  }

  #sidebar-button {
    display: none;
  }

  aside {
    position: relative;
    width: 30%;
    height: initial;
    min-height: 100vh;
    box-shadow: 2px 0px 5px #888888;
    z-index: 0;
  }

  .sidebar-section-toggle {
    font-size: 1.1em;
  }

  .sidebar-section a {
    font-size: .85em;
    line-height: 1em;
  }

  /*==================== Temp classes ====================*/
  .first-col {
    width: 65%;
  }

  .second-col {
    padding-right: 100px;
  }

  .medias-col {
    padding-right: 75px;
  }

  .aide-mem-col {
    width: 85%;
  }

  .col-tab-1 {width: 8.33%;}
  .col-tab-2 {width: 16.66%;}
  .col-tab-3 {width: 25%;}
  .col-tab-4 {width: 33.33%;}
  .col-tab-5 {width: 41.66%;}
  .col-tab-6 {width: 50%;}
  .col-tab-7 {width: 58.33%;}
  .col-tab-8 {width: 66.66%;}
  .col-tab-9 {width: 75%;}
  .col-tab-10 {width: 83.33%;}
  .col-tab-11 {width: 91.66%;}
  .col-tab-12 {width: 100%;}
}

/*==================== Large devices (tablets and desktops, 1024px and up) ====================*/
@media only screen and (min-width: 1024px) {
	
  /*==================== videos - page créditer ====================*/

	iframe {
		height: 300px;
	}
	
  /*==================== Sidebar ====================*/
  .with-sidebar main {
    width: 80%;
  }

  aside {
    width: 20%;
  }

  .sidebar-section-toggle {
    font-size: 1.2em;
  }

  .sidebar-section a {
    font-size: 1.1em;
    line-height: 1.3em;
  }

  /*==================== Projects - page créditer ====================*/
  .project-card {
    padding: 50px;
  }

  .project-img {
    padding: 0;
  }

  .col-lg-tab-1 {width: 8.33%;}
  .col-lg-tab-2 {width: 16.66%;}
  .col-lg-tab-3 {width: 25%;}
  .col-lg-tab-4 {width: 33.33%;}
  .col-lg-tab-5 {width: 41.66%;}
  .col-lg-tab-6 {width: 50%;}
  .col-lg-tab-7 {width: 58.33%;}
  .col-lg-tab-8 {width: 66.66%;}
  .col-lg-tab-9 {width: 75%;}
  .col-lg-tab-10 {width: 83.33%;}
  .col-lg-tab-11 {width: 91.66%;}
  .col-lg-tab-12 {width: 100%;}
}

/*==================== Larger devices (desktops, 1366px and up) ====================*/
@media only screen and (min-width: 1366px) {
  /*==================== videos - page créditer ====================*/

	iframe {
		height: 600px;
	}
	
  /*==================== Sidebar ====================*/
  .with-sidebar main {
    width: 85%;
  }

  aside {
    width: 15%;
  }

  /*==================== Projects - page créditer ====================*/
  .project-1,
  .project-3 {
    margin-top: 25%;
  }
  
  .project-2 {
    margin-top: 10%;
  }

  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}