@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/*===========[BASE]===========*/
*
{
    font-family: 'Poppins', 'sans-serif';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body
{
    height: 100vh;
    background: rgb(54, 54, 54);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main
{
    position: relative;
    height: 90%;
    width: 80%;
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
}

/* [Box] */
.box 
{
    position: relative;
    display: block;
    width: 70%;
    height: 70%;
    background: rgb(85, 85, 85);
    border-radius: 15px;
}

.box .up 
{
    position: relative;
    display: flex;
    justify-content: space-between; 
    width: 100%;
    height: 40px;
    border-radius: 15px 15px 0 0;
    background: rgba(255,255,255,0.5);
    padding: 5px;
}

.box .up .kereses
{
    position: relative;
    background: rgba(0,0,0,0.7);
    margin: -5px -5px -5px 0;
    border-radius: 0 15px 0 15px;
    display: flex;
    justify-content: center;
}

.box .up .kereses .icon
{
    color: #FFF;
    font-size: 22px;
    margin: 8px 5px 0 5px;
}

.box .up .kereses input
{
    background: transparent;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 17px;
}

.box .items 
{
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 40px);
    width: 100%;
    border-radius: 0 0 15px 15px;
    padding: 50px;
    justify-content: space-around;
    align-items: flex-start; 
    overflow: auto;
}

.box .items .item 
{
    position: relative;
    height: auto;/*200*/
    width: 180px;
    border-radius: 15px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 20px; 
    display: block;
    cursor: pointer;
    padding-bottom: 5px;
}

.box .items .item .db
{
    position: absolute;
    right: 0;
    background: white;
    border-radius: 0 15px 0 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.box .items .item .png,
.box .items .item .png1,
.box .items .item .png2
{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.box .items .item .png img
{
    height: 100px;
    width: 100px;
}

.box .items .item .png1 img
{
    height: 80px;
    width: 80px;
}

.box .items .item .png2 img
{
    height: 150px;
    width: 150px;
}

.box .items .item .name,
.box .items .item .price,
.box .items .item .description
{
    display: flex;
    justify-content: center;
    color: white;
}

.box .items .item .description h3
{
    font-size: 13px;
    text-align: center;
}

.box .items .bigtext 
{
    width: 100%;
    height: auto;
    background: rgba(255,255,255,0.5);
    border-radius: 15px;
    padding: 5px;
    text-align: center;
    color: white;
}





/*///////*/
.flex
{
    display: flex;
}

.marginbottom10
{
    margin-bottom: 10px;
}

.noa
{
    text-decoration: none;
}

/* [Alert] ------------------------------- */


.alert
{
    position: absolute;
    top: 20px;
    height: 33px;
    width: 33px;/*250px*/
    background: rgb(255, 255, 255);
    z-index: 20;
    border-radius: 15px;
    transform: translateY(-150px);

    transition: 0.3s;
    overflow: hidden;
    color: white;
}

.alert .title,
.alert .item,
.alert .price
{
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}
.alert .title h3
{
    font-size: 17;
}

.alert.active
{
    transform: translateY(30px);
    transition: 0.3s;
}

.alert.active.full
{
    width: 500px;
    height: 100px;
    transition: 0.3s;
    color: black;
}

/* [Ads] ------------------------------- */


.ads
{
    position: absolute;
    top: 150px;
    height: 50px;
    width: 80%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 20;
    border-radius: 15px;
    transform: translateY(-150px);

    transition: 0.3s;
    overflow: hidden;
    color: white;

    display: flex;
    justify-content: center
}

.ad
{
    position: relative;
    width: auto;
    height: auto;
    top: 25%;

    display: inline-block; /* Az animációhoz szükséges */
    white-space: nowrap; /* Ne tördelje a sorokat */
    animation: slide-left 15s linear infinite;
}


@keyframes slide-left {
    0% {
        transform: translateX(200%); /* Kezdőpozíció: teljes szélesség jobb oldalán */
    }
    100% {
        transform: translateX(-200%); /* Végállás: teljes szélesség bal oldalán */
    }
}




/* [Version] ------------------------------- */


.v
{
    position: absolute;
    display: flex;
    bottom: 0;
    left: 3px;
    color: #858585;
}


/* [Stat] ------------------------------- */
.stat
{
    position: absolute;
    display: block;
    height: auto;
    width: 50px;
    right: 0;
    background: white;
    border-radius: 0 15px 0 15px;
    padding-top: 5px;
    cursor: pointer;

    transition: 0.3s;
}

.stat .icon
{
    font-size: 30px;
    margin-left: 8px;
}

.stat h3
{
    display: none;
}

.stat.active
{
    width: 100px;

    transition: 0.3s;
}

.stat.active h3
{
    display: flex;
}
 

/* [Cash] ------------------------------- */
.cash
{
    position: absolute;
    display: flex;
    height: 38px;
    width: auto;
    right: 50px;
    background: white;
    border-radius: 0 0 0 15px;

    transition: 0.3s;
}

.cash .icon
{
    display: block;
    color: rgb(0, 0, 0);
    font-size: 25px;
    margin-top: 7px;
    padding-left: 5px;
}

.cash h3
{
    padding: 5px;
}

.stat.active ~ .cash
{
    right: 100px;
}


/* [Menu] ------------------------------- */
.menu
{
    position: absolute;
    display: flex;
    background: rgb(85, 85, 85);
    height: 100%;
    width: 40px;
    border-radius: 10px 0 0 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 5px 5px 0 rgba(255, 255, 255, 0.5);
    z-index: 99;

    transition: 0.3s;
}

.menu ul li
{
    display: none;

    transition: 0.3s;
}

.menu .icon
{
    display: block;
    color: white;
    font-size: 25px;

    transition: 0.3s;
}

.menu .title h2
{
    display: none;

    transition: 0.3s;
}

.menu.open
{
    display: block;
    width: 300px;
    cursor: pointer;
    text-align: center;

    transition: 0.3s;
}

.menu.open .icon
{
    display: none;

    transition: 0.3s;
}

.menu.open ul li
{
    display: flex;
    margin-left: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
    z-index: 10;
}

.menu.open ul li .icon
{
    display: flex;
    color: white;
    font-size: 25px;
    margin-top: 5px;
    margin-right: 5px;
}

.menu.open ul li span
{
    color: white;
    font-size: 23px;
}

.menu.open .title
{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.menu.open .title h2
{
    position: relative;
    display: flex;
    color: white;
    margin: 0;

    transition: 0.3;
}


/* [Character] ------------------------------- */

.character
{
    display: none;

    transition: 0.3;
}


.character.show
{
    display: block;

    transition: 0.3;
}

/* [Shop] ------------------------------- */

.shop
{
    display: none;

    transition: 0.3;
}

.shop.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s; 
}


/* [Bag] ------------------------------- */
.bag
{
    display: none;

    transition: 0.3s;
}

.bag.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}


/* [Job] ------------------------------- */
.job
{
    display: none;

    transition: 0.3s;
}

.job.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}




/* [trash] ------------------------------- */
.trash
{
    display: none;

    transition: 0.3s;
}

.trash.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}

