@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to top, #979797 0%, #b0b4bc 52%, #9c9999 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 90%;
    height: 90vh;

}

.items-container {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 30px;
    height: 90vh;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 5vh;
    margin-right: 2vh;
    border-radius: 10px;
    background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%);
}

.items-container > h3, .cart-container h4 {
    font-weight: bold;
    text-shadow: 2px 2px rgb(192, 192, 192);
}

.items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.card {
    margin: 20px;
    max-width: 20vh;
    box-shadow: rgba(78, 78, 78, 0.2) 0px 2px 8px 0px;
    background: #C9CCD3;
    background-image: linear-gradient(to right, #868f96 0%, #9fa6a9 100%);
    color: rgb(255, 255, 255);
    border: none;
}

.cart-container {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    height: 90vh;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-right: 5vh;
    border-radius: 10px;
    background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%);
    padding: 20px;
}

.cart {
    height: 76%;
}

.check-out p {
    font-weight: bold;
    border-bottom: 1px solid rgb(200, 200, 200);
    padding: 0px 10px 10px 10px;
}

.check-out span {
    font-weight: 100;
}

.buttons {
    display: flex;
    bottom: 8vh;
}
.buttons-row{
    position: absolute;
    justify-content: center;
    bottom: 8vh;
    width: 90%;
}
#bt1{
    margin-right: 1vh;
}
#bt2{
    margin-left: 1vh;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-image: linear-gradient(to right, #868f96 0%, #9fa6a9 100%);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    margin: 3px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.list-group-item div {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.list-group-item div button {
    width: 30px;
    height: 30px;
    border: none;
    background-color: rgb(100, 100, 100);
    color: rgb(255, 255, 255);
}

/* Adjusted button styles for the "Back" button */
.row .btn-primary {
    position: absolute;
    bottom: 8vh;
    width: 10vh;
}

/* Disable margins on mobile resolution */
@media (max-width: 767.98px) {
    .main {
        margin: 0;
    }
    .container1, .container2 {
        padding: 0;
    }
    .cart-container{
        margin: 0;
        margin-top: 2vh;
    }
    .buttons-row{
        bottom: 2vh;
    }
    .items-container{
        margin-left: 0;
        margin-top: 2vh;
        margin-right: 0;
        height: 110vh;
    }
    .card{
        margin: 0;
    }
    .items{
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
}


@media (max-width: 1280px) {
    .list-group-item img{
        display: none;
    }
}




