.p2p-team-participant {
    width: 100%;
    background-size: cover !important;
}

.p2p-team-participant__img-layer {
    width: 100%;
    height: 468px;
    background: url(../../images/layer.png) no-repeat;
    background-size: 100% 468px;
}

.p2p-team-participant__bg-layer {
    width: 100%;
    height: 468px;
    background: linear-gradient(90deg, #BEBEBE 31%, rgba(217, 217, 217, 0.00) 73%);
}

.p2p-team-participant__about {
    padding-top: 56px;
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.p2p-team-participant__header {
    color: #1E0A3B;
    font-size: 48px;
    font-weight: 600;
    line-height: 76px;
}

.p2p-team-participant-container {
    max-width: 1000px;
    border-radius: 4px;
    min-height: 88px;
    background: #FFF;
    margin: -55px auto 60px auto;
    padding: 12px 50px 60px 50px;
    box-sizing: border-box;
}

.p2p-team-participant__title {
    color: #1E0A3B;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 55px;
    margin: 0;
    padding: 0;
}

.p2p-team-participant__divider {
    width: 80px;
    height: 2px;
    border-radius: 5px;
    background: var(--primary-color);
    margin: auto;
}

.p2p-team-participant__search {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.p2p-team-participant__search-label {
    color: #B3B3B3;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px; /* 305.556% */
    letter-spacing: 0.9px;
}

.p2p-team-participant__search .form-control {
    border-radius: 5px;
    border: 1px solid #BBB;
    background: #FFF;
    color: #B3B3B3;
    height: 42px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px; /* 392.857% */
    box-shadow: none !important;
}

.p2p-team-participant__members {
    margin-top: 40px;
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
}

.p2p-team-participant__team-name {
    margin-top: 20px;
    width: 100%;
    height: 42px;
    border-radius: 5px;
    background: var(--primary-color);
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    padding: 0 20px;
}

.p2p-team-participant__team-state {
    display: flex;
    gap: 12px;
    flex-flow: wrap;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.p2p-team-participant__team-state-card {
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    background: #FFF;
    height: 54px;
    flex: 1 1;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
}

.p2p-team-participant__team-goal {
    color: var(--primary-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.p2p-team-participant__team-donation {
    color: #000;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

.p2p-team-participant__card {
    position: relative;
    max-width: 205px;
    height: 315px;
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
    z-index: 1;
    width: 100%;
    cursor: pointer;
}

.p2p-team-participant__leader {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 22px;
    right: 22px;
}

.p2p-team-participant__card-effect {
    width: 215px;
    height: 79%;
    background: var(--primary-lighter);
    position: absolute;
    left: -3px;
    bottom: -3px;
    border-radius: 8px;
    z-index: -1;
}

.p2p-team-participant__card-body {
    max-width: 205px;
    width: 100%;
    height: 313px;
    background: #FFF;
    z-index: 2;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    margin: 0 0 2px 2px;
    flex-direction: column;
}

.p2p-team-participant__card-image {
    max-width: 175px;
    height: 141px;
    border-radius: 5px;
    background: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p2p-team-participant__member-name {
    color: var(--primary-color);
    height: 44px;
    min-height: 18px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p2p-team-participant__progress {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #D9D9D9;
    overflow: hidden;
}

.p2p-team-participant__progress-bar {
    width: 0;
    height: 4px;
    border-radius: 2px;
    background: #172A53;
}

.p2p-team-participant__goal {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.p2p-team-participant__goal-label {
    color: #393939;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.24px;
}

.p2p-team-participant__goal-value {
    color: #393939;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.24px;
}

.p2p-team-participant__achieved {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.p2p-team-participant__achieved-label {
    color: #393939;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.24px;
}

.p2p-team-participant__achieved-value {
    color: #393939;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.24px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {

    .p2p-team-participant__about {
        padding: 56px 20px 0 20px;
    }

    .p2p-team-participant__bg-layer {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 25px;
        background: linear-gradient(90deg, #BEBEBE 50%, rgba(217, 217, 217, 0.00) 100%);
    }

    .p2p-team-participant-container {
        margin-top: 0;
        padding: 12px 20px 40px 20px;
    }

    .p2p-team-participant__header {
        font-size: 44px;
    }

    .p2p-team-participant__card-body {
        gap: 23px;
    }

    .p2p-team-participant__card {
        max-width: calc(100% - 10px);
        height: auto;
    }

    .p2p-team-participant__card-effect {
        width: 103%;
        left: -4px;
    }

    .p2p-team-participant__card-body {
        max-width: calc(100% - 0px);
        height: auto;
    }

    .p2p-team-participant__card-image {
        height: auto;
        max-width: 100%;
    }

    .p2p-team-participant__member-name {
        height: auto;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .p2p-team-participant__card-body {
        gap: 40px;
    }

    .p2p-team-participant__about {
        padding-left: 25px;
    }

    .p2p-team-participant__team-state-card {
        flex: 1;
    }
}