@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');


body {
    margin: 0%;
    padding: 15px;
    background-color: hsl(13, 31%, 94%);
    padding: 10px;
    font-family: "Red Hat Text", sans-serif;
    /* padding: 10px 0px 10px 10px; */
}

.items {
    background-color: hsl(13, 31%, 94%);
    /* display: flex;
    justify-content: center;
    flex-direction: column; */
}

* {
    box-sizing: border-box;
}

.order-total-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attribution {
    font-size: 0.6875rem;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

.cart-div {
    background-color: hsl(20, 50%, 98%);
    border-radius: 10px;
    padding: 20px;
    min-width: 250px;

}

.your-cart {
    color: hsl(14, 86%, 42%);
}

.container {
    height: 100vh;
    overflow: auto;
    padding: 30px;
    gap: 10px;
}

.extention {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-direction: column;
    background-color: hsl(13, 31%, 94%);
    /* padding: 10px; */
}

.image {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
}

img {
    border-radius: 10px;
}

.waffle-img {
    width: 100%;
}

.thumbnail-img {
    width: 20%;
}

.waffle-img.selected {
    border: 2px solid hsl(14, 86%, 42%);
}

.div-confirm {
    display: flex;

}

.title {
    color: hsl(7, 20%, 60%);
    font-size: 20px;
    margin: 0%;
}

.heading {
    color: hsl(14, 65%, 9%);
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0%;
}

.description {
    color: hsl(14, 65%, 9%);
    font-size: 25px;
    margin: 0%;
    font-weight: 600;
}

.price {
    color: hsl(14, 86%, 42%);
    font-size: 20px;
    margin: 0%;
    font-weight: 600;

}

.add {
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(20, 50%, 98%);
    width: 200px;
    border: 1px solid hsl(14, 65%, 9%);
    position: absolute;
    bottom: 0px;
}

.quantity-button {
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(14, 86%, 42%);
    width: 200px;
    border: 1px solid hsl(14, 65%, 9%);
    position: absolute;
    bottom: 0px;
}

.increase,
.decrease {
    border: 1px solid hsl(20, 50%, 98%);
    border-radius: 50px;
    width: 15px;
    height: 15px;
    padding: 2px;
}



.cart-items {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 14px;
    margin: 0;
}

.qty {
    color: hsl(14, 86%, 42%);
    font-weight: 600;
    margin-right: 6px;
}

.unit-price,
.order-confirmed-subtext {
    color: hsl(7, 20%, 60%);
}

.total-price {
    color: hsl(7, 20%, 60%);
    font-weight: 600;
}

.details {
    position: relative;
    margin-top: 10px;
}

.cross {
    background: transparent;
    border: 1px solid hsl(7, 20%, 60%);
    border-radius: 50%;
    width: 23px;
    height: 20px;
    position: absolute;
    right: 6px;
    align-items: center;
}

.text-div {
    border-bottom: 1px solid hsl(14, 25%, 72%);
    padding: 10px 0px;
}

.text-div-confirm {
    border-bottom: 1px solid hsl(14, 25%, 72%);
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
}

.carbon-neutral-div {
    display: flex;
    justify-content: center;
    background-color: hsl(13, 31%, 94%);
    padding: 10px;
}

.order-total {
    justify-content: space-between;
    align-content: center;
    display: flex;
    color: hsl(12, 20%, 44%);
    font-weight: 550;
}

.cart-total {
    color: hsl(14, 65%, 9%);
    font-weight: 800;
    font-size: 25px;
}

.order-confirmed-div {
    padding: 20px;
    background-color: hsl(20, 50%, 98%);
    border-radius: 20px;
    width: 100%;
    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
}

.confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm-order-button,
.start-new-order-button {
    background-color: hsl(14, 86%, 42%);
    border-radius: 30px;
    padding: 15px;
    width: 100%;
    color: hsl(20, 50%, 98%);
    font-weight: 400;
    border: none;
    margin-top: 10px;
}

.order-confirmed {
    color: hsl(14, 65%, 9%);
    font-size: 50px;
    font-weight: 600;
    margin: 0%;
}

.backdrop {
    background-color: rgb(0 0 0 / .5);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    padding-top: 150px;

}

.cart-div {
    border-radius: 20px;
}

.hidden {
    display: none;
}

/* tablet */
@media (width>=560px) {
    .container {
        display: flex;
    }

    .cart-div {
        min-width: 200px;
    }

    .order-confirmed-div {
        padding: 20px;
        background-color: hsl(20, 50%, 98%);
        border-radius: 20px;
        width: 450px;
    }

    .backdrop {
        background-color: rgb(0 0 0 / .5);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .hidden {
        display: none;
    }
}

/* small desktop */
@media (width>=820px) {
    .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cart-div {
        min-width: 250px;
    }

}

/* large desktop */
@media (width>=1080px) {
    .wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .cart-div {
        min-width: 300px;
    }

}