@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,600);

html,html a {
-webkit-font-smoothing: antialiased;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
*
{
    margin : 0px;
    padding : 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body
{
    overflow-x: hidden;
}
                                        /* PREMIERE BARRE DE NAVIGATION */
#nav1
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: black;
    font-family: 'Poppins', sans-serif;
}
.logo
{
    margin: 90px 0px 0px 0px;
}
.nav-link1
{
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    width: 15%;
}
.nav-link1 i
{
    position: relative;
    color:white;
    cursor: pointer;
}
.nav-link1 a
{
    position: relative;
    color: white;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
}
.nav-link1 li a:after
{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    -webkit-transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transition: transform 250ms;
}
.nav-link1 a:hover:after 
{
    transform: translateX(-50%) scaleX(1);
}
.burger 
{
    display: none;
}
.burger div
{
    width: 25px;
    height: 3px;
    background-color: #ddd;
    margin: 5px;
    transition: all 0.3s ease;
}
.cart-btn 
{
    position: relative;
    cursor: pointer;
}
.cart-items 
{
    position: absolute;
    top: -8px;
    right: -14px;
    background: white;
    padding: 0 5px;
    border-radius: 30%;
    color: black;
    font-weight: bold;
}
                                    /*SECONDE BARRE DE NAVIGATION */
#nav2
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    background-color: #ddd;
    font-family: 'Poppins', sans-serif;
}
.nav-link2
{
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    width: 50%;
}
.nav-link2 a
{
    position: relative;
    color: black;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}
.nav-link2 li a:after
{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    -webkit-transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: transform 250ms;
}
.nav-link2 a:hover:after 
{
    transform: translateX(-50%) scaleX(1);
}
.burger2
{
    display: none;
}
.burger2 div
{
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.3s ease;
}
                                        /*PREMIERE BARRE DE NAVIGATION MEDIA QUERIES*/
@media screen and (max-width: 1220px)
{
    .nav-link1
    {
        width: 20%;
    }
}
@media screen and (max-width: 768px)
{
    .nav-link1
    {
        width: 30%;
    }
}
@media screen and (max-width: 600px)
{
    .nav-link1
    {
        width: 45%;
    }
}
/*La barre de navigation devra disparaître à cette échelle*/
@media screen and (max-width: 450px)
{
    .nav-link1
    {
        position: absolute;
        right: 0;
        height: 100%;
        top: 0;
        background-color: black;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 5;
    }
    .nav-link1 li
    {
        opacity: 0;
    }
    .burger
    {
        display: block;
        margin-right: 50px;
        cursor: pointer;
        z-index: 6;
    }
    .nav-active
    {
        transform: translateX(0%);
    }
    @keyframes navLinkFade{
        from{
            opacity: 0;
            transform: translateX(50px);
        }
        to{
            opacity: 1;
            transform: translateX(0px);
        }
    }
    .toggle .line1
    {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2
    {
        opacity: 0;
    }
    .toggle .line3
    {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

                                        /*SECONDE BARRE DE NAVIGATION MEDIA QUERIES*/
/*La barre de navigation devra disparaître à cette échelle*/                                        
@media screen and (max-width: 810px)
{
    .nav-link2
    {
        position: absolute;
        right: 0;
        height: 100%;
        top: 0;
        background-color: #ddd;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 3;
    }
    .nav-link2 li
    {
        opacity: 0;
    }
    .burger2
    {
        display: block;
        margin-right: 50px;
        cursor: pointer;
        z-index: 4;
    }
    .nav-active
    {
        transform: translateX(0%);
    }
    #nav2
    {
        justify-content: flex-end;
    }
    @keyframes navLinkFade{
        from{
            opacity: 0;
            transform: translateX(50px);
        }
        to{
            opacity: 1;
            transform: translateX(0px);
        }
    }
    .toggle .line1-1
    {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2-1
    {
        opacity: 0;
    }
    .toggle .line3-1
    {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
                                    /*FOOTER SECTION*/
footer
{
    background-color: black;
    color: white;
}
.title
{
    text-align: center;
}
.footer
{
    display: flex;
    justify-content: space-evenly;
}
.follow a
{
    margin-left: 20px;
    margin-right: 20px;
}
.follow, .copyright,.contact h3
{
    text-align: center;
}
.follow,.contact
{
    margin-top: 100px;
}
.copyright
{
    margin-top: 50px;
}
                                        /*RESPONSIVE FOOTER*/
@media screen and (max-width:425px)
{
    .footer
    {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
}
                                            /*Main Page*/
section
{
    margin: 50px 0 50px 0;
    overflow-x: auto;
}
section h1
{
    margin: 50px 0 50px 0;
}
table
{
    display: table;
    box-sizing: border-box;
    text-indent: initial;
    border-spacing: 2px;
    border: 1px solid grey;
    width: 100%;
    padding: 30px;
    border-radius: 5px;
    caption-side: bottom;
    border-collapse: collapse;
}
.table
{
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}
.table>thead {
    vertical-align: bottom;
    text-align: left;
}
thead {
    font-size: 22px;
    font-weight: bold;
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
th {
    display: table-cell;
    vertical-align: inherit;
    font-weight: bold;
}
.table>tbody {
    vertical-align: inherit;
}
tbody {
    display: table-row-group;
}
.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    background-image: linear-gradient(var(--bs-table-accent-bg),var(--bs-table-accent-bg));
    border-bottom-width: 1px;
}
section a
{
    text-decoration: none;
}
section h1,.subtotal,.buttons
{
    text-align:center;
}
.name
{
    color: black;
    font-weight: bold;
    transition: .3s;
}
.name:hover
{
    color: rgba(0, 0, 0, 0.199);
}
.remove
{
    color: red;
    font-weight: bold;
    transition: .3s;
}
.remove:hover
{
    color: rgba(255, 0, 0, 0.397);
}
.subtotal
{
    text-align: right;
    padding: 30px 0 0 0;
}
.buttons
{
    text-align: right;
    padding-bottom: 10px;
}
.main input[type="submit"]
{
    margin: 15px 0 5px 5px;
    padding: 12px 20px;
    border: 0;
    background: #4e5c70;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}
.quantity input[type="text"]
{
    border-radius: 3px;
    padding: 10px;
}
.quantity input[type="text"]:focus
{
    outline: none;
}
.text,.price
{
    font-weight: bold;
}
.buttons input[type="submit"]:hover
{
    background-color: #444b53;
    transition: 0.5s ease;
}
.text
{
    padding-right:40px;
    font-size: 16px;
}
.price
{
    font-size:16px;
    color:black;
}