.blind {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

body {
    background-color: #EAE8FE;
}

.vending-machine {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 28px;
    padding-top: 248px;
    font-family: 'Noto Sans KR', sans-serif;
}

.header-main {
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 386px;
    height: 180px;
    background-image: url(images/Logo.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

/* sale section */
.content-sale {
    width: 360px;
    background-color: #FFFFFF;
    padding: 31px 21px 21px 21px;
    box-sizing: border-box;
}

.buttonbox-colamenu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.buttonbox-colamenu li{
    position: relative;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.buttonbox-colamenu li:active::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #6327FE;
    border-radius: 10px;
    box-sizing: border-box;
}

.buttonbox-colamenu li.sold-out::before {
    content: '';
    display: block;
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    border-radius: 10px;
    background: no-repeat center / 60px 46px url(images/soldout.png) rgba(0, 0, 0, 0.5);;
}

.buttonbox-colamenu li.sold-out {
    pointer-events: none;
}

.button-menu {
    width: 100%;
    padding: 8px;
    border: 1px solid #BDBDBD;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.img-menu {
    margin-bottom: 6px;
}

.tit-item {
    display: block;
    line-height: 13px;
    font-size: 9px;
    margin: 6px 0 7px;
}

[class^="price"] {
    display: inline-block;
    font-size: 12px;
    padding: 5px 12px;
    background-color: #6327FE;
    border-radius: 50px;
    color: #fff;
}

.content-cal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.p-balance {
    padding: 6px 10px 7px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background-color: #EAE8FE;
}

.p-balance .balance {
    float: right;
}

.button-change,
.button-deposit {
    border: 1px solid #BDBDBD;
    padding: 6px 9px 8px 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    background: #FFFFFF;
    color: #000000;
    font-size: 13px;
    line-height: 19px;
}

.input-deposit {
    padding: 6px 0 8px 6px;
    border: 1px solid #BDBDBD;
    box-sizing: border-box;
    border-radius: 5px;
}

.list-basket {
    padding: 6px 18px 0 12px;
    border: 1px solid #BDBDBD;
    box-sizing: border-box;
    background-color: #EAE8FE;
    border-radius: 5px;
    overflow-y: scroll;
    height: 106px;
}

.list-basket>li {
    margin-top: 6px;
    padding: 6.76px 8px 7.76px 10.76px;
    border-radius: 5px;
    background-color: #FFFFFF;
    text-align: center;
    line-height: 36px;
    overflow: hidden;
    font-size: 9px;
    font-weight: 500;
}

.img-basket {
    float: left;
    width: 18px;
}

.product-number {
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #BDBDBD;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.button-buy {
    padding: 44px 35px;
    background: #6327FE;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    line-height: 19px;
    color: #FFFFFF;
}

.content-buyinfo {
    width: 360px;
}

.content-mymoney {
    padding: 9px 27px;
    background-color: #FFFFFF;
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
}


.p-mymoney {
    padding: 6px 10px 7px;
    border-radius: 5px;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background-color: #EAE8FE;
}

.mymoney {
    float: right;
}

.content-mycola {
    padding: 25px 27px 26px 27px;
    margin-top: 20px;
    background-color: #FFFFFF;
}

.head-mycola {
    text-align: center;
}

.list-mycola {
    margin-top: 13px;
    padding: 12px 18px 120px 18px;
    background-color: #EAE8FE;
    border: 1px solid #BDBDBD;
    box-sizing: border-box;
    border-radius: 5px;
    overflow-y: scroll;
}

.img-mycola {
    width: 18px;
    margin-right: 16px;
    float: left;
}

.list-mycola>li {
    margin-top: 6px;
    padding: 6.76px 8px 7.76px 10.76px;
    border-radius: 5px;
    background-color: #FFFFFF;
    text-align: left;
    line-height: 36px;
    overflow: hidden;
    font-weight: 500;
    font-size: 9px;
}

.totalprice {
    text-align: right;
    display: block;
    margin-top: 6px;
    padding-bottom: 40px;
    font-size: 12px;
}

@media only screen and (min-device-width: 320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){
    body{background-color: #fff;}

    .vending-machine {
        padding-top: 65px;
    }

    .header-main {
        width: 166px;
        height: 70px;
    }
}