@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Shadows+Into+Light&display=swap');

body {
    main {
        margin: 0.5em;
        padding: 0.5em;
    }

    background-color: lightgray;

    #titre {
        text-align: center;
    }

    h1, h2, h3,h4 {
        font-family: Bebas Neue, sans-serif;
    }

    p {
        font-family: Shadows Into Light,sans-serif;
        font-weight: bold;
        font-size: x-large;
    }

    ul {
        font-family: Roboto,sans-serif;
        font-weight: bold;
        font-size: larger;
    }

    nav {
        border-top: 0.3em solid black;
        border-bottom: 0.3em solid black;
        font-family: Josefin Sans,sans-serif;
        color: red;
        background-color: gray;

        p {
            margin: 0.2em;
            padding: 0.2em;
        }

        a {
            color: red;
        }

        a:hover {
            color: blue;
        }
    }

    h1 {
        margin: 1em;
    }

    .product-name, .product-price, .product-img, .addpanier {
        font-size: large;
        border: darkred solid 0.1em;
        background-color: lightyellow;
    }

    .addpanier {
        border-radius: 25em;
        color: blue;
    }

    .addpanier:hover {
        color: violet;
        cursor: pointer;
    }

    .product-img:hover {
        cursor: pointer;
    }

    .product-img {
        transition: scale 0.5s;
    }

    .product-img:hover {
        scale: 1.5;
    }


    footer {
        border-top: 0.3em solid black;
        border-bottom: 0.3em solid black;
        background-color: gray;

    }

}

#formulaire {

    font-family: Arial, sans-serif;
    margin: 20px;

    form {
        max-width: 600px;
        margin: 0 auto;
    }

    .form-group {
        margin-bottom: 15px;
    }

    label {
        margin-bottom: 5px;
        font-weight: bold;
    }

    input, select, textarea, button {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    button {
        background-color: #4CAF50;
        color: white;
        cursor: pointer;
    }

    button:hover {
        background-color: #45a049;
    }
}

#paniervide{
    text-align: center;
    font-size: xxx-large;
}
#csspanier{

    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        color: #343a40;
    }

    .container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        background: lightyellow ;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    h1 {
        text-align: center;
        color: #495057;
        margin-bottom: 20px;
        font-size: 2rem;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    table th, table td {
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid #dee2e6;
    }
    table th {

        font-weight: bold;
        color: #495057;
    }
    table td {
        color: #495057;
    }
    button {
        padding: 10px 15px;
        background-color: #007bff;
        border: none;
        border-radius: 4px;
        color: white;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    button:hover {
        background-color: #0056b3;
    }
    .total {
        text-align: right;
        font-size: 1.25rem;
        font-weight: bold;
        color: #28a745;
        margin-top: 10px;
    }
    .empty-cart {
        text-align: center;
        font-size: 1.5rem;
        color: #868e96;
        margin-top: 20px;
    }
    .back-to-shop {
        display: inline-block;
        margin-top: 20px;
        text-decoration: none;
        color: #007bff;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    .back-to-shop:hover {
        color: #0056b3;
    }
    .cart-img {
        width: 50px;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

}



.tourniquet {
    display: inline-block;
    animation: tourniquet 5s linear infinite;
    translate: 55em;
    padding: 2em;
    opacity: 50%;
}

.transitiontitre{
    transition: font-size 2s;
}
.transitiontitre:hover{
    font-size: xxx-large;
}

@keyframes tourniquet {
    0% {
        transform: rotate(-360deg);
    }
    25% {
        transform:  rotate(360deg);
    }
    50% {
        transform: rotate(-360deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(-360deg);
    }

}