.trashgame
{
    display: none;
}

.trashgame.active
{
    position: absolute;
    display: block;
    width: 400px;
    height: 130px;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    z-index: 30;
    padding: 5px;
}

.trashgame .title
{
    display: flex;
    justify-content: center;
    margin-bottom: 3px;
}

.trashgame .game
{
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.trashgame .box
{
    height: 80px;
    width: 30px;
    background: rgb(0, 0, 0);
    border-radius: 5px;
}

.trashgame .box.target
{
    background: rgb(255, 0, 0);
}

.trashgame .box.play
{
    background: rgb(0, 255, 0);
}




/* [casino] ------------------------------- */

.casino
{
    display: none;

    transition: 0.3s;
}

.casino.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}

/* [ticket] ------------------------------- */

.ticket
{
    display: none;

    transition: 0.3s;
}

.ticket.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}




/* [house] ------------------------------- */

.house
{
    display: none;

    transition: 0.3s;
}

.house.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}

/*House*/
.housebox_ac 
{
    position: relative;
    height: auto;/*200*/
    width: 90%;
    border-radius: 15px;
    background: rgba(255,255,255,1);
    margin-bottom: 20px; 
    display: flex;
    cursor: pointer;
    padding: 5px;
    padding-right: 15px;
}
.housebox_ac .content,
.housebox .content
{
    position: relative;
    display: block;
    height: auto;
    width: auto;
    padding: 5px;
    color: rgb(0, 0, 0);
}

