@font-face { font-family: "Brothership"; src: url(./fonts/Brothership.ttf); } * { box-sizing: border-box; padding: 0; margin: 0; } body { font-family: "Poppins", sans-serif; color: #fff; position: relative; display: flex; align-items: center; justify-content: center; height: 100vh; width: 100%; user-select: none; overflow: none; background-size: 187%; } .wrapper { height: 100%; width: 100%; /* background-color: rgba(6, 16, 28, 0.96); */ /* Blue Background */ background-color: rgba(0, 0, 0, 0.95); /* Black Background */ display: none; justify-content: center; position: relative; background-image: url("image/background.png"); background-repeat: no-repeat; background-size: 100% 100vh; } .container { height: 55%; width: 83%; position: absolute; top: 15vh; display: flex; justify-content: space-between; } .right-container { height: 100%; width: 72%; display: flex; flex-direction: column; } .left-container { height: 100%; width: 27%; display: flex; flex-direction: column; } .left-heading { height: 20%; width: 100%; display: flex; align-items: center; justify-content: space-between; } .right-heading { height: 20%; width: 100%; } .shopping-cart-title-cont { height: 100%; width: 55%; margin-bottom: 3vh; text-shadow: rgba(103, 213, 185, 1) 0px 0px 39px; } .exit-container { height: 100%; width: 45%; display: flex; justify-content: end; } .shopping-title { color: #67d5c9; font-size: 3vh; } .cart-title { color: #67d5c9; font-family: "Brothership"; font-size: 4vh; } .main-title-container { height: 100%; width: 100%; margin-top: -1vh; } .shop-name-title, .shop-word-title { color: #67d5c9; font-family: "Brothership"; font-size: 4vh; display: flex; align-items: center; height: 50%; padding-top: -3vh; text-shadow: rgba(103, 213, 185, 1) 0px 0px 39px; } .exit-buttons { height: 35%; width: 15vh; border: 1px solid rgba(255, 255, 255, 0.096); border-radius: 1vh; display: flex; align-items: center; justify-content: space-around; } .exit-btn { height: 100%; width: 40%; display: flex; align-items: center; font-size: 1.5vh; justify-content: center; color: #ffffffab; } .escape-btn { height: 100%; width: 60%; background-color: rgba(255, 255, 255, 0.096); display: flex; align-items: center; border-radius: 0vh 7px 7px 0vh; font-size: 1.5vh; justify-content: center; color: rgba(255, 255, 255, 0.788); } .right-middle-box, .left-middle-box { height: 80%; width: 100%; display: flex; } .left-middle-box { flex-direction: column; height: 80%; } .category-container { height: 104%; width: 14%; overflow: scroll; overflow-x: hidden; } .category-container::-webkit-scrollbar { display: none; } .category-box { height: 13.5vh; width: 12vh; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-bottom: 2vh; border-radius: 2vh; background-color: #ffffff14; color: rgba(255, 255, 255, 0.692); } .category-icon { height: 50%; width: 60%; display: flex; align-items: center; justify-content: center; font-size: 4.5vh; margin-bottom: 5px; } .category-info-icon:hover { cursor: pointer; color: #67d5c9; background-color: #67d5c85d; } .category-name { width: 80%; display: flex; align-items: end; justify-content: center; font-size: 1.4vh; overflow: hidden; font-weight: 900; text-overflow: ellipsis; overflow: hidden; text-align: center; } .category-box:hover { cursor: pointer; color: #4bd0bf; background: radial-gradient( circle, rgba(103, 213, 200, 0.137) 0%, rgba(103, 213, 200, 0.116) 100% ); } .selected-category { color: #4bd0bf; background: radial-gradient( circle, rgba(103, 213, 200, 0.137) 0%, rgba(103, 213, 200, 0.116) 100% ); } .category-items-container { height: 101%; width: 85%; overflow: scroll; display: grid; grid-template-columns: repeat(4, 0fr); gap: 15px; overflow-x: hidden; } .category-items-container::-webkit-scrollbar { width: 2px; } .category-items-container::-webkit-scrollbar-track { background-color: transparent; margin-top: 10px; } .category-items-container::-webkit-scrollbar-thumb { background-color: #4bd0be70; } .cart-items-container { height: 71%; width: 100%; overflow: scroll; } .category-items-inner { position: relative; height: 21.5vh; width: 21.5vh; transform: rotate(90deg); } .category-items { height: 21.5vh; width: 21.5vh; border-radius: 2vh; background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 5%) 50%, rgba(255, 255, 255, 0) 100% ); transform: rotate(-90deg); } .category-items::before { content: ""; position: absolute; top: 0; left: 3vh; width: 70%; height: 1px; background: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0.2945553221288515) 50%, rgb(255 255 255 / 0%) 100% ); } .category-items::after { content: ""; position: absolute; bottom: 0; left: 3vh; width: 70%; height: 1px; background: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0.2945553221288515) 50%, rgb(255 255 255 / 0%) 100% ); } .category-items-inner::before { content: ""; position: absolute; top: 0; left: 3vh; width: 70%; height: 1px; background: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0.2945553221288515) 50%, rgb(255 255 255 / 0%) 100% ); } .category-items-inner::after { content: ""; position: absolute; bottom: 0; left: 3vh; width: 70%; height: 1px; background: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0.2945553221288515) 50%, rgb(255 255 255 / 0%) 100% ); } .cart-items-container::-webkit-scrollbar { display: none; } .cart-total-container { height: 15%; width: 100%; background: linear-gradient( 90deg, rgb(255 255 255 / 0.5%) 0%, rgb(255 255 255 / 4%) 50%, rgb(255 255 255 / 0.5%) 100% ); display: flex; align-items: center; justify-content: space-between; padding-left: 2vh; padding-right: 2vh; } .cart-item-box { height: 9vh; width: 100%; background-color: rgb(255 255 255 / 7%); margin-bottom: 1.5vh; border-radius: 5px; display: flex; background: linear-gradient( 90deg, rgb(255 255 255 / 0.5%) 0%, rgb(255 255 255 / 4%) 50%, rgb(255 255 255 / 0.5%) 100% ); } .lines-design { height: 100%; width: 5%; display: flex; align-items: center; } .lines-image { height: 45%; width: 100%; object-fit: contain; } .cart-item-icon-box { height: 100%; width: 18%; display: flex; align-items: center; justify-content: center; } .cart-item-icon { height: 60%; width: 75%; background-color: #ffffff1c; border-radius: 1vh; display: flex; align-items: center; justify-content: center; } .cart-item-image { height: 75%; } .cart-items-name-container { height: 100%; width: 46%; margin-left: 3px; } .cart-items-title-cont { height: 50%; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: flex; align-items: end; font-size: 1.5vh; color: #e0e6eeeb; } .cart-items-amount-cont { height: 50%; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 1.6vh; color: #ffffff; display: flex; align-items: baseline; padding-top: 2px; } .cart-amount-box { height: 50%; width: 70%; display: flex; align-items: center; gap: 1vh; } .cart-item-amount { color: #40a081; } .inputAmount { background-color: rgba(255, 255, 255, 0.212); height: 2vh; border: 1px solid white; font-size: 1.4vh; text-align: center; cursor: pointer; border: none; outline: none; width: auto; min-width: 2vh; max-width: 10vh; padding: 0; transition: width 0.2s; } .cart-item-amount-hidden { visibility: hidden; position: absolute; white-space: nowrap; font-size: 1.4vh; padding: 0; } .cart-amount-minus, .cart-amount-plus { height: 2vh; width: 2vh; background-color: #3079615d; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #40a081; font-size: 1vh; } .cart-amount-minus:hover, .cart-amount-plus:hover { cursor: pointer; color: #ffffff; background-color: rgba(255, 255, 255, 0.123); } .cart-item-price-container { height: 100%; width: 20%; display: flex; align-items: center; justify-content: center; } .cart-item-price { height: 3.2vh; width: 7vh; background-color: #3079615d; color: #5fbe8e; display: flex; align-items: center; justify-content: center; font-size: 1.4vh; font-weight: 900; border-radius: 5px; } .remove-cart-item-container { height: 100%; width: 12%; display: flex; align-items: center; justify-content: center; } .remove-item-btn { height: 3vh; width: 3vh; border: 1px solid #f851517e; border-radius: 4px; color: #ff525283; display: flex; align-items: center; justify-content: center; background-color: rgba(255, 81, 81, 0.082); font-size: 1.2vh; } .cart-total-price-title { font-size: 1.5vh; color: #e0e6eeeb; } .cart-total-price-amount { height: 3.5vh; width: 8vh; background-color: #3079615d; color: #5fbe8e; display: flex; align-items: center; justify-content: center; font-size: 1.5vh; font-weight: 900; border-radius: 5px; } .cart-pay-btns-container { height: 11%; width: 100%; display: flex; justify-content: space-between; margin-top: 1vh; } .pay-with-bank-btn, .pay-with-cash-btn { height: 100%; width: 49%; background-color: #40a081; border-radius: 6px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: flex; align-items: center; font-size: 1.8vh; color: #ffffffda; justify-content: center; } .category-items-heading { height: 30%; width: 100%; display: flex; } .category-item-name { height: 100%; width: 50%; font-size: 1.3vh; text-overflow: ellipsis; overflow: hidden; display: flex; color: #e0e6eeeb; padding-left: 1vh; padding-top: 1vh; } .category-quantity-amount { height: 100%; width: 35%; display: flex; justify-content: center; padding-top: 1.1vh; } .category-quantity-amount-value { height: 3vh; width: 6vh; font-size: 1.2vh; background-color: #ffffff17; display: flex; align-items: center; justify-content: center; border-radius: 3px; overflow: hidden; color: #cbcbcb; } .category-item-info { height: 100%; width: 15%; display: flex; padding-top: 1.1vh; } .category-info-icon { height: 3vh; width: 2.5vh; background-color: #ffffff17; font-size: 1.2vh; border-radius: 3px; color: #cbcbcb; display: flex; align-items: center; justify-content: center; } .category-middle-image { height: 42%; width: 100%; display: flex; align-items: center; justify-content: center; } .category-image-icon { height: 80%; } .category-buttons-box { height: 28%; width: 100%; justify-content: center; display: flex; align-items: baseline; padding-top: 1vh; } .category-addtocart-btn { height: 3.5vh; width: 40%; background-color: #4bd0be3f; border: 1px solid #4bd0be85; border-radius: 5px; font-size: 1.2vh; color: rgba(255, 255, 255, 0.747); display: flex; align-items: center; justify-content: center; } .category-item-amount-btn { border-radius: 5px; height: 3.5vh; font-size: 1.2vh; color: rgba(255, 255, 255, 0.747); display: flex; align-items: center; justify-content: center; width: 40%; background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.233) 100% ); } .category-addtocart-btn:hover { cursor: pointer; background-color: rgba(255, 255, 255, 0.185); border: 1px solid white; } .remove-item-btn:hover { cursor: pointer; background-color: rgba(253, 53, 53, 0.603); color: white; } .pay-with-bank-btn:hover { background-color: rgba(255, 255, 255, 0.5); color: #ffffff; cursor: pointer; } .pay-with-cash-btn:hover { background-color: rgba(255, 255, 255, 0.5); color: #ffffff; cursor: pointer; } .exit-btn:hover { color: rgb(255, 255, 255); cursor: pointer; background-color: rgba(253, 53, 53, 0.603); border-radius: 6px 0vh 0vh 6px; } .notification-container { height: 9vh; width: 40vh; background-color: #ffffff1f; margin-top: 4vh; border-radius: 1vh; display: none; } .noti-color-bar { height: 100%; width: 3%; background-color: #1c95a4; border-radius: 1vh 0vh 0vh 1vh; } .noti-icon-cont { height: 100%; width: 20%; display: flex; justify-content: center; align-items: center; } .notification-content { height: 100%; width: 65%; } .notification-content-title { width: 100%; height: 50%; font-weight: 900; text-transform: uppercase; display: flex; align-items: end; font-size: 1.6vh; } .notification-content-message { height: 50%; width: 100%; display: flex; padding-top: 3px; font-size: 1.6vh; font-weight: 200; color: #ffffff9a; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .qtip-light { background-color: #4bd0be3f; font-size: 1vh; color: white; border: none; padding: 1px; border-radius: 3px; text-transform: capitalize; }