* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --fond: #fff;
}

body {
    background-color: rgb(237, 237, 237);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.container {
    background-color: rgb(255, 255, 255);
    position: relative;
    max-width: 1920px;
    width: 100%;
    min-height: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headers {
    background-color: rgb(254, 242, 242);
    position: fixed;
    top: 0;
    z-index: 10000;
    max-width: 1920px;
    width: 100%;
    min-height: 90px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.24);
}

.logo {
    width: 110px;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
}

.navigation li {
    margin-left: 30px;
    list-style: none;
}

.navigation li:nth-child(1) {
    margin-left: 0px;
}

.pnav {
    cursor: pointer;
    color: black;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 600;
}

.pnav:hover {
    transition: all .3s;
    color: rgb(230, 1, 1);
}

.cart {
    position: relative;
}

.imgCart {
    width: 30px;
    height: 30px;
}

.countCart {
    position: absolute;
    top: -11px;
    right: -10px;
    background-color: red;
    color: var(--fond);
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner {
    margin-top: 91px;
    background-color: rgb(39, 39, 89);
    max-width: 1920px;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    column-gap: 100px;
    padding: 10px;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center p {
    color: #e9e9e9;
    font-size: 36px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.imgbanner {
    max-width: 740px;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.box-products {
    margin-top: 30px;
    margin-bottom: 180px;
    max-width: 1920px;
    width: 100%;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 0 30px;
}

.div-up {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.div-up p {
    cursor: pointer;
    background-color: rgb(42, 42, 41);
    color: var(--fond);
    padding: 4px 20px;
    font-size: 18px;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    border-radius: 5px;
}

.section-products {
    position: absolute;
    top: 420px;
    left: 0;
    width: 1px;
    height: 1px;
}

.products {
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    background-color: #fff;
    max-width: 300px;
    width: 100%;
    min-height: 400px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.042));
    padding: 10px;
}

.card:hover {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.238));
    transition: all .3s;
}

                 /*Animation-card*/

.cardAnim {
    transition: all .4s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4000;
    width: 300px;
    height: 300px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.042));
    padding: 10px;
    animation: goup 1s linear;
}

.cardAnim.active {
    animation: none;
}

.imgcardAnim {
    width: 100%;
    height: 230px;
}

@keyframes goup {
   0% {
     transform: scale(.4) translateX(0px) translateY(-0px);
   }
   100% {
     transform: scale(.6) translateX(1400px) translateY(-1000px);
     opacity: 0;
   }
}

.center-img {
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.center-img:hover .imgCard {
    transition: all .5s;
    transform: scale(1.4);
}

.imgCard {
    width: 100%;
    height: 100%;
}

.img-hiden {
    display: none;
}

.title {
    color: #34404a;
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    text-align: center;
}

.price {
    position: absolute;
    bottom: 50px;
    color: red;
    background-color: rgb(255, 217, 0);
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
}

.mpre-detaole {
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    background-color: rgb(140, 140, 140);
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 3px;
}

.mpre-detaole:hover {
    transition: all .3s;
    background-color: #34404a;
}

.btnAdd {
    position: absolute;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    background-color: rgb(34, 205, 34);
    color: #fff;
    font-size: 20px;
    border: none;
    padding: 2px 7px;
    border-radius: 4px;
}

.btnAdd:hover {
    transition: all .3s;
    background-color: rgb(9, 240, 9);
}

.btnAdd.active {
    opacity: .2;
}

                 /*Popup-card*/

.popupBg {
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.popupBg.active {
    display: flex;
}

.noscroll {
    overflow: hidden;
}

.popup {
    position: relative;
    padding: 30px;
    background-color: rgb(255, 255, 255);
    max-width: 700px;
    width: 100%;
    /*min-height: 500px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*gap: 30px;*/
    border-radius: 3px;
}

.imgPopup {
    max-width: 330px;
    width: 100%;
    height: 280px;
}

.titlePopup {
    margin-top: 30px;
    color: rgb(56, 56, 78);
    font-size: 26px;
    font-weight: 600;
    text-align: center;
}

.pricePopup {
    margin-top: 15px;
    background-color: gold;
    color: rgb(228, 13, 13);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 22px;
    font-weight: 500;
}

.btClosed {
    cursor: pointer;
    background-color: transparent;
    color: #939393;
    font-size: 20px;
    font-weight: 500;
    position: absolute;
    top: -30px;
    right: -20px;
    border: none;
}

.btClosed:hover {
    transition: all .3s ease;
    color: red;
    transform: scale(1.2);
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: black;
    max-width: 1920px;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.ulfooter {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.ulfooter li {
    cursor: pointer;
    color: #9d9d9d;
    list-style: none;
    font-size: 18px;
}

.footer p {
    color:  #9d9d9d;
}

@media (max-width: 682px) {

    .div-up {
        justify-content: center;
    }
}

@media (max-width: 491px) {

    .box-products {
        margin-bottom: 220px;
    }

    .headers {
        justify-content: center;
    }
    
    .navigation li {
        margin-left: 10px;
    }

    .pnav {
        font-size: 16px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        text-align: center;
    }
}

