body {
    background-color: #070F23;
}

.header-1 {
    width: 100%;
    height: 110px;
    background-color: #283B60;
}

.header-1 img {
    margin: 10px;
    margin-left: 20px;
}

.btn-back {
    width: 60px;
    height: 60px;
    background-color: #E2B356;
    background-position: center;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 7px;
    border: none;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(../../media/img/vector2.png);
}

.box-img-1 {
    width: 100%;
    height: 376px;
}

.box-banner {
    height: 376px;
    background-color: white;
    width: 95%;
    border-radius: 20px;
    margin: 2.5%;
    position: relative;
}

.h1-title {
    font-size: 50px;
    margin-top: 40px;
    font-weight: bold;
    direction: rtl;
    margin-right: 30px;
    float: right;
}

.p-detail-banner {
    float: right;
    margin-top: 30px;
    margin-right: 30px;
    direction: rtl;
}

.btn-left-detail {
    width: 200px;
    float: right;
    background-color: #E2B356;
    color: #070F23;
    border: none;
    height: 50px;
    margin-right: 10px;
    border-radius: 10px;
}

.btn-right-detail {
    width: 200px;
    float: right;
    border: 2px solid #E2B356;
    border-radius: 10px;
    height: 50px;
    background: none;
    margin-right: 30px;
}

.inp {
    width: 90%;
    margin: 5%;
    height: 50px;
    text-align: center;
    border-radius: 10px;
    margin-top: 0;
    font-size: 30px;
}

.filter-date,
.filter-type {
    height: 60px;
}

.box-league {
    width: 95%;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
}

.box-firsts {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
}

.box-second {
    width: 240px;
    text-align: center;
}

.player-info {
    margin-bottom: 10px;
}

.player-name {
    font-size: 26px;
    font-weight: bold;
    color: #24345c;
    margin-bottom: 5px;
}

.player-name img {
    width: 42px;
    vertical-align: middle;
}

.player-time {
    font-size: 22px;
    color: #23355c;
    font-weight: bold;
}

.player-time span {
    color: #ff4242;
    font-size: 14px;
    margin-right: 6px;
}

.podium {
    position: relative;
    border-radius: 8px 8px 0 0;
}

.rank-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(4px);

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 36px;
    font-weight: bold;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* سکوی اول */

.podium-first {
    height: 230px;
    background: linear-gradient(#FFD64D, #F5B700);
}

/* سکوی دوم */

.podium-second {
    height: 170px;
    background: linear-gradient(#ECECFF, #D8D7F8);
}

/* سکوی سوم */

.podium-third {
    height: 140px;
    background: linear-gradient(#FFA14A, #F18122);
}

/* ترتیب نمایش */

.first {
    order: 2;
}

.second {
    order: 1;
}

.third {
    order: 3;
}

.box-append-others {
    width: 100%;
    margin-top: 20px;
}

.box-other {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.other-left {
    font-size: 22px;
    font-weight: bold;
    color: #283B60;
}

.other-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-name {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #283B60;
}

.p-time {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #283B60;
}

.box-rank {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #E2B356;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

/* ---------- Mobile ---------- */

@media screen and (min-width: 769px) and (max-width: 1280px) {

    .box-img-1 img {
        height: 376px;
        position: relative;
        left: 50%;
        transform: translate(-50%);
    }

    .box-firsts {
        gap: 12px;
    }

    .box-second {
        max-width: 200px;
        min-width: 160px;
    }

    .podium-first {
        height: 190px;
    }

    .podium-second {
        height: 150px;
    }

    .podium-third {
        height: 120px;
    }

    .player-name {
        font-size: 20px;
    }

    .player-time {
        font-size: 18px;
    }

    .rank-circle {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }


    .box-banner {
        height: fit-content;
    }
}

@media screen and (max-width: 768px) {


    .box-firsts {
        flex-direction: column;
        align-items: center;
    }

    .first {
        order: 1;
    }

    .second {
        order: 2;
    }

    .third {
        order: 3;
    }

    .box-second {
        width: 100%;
        max-width: 320px;
    }

    .podium-first {
        height: 180px;
    }

    .podium-second {
        height: 150px;
    }

    .podium-third {
        height: 120px;
    }

    .player-name {
        font-size: 18px;
    }

    .player-time {
        font-size: 16px;
    }

    .rank-circle {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .btn-left-detail {
        width: 40%;
        float: right;
        background-color: #E2B356;
        color: #070F23;
        border: none;
        height: 50px;
        margin-right: 10px;
        border-radius: 10px;
    }

    .btn-right-detail {
        width: 40%;
        float: right;
        border: 2px solid #E2B356;
        border-radius: 10px;
        height: 50px;
        background: none;
        margin-right: 30px;
    }

    .box-banner {
        height: fit-content;
    }

    .box-img-1 img {
        width: 100%;
        height: 376px;
        position: relative;
        left: 50%;
        transform: translate(-50%);
    }

    .h1-title {
        width: 100%;
        margin: 7px;
    }
}