@import url('https://fonts.googleapis.com/css2?family=Kufam:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Kufam", sans-serif;
        box-sizing: border-box;
        text-decoration: none;
    
}

span#jaune {
    color: #EA9D07;
}
.flex {
    display: flex;
}

.logo {
    position: relative;
    top: 30px;
    left: 500px;
}

.julien {
    margin-left: 57%;
    margin-top: 2%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: end;
    li {
        margin: 10px;
    }
}
header nav ul :last-child {
    margin-right: 20%;
}

.catalogue {
    width: 70%;
    margin: auto;
}
.img {
    height: 302px;

img {
    width: 100%;
    height: 302px;
}}

.bg-black {
    background-color: black;
    
}

header {
    width: 100%;
    margin: auto;
}


.product-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.932);
    justify-content: center;
    padding-bottom: 50px;

}

article {
    margin: 20px;
}

.product-card {
    border: 1px solid #e0e0e0;
    text-align: center;
    width: 45%;
    height: 400px;
}

.product-image-container {
    position: relative;
    background-color: #fff;
    padding: 15px;
   height: 70%;
   position: relative;

}

.product-image-container img {
    width: 70%;
    height: 100%;
   
 
    
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #4a4a4a;
    color: #e8a000;
    padding: 8px 12px;
    font-weight: 900;
    font-size: 18px;
    border-radius: 5px;
}

.product-info {
    padding: 20px;
    background-color: #fff;
    
}

.product-2fo {
    display: flex;
}

.old-price, .new-price {
    margin-top: 15px;
    margin-left: 30px;
}

.product-title {
    font-size: 12px;
    font-weight: 700;
    color: #4a4a4a;
    min-height: 30px;
}

.btn-view {
    display: inline-block;
    background-color: #4a4a4a;
    color: white;
    padding: 10px 30px;
    margin: 15px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #000000;
    font-size: 28px;
}

.new-price {
    color: #e8a000;
    font-size: 28px;
    font-weight: 900;
}

footer {
    background-color: #4a4a4a;;
    color: white;
}

.footer-nav {
    background-color: #ffffff;
    text-align: center;
    width: 494px;
    margin: auto;
    border-radius: 10px;
    position: relative;
    bottom: 20px;
    color: black;    
    position: relative;
}
.point {
    color: #4a4a4a;
    font-size: 50px;
    margin: 0;
    padding: 0;
}
.footer-nav a {
    margin: 0 20px;
    font-size: 13px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-main ::before {
    content: "";
    position: absolute;
    left: 25%;
    bottom: 0;
    height: 1px;
    width: 50%;
    border-bottom: 1px solid rgb(141, 141, 141);
}

.footer-column {
    text-align: center;
}


.footer-column p {
    font-size: 12px;
    line-height: 1.6;
    padding: 50px;
}

.footer-social {
    text-align: center;
    padding-bottom: 30px;
}
.footer-social a {
    margin: 0 10px;
}

.footer-copyright {
    text-align: center;
    padding-bottom: 30px;
    font-size: 12px;
}


/* --- MEDIA QUERIES --- */
@media (max-width: 1200px) {
    .logo {
        left: 0;
        position: static;
    }
    .julien {
        margin-left: auto;
    }
    header .flex {
        padding: 0 20px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .catalogue {
        width: 100%;
        padding: 0 10px;
    }
    header .flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 20px;
    }
    .julien {
        margin: 0;
    }
    header nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .product-grid {
        flex-direction: column;
    }
    .product-card {
        width: 90%;
        margin: 20px auto;
    }
    .footer-main {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer-column {
        width: 80%;
    }
    .footer-nav {
        width: 90%;
        bottom: 0;
        transform: translateY(50%);
    }
}
