@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500;600;700;900&display=swap');


body {
   font-family: Arial, sans-serif;
   margin: 0;
   padding: 0;
   background: #ECD4EC;
   color: white;
}

h2{
   font-family: 'Poppins';
   font-size: 35px;
   color: #693B69;
   padding-bottom: 10px
}

nav {
   background: #A987A8;
   padding: 10px 15px 10px 15px;
   display: flex;
   justify-content: space-around;
   align-items: center;
   position: relative;
   z-index: 2;
   box-shadow: 0px 11px 24px -10px #511F54;
}

.logo{
   display: flex;
   align-items: center;
   gap: 10px;
}

.logo img{
   width: 5vw;
   height: 9vh;
}

nav ul {
   list-style: none;
   display: flex;
   gap: 20px;
   font-size: 20px;
   margin-right: 70px;
}

nav a {
   text-decoration: none;
   color:  white;
   font-weight: bold;
}

nav a:hover {
   color: #693B69;
}

.cart a {
text-decoration: none;
color: white;
}

.cart a i {
font-size: 24px;
}
 

.hero {
   height: 90vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background: url(./images/baniere.jpg);
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center;
   text-align: center;
   position: relative;
   z-index: 1;
}

.hero p{
   color: #511F54;
   font-size: 20px;
}

.hero h2 {
   font-size: 40px;
   color: #511F54;
   white-space: nowrap;
   overflow: hidden;
   border-right: 2px solid #511F54;
   animation: typing 4s steps(30, end), blink 0.7s step-end 4s forwards;
}

@keyframes typing {
   from {
     width: 0;
   }
   to {
     width: 41ch;
   }
}

@keyframes blink {
   50% {
     border-color: transparent;
   }
   100% {
     border-color: transparent;
   }
}

#nouveautes{
   display: flex;
   flex-direction: column;
   align-items: center;
   position: relative;
   z-index: 2;
   padding-top: 100px;
   box-shadow: 0px -40px 30px 2px #0000007d;
}

#creations{
   display: flex;
   flex-direction: column;
   align-items: center;
   padding-top: 100px;
}

#patrons{
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 100px 0px 100px 0px;
}

.cards {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 30px;
   margin: 4px 2px;
}

.card {
   width: 23vw;
   height: 55vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   background-color: #fff;
   border: 1px solid #ddd;
   border-radius: 8px;
   box-shadow: 0 2px 4px #511F54;
   text-align: center;
   padding: 10px 5px;
   transition: all .3s ease-in-out;
}

.card:hover{
   transform: scale(1.1);
}

.card img {
   width: 100%;
   height: 65%;
   object-fit: cover;
   border-radius: 8px;
}

.card h3 {
   color: #511F54;
   font-size: 15px;
   margin: 10px 0;
}

.card p {
   font-size: 12px;
   color: #A987A8;
}

.price {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 10px;
   color: #511F54;
}

.card button {
   width: 23vw;
   background-color: #ECD4EC;
   color: #fff;
   border: none;
   border-radius: 4px;
   padding: 8px 4px 8px 4px;
}

.card button:hover {
   background: linear-gradient(#ECD4EC,#dfbddf);
}

#scrollTop {
   position: fixed;
   bottom: 20px;
   right: 20px;
   width: 50px;
   height: 50px;
   background: #A987A8;
   color: #FEF8FC;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 20px;
   cursor: pointer;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
 }
 
 #scrollTop:hover {
   background: #e0c0df;
   transform: scale(1.1);
 }
 
 #scrollTop.show {
   opacity: 1;
   visibility: visible;
 }
 

footer {
   background: #A987A8;
   color: #FEF8FC;
   padding: 40px 20px;
   text-align: center;
 }

 footer h2{
   color: #FEF8FC;
 }
 
 .footer-container {
   display: flex;
  justify-content: center;
  align-items: center;
   padding: 0px 10px 0px 25px;
  gap: 100px;
 }

 .socials {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-top: 15px;
}

.socials a {
   color: #FEF8FC;
   font-size:  30px;
   transition: color 0.3
}
 
 .socials a:hover {
   color: #511F54;
 }
 
 .footer-bottom {
   margin-top: 20px;
   border-top: 1px solid #ECD4EC;
   padding-top: 10px;
   font-size: 12px;
   height: 3vh;
 }

 .newsletter {
   max-width: 600px;
   margin: 0 auto;
 }
 
 .newsletter h3 {
   font-size: 25px;
   margin-bottom: 10px;
 }
 
 .newsletter input {
   padding: 10px;
   font-size: 16px;
   width: 100%;
   max-width: 400px;
   margin-bottom: 10px;
   border: 1px solid #ccc;
   border-radius: 4px;
 }
 
 .newsletter-button {
   padding: 10px 20px;
   background-color: #ECD4EC;
   color: white;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   font-size: 16px;
 }
 
 .newsletter-button:hover {
   background: linear-gradient(#ECD4EC,#dfbddf);
 }
 

 