* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: Bisque;
    margin-bottom:20%;
}


nav {
    background-color: Tomato;
    display: flex
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
}

.menu > li > a:hover {
    background-color: Coral;
}


.submenu {
    display: none;
    position: absolute;
    background-color: Coral;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 180px;
}

.submenu li a {
    display: block;
    padding: 12px;
    color: white;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: LightSalmon;
}


.dropdown:hover .submenu {
    display: block;
}
.menu .next {
  margin-left: auto;
}

h1 {
  text-align: center; 
  margin-top: 25px; 
}
ul.a {
  list-style-type: circle;
  list-style-position: inside;
  padding-left: 25%;
}
h1,h3,p,label,ul.a,ol {
  color: DarkSlateGray;
  font-family: "Times New Roman",  serif;
}
ol.recette {
  list-style-type: decimal;
  list-style-position: inside ; 
  padding-left: 25%;           
  margin-left: 0;
}


ol.recette li {
  margin-bottom: 10px;
}

table.info {
  width: 50%;               
  margin: 20px auto;        
  border-collapse: collapse; 
  text-align: center;
}

table.info th,
table.info td {
  border: 1px solid #ccc;
  padding: 10px 15px;
}

table.info th {
  background-color: Tomato; 
  color: white;
}

table.info td {
  background-color: lightsalmon; 
  color:white;
}
#personnes {
  width: 45px; 
  padding: 5px
}

#titre {
  color: white;
  font-size: 24px;
  padding-left:0;
  padding-right: 5px;
  font-family: "Times New Roman",  serif;
  font-size: clamp(19px, 1.5vw, 24px);
}
.container {
  display: flex;
  align-items: center;  
  gap: 10px;
  margin-left: 25%;
}

.image {
  width: 20%;         
  height: auto;
}
.lien-image {
    text-decoration: none;
}
h1 {
  font-size: clamp(21px, 2vw, 29px);
}
h3 {
  font-size: clamp(19px, 2vw, 25px);
}
p, li, label, tr, td, th {
  font-size: clamp(17px, 1.5vw, 20px);
}
.question {
    border: 3px solid Tomato;
    padding: 20px;
    border-radius: 12px;
    margin: 25px auto;
    width: 50%;
    background-color: LightSalmon;
    transition: all 0.4s ease;
}

.question:hover {
    transform: scale(1.1);
}
.valider{
  padding: 20px;
  margin-left: 75%;
  border: 3px solid Coral;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 18px;
  background: white;
}
.valider:hover{
  transform: scale(1.1)
}
.reponse input[type="radio"] {
  display: none; 
}
.reponse:hover label{
  transform: scale(1.1)
}
.reponse label {
  display: block;
  padding: 12px;
  background: white;
  border-radius: 8px ;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.5s ease;
  margin: 10px;
  border-color: Tomato;
  color: black;
}

.reponse input[type="radio"]:checked + label {
  background: coral;
  border-color: Tomato;
  color: white;
}
#q2, #q3 {
  display: block;
  padding: 12px;
  background: white;
  border-radius: 8px ;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.5s ease;
  margin: 10px;
  border-color: Tomato;
  color: black;
}
#resultat{
  margin-left: 25%;
}
.correction{
  margin-left: 25%;
  border: 3px solid Tomato;
  border-radius: 12px;
  transition: all 0.2s ease;
  padding: 20px;
  font-size: 18px;
  background: white;
}
.correction:hover{
  transform: scale(1.1)
}
#correction2, #correction3{
  display: block;
  padding: 12px;
  background: #f2f2f2;
  border-radius: 8px ;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.5s ease;
  margin: 10px;
  border-color: grey;
  color: #237519;
  margin-left: 25%;
  background-color: white;
}
#correction1{
  color: #237519;
}
.correctionh{
  margin-left: 25%;
}
.titre{
  color: white;
  font-family: "Arial";
}
#resultat{
  color: DarkSlateGray;
}
.recommencer{
 padding: 20px;
  margin-left: 75%;
  border: 3px solid Coral;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 18px;
  background: white; 
}
.recommencer:hover{
  transform: scale(1.1);
}
