
.crimson {
  background-color: crimson;
}

.darkgoldenrod {
  background-color: darkgoldenrod;
}

.forestgreen {
  background-color: rgba(34, 139, 34, 0.6);
}

.darkcyan {
  background-color: darkcyan;
}

.firebrick {
  background-color: firebrick;
}

.darkorange {
  background-color: darkorange;
}

.cadetblue {
  background-color: cadetblue;
}

.green {
  background-color: rgb(70, 171, 70);
}

.red {
  background-color: red;
}
.yellow {
  background-color: yellow;
}

.lightblue {
  background-color: lightblue;
}
@keyframes moveLeftRight {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(7px);
    }
  }
  .moveLeftRight {
    animation: moveLeftRight 1s linear infinite;
  }
  
  @keyframes horizontal-rotate {
    0% {
      transform: rotateX(0deg);
    }
    100% {
      transform: rotateX(360deg);
    }
  }
  .horizontal-rotate {
    animation: horizontal-rotate 1s linear infinite;
  }
  @keyframes vertical-rotate {
    0% {
      transform: rotateY(0deg);
    }
    100% {
      transform: rotateY(360deg);
    }
  }
  .vertical-rotate{
    animation: vertical-rotate 2s linear infinite;  
  }
  @keyframes opacity {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
.opacity-animation {
  animation: opacity 1s linear;
}

@keyframes light-opacity {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
  }
}
.light-opacity {
  animation: light-opacity 2s linear infinite;
}
  body {
    font-family: 'Arial', sans-serif,'Verdana','Georgia' ;
    background-color: #9c9a9a;
    }
  a{
    margin: auto;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.2rem 0.4rem;
    font-size: 1.4rem;
    cursor: pointer;
    background-color: #bf3f2b;
    color: #fff;
    border: none;
    border-radius: 5px;
  }
  header{
      max-height: 3.5vh;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0px;
      margin-top: 0.2rem;
      margin-bottom: 0.2rem;
    }
#gameHead {
    height: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
    
    main {
      background-color: #e2d1d1; 
      display: flex;
      justify-content: left;
      align-items: space-around;
      height: fit-content; 
      min-height: 94vh;
    }
#intro{
    display: flex;
    justify-content: left;
    align-items: space-around;
    height: fit-content; 
    min-height: 94vh;
}
#box{
    display: flex;
    justify-content: center;
} 
#vertical-separator {
    border: 3px solid black;
    padding: 0px;
    min-height: 95vh;
    width: 0px;
    margin: 3rem 0.5rem
  }
.vertical-separator2 {
    border: 3px solid black;
    padding: 0px;
    min-height: 95vh;
    width: 0px;
    margin: 1rem 0.5rem
  }
.part{
    display: flex;
    flex-direction: column;
    min-width: 27.8vw;
} 
  
.left-panel {
    width: 11%;
    min-width: 8vw;
    /* height: 100%; */
    min-height: 95vh;
    display: none;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-left: 0rem;
  }
.left-panel > :first-child {
    font-size: 2rem;
  }
  #nav-left{
    font-size: 1.4rem;
    text-align: center;
  }  
.right-panel {
    display: none;
    width: fit-content;
    /* width: 100%; */
    /* min-width: 80vw; */
     min-width: 80vw;
    min-height: 92vh;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: left;
    /* justify-content: space-around; */
    align-items: left;
    color: black;
  }
  .chapter{
    display: none;
    /* display: flex; */
    font-size: 1.1rem;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 2rem 0rem;
}

.horiz{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.horiz3 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: disc;         /* ✅ Remet la puce (•) */
    list-style-position: outside;  /* (optionnel) la place à gauche */
}
.horiz31 {
    display: none;
    justify-content: space-around;
    align-items: center;
    animation: opacity 1.5s linear;
}
.horiz18, .horiz18a{
    display: none;
    justify-content: space-around;
    align-items: center;
}

