body {
    background-color: #333;
    color: rgb(255, 244, 230);
}
.name {
    word-wrap: break-word; 
    overflow-wrap: break-word;
}
@media  /*(min-height:632px) and*/ (min-width:1025px) { 
    .interface {
        height: 1vh;
        display: grid;
        column-gap: 1%;
        grid-template-columns: 10% 1fr;
    }

    .bar {
        display: grid;
        grid-template-rows: 14% 14% 14% 14% 14%;
        row-gap: 6%;
        background-color: rgb(58, 60, 63);   
        height: 97%;
        border-radius: 25px;
        padding: 10% 7% 0% 7%;
        align-items: center;
    }
    .friends,.add_friends,.messages,.profil,.stored {
        font-size: 100%;
        display: block;
        height: 100%;
        width: 100%;
        cursor: pointer;
        margin-top: 0%;
        background-color: #f70a0a;
        color: #fff;
        border-radius: 20px;
        box-shadow: 0 0 3px #1e201f;
        user-select: none;
        
    }
    .stored {
        background-color: #f7a102;
    }
    .friendsimg,.add_friendsimg,.messagesimg,.profilimg,.storeimg {
        height: 100%;
        width: 100%;
        display: block;
        transition: 0.15s;
    }
    .friends:hover,.add_friends:hover,.messages:hover,.profil:hover,.stored:hover {
        background-color: #02bef7;
        opacity: 0.8;
        box-shadow: 0 0 5px #027235;
    }
    .friends:active,.add_friends:active,.messages:active,.profil:active,.stored:active {
        background-color: #02f768;
        transform: scale(0.95);
        opacity: 0.8;
        box-shadow: 0 0 5px #027235;
    }
    .storediv {
        display: grid;
        row-gap: 10px;
        grid-template-rows: 100%;
        height: 97%;
    }
    .storefiel {
        border-radius: 5px;
        height: 570px;
        overflow-y: auto;
        padding: 20px 20px 20px 20px;
    }
    a {
        text-decoration: none;
    }
}

@media  /*(min-height:632px) and*/ (max-width:1024px) { 
    .interface {
        height: 1vh;
        display: grid;
        row-gap: 50px;/*550%*/
        grid-template-rows: 50px 1fr;
    }
    .bar {
        display: grid;
        grid-template-columns: 14% 14% 14% 14% 14%;
        column-gap: 6%;
        background-color: rgb(58, 60, 63);   
        padding: 10px 3% 70px 3%;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
    }
    .friends,.add_friends,.messages,.profil,.stored {
        font-size: 100%;
        display: block;
        height: 60px;
        width: 110%;
        margin-top: 0%;
        background-color: #f70a0a;
        color: transparent;
        border-radius: 20px;
        box-shadow: 0 0 3px #1e201f;
        user-select: none;
        transition: 0.15s;
    }
    .stored {
        background-color: #f7a102;
    }
    .friends:active,.add_friends:active,.messages:active,.profil:active,.stored:active {
        background-color: #02f768;
        opacity: 0.8;
        transform: scale(0.95);
        box-shadow: 0 0 5px #027235;
    }
    .friendsimg,.add_friendsimg,.messagesimg,.profilimg,.storeimg {
        height: 100%;
        width: 100%;
        display: block;
        
    }
    .storediv {
        display: grid;
        row-gap: 10px;
        grid-template-rows: 100%;
        height: 100%;/*93%*/
    }
    .searchbar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
    }
}
@keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
.store {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.product {
    background: #f7a102;
    color: #000000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.2s;
    /* user-select: none; */
}
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.images {
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.images::-webkit-scrollbar {
    display: none;
}
.slide {
    /* min-width: 100%; */
    border-radius: 8px;
    width: 100%;
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: start;
    object-fit: cover;
    /* background: rgba(46, 204, 113, 0.1); */
    transition: 0.2s;
    user-select: none;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 8px 12px;
    
    border-radius: 50%;
    z-index: 2;
}
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }
.price {
    font-weight: bold;
    color: #333;
}
.buybtn {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border: none;
    color: #fff;
    border-radius: 10px;
    transition: 0.2s;
    padding: 8px 14px;
    border-radius: 6px;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.cartbtn {
    background: rgb(103, 23, 23);
}
@media (min-width:1025px) {
    .arrow,.slide,.product,.buybtn {
        cursor: pointer;
        transition: 0.2s;
    }
    .buybtn:hover {
        transform: scale(1.05);
        opacity: 0.8;
    }
    .product:hover {
        transform: scale(1.02);
        opacity: 0.9;
        background: #5af00f;
    }
    .slide:hover {
        transform: scale(1.02);
    }
    
}
.buybtn:active {
    transform: scale(0.8);
    opacity: 0.7;
}
.product:focus {
    outline: 2px solid #2eb4cc;
    outline-offset: 4px;
    border-radius: 8px;
}
.slide:active {
    transform: scale(0.9);
    opacity: 0.9;
}
@media (max-width:1024px) {
    .slide:active {
        transform: scale(0.8);
        opacity: 0.9;
    }
}
@media (max-width: 331px) {
    .store {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
        padding: 10px;
    }
    .product {
        padding: 6px;
        border-radius: 8px;
        font-size: 12px;
    }
    .slide {
        border-radius: 6px;
        width: 100%;
        height: auto;
    }
    .arrow {
        padding: 4px 6px;
        font-size: 12px;
    }
    .buybtn {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 6px;
    }
    .price {
        font-size: 13px;
    }
    .storefiel {
        padding: 10px;
        height: auto;
    }
    .storediv {
        height: auto;
    }
    .buttons {
        gap: 4px;
    }
}
@media (max-width: 275px) {
    .store {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 6px;
        padding: 6px;
    }
    .product {
        padding: 4px;
        border-radius: 6px;
        font-size: 10px;
    }
    .slide {
        border-radius: 5px;
        width: 100%;
        height: auto;
    }
    .arrow {
        padding: 3px 5px;
        font-size: 10px;
    }
    .buybtn {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 5px;
    }
    .price {
        font-size: 11px;
    }
    .storefiel {
        padding: 6px;
        height: auto;
    }
    .storediv {
        height: auto;
    }
    body {
        font-size: 10px;
        margin: 0;
        overflow-x: hidden;
    }
    h3 {
        font-size: 12px;
    }
    p {
        font-size: 10px;
    }
}
.remove{
    background: #000000;
}
.add{
    background: #0285f7;
}
.sub{
    background: #f70202;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
