/* fonts */
@font-face {
  font-family: 'Baby Doll';
  src: url('./fonts/Baby Doll.ttf') format('truetype');
}

@font-face {
  font-family: 'CreatoDisplay-Regular';
  src: url('./fonts/CreatoDisplay-Regular.otf') format('truetype');
}


/* general reset */
body {
  margin: 0;
  padding-top: 60px;
  font-family: 'CreatoDisplay-Regular', sans-serif;
  background-image: url('pink_bg.png');
  background-size: 30px 30px;
  background-color: #fdfbfc;
  color: #2b2b2b;
}

.second-body {
  background-color: #fdfbfc;
  color: #2b2b2b;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 5px;
  margin-left: 5px;
  
}


/* title */
h1, h2, h3 {
  font-family: 'Baby Doll', cursive;
  color: #2b2b2b;
  font-size: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

/* product card */
.product {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin: 1rem;
  text-align: center;
  max-width: 240px;
}

.product img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.price {
  color: #14641c; /* vert doux, pas trop flashy */
  font-family: 'CreatoDisplay-Regular', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}


/* button */
button,
.button {
  background-color: rgb(239, 117, 243);
  color: #ffffff;
  font-family: 'Baby Doll', cursive;
  font-size: 1rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid #ffc6fa;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover,
.button:hover {
  background-color: #fff9ff;
  color:#2b2b2b;
}


/* links */
a {
  color: #3c9cbc !important;
  text-decoration: none;
  font-family: 'CreatoDisplay-Regular', sans-serif;
  font-weight: 500;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: #ff8ad3 !important;
  border-bottom: 1px solid #ff8ad3; /* effet souligné au hover */
}


/* drop downs */
select {
  background-color: #fff0fa;
  color: #333;
  font-family: 'CreatoDisplay-Regular', sans-serif;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #f8bada;
  border-radius: 0.75rem;
  transition: border-color 0.2s ease;
}

select:hover {
  border-color: #f479c0;
}

select:focus {
  outline: none;
  border-color: #f479c0;
  box-shadow: none;
}


/* text fields */
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  padding: 0.6rem 1rem;
  border: 1px solid #d8cfe6;
  border-radius: 12px;
  background-color: #fff9ff;
  font-family: 'CreatoDisplay-Regular', sans-serif;
  font-size: 1rem;
  color: #333;

  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: #a8c4ff;
  box-shadow: 0 0 0 3px rgba(168, 196, 255, 0.3);
}

::placeholder {
  color: #aaa;
  font-style: italic;
}