/*fichier crée par Kliuchko Artem / décembre 2024*/
/*ce document contient des styles utilisé pour toutes les pages et media queries*/
/*import de la police*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*class pour la police importée*/
.inter-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

/*appliquer la police à tout le fichier*/
* {
  font-family: "Inter", sans-serif;
}

aside * {
  text-decoration: none;
  color: #ffffff;
  text-shadow: 2px 2px 0 #4074b5, 2px -2px 0 #4074b5, -2px 2px 0 #4074b5,
    -2px -2px 0 #4074b5, 2px 0px 0 #4074b5, 0px 2px 0 #4074b5,
    -2px 0px 0 #4074b5, 0px -2px 0 #4074b5;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  text-decoration: none;
  overflow-x: hidden;
}

html {
  height: 100%;
  width: 100%;
}

.video-container {
  position: fixed; /* video bouge avec le scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* video se place derrère le contenu principale */
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* video remplit tout l'écran*/
  pointer-events: none; /* pour ne pas pouvoir cliquer sur le video */
}

a::visited {
  text-decoration: none;
}

.section-left {
  justify-content: center;
  flex-direction: row;
}

.section-right {
  flex-direction: row-reverse;
}

.section-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.section-center {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.section-left,
.section-right {
  display: flex;
  flex-direction: row;
  text-align: center;
}

.imgLeftAlign {
  height: 100%;
  width: 100%;
  max-height: 900px;
  margin: auto;
}

.imgCenterAlign {
  margin: auto;
  width: 100%;
  height: auto;
  max-height: 600px;
}

.imgRightAlign {
  width: 50%;
  height: auto;
}

.txtCenterAlign {
  text-align: center;
}

img {
  display: block;
  margin: 0px;
  height: auto;
}

header {
  text-shadow: 1px rgb(90, 90, 90);
  background-color: #00000016;
  margin-top: 50px;
  width: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  background-color: rgb(47, 50, 49);
  color: white;
}

.navbar {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #e91b1b;
  box-shadow: 2px 5px 5px #888888;
}

nav {
  display: flex;
  justify-content: center;
}

main {
  margin-top: 100px;
  margin-right: 600px;
  margin-left: auto;
  display: flex;
  flex-flow: row wrap;
}

main li {
  list-style: none;
  margin-bottom: 20px;
}

li a {
  font-size: 2rem;
  text-decoration: none;
  color: #0099ff;
  text-shadow: 2px 2px 0 #4074b5, 2px -2px 0 #4074b5, -2px 2px 0 #4074b5,
    -2px -2px 0 #4074b5, 2px 0px 0 #4074b5, 0px 2px 0 #4074b5,
    -2px 0px 0 #4074b5, 0px -2px 0 #4074b5;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
}

p {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  font-size: 150%;
  text-shadow: 1px 1px rgb(90, 90, 90);
  margin: 0px;
  padding: 0px;
  border: none;
  width: 100%;
  text-align: justify;
}

h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

th p {
  font-size: 150%;
}

article {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-left: 150px;
}

section {
  display: flex;
  position: relative;
  z-index: 2;
  background-color: #4e444496;
  margin-bottom: 20px;
  width: 100%;
  margin: 0px;
  padding: 0px;
  border: 1px solid white;
  max-width: 1500px;
  margin-bottom: 100px;
  margin-right: 600px;
}

section p {
  margin: auto;
  max-width: 90%;
}

.flex-container {
  display: flex;
  width: 100%;
}

header {
  font-size: 2rem;
  font-weight: 600;
}

.sideContent {
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  max-height: 200px;
  max-width: 400px;
}

.sideContent p {
  color: #81d90ee6;
  background: #58575780;
  text-align: center;
  border-radius: 10px;
  margin: auto;
  max-width: 90%;
}

.sideContent p a {
  margin-left: 20px;
  text-decoration: underline;
  color: #c7395f;
  text-shadow: black 1px 1px;
}

.sideContent i {
  position: relative;
  top: 5px;
  text-decoration: none;
  color: none;
  text-shadow: none;
}

.sideContent1 {
  top: 200px;
}

.sideContent2 {
  top: 800px;
}

.sideContent3 {
  top: 1400px;
}
.sideContent a:hover {
  transition: 0.5s;
  text-decoration: none;
  color: #00fffbb6;
}

aside {
  display: flex;
  justify-content: right;
  text-align: center;
  float: right;
  right: 0px;
  margin-top: 100px;
  max-width: 400px;
}

/* aligner les images "aside" */

/* bordure ronde */
.circleBorder {
  border: 1px solid rgb(0, 255, 251);
  border-radius: 50%;
}

.link-active {
  background-color: #0099ff;
  border: none;
}

nav a {
  box-shadow: 2px 5px 5px #888888;
  text-decoration: none;
  display: inline-block;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 25px;
  background-color: #000000;
  padding: 5px;
  color: rgb(255, 255, 255);
  text-align: center;
  text-shadow: 1px 1px black;
  width: 200px;
  height: auto;
}

nav a:hover {
  border: none;
  cursor: pointer;
  color: white;
  transition: 0.5s;
  background-color: #00d4ff;
}

/*bouger le bouton en bas on click*/
nav a:active {
  transform: translate(0px, 5px);
}

nav tr {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  text-align: center;
  gap: 20px;
}

nav th {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  width: 5rem;
  height: auto;
}

/* sidebar menu */
.sidebar {
  position: relative;
  background-color: #111111;
  padding: 10px 20px;
  max-height: fit-content;
  transition: height 2s ease, opacity 2s ease;
  z-index: 999; /* tiré depuis chatGPT pour positionner le bouton */
}

.sidebar a {
  justify-content: center;
  margin: auto;
  margin-left: 0;
  text-decoration: none;
  font-size: 14px;
  color: #18d174;
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
}

.sidebar i {
  margin-left: 0%;
}

.sidebar a:hover {
  color: #f1f1f1;
  transition: 0.25s;
}

.open {
  opacity: 1;
  pointer-events: auto;
}

.openbtn {
  position: relative;
  cursor: pointer;
  border-radius: 0px;
  bottom: 0px;
  left: 20px;
  font-size: 40px;
  border: #000000;
  border-radius: 10px;
  color: #ffffff;
  background-color: #000000;
}

.closebtn {
  cursor: pointer;
  position: relative;
  display: none;
  margin-right: 20px;
  font-size: 24px;
  border: #000000;
  border-radius: 10px;
  color: #ffffff;
  background-color: #000000;
  height: 50px;
  bottom: 0;
}

.openbtn:hover {
  border: none;
  cursor: pointer;
  color: white;
  transition: 0.5s;
  background-color: #00d4ff;
}
.closebtn:hover {
  border: none;
  cursor: pointer;
  color: white;
  transition: 0.5s;
  background-color: #00d4ff;
}

.close-btn-row {
  display: none;
  justify-content: center;
  align-items: center;
  position: sticky;
  left: 0px;
  max-width: 70%;
  text-align: center;
  font-size: 1rem;
}

.close-btn-row i {
  font-size: 24px;
  position: sticky;
}

#copyright-space {
  padding-left: 30px;
}