.housebox_ac .content button
{
    cursor: pointer;
    background: rgba(0,0,0,1);
    border: none;
    padding: 5px;
    border-radius: 10px;
    color: white;
    display: flex;
}

.housebox_ac .content button .icon
{
    font-size: 18px;
    margin-right: 3px;
}

.housebox
{
    position: relative;
    height: 160px;
    width: 160px;
    border-radius: 15px;
    background: rgba(255,255,255,1);
    margin-bottom: 20px; 
    display: flex;
    cursor: pointer;
    padding: 5px;
    overflow: hidden;
    transition: all 0.3s;
}

.housebox .content button
{
    cursor: pointer;
    background: rgba(0,0,0,1);
    border: none;
    padding: 5px;
    border-radius: 10px;
    color: white    ;
}
.housebox.active
{
    width: 90%;
    transition: all 0.3s;
    height: auto;

    position: absolute;
    top: 50%;
    transform: translateY(-12%);
    z-index: 15;
}

.house .png img
{
    height: 150px;
    width: 150px;
    border-radius: 15px;
}

.housebox.active ~ .house.show .items {
    justify-content: center;
}




/* [error] ------------------------------- */

.error
{
    display: none;

    transition: 0.3s;
}

.error.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}

.errorinput
{
    width: auto;
    height: auto;
    display: block;
    text-align: center;
    background: rgba(255,255,255,0.5);
    padding: 15px;
    border-radius: 15px;
    color: #000000;

}

.errorinput input
{
    outline: none;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    width: 80%;
    margin-top: 15px;
}

