:root {
    --h-color: rgb(255, 255, 255);
    --color-p: rgb(142,143,149);
    --color-text-and-btn: rgb(10, 145, 255);
    --color-bold: rgb(78, 79, 235);
    --background-color-hover: rgb(0, 86, 179);
    --h2-size-text: 30px;
    --color-relax:rgb(213, 241, 255);
    --color-back-box: rgb(81, 81, 81);
    --border-radius: 8px;
    --font-size-mobile: 18px;
    --font-size-text: 16px;
    --padding-usually-left: 30px;
    --padding-usually-top: 15px;
    --padding-50px: 50px;
    --margin-50px: 50px;
}

.back_game {
    background-image: url(../images/imagesGame/3194173.jpg);
    margin: 0;
    height: 100vh;
    
}


.my_profile {
    text-align: center;
}


.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10rem; /* فاصله بین آیتم‌ها */
    padding: 10px;
    background-color: white;
    border-radius: 9999px; /* برای ایجاد دایره کامل */
    border: 1px solid transparent;
}

/* برای اندازه‌های کوچک‌تر */
@media (max-width: 640px) {
    .search-container {
        display: none;
        
    }
}

.search-input {
    flex-grow: 1;
    outline: none;
    padding-right: 2.5rem; /* فضای داخلی برای فاصله دادن از دکمه */
    background-color: transparent;
    color: #1f2937; /* رنگ متن خاکی */
    font-family: 'Vazir', sans-serif; /* استفاده از فونت فارسی Vazir */
    font-size: 16px; /* اندازه فونت در حالت پیش‌فرض */
    border: 0;
}

/* برای اندازه‌های بزرگ‌تر */
@media (min-width: 768px) {
    .search-input {
        font-size: 16px; /* اندازه فونت بزرگ‌تر در صفحات بزرگ‌تر */
    }
}

.search-button {
    background-color: var(--color-bold); /* رنگ سبز */
    padding: 10px;
    border-radius: 30px; /* دایره شدن گوشه‌های دکمه */
    border: 0;
    cursor: pointer;

}

.search-button img {
    width: 30px;
    height: 30px;
}
