@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    background-color: #E3E7E8;
    font-family: system-ui;
}


#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #f1f4f7;
    box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.09);
    position: sticky;
    top: 0;
    left: 0;
}

#header .logo {
    width: 150px;
    height: auto;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-weight: 600px;
    font-size: 16px;
    color: #010101;
    transition: 0.3s ease;

}

#navbar li a:hover,
#navbar li a.active {
    color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background-color: #088178;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

.container {
    width: 1000px;
    margin: auto;
    transition: 0.5s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

header .shopping {
    position: relative;
    text-align: right;
    
}

header .shopping img {
    width: 40px;

}

header .shopping span {
    background: #088178;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: absolute;
    top: -5px;
    left: 80%;
    padding: 3px 10px;
}

.list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    margin-top: 50px;
}

.list .item {
    text-align: center;
    background-color: #DCE0E1;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 50px 50px #757676;
    letter-spacing: 1px;
}

.list .item img {
    width: 90%;
    height: 320px;
    border-radius: 10px;
}

.list .item .title {
    font-weight: 800;
    font-size: large;
}

.list .item .price {
    margin: 10px;
    font-size: larger;
    font-weight: 800;
}

.list .item button {
    background-color: #088178;
    color: #fff;
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    border: 1px solid #088178;
    border-radius: 25px;
}

.list .item button:hover {
    background-color: #4f5152;
    outline: none;
    border: none;
}

.card {
    position: fixed;
    top: 0;
    left: 100%;
    width: 500px;
    background-color: #f5f8f8;
    height: 100vh;
    transition: 0.5s ease-in-out;
}

.active .card {
    left: calc(100% - 500px);
}

.active .container {
    transform: translateX(-80px);
}

.card h1 {
    color: #032231;
    font-weight: 700;
    margin: 0;
    padding: 0 20px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .checkOut {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.card .checkOut div {
    background-color: #032231;
    color: #fff;
    width: 100%;
    height: 50px;
    font-size: medium;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
}

.card .checkOut div:nth-child(2) {
    background-color: #088178;
    color: #fff;
    font-size: larger;
}

.card .checkOut div:nth-child(2):hover {
    background-color: #fff;
    color: #088178;
}

.listCard li {
    display: grid;
    grid-template-columns: 100px repeat(3, 1fr);
    color: #088178;
    font-size: large;
    font-weight: 700;
    row-gap: 19px;
}

.listCard li div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.listCard li img {
    width: 60%;
}

.listCard li button {
    background-color: #088178;
    width: 20px;
    font-weight: bold;
    color: #fff;
    border: none;
}

.listCard .count {
    margin: 0 10px;
}

footer .copyright {
    padding-top: 30px;
    width: 100%;
    text-align: center;
}

footer {
    background-color: #d4d6da;
}