.horiz2{
    display: flex;
    justify-content: left;
    align-items: center;
}
.horiz22, .horiz22a, .horiz22b{
    display: none;
    justify-content: space-around;
    align-items: center;
}
.conclusion22{
  display: none;
}
.horiz2{
    display: flex;
    justify-content: left;
    align-items: center;
}

button {
    margin: 5px;
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
  }
  button:hover {
  background-color: #007BFF;    
  }

  .btn, .accueil{
    background-color: #025891;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.2rem 0.4rem; /* Augmentation de la taille des boutons */
    margin: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid black; /* Contour */
    border-radius: 1.5rem; /* Bords arrondis */
  }
.rem16{
    font-size: 1.6rem;   
}
.rem14{
    font-size: 1.4rem;   
}

.offset-1left{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:start;
    margin-left: 1rem;
}
.resp21, .resp22, resp23{
    display: none;
    justify-content: left;
    flex-direction: column;
    align-items: start;
    animation: opacity 1.5s linear;
    font-size: 1.4rem;
    /* margin-left: 1rem; */
}
.resp11, .resp12,.resp13,.resp14,.resp15,.resp16,.resp17,.resp18{
  display: none;
  animation: opacity 1.5s linear;
}
.resp31, .resp32, .resp33, .resp34{
    display: none;
    justify-content: left;
    flex-direction: column;
    align-items: start;
    font-size: 1.4rem;
    animation: opacity 1.5s linear;
}
.offset-1bottom-top{
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-left:1rem;
}
.offset-1bottom-top-left{
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.resp11, .resp12, .resp13{
  color: black;
}
.formula{
  padding: 0rem 0.2rem;
  font-size: 1.5rem;
  border: 2px solid black; /* Contour */
}
.formula2{
  padding: 0.4rem 0.4rem;
  font-size: 1.9rem;
  border: 2px solid black; /* Contour */
}

.cadre-def{
  background-color: lightblue;
  border: 1px solid black;
  padding: 0.5rem 3rem;
  margin: auto;
  }
.cadre-def-horiz{
  display: flex;
  background-color: lightblue;
  border: 1px solid black;
  padding: 0.5rem 3rem;
  margin: auto;
  }
.cadre-def1{
  display: flex;
  flex-direction: column;
  align-items: start;
  background-color: lightblue;
  border: 1px solid black;
  padding: 0.5rem 3rem;
  margin: auto;
  }
.cadre-def-horiz2{
  display: flex;
  background-color: lightblue;
  border: 1px solid black;
  padding: 0.5rem 0.5rem;
  margin: auto;
  }
.cadre-def-horiz3{
  display: flex;
  background-color: lightblue;
  border: 1px solid black;
  padding: 0.5rem 0.5rem;
  flex-direction: center;
  margin: auto;
  }
.center {
  margin: auto;
  background-color: #bf3f2b;
}
.center2 {
  margin: auto;
  background-color: #bf3f2b;
  text-align: center;
  padding-bottom: 1rem;
}
.center3{
  margin: auto;
}
.center-big-text {
  margin: auto;
  background-color: #bf952b;
  margin-top:1rem;
  margin-bottom:1rem;
  font-size: 1.6rem;
  padding: 0.2rem 0.2rem;
}
.center-big {
  margin: auto;
  background-color: #bf952b;
  margin-top:1rem;
  margin-bottom:1rem;
  font-size: 1.3rem;
  padding: 0.2rem 0.2rem;
}

.grid-state {
      display: grid;
      grid-template-columns: 120px repeat(3, 1fr);
      gap: 10px;
      justify-content: center;
      align-items: center;
    }

.label-state {
      font-weight: bold;
    }

.cell-state {
      display: flex;
      justify-content: center;
      align-items: center;
    }

.button-state {
      width: 120px;
      height: 50px;
      background-color: #cccccc;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

.red-state {
      background-color: red !important;
    }
.red-color {
      color: red;
      font-size: 1.6rem;
    }
.green-color{
    color: green;
    font-size: 1.6rem;
}
.darkorange-color{
      color: darkorange;
    font-size: 1.6rem;
}

.locked-state {
      cursor: default;
    }

#message-state {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    }
h5{
  margin: 0.2rem 0.2rem;
}

.align-nb1{
  display: inline-block;
  text-align: center;
  /* transform: translateY(0.5rem) */
  margin-top: -1rem;
}
.align-nb{
  display: inline-block;
  text-align: right;
  transform: translateY(0.5rem)
}
.align-1a{
  display: block;
  transform: translateY(0.7rem);
}
.align-1b{
  display: block;
  transform: translateY(0.5rem);
  font-size: 1.5rem;
}
.align-2{
  display: block;
}
 .sup1 {
    font-size: 0.7em;
    display: block;
  }
  .sub1 {
    font-size: 0.7em;
    display: block;
  }

.sub2{
  font-size: 1.1rem;
  display: inline-block;
  transform: translateY(0.4rem);
}
  .sub2a {
    font-size: 0.55em;
    display: block;
  }
  .sup2 {
    font-size: 0.55em;
    display: block;
  }

/* sim chap11 */
canvas {
  background: #f0f0f0;
  display: block;
  margin: 1rem auto;
  border: 1px solid #ccc;
}
#controls {
  text-align: center;
  margin: auto;
  margin-top: 1rem;
}
.inertie-button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 1rem;
  cursor: pointer;
}
/* fin de sim chap11 */

