.demo_card {
    display: flex;
    background-color: var(--bg-color);
    border-radius: 6px;
    padding: 5px 5px 5px 8px;
    overflow: hidden;
    -webkit-user-drag: none;
    position: relative;
    cursor: pointer;
    justify-content: space-between;
    transition: .3s;
    width: 100%;
    align-items: flex-end;
}

.demo_card:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(22 22 22 / 79%), rgb(22 22 22 / 39%), transparent);
    z-index: 1;
    transition: .3s;
}

.demo_content {
    display: flex;
    z-index: 1;
}

.demo_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.demo_title_map {
    display: block;
    font-size: 11px;
    color: var(--default-text-color);
    font-weight: 700;
    border-radius: 3px;
    padding: 5px 10px;
    background-color: rgb(22 22 22 / 34%);
    white-space: nowrap;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo_score {
    font-size: 25px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.demo_t_score {
    color: var(--t-color);
    font-weight: 800;
    width: 25px;
    text-align: center;
}

.demo_ct_score {
    color: var(--ct-color);
    font-weight: 800;
    width: 25px;
    text-align: center;
}

.demo_date {
    font-size: 9px;
    font-weight: 500;
    color: var(--default-text-color);
}

.demo_map {
    position: absolute;
    width: 100%;
    height: auto;
    top: -10px;
    left: 0;
    z-index: 0;
    transition: .3s linear;
}

.demo_t_img {
    position: relative;
    width: 25px;
    height: 25px;
    -webkit-user-drag: none;
    border-radius: 50px;
    background-color: rgb(255 193 7 / 15%);
    padding: 5px;
    border: 2px solid var(--t-color);
    margin-right: 5px;
    opacity: .3;
    filter: grayscale(1);
    transition: .3s;
}

.demo_ct_img {
    position: relative;
    width: 25px;
    height: 25px;
    -webkit-user-drag: none;
    border-radius: 50px;
    background-color: rgb(33 150 243 / 15%);
    padding: 5px;
    border: 2px solid var(--ct-color);
    margin-left: 5px;
    opacity: .3;
    filter: grayscale(1);
    transition: .3s;
}

.demo_pin_size_image {
    width: 17px;
    height: 17px;
    -webkit-user-drag: none;
    margin-right: 3px;
}

.demo_eye {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border-radius: 3px;
    flex-direction: column;
    height: 22px;
    width: 22px;
}

.demo_eye svg {
    width: 14px;
    height: auto;
    opacity: .5;
    fill: var(--default-text-color);
    transition: .3s;
}

.demo_card:hover svg {
    fill: var(--span-color);
    opacity: 1;
}

.demo_card:hover .demo_map {
    filter: blur(1px);
    opacity: .7;
}

.demo_card:hover .profile_demo_eye {
    backdrop-filter: blur(1px);
    background-color: rgb(0 0 0 / 40%);
    transition: .3s;
}

.demo_card:hover .demo_info {
    transition: .3s;
}

@media (max-width:450px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width:451px) and (max-width:674px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:675px) and (max-width:900px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:901px) and (max-width:1119px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width:1120px) and (max-width:1343px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width:1344px) {
    .lastdemos_wrap {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(6, 1fr);
    }
}

.demo_title {
    display: flex;
    background-color: var(--card-color);
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    height: 47px;
    margin-bottom: 10px;
}

.demo_title span {
    display: flex;
    gap: 5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--custom-text-color);
    align-items: center;
}

.demo_title span svg{
    width: 12px;
    height: auto;
    fill: var(--custom-text-color);
}

.demo_card:hover .demo_t_img,
.demo_card:hover .demo_ct_img {
    opacity: 1;
    filter: grayscale(0);
}

.demo_new {
    display: flex;
    position: absolute;
    line-height: 17px;
    z-index: 2;
    top: 5px;
    right: 5px;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: rgb(22 22 22 / 34%);
    color: var(--green-color);
    align-items: center;
    justify-content: center;
}