:root {
    /* Palette Heatzy*/
    --dark-green: #153027;
    --white: #ffffff;
    --light-grey: #F2F2F2;
    --silver-grey: #d2d2d2;
    --dark-grey: #b2b2b2;
    --black: #000000;
    --red: #bf3824;
    --warm-yellow: #fab434;
    --cold-blue: #416eaf;
    
    /*Palette de la page*/
    --background:var(--dark-green);
    --main-title: var(--white);
    --scaffold:var(--light-grey);
    --primary: var(--dark-green);
    --secondary: var(--dark-grey);
    --warning: var(--red);
  }

body {
    background-color: var(--background);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: left;
  }

  #mainContainer {
    background-color: var(--scaffold);
    color: var(--black);
    border-radius: 1rem;
  }

  #mainContainer, #buttonNavPrevious {
    font-weight: light;
    margin : auto;
    padding: 2rem;
    max-width: 1080px;
  }

  #buttonNavPrevious {
    height: 1rem;
  }

  #question {
    font-weight: bold;
    color: var(--primary);
  }

  h1 {
    color: var(--main-title);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: bolder;
    text-align: center;
  }

  h2{
    color: var(--secondary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: lighter;
    padding-bottom: 1rem;
  }

ol {
  padding-left: 1rem;
  margin-left: 0;
}

#answers li {
    cursor: pointer;
    color:var(--secondary);
    font-weight: lighter;
    list-style: none;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 0;
    margin-bottom: 1rem;
    max-width: 720px;
    transition: all 0.6s ease;
    outline-width: 1px;
    outline-color: var(--primary);
    outline-style: dotted;
    color: var(--primary);
  }

#answers li:hover {
    color: var(--primary);
    transform: translateX(1rem);
    background-color: var(--white);
    outline-style: none;
  }

#buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* espace entre les boutons */
}

.button-action {
  width: 50%;
  padding: 1rem;
}

button:hover {
  cursor: pointer;
}

.button-action, .button-nav-previous {
    color: var(--white);
    background-color: var(--primary);
    box-shadow: none;
    outline: none;
    border: none;
    outline-style: none;
    font-weight: 500;
    text-transform: uppercase;
}

.button-nav-previous {
  color: var(--secondary);
  text-decoration: underline;
}

ul {
  list-style: none;
}

img {
  max-height: 400px;
  max-width: 100%;
}

th:nth-child(1),td:nth-child(1){
  max-width: 24rem;
  min-width: 8rem;
}

th:nth-child(2),td:nth-child(2){
  width: 2rem;
  text-align: center;
}