﻿@import "/ui/Hud/Style.scss";

Shop {
    pointer-events: all;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 10%;

    .Sidebutton{
        width: 100%;
        height: 1%;
        position: absolute;
        bottom: 0%;
        left: 0%;
        right: 0%;  
        z-index: 99;
        
    }
    

    .list {
        position: absolute;
        left: 5%;
        right:5%;
        bottom: 5%;
        top: 15%;
        
        background-size: 200%;
        border-radius: 10%;
        background-position: center;
        
        
        
        
       

        .Shop {
            position: absolute;
            left: 0%;
            right: 0%;
            bottom: 0%;
            top: -10%;
            background-color: rgba(27, 10, 10, 0.664);
            border-width: 13px;
            border-color: darken(rgb(255, 166, 1), 0.1);
            
            
            
            .h1 {
                position: absolute;
                font-size: 300%;
                font-family: 'Gill Sans';
                color: #ffffff;
                background-color: rgb(201, 0, 84);
                align-content: center;
                border-radius: 10px;
                bottom: 75%;
                font-weight: bolder;
                top: 5%;
               
                left: 40%;
                padding: 10px;
                margin: 7px;
                border-radius: 15px;
                border-width: 13px;
                

                &:hover {
                    background-color: #2a7d5a;
                    transform: scale(1.1);
                }
                
                
            }
            
            .h2{
                color: rgb(0, 255, 234);
                font-size: 150px;
                background-color: rgba(148, 120, 201, 0.253);
                border-radius: 15px;
                height: 15%;
                
                font-weight: bold;
                top: -10px;
                left: -450px;
                padding: 10px;
                margin-left: 840px;
                cursor: pointer;
                border-radius: 13px;
                border-width: 3px;
                border-color: rgba(24, 48, 85, 0.555);
                
                &:hover {
                    background-color: #ff323277;
                    transform: scale(1.1);
                }
            }
            .buypanel{
                position: absolute;
                left: 50%;
                right: 1%;
                bottom: 1%;
                top: 25.5%;
                background-color: rgb(15, 0, 0);
                border-width: 1.5%;
                border-color: rgba(0, 122, 116, 0.288);
                flex-direction: row;
                padding: 5%;
                flex-direction: column;
                gap: 15px;
                overflow-x: scroll;
                
                .buypanelpanel{
                    color: white;
                    font-weight: 1000;
                    font-size: 50%;
                    background-color: rgba(174, 255, 174, 0.438);
                    padding: 1% 3%;
                    width: 50%;
                    gap: 10px;
                    .itemname{
                        color:rgb(255, 255, 255);
                        background-color: rgb(0, 0, 0);
                        border-radius: 10px;
                        padding: 1% 2%;
                    }
                    .itemprice{
                        color:rgb(0, 0, 0);
                        background-color: rgb(217, 255, 0);
                        border-radius: 10px;
                        padding: 1% 2%;
                    }
                    .bu{
                        color: yellow;
                        background-color: rgb(0, 0, 0);
                        border-radius: 10px;
                        padding: 1% 2%;

                        &:hover{
                            background-color: #ff323277;
                            transform: scale(1.1);
                            sound-in: 'hover';
                        }
                        &:active:not(.disabled) {
                            sound-in: 'light_click';
                            background-color: rgb(250, 134, 39);
                        }
                    }
                }
                

               
                
            }
            .sellpanel{
                position: absolute;
                left: 1%;
                right: 50%;
                bottom: 1%;
                top: 50%;
                background-color: rgb(22, 65, 47);
                border-width: 0.5%;
                border-color: rgb(0, 174, 187);
                flex-direction: row;
                padding: 1%;
                flex-direction: column;
                gap: 12px;
                overflow-x: scroll;
                flex-wrap: wrap;
                z-index: 5;

               
                .slots{
                    color: white;
                    font-weight: 1000;
                    font-size: 55%;
                    background-color: rgba(0, 255, 0, 0.438);
                    padding: 1% 5%;
                }
                .bslots{
                    color: rgb(255, 0, 0);
                    font-weight: 1000;
                    font-size: 35%;
                    margin-left: 25%;
                    bottom: 6%;
                    border-radius: 10%;
                    background-color: rgb(255, 255, 255);
                    padding: 0% 1.5%;
                    width: 5%;
                    &:hover {
                        background-color: #ff323277;
                        transform: scale(1.1);
                        sound-in: 'hover';
                    }
                }
            }



            
        }
        .Storage {
            position: absolute;
            left: 23.4%;
            right: 23.2%;
            bottom: 2.5%;
            top: 2%;
            background-color: rgba(31, 31, 31, 0.493);
            border-width: 3px;
            border-color: rgba(137, 189, 151, 0.103);
            gap: -10px;
            
            .h1{
                flex-direction: column;
                font-size: 38px;
                font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                color: #f8f8f8;
                background-color: rgb(104, 101, 101);
                border-radius: 10px;
                height: 8%;
                font-weight: bold;
                top: 0px;
                padding: 0px 10px;
                margin: 10px;
                cursor: pointer;
                border-radius: 3px;
                border-width: 3px ;
                border-color: rgb(119, 173, 136);

                &:hover {
                    background-color: #43ff3277;
                    transform: scale(1.1);
                }
            }
            .StorageMenu
            {
                position: absolute;
                left: 0px;
                right: 200px;
                bottom: 20px;
                top: 110px;
                background-color: rgba(5, 0, 0, 0.699);
                border-width: 3px;
                border-color: rgb(52, 168, 83);
                gap: 20px;
                flex-direction: row;

                
                .storageslots
                {
                    left: 10px;
                    background-color: rgba(59, 39, 39, 0.699);
                    border-width: 3px;
                    border-color: rgb(116, 129, 119);
                    font-size: 32px;
                    color: rgb(0, 228, 159);
                    width: 7%;
                    height: 7%;
                    padding: 3px 5px;
                    cursor: pointer;
                    align-items: center;
                    

                    &:hover {
                        background-color: #b9350077;
                        transform: scale(1.1);
                        
                    }
                }
            }
            
            

            
            
            
        }
        .Refinement
        {
                position: absolute;
                left: 0px;
                right: 200px;
                bottom: 20px;
                top: 110px;
                background-color: rgba(5, 0, 0, 0.699);
                border-width: 3px;
                border-color: rgb(52, 168, 83);
                gap: 20px;
                flex-direction: row;

                
        }
        .Factory
        {
                position: absolute;
                left: 0px;
                right: 200px;
                bottom: 20px;
                top: 110px;
                background-color: rgba(5, 0, 0, 0.699);
                border-width: 3px;
                border-color: rgb(52, 168, 83);
                gap: 20px;
                flex-direction: row;
                .Printer{
                    position: relative;
                    width: 30%;
                    height: 80%;
                    left: 0px;
                    right: 200px;
                    bottom: 20px;
                    top: 110px;
                    background-color: rgba(5, 0, 0, 0.699);
                    border-width: 3px;
                }
        }
    }
    
}