.bottom-menu {
  display: flex;
  position: -webkit-sticky; /* tiré depuis chatGPT pour positionner le navigateur Safari */
  position: sticky; /* bouge avec le scroll */
  bottom: 0;
  max-width: 100%;
  z-index: 1000; /* tiré depuis chatGPT pour positionner le menu */
  background-color: #0000007d;
  justify-content: center;
}

#mindset-bg {
  background-image: url(../medias/images/mindset_bg_img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

h1 {
  color: #0099ff;
  background: #27272854;
  font-size: 36px;
  margin-bottom: 20px;
}

hr {
  border: none;
  height: 2px;
  background-color: #058affb4;
  margin: 20px 0;
}

p {
  margin-bottom: 10px;
}

/* Responsive layout 320px min */
@media only screen and (max-width: 1600px) {
  .sideContent {
    display: none;
  }
  .section-left,
  .section-right {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  html {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-y: scroll;
  }

  h1 {
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 1180px) {
  section {
    margin-right: 400px;
  }
}

@media only screen and (max-width: 1000px) {
  * {
    margin: 0px;
    padding: 0px;
    width: 100%;
  }

  html {
    height: 100%;
    width: 100%;
  }

  body {
    display: flex;
    flex-direction: column;
    font-size: 50%;
  }

  h1 {
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .navbar {
    display: none;
  }

  .sideContent {
    display: none;
  }

  img {
    max-width: 200px;
    max-height: 200px;
  }

  article {
    margin-left: 0;
    margin-right: 0;
  }

  section {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .imgLeftAlign,
  .imgCenterAlign,
  .imgRightAlign {
    width: 100%;
    max-width: 100%;
  }

  .flex-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    /* margin-left: 20px; */
  }

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin: auto;
  }

  .openbtn {
    transform: scale(0.5, 0.5);
  }

  .openbtn {
    font-size: 60px;
  }

  .closebtn {
    cursor: pointer;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%); /* tiré de chatGPT pour aligner le menu */
    margin-right: 20px;
    border: #000000;
    border-radius: 10px;
    color: #ffffff;
    background-color: #000000;
    height: 50px;
    font-size: 17px;
    min-width: 170px;
    margin-right: 0px;
  }

  .close-btn-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box; /* tiré depuis internet pour centrer le menu */
  }

  .close-btn-row th {
    bottom: 0;
  }

  .close-btn-row a,
  .close-btn-row i {
    flex: 1;
    text-align: center;
    margin: 0 5px;
    min-width: 50px;
  }

  th p {
    margin-bottom: 30px;
  }

  .flex-container {
    width: 100%;
  }

  .sidebar {
    padding: 0px;
    background-color: none;
    max-height: 70px;
    height: auto;
  }

  .sidebar a {
    margin: 0;
    padding: 0;
  }

  table {
    margin-right: 50px;
  }

  #copyright-space {
    display: none;
  }

  .section-center {
    margin-bottom: 0;
  }

  #mySidebar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
  }

  .close-btn-row th p {
    width: 100%;
    margin: 0px;
    margin-left: 50px;
    margin-top: 10px;
  }

  .sidebar a {
    font-size: 12px;
    padding: 8px 10px;
  }

  p {
    font-size: 300%;
  }

  section {
    padding: 0px;
  }

  section p {
    margin: auto;
    max-width: 90%;
  }
}

@media only screen and (max-width: 635px) {
  .openbtn {
    font-size: 42px;
  }

  p {
    font-size: 250%;
  }

  .sidebar {
    min-height: 350px;
  }

  .sidebar th {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 250px;
  }

  .sidebar a {
    font-size: 100%;
  }

  .sidebar a {
    font-size: 19px;
    margin-bottom: 0;
  }

  .sidebar i {
    font-size: 24px;
    margin-top: 10px;
  }

  .sidebar i,
  .sidebar a {
    padding: 0;
  }
}
@media only screen and (max-width: 460px) {
  .openbtn {
    font-size: 42px;
  }
}
