﻿//kir 2
body {
}

.btn {
    margin: 5px;
}



.not td {
    background: #89ff9c;
}
.btn-toggle-nav a {
    transition: 0.25s ease-in-out;
}
.btn-toggle {
    transition: 0.25s ease-in-out;
}
.btn {
    margin: 5px;
    transition: 0.25s ease-in-out;
    opacity: 0.8;
}
.showup
{
    animation: showUp;
    animation-duration:0.5s;
}
 
@keyframes showUp {
    0%
    {
        opacity:0;
        left:-40px;
        top:-40px;
    }
    100% {
        opacity: 1;
        left: 0px;
        top: 0px;
    }
}
.btn:hover {
    transform: scale(1.05);
    opacity: 1;
}

.MuiButtonBase-root {
    margin: 2px !important;
}
 
@font-face { 
    font-family: iransan;
    src: url(san.woff2);
}

.fullborder {
    border: 1px;
}

p {
}

.nomargin {
    margin: 0px !important;
}

li {
    list-style-type: none;
}

ul {
    list-style-type: none;
}

* {
    font-family: iransan !important;
    
}

il[hidechildren] {
    cursor: pointer;
    user-select: none;
}

il[hidechildren='yes'] > ul {
    display: none;
}

.Progr {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

.treeItem il {
    display: block;
}

il[hidechildren='yes'] > span:before {
    content: '+';
    cursor: pointer;
    border: 1px solid;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    border-radius: 5px;
    margin: 2px;
    text-shadow: 1px 1px 2px gray;
}

il[hidechildren='no'] > span:before {
    content: '-';
    cursor: pointer;
    border: 1px solid;
    border: 1px solid;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    border-radius: 5px;
    margin: 2px;
    text-shadow: 1px 1px 2px gray;
}

.select2 {
    display: inline-block !important;
}

@media screen and (max-width: 600px) {
    .table-striped {
        border: 0;
    }

        .table-striped caption {
            font-size: 1.3em;
        }

        .table-striped > thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

            .table-striped > thead > tr, .table-striped > tbody > tr {
                border-bottom: 3px solid #ddd;
                display: block;
                margin-bottom: .625em;
            }

                .table-striped > thead > tr > td, .table-striped > tbody > tr > td {
                    border-bottom: 1px solid #ddd;
                    display: block;
                    font-size: .8em;
                    text-align: left;
                }

                    .table-striped > thead > tr > td::before, .table-striped > tbody > tr > td::before {
                        /*
    * aria-label has no advantage, it won't be read inside a .table-striped
    content: attr(aria-label);
    */
                        content: attr(data-label);
                        float: right;
                        font-weight: bold;
                        text-transform: uppercase;
                        display: block;
                    }

                    .table-striped > thead > tr > td:last-child, .table-striped > tbody > tr > td:last-child {
                        border-bottom: 0;
                    }
}



.startMenu {
    width: 100%;
    height: 80px;
    background: red;
}

#sideMenu {
    transition: width 1s ease-in-out;
}

.boxShadowed {
    background: whitesmoke;
    border-radius: 8px;
    box-shadow: 0px 1px 1px;
    transition: transform 1s ease-in-out;
    transform: translateY(0px)
}

    .boxShadowed:hover {
        transform: translateY(-5px)
    }

.messageBox {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    border-radius: 5px;
    z-index: 10;
    display: none;
    font-size: medium;
}
.warpper
{
    overflow-x:clip;
}


div[mat="yes"] {
    position: relative;
    padding-top: 5px;
}

    div[mat="yes"] .form-control::placeholder {
        color: transparent;
    }

    div[mat="yes"] label {
        position: absolute;
        top: -6px;
        right: 5px;
        transition: 0.5s;
        font-size: 10px;
        background-color: white;
        padding-left: 5px;
        padding-right: 5px;
        cursor: select;
        background-color: white;
    }

    div[mat="yes"] .form-control:placeholder-shown ~ label {
        font-size: 15px !important;
        top: 10px;
        background-color: transparent !important;
    }

    div[mat="yes"] .form-control:focus ~ label {
        font-size: 10px !important;
        top: -6px !important;
        background-color: white !important;
    }

    .wrapper
    {
        overflow-x:hidden;
    }
    body{
        overflow-x:hidden
    }
.btn {
    border-radius: 150px;
    /* color: white; */
    min-width: 100px;
    border: none;
    padding: 10px;
    margin: 5px;
}
.btn:hover
{
    transform:translateY(-2px);
}

.btn-light {
    box-shadow: 1px 1px 15px #cdcdcd99;
    background: linear-gradient(90deg, #cfcccc, #ffffff);
}
.btn-light:hover {
    box-shadow: 1px 1px 15px #cdcdcd99;
    background: linear-gradient(90deg, #cfcccc, #ffffff);
}

    .btn-primary:hover {
        background: linear-gradient(90deg, #4e54c8, #8f94fb);
    }

.btn-primary {
    box-shadow: 1px 1px 15px #4e54c899;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
}

.btn-primary:hover {
    
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
}

.form-control
{
    border-radius:150px;
}


.btn-success {
    box-shadow: 1px 1px 15px #4e54c899;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
}
.btn-success:hover {
    box-shadow: 1px 1px 15px #4e54c899;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
}

.btn-danger {
    background: linear-gradient(90deg, #c60404, #fd6983);
    box-shadow: 1px 1px 15px #ff00005e;
}
.btn-danger:hover {
    background: linear-gradient(90deg, #c60404, #fd6983);
    box-shadow: 1px 1px 15px #ff00005e;
}

.btn-warning {
    background: linear-gradient(90deg, #fbae0e, #f4fd69);
    box-shadow: 1px 1px 15px #b289035e;
    color: black;
}

.btn-warning:hover {
    background: linear-gradient(90deg, #fbae0e, #f4fd69);
    box-shadow: 1px 1px 15px #b289035e;
    color: black;
}


/* بخش لیست بازی‌ها */
.games-section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.3rem;
        color: #2b2b2b;
        position: relative;
        display: inline-block;
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
            bottom: -10px;
            right: 0;
        }

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position:relative;
}

    .game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.game-image {
    width: 100%;
   
    object-fit: contain;
    z-index: 3;
    background:cover !important;

}

.game-back
{
    z-index:2;
    position:absolute;
    left:0px;
    top:0px;
    right:0px;
    bottom:0px;
    filter:blur(5px);

}
.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2b2b2b;
}

.game-genre {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.game-price {
    display: flex;
    justify-content: sprace-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-weight: 700;
    color: #4e54c8;
}

.add-to-cart {
    background: #4e54c8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .add-to-cart:hover {
        background: #3a41b5;
    }


@media (max-width: 768px)
{
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}