* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(203, 197, 197);
    color: #333;
    line-height: 1.6;
}

header {
  background-color: #845D5E;
  padding: 20px 50px 0px 30px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left .logo {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25rem;
  padding-left: 20px;
}

.nav-right {
  display: flex;
}

.nav-right a {
  margin-left: 3rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
}

a.active, a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: white;
  color: inherit; /* garde la couleur actuelle */
  font-weight: bold;
  color: white;
  font-size: 1.25rem;
  padding-left: 20px;
}

@media (max-width: 891px) {
  .nav-right a {
    font-size: 1.1rem;
  }

  header {
    padding: 20px;
  }

  a.active, a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: white;
  color: inherit; 
  font-weight: bold;
  color: white;
  font-size: 1rem;
  padding-left: 20px;
}
}

.logo-min {
  text-transform: uppercase;
}

/* Barre de recherche */
form {
    text-align: center;
    margin: 0px;
}

/* Champs de la barre de recherche */
input[type="search"] {
    padding: 0.5rem;
    width: 200px;
    font-size: 1rem;
    font-family: "Baskervville", serif;
}
input[type="submit"] {
    padding: 0.5rem 1rem;
    background-color: #845D5E;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    font-family: "Baskervville", serif;
}
input[type="submit"]:hover {
  background-color: #834243;
}

main {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0rem;
    
}
.première-section{
    position: relative;
    background-image: url("IMG/img_coton.jpg");
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 50px 50px 100px 50px;
    margin: 0;
    margin-top: 24px;   
}

.première-section h1{
    font-family: 'Shadows Into Light Two', serif;
    font-size: 2rem;
    color: #000;
}

.première-section p{
  position: absolute;
  top: 50%;            
  right: 40px;          
  transform: translateY(-50%); 
  background-color: rgba(227, 155, 166, 0.85); 
  color: #000000;
  padding: 20px;
  max-width: 410px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: "Baskervville", serif;

}

.fond-accueil{
    padding: 0 0 15px 0;
    background-image: linear-gradient(rgba(203, 197, 197, 0.5)), url("IMG/img_coton.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 50px;
    margin-bottom: 40px;
}

h2{
    font-family: "Overlock SC";
    text-align: center;
    font-size: 1.7em;
    color: #0b0b0b;
    padding-top: 16px;
}

.conteneur-cards-accueil {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background-color: #fff2f2;
    border: 2px solid #ffffff;
    border-radius: 30px;
    padding: 15px;
    width: 235px;
    text-align: center;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    border: 2px solid #7e7c7c;
    box-shadow: 4px 4px 20px rgba(0,0,0,0.2);
}

.card h2 {
        font-size: 1.30em;
        margin-bottom: 10px;
        color: #333;
}

.card p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;   
}

footer a {
    color: #fff;
    text-decoration: underline;
}

/* Style du bouton Like */
.like-button {
  font-size: 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #555; 
  transition: color 0.3s ease, transform 0.2s ease; 
}

/* Couleur du bouton lorsqu'il est liké */
.like-button.liked {
  color: #a50101; 
  transform: scale(1.1); 
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
