/* Dégradé pour le fond et le menu */
body {
  background: linear-gradient(to right, #cac9c9, #a8a7a7); 
  font-family: Arial, sans-serif;
}

header {
  background-color: #284ea6; /* Bleu foncé pour le header */
  color: white;
  padding: 10px;
}
header h1{
  display: flex;
  text-transform: capitalize;
  color: rgb(250, 250, 250);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: end;
 
}

nav ul li {
  margin: 0 5px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav ul :hover {
background-color: #5e53f9;
cursor: pointer;
}
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 20px;
}

.left {
  flex: 1;
  color: rgb(0, 0, 0);
  padding: 20px;
  line-height: 2
}
.right {
  flex: 1;
  text-align: center;
}

.right img {
  width: 200%;
  max-width: 350px;
  border-radius: 10px;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
}
#tit{
color: blue;
text-transform: capitalize;
font-size: x-large;
}
h3{
  color: blue;
}
h1 {
  text-align: center;
}
.contact-info{
  display:flex ;
  justify-content: center;
  gap: 10%;
}
/* Couteau au centre de la page */
#accueil::after {
  content: url('knife-image.jpg'); /* Remplacez avec l'URL de l'image de couteau */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
}

section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
 
}
section li {
  line-height: 2;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
section h2 {
  color: #2e4a8d;
  text-align: center;
  text-decoration-line: underline;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 2px;
}

ul {
  list-style-type: none;
}

.cert-button {
  text-decoration: none;
  color: #2e4a8d;
  font-weight: bold;
  margin-left: 1.5%;
}


@media (max-width: 768px) {
  body{
font-size: small;

  }
  .container {
    flex-direction: column; }

  .right {
    order: 2; 
  }
  .right img {
    width: 100%;
    max-width: 200px;
  }

  .left {
    order: 1; 
  }
}