* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}
header {
  text-align: center;
  padding: 20px;
}
header h1 {
  color: #2a7ae2;
}
header p {
  font-size: 14px;
  color: #666;
}
.content_devis {
  display: flex;
  gap: 2em;
  flex-direction: row-reverse;
}
.content_text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3em;
  margin-bottom: 2em;
}
.content_text ul {
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1em;
}
.content_text li {
  flex: 1 1 33%;
  border: solid 1px #ddd;
  padding: 1em;
  box-shadow: 3px 3px 0px 0px #ddd;
}
.content_text img {
  object-fit: cover !important;
  height: 100% !important
}
.content_text figure {
  overflow: visible !important;
  align-items: flex-start !important;
  height: 100% !important;
}
nav {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 2em;
  background: #297ae233;
  padding: 10px;
  border-radius: 20px;
}
nav a {
  text-decoration: none;
  color: #fff;
  background-color: #2a7ae2;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #1d5bbf;
  transition: background-color 0.3s;
}
nav a:hover {
  background-color: #1d5bbf;
}
.content {
  margin: 20px 0;
}
.content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}
footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}
.content figure {
  width: 100%;
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  height: 400px;
  margin-bottom: 2em;
  display: flex;
  align-items: flex-end;
}
.content figure img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }
  nav a {
    margin-bottom: 10px;
  }
}