.errorinput textarea
{
    outline: none;
    border: none;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    color: #FFF;
    resize: none;
    width: 80%;
    height: 200px;
    font-size: 17px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.errorinput button
{
    outline: none;
    border: none;
    background: rgba(0,0,0,0.5);
    padding: 3px;
    border-radius: 5px;
    color: #FFF;
    cursor: pointer;
}




/* [error] ------------------------------- */

.trading
{
    display: none;

    transition: 0.3s;
}

.trading.show 
{
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;

    transition: 0.3s;
}

.trading .lines
{
    position: relative;
    display: block;
    height: calc(100% - 40px);
    width: 100%;
    border-radius: 0 0 15px 15px;
    padding: 50px;
    justify-content: space-around;
    overflow: auto;
}

.trading .line 
{
    display: flex;
    border-radius: 15px;
    background: rgba(255,255,255,0.5);
    width: 100%;
    height: 60px;
    justify-content: space-around;
    align-items: center; 
    margin-bottom: 10px;
}

.trading .line .img
{
    position: relative;
    height: 50px;
    width: 50px;
}

.trading .line .img img
{
    height: 50px;
    width: 50px;
}

.trading .line .name,
.trading .line .db,
.trading .line .price,
.trading .line .user
{
    position: relative;
    color: #FFF;
}

.trading .line .butt button
{
    cursor: pointer;
    background: rgb(41, 41, 41);
    border: none;
    padding: 8px;
    border-radius: 10px;
    color: white;
    display: flex;
}




.trading .upline 
{
    position: relative;
    margin-top: -30px;
    margin-bottom: 30px;
    display: flex;
    border-radius: 15px;
    background: rgba(255,255,255,0.5);
    width: 100%;
    height: 60px;
    justify-content: space-around;
    align-items: center; 
    margin-bottom: 10px;
}

.trading .upline .icon
{
    color: #FFF;
    font-size: 15px;
    margin: 8px 5px 0 5px;
}

.trading .upline .img
{
    position: relative;
    height: 50px;
    width: 50px;
}

.trading .upline .img img
{
    height: 50px;
    width: 50px;
}

.trading .upline .price
{
    position: relative;
    color: #FFF;
    background: rgb(41, 41, 41);
    padding: 5px;
    display: flex;
    border-radius: 5px;
    align-items: center; 
}

.trading .upline .price input
{
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    font-size: 13px;
    border-radius: 5px;
    color: #FFF;
    width: 90px;
}

.trading .upline .name
{
    position: relative;
    color: #FFF;
    background: rgb(41, 41, 41);
    padding: 5px 0 5px 5px;
    display: block;
    width: 100px;
    /*height: 40px;
    overflow: hidden;*/
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.trading .upline .option
{
    position: absolute;
    background: rgb(41, 41, 41);
    overflow: hidden;
    width: 100px;
    height: 0;
    padding: 0px 10px 0px 10px;
    z-index: 2;
    border-radius: 5px;
    margin-left: -5px;
    margin-top: -2px;
    transition: 0.3s;
}

.trading .upline .option h3:hover
{
    font-size: 21px;
}

.trading .upline .option i
{
    position: absolute;
    height: 2px;
    border-radius: 3px;
    width: 80%;
    background: #FFF;
}

.trading .upline .name .see
{

    display: flex;
    justify-content: space-around;
    transition: 0.3s;
} 

.trading .upline .db
{
    position: relative;
    color: #FFF;
    background: rgb(41, 41, 41);
    padding: 5px;
    display: flex;
    border-radius: 5px;
    align-items: center; 
}

.trading .upline .db input
{
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    font-size: 13px;
    border-radius: 5px;
    color: #FFF;
    width: 50px;
}

.trading .upline .butt button
{
    cursor: pointer;
    background: rgb(41, 41, 41);
    border: none;
    padding: 8px;
    border-radius: 10px;
    color: white;
    display: flex;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* [LOGIN] ============================================*/
.loginbox
{
    position: relative;
    width: 380px;
    height: 420px;
    background: none;
    border-radius: 8px;
}
.loginbox form
{
    position: absolute;
    inset: 4px;
    background: rgba(255,255,255,0.3);
    padding: 50px 40px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.loginbox form h2
{
    color: white;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.loginbox form h3
{
    margin-top: 15px;
    color: white;
    text-align: center;
    letter-spacing: 0.1em;
}
.loginbox form a
{
    margin-top: 15px;
    text-decoration: none;
    color: #FFF;
}
.loginbox form .logininputBox
{
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.loginbox form .logininputBox input
{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #222;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 10;
}
.loginbox form .logininputBox span
{
    position: absolute;
    left: 0;
    padding: 20px 0px 10px;
    pointer-events: none;
    color: #FFF;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.loginbox form .logininputBox input:valid ~ span,
.loginbox form .logininputBox input:focus ~ span
{
    color: white;
    font-size: 0.75em;
    transform: translateY(-34px);
}
.loginbox form .logininputBox i
{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.loginbox form .logininputBox input:valid ~ i,
.loginbox form .logininputBox input:focus ~ i
{
    height: 44px;
}
.loginbox form input[type="submit"]
{
    border: none;
    outline: none;
    padding: 9px 25px;
    background: white;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
}
.loginbox form input[type="submit"]:active
{
    opacity: 0.8;
}

/* [LOGIN] ============================================*/
.signupbox
{
    position: relative;
    width: 400px;
    height: auto;
    background: none;
}

.signupbox form
{
    position: relative;
    inset: 4px;
    background: rgba(255,255,255,0.3);
    padding: 50px 40px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.signupbox form h2
{
    color: white;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.signupbox form a
{
    margin-top: 15px;
    text-decoration: none;
    color: #FFF;
}
.signupbox form .logininputBox
{
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.signupbox form .logininputBox input
{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #222;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 10;
}
.signupbox form .logininputBox span
{
    position: absolute;
    left: 0;
    padding: 20px 0px 10px;
    pointer-events: none;
    color: #FFF;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.signupbox form .logininputBox input:valid ~ span,
.signupbox form .logininputBox input:focus ~ span
{
    color: white;
    font-size: 0.75em;
    transform: translateY(-34px);
}
.signupbox form .logininputBox i
{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.signupbox form .logininputBox input:valid ~ i,
.signupbox form .logininputBox input:focus ~ i
{
    height: 44px;
}
.signupbox form input[type="submit"]
{
    border: none;
    outline: none;
    padding: 9px 25px;
    background: white;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
}
.signupbox form input[type="submit"]:active
{
    opacity: 0.8;
}