@font-face {
    font-family: font me;
    src: url(../font/yekan.woff);
}

body {
    font-family: font me, serif;
    direction: rtl;
    background-color: #4d4d4d;
}

.header {
    height: 80px;
    background-color: #2d2b2a;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 8px 20px 6px #2f2d2d;
    display: flex;
    justify-content: space-between;
}

.header_box {
    display: flex;
    align-items: center;
    margin-top: 6px;
    margin-right: 6px;
}

.header_img {
    width: 70px;
}

.header_text1 {
    font-family: font me, serif;
    font-size: 30px;
    margin-right: 5px;
    color: white;


}

.header_text2 {
    font-family: font me, serif;
    color: #7fef9f;

}

.main {
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titre {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.titre_text {
    font-family: font me, serif;
    color: white;
}

.box {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.box_1 {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    background-color: #282928;
    height: 245px;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 #2f2d2d;
    transition: 0.3s;
}

.box_1:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px 6px #2f2d2d;
}


.box_img {
    width: 38%;
    margin-top: 15px;
}

.box_text {
    color: white;
    font-size: 23px;
    margin-top: 7px;
}

.box_button {
    padding: 8px 42px;
    margin-top: 18px;
    background-color: #6ec76d;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;

}

.box_button:hover {
    background-color: #539552;

}

@media (max-width: 570px) {


    .header_img {
        width: 60px;
    }

    .header_text1 {
        font-family: font me, serif;
        font-size: 25px;
        margin-right: 5px;
        color: white;


    }

    .header_text2 {
        font-family: font me, serif;
        color: #7fef9f;

    }
}


/* main style */
.main_list_box1 {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.main_list_box2 {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    background-color: #282928;
    height: 245px;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 #2f2d2d;
    transition: 0.3s;
}

.main_list_box2:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px 6px #2f2d2d;
}

.main_list_box_img {
    width: 38%;
    margin-top: 15px;
}

.main_list_box_span {
    color: white;
    font-size: 23px;
    margin-top: 7px;
    text-decoration: none;
}

.m_header_user_box {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 6px;
    margin-left: 6px;
}

.m_header_user_icon {
    width: 75px;
}

.m_header_user_name {
    font-size: 25px;
    color: white;
}

.m_exit_button {
    cursor: pointer;
    font-family: font me, serif;
    background-color: #fb3535;
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}
.m_exit_button:hover{
    background-color: #f43939;
    box-shadow: 0 0 7px 1px #fb3535;

}

@media (max-width: 570px) {
    .m_header_user_icon {
        width: 65px;
    }

    .m_header_user_name {
        display: none;
    }
}




/* user profile style */

.up_user_prof_box1{

}
.up_user_prof_box2{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #343736;
    width: 95%;
    border-radius: 7px;
    margin-top: 25px;

}
.up_user_prof_box3{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.up_user_prof_box4{
    display: flex;
    background-color: #343736;
    width: 95%;
    border-radius: 7px;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 18px;
}
.up_user_prof_box5{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin-top: 25px;
}

.up_user_prof_img_us{
    width: 100px;
}
.up_user_prof_text_kod{
    color: #fffcf9;
    font-size: 18px;
}
.up_user_prof_text_kod2{
    color: #65b346;

}


/* tuition style */


.slider-wrapper {
    position: relative;
    max-width: 600px;
    margin:110px auto auto auto;
    width: 70%;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.arrow.left {
    right: 100%;
    margin-right: 10px;
}

.arrow.right {
    left: 100%;
    margin-left: 10px;
}

.month-slider-container {

    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: #fff;
}

.month-slider {
    direction: ltr;
    display: flex;
    flex-direction: row-reverse; /* چون RTL هستیم */
    transition: all 0.3s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* فایرفاکس */
    background-color: #7a7773;
}

.month-slider::-webkit-scrollbar {
    display: none; /* کروم */
}

.month-slider a {
    flex: 0 0 auto;
    padding: 10px 20px;
    margin: 10px;
    background-color: #2ce174;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background 0.2s;
}

.month-slider a:hover {
    background-color: #4f9c4e;
}


.tuition_list_box1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;


}

.tuition_list_box2 {
    background-color: #606265;
    width: 98%;
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px 0;
}

.tuition_list_box3 {
    width: 210px;
}

.tuition_list_box4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.tuition_list_text1 {
    position: relative;

    font-size: 22px;
    color: white;
}

.tuition_list_text2 {
    color: #3ce572;
}


.form_position {
    display: flex;
    justify-content: center;
    margin-top: 10px;

}

.tuition_list_input_text {
    width: 45px;
    font-size: 19px;
    border-radius: 12px;
    padding: 0 10px 0 10px;
    direction: ltr;
}

.tuition_list_submit_btn {
    padding: 3px 13px;
    background-color: #3ce572;
    border-radius: 7px;
    font-family: 'font me', serif;

}


@media (max-width: 500px) {
    .tuition_list_text1 {
        font-size: 18px;
    }
    .tuition_list_box3{
        width: 175px;

    }
    .tuition_list_submit_btn {
        padding: 2px 8px;
    }
    .tuition_list_input_text {
        width: 30px;

    }

}
.tuition_list_input_search{
    font-size: 20px;
    font-family: 'font me', serif;
    margin-top: 20px;
    border-radius: 19px;
    width: 301px;
    padding: 0 10px;
    border: solid rgb(30 207 134 / 87%);
    box-shadow: 0 0 11px 1px rgb(30 207 134 / 87%);
}