.spectreQuest{
  display: none;
  flex-direction: column;
  justify-content: center;
  animation: opacity 1.5s linear;
}
.change-img1{
  display: none;
  animation: opacity 1.5s linear;
}

.fission-comment, .fussion-comment{
    display: flex;
    justify-content: left;
    flex-direction: column;
    margin-left: 1rem;
}
#title-fission, #title-fusion{
  margin: auto;
  margin-top: 1rem;
  
}
.title-fission, .title-fusion{
  display: none;
}
  .equation {
    font-family: "Cambria Math", "Times New Roman", serif;
    font-size: 1.7em;
    margin: 0px;
    line-height: 1;
  }

.resp1-fusion{
  display: none;
  background-color: #bf3f2b;
  animation: opacity 1s linear
}
.box131{
  display: flex;
  justify-content: space-around;
  background: lightblue;
  font-size: 2rem;
  padding: 0.5rem 0rem;
}
.margin-b {
  display: flex;
  margin-bottom: 1rem;
  margin: 5px;
  padding: 0.6rem 0.4rem;
  /* font-size: 1rem;  */
  cursor: pointer;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}
.margin-b:hover {
  background-color: #0056b3;
}
.left-2{
    position: absolute;
    transform: translate(7rem, 0rem);
}
.left-2a{
    position: absolute;
    transform: translate(9rem, 0rem);
}
.left-2b{
    position: absolute;
    transform: translate(13.5rem, 0rem);
}
.left-1{
    position: absolute;
    transform: translate(2.5rem, 0rem);
}
.left-1a{
    position: absolute;
    transform: translate(3.2rem, 0rem);
}
.left-3{
    position: absolute;
    transform: translate(16rem, 0rem);
}
  .x {
    font-size: 1.4rem;
    font-weight: bold;
    position: absolute;
    transform: translate(1.9rem, 0);
    }
  .x1 {
    font-size: 1.6rem;
    font-weight: bold;
    position: absolute;
    transform: translate(1.2rem, 0);
    }
  .x0 {
    font-size: 1.4rem;
    font-weight: bold;
    position: absolute;
    transform: translate(0.7rem, 0);
    }
    .a{
    position: absolute;
    font-size: 1.2rem;
    transform: translate(0.1rem, -0.6rem);
    }
    .a0{
    position: absolute;
    font-size: 1.2rem;
    transform: translate(0rem, -0.6rem);
    }
    .z0{
    position: absolute;
    transform: translate(0rem, 0.6rem);
    font-size: 1.2rem;    
    }
    .z{
    position: absolute;
    transform: translate(0.1rem, 0.6rem);
    font-size: 1.2rem;    
    }

h1{
  text-align: center;
}




footer {
  text-align: center;
  padding: 3px;
  background-color: #333;
  color: #fff;
}

