@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

html,
body {
    height: 100%;
    margin: 0;
        color: #2d2d2d;
        /* background-color: #fcfbf7; */
        font-family: "Noto Sans Arabic", sans-serif;
        direction: rtl;
    max-width: 100vw;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: 700;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.content {
    flex: 1;
}

/* padding */
.p-0 {
    padding: 0;
}


/* margin */
.mtb-20 {
    margin: 20px 0;
}

a:link,
a:visited,
a:active {
    color: #ff3131;
    text-decoration: none;
}

a:hover {
    color: #2d2d2d;
    text-decoration: none;
}

/* clear */
.clear {
    clear: both;
}

.clear5x {
    clear: both;
    height: 5px;
}

.clear10x {
    clear: both;
    height: 10px;
}

.clear15x {
    clear: both;
    height: 15px;
}

.clear20x {
    clear: both;
    height: 20px;
}

.clear25x {
    clear: both;
    height: 25px;
}

.clear30x {
    clear: both;
    height: 30px;
}

header {
    /* background: url(../img/header_bg.png); */
    /* padding: 0 0 30px 0; */
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo img {
    width: 170px;
    height: auto;
    /* margin: 35px 0 0 0; */
}

.menu {
    /* background: #e1e1e1; */
    direction: rtl;
    text-align: center;
    padding: 20px 0;
    /* margin: 20px 0 0 0; */
}

.menu ul {
    margin: 0 !important;
}

.menu ul li {
    list-style: none;
    display: inline;
    margin: 0 2px;
    font-size: 14px;
    font-weight: 600;
    /* background:#e4e4e4; */
    padding: 8px 10px;
}

.menu ul li a:link,
.menu ul li a:visited,
.menu ul li a:active {
    color: #222;
    text-decoration: none;
}

.menu ul li:hover {
    color: #fff;
    background: #ff3131;
}

.menu ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.game_img {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
}

.game_bg {
    background-color: #5e17eb;
}

.game_bg2 {
    background: url('../img/slide-bg.png') no-repeat center -350px;
    background-size: cover;
}

.gameimg {
    width: 50%;
    height: auto;
    margin: 5%;
}

.title {
    text-align: center;
    margin: 20px 0;
}

.game_detail {
    margin: 15% 10% 0 10%;
}

.game_detail h1 {
    color: #ff3131;
    font-size: 40px;
}

.game_discription {
    font-size: 18px;
    font-weight: 500;
}

.btn1 {
    background: #ff3131;
    border: none;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 0 20px;
    color: white !important;
}


.btn1:hover {
    background: #222;
    border: none;
    color: #fff;
}

.btn2 {
    background: #222;
    border: none;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    color: white !important;
    margin: 20px 20px 0 0;
}

.btn2:hover {
    background: #ff3131;
    border: none;
    color: #fff;
}

/* footer */
footer {
    background: #eee;
    margin: 20px 0 0 0;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.login_btn {
    float: left;
    margin: 25px 0 0 46%;
}

/* Login */
.log_con {
    background: #f7f7f7;
    border: solid 1px #eee;
    padding: 20px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    margin: 20px 0;
}

.my_label {
    width: 100px;
    font-size: 14px;
}

.my_input {
    border: solid 1px #eee;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 8px 12px;
    width: 270px;
}



.card_details {
    padding: 20px 15px;
    margin: 0 0 25px 0;
    font-size: 16px;
    background: #eee;
    border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
        -webkit-border-radius: 0 0 8px 8px;
}

.card_details span {
    font-weight: bold;
    float: left;
    color: #ff3131;
}

.img_auto {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
}

.img-auto {
    width: 100%;
    height: auto;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.my_card:hover {
    opacity: 0.8;
}

.input2_container {
    border: solid 1px #eee;
    padding: 10px;
}

.input2 {
    border: none;
    width: 90%;
}

.input3 {
    width: 50%;
    border: solid 1px #eee;
    padding: 5px 10px;
}

.input2:focus {
    outline: none;
}

.input4 {
    border: solid 1px #eee;
    padding: 10px;
    width: 300px;
}


.score {
    list-style: none;
    background: #f7f7f7;
    border: solid 1px #dfdfdf;
    padding: 0;
    margin: 15px 0 0 0;
    color: #222;
    font-weight: bold;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

.score li {
    border-bottom: solid 1px #dfdfdf;
    padding: 10px;
}

.score li a:link,
.score li a:visited,
.score li a:active {
    color: #222;
    display: block;
}

.score li a:hover {
    color: #ff3131;
}

.score li:hover {
    background: #dfdfdf;
}

.score li span {
    float: left;
    background: #aaaaaa;
    padding: 2px 10px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.score li:last-child {
    border-bottom: 0;
}

.vote {
    border: solid 8px #28a645;
}

.vote-text,
.vote-text2 {
    color: #28a645;
    margin: 15px 0;
    text-align: center;
    font-size: 14px;
}

.vote-text2 {
    color: #222 !important;
}

/* Dropdown menu */
/* Style the dropdown button */
.dropbtn {
    background: #ff3131;
    color: white;
        padding: 10px 30px;
        font-size: 16px;
        font-weight: 500;
        border: none;
        cursor: pointer;
        float: left;
        margin: 25px 0 0 46%;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
        background-color: #ff3131;
        min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    top: 68px;
        left: 46%;
        font-size: 14px;
        font-weight: 500;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
        text-decoration: none;
        display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #222;
    color: #fff;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when hovering over it */
.dropdown:hover .dropbtn {
    background-color: #222;
    color: #fff;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    /* Adjust width as needed */
    }

.step {
    width: 30px;
    /* Adjust size of each dot */
        height: 30px;
        /* Adjust size of each dot */
        border-radius: 50%;
        /* To make it a circle */
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    /* Adjust font size */
    position: relative;
    font-weight: 600;
}

.step.active {
    background-color: #ff3131;
    /* Active step color */
        color: #fff;
        /* Text color for active step */
    }

/* picture selection */

.picture-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.picture {
    position: relative;
    cursor: pointer;
}

.picture img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
}

.check-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-image: url('../img/check-icon.png');
    /* Replace with your check icon */
    background-size: cover;
    opacity: 0;
    /* Initially hidden */
    }

.picture.selected .check-icon {
    opacity: 1;
    /* Show check icon for selected pictures */
    }



/*iPod, Tablet Devices*/
@media all and (max-width: 1200px) and (min-width: 480px) {

    .game_bg2 {
        background-size: auto !important;
    }

}

/*Mobile Devices.*/
@media all and (max-width: 480px) and (min-width: 320px) {
    .my_input {
            width: 100%;
        }

    .login_btn {
        margin: 0;
        }

        .logo {
            text-align: center;
            margin-bottom: 30px;
        }

        .mtb-5 {
            margin: 5px 0 !important;
        }

        .gameimg {
            width: 60%;
            height: auto;
        }

        .game_bg2 {
            background-size: auto !important;
        }

        .game_detail {
            margin: 5%;
        }

}

.avatar {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    border: 1px solid #ccc;
}

.cursor-pointer {
    cursor: pointer;
}

.right-0 {
    right: 0;
}

.w-max {
    width: max-content;
}

.cardset-img {
    aspect-ratio: 5/3;
}
