@font-face {
  font-family: 'Karasu';
  src: url('police a installer/Karasu Free Personal Use.woff2') format('woff2'),
      url('police a installer/Karasu Free Personal Use.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  display: flex;
  height: 100%;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  
}

form {
  background-color: #f1e9df;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10%;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;

}

input,
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

select {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #0F056B;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

button:hover {
  background-color: #000e38;
}

h1 {
  text-align: center;
  font-family: "karasu", sans-serif;
}

footer {
  text-align: center;
  height: 8em;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

ul {
  padding: 0%;
}

header {
  width: 100%;
}

#list-analogies{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.sec img {
  width: 50%;
  border-radius: 10px;
}

.sec{
  display: flex;
  width: 70%;
  margin-top: 4rem;
  flex-direction: column;
}

.content-container{
  background-color: #f1e9df;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  min-height: 20rem;
}

.justify{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: justify;
  margin: 0px 50px 0px 50px;
    /* Haut Droite Bas Gauche */
}

.center {
  text-align: center;
}

.hidden {
  display: none;
}

.first-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.images-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
  overflow: hidden;
  box-shadow: 10px 5px 5px gray;
}

.images {
  margin-top: 30px;
  margin-bottom: 20px;

}

.spligate {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: white;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-weight: bold;
  font-size: 3em;
  line-height: 2.5;
  text-transform: uppercase;
}

#portrait-container {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

} 
#sweatshirt{
  max-width: 35%; /* La largeur maximale est définie à 100% de la largeur du conteneur parent */
  height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions */
}

#printemps{
  max-width: 35%; /* La largeur maximale est définie à 100% de la largeur du conteneur parent */
  height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions */
}

#bleu{
  max-width: 35%; /* La largeur maximale est définie à 100% de la largeur du conteneur parent */
  height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions */
}
#rose {
  max-width: 40%; /* La largeur maximale est définie à 100% de la largeur du conteneur parent */
  height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions */
}

#legal {
  display: none;
  overflow: hidden;
  max-height: 0px;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.visible {
  max-height: 1000px;
  transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
}