.background-image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

body{
    background-image: url("./assets/background.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.root{
    display: grid;
    grid-template-columns: 1fr 893px 1fr;
    margin-top: 43px;
}

.teams{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team{
    padding: 15px 10px 10px 10px;
    background-color: #161616;
    border-radius: 10px;
    width: 325px;
    height: 203px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 15px;

    border: 1px solid transparent;
}

.team.active{
    background: linear-gradient(#FB0742, #F50740);
    border: 1px solid #FFFFFF;
}

.team-name{
    font-size: 10px;
    line-height: 6px;
    text-transform: uppercase;
}

.team-players{
    display: flex;
    flex-direction: row;
}

.team-player{
    height: 156px;
    width: 100%;
    background: linear-gradient(#161616, #383838);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-player:nth-child(2n){
    background: linear-gradient(#383838, #161616);
}

.team-player.picked{
    background: linear-gradient(#D22AB1, #4A0441);
}

.team-player.picked:nth-child(2n){
    background: linear-gradient(#4A0441, #D22AB1);
}

.team-player:first-child{
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.team-player:last-child{
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.team-player-data{
}

.team-player-name{
    writing-mode: vertical-rl;
    position: absolute;
    margin-top: 5px;
    margin-left: 3px;

    font-size: 8px;
    text-transform: uppercase;
}

.team-player-role{
    background-color: #222222;
    border-radius: 5px;
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;

    margin-top: 7px;
    margin-left: 16px;

    width: 29px;
    height: 29px;
}

.team-player-photo{
    height: 116px;
    width: 100%;

    background-repeat: no-repeat;
    background-position: center;
}

.team-player-photo{
    background-image: url("./assets/empty-riftmasters-black.png");
}

.team-player-photo.picked{
    background-image: url("./assets/photos/unknown.png");
    background-size: cover;
}

.team-player:nth-child(2n) .team-player-photo{
    background-image: url("./assets/empty-riftmasters-white.png");
}

.team-player:first-child .team-player-photo{
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.team-player:last-child .team-player-photo{
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.pick{
    display: flex;
    flex-direction: column;
}

.pick-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin-top: 11px;
}

.filter{
    width: 473px;
    height: 34px;
    border-radius: 10px;
    background: #161616;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
    padding: 5px 15px 5px 6px;
}

.filter-input{
    background: #222222;
    border-radius: 7px;

    display: flex;
    flex-direction: row;
    gap: 6px;

    width: 290px;
    height: 24px;
    box-sizing: border-box;
    padding: 6px;
}

.filter-input-icon{
    background-image: url("./assets/lens.svg");
    width: 11px;
    height: 12px;
}

.filter-input-input{
    width: 259px;

    text-transform: uppercase;
    font-size: 10px;
}

.filter-roles{
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.filter-role{
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center;

    width: 24px;
    height: 24px;

    border-radius: 5px;
    cursor: pointer;
}

.filter-role:hover,
.filter-role.target
{
    background-color: #DF1041;
}

.pick-header-right{
    display: flex;
    flex-direction: row;
    gap: 49px;
    justify-content: center;
}

.pick-button{
    width: 128px;
    height: 34px;
    background-image: url("./assets/pick-button.svg");

    cursor: pointer;
}

.pick-button.disabled{
    background-image: url("./assets/pick-button-disabled.svg");
    cursor: default;
}

.pick-countdown{
    font-size: 40px;
    line-height: 34px;
    width: 88px;
}

.pick-body-wrap{
    width: 893px;
    height: 724px;

    box-sizing: border-box;


    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;

    background-color: #161616;

    margin-top: 30px;
}

.pick-body::-webkit-scrollbar {
    width: 3px;               /* width of the entire scrollbar */
}

.pick-body::-webkit-scrollbar-track {
    background: #222222;        /* color of the tracking area */
}

.pick-body::-webkit-scrollbar-thumb {
    background-color: #7B32DF;    /* color of the scroll thumb */
    border-radius: 10px;       /* roundness of the scroll thumb */
    /*border: 3px solid #000000;  !* creates padding around scroll thumb *!*/
    width: 3px;
}

.pick-body{
    max-height: 100%;

    box-sizing: border-box;
    padding: 20px 0 20px 20px;

    display: flex;
    flex-direction: row;
    gap: 20px;
    row-gap: 10px;


    flex-flow: wrap;

    overflow-y: auto;
}

.pick-player{
    height: 156px;
    width: 125px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #222222;

    display: flex;
    flex-direction: column;

    cursor: pointer;
}

.pick-player.back.picked{
    border: 3px solid #DF0D40;
}

.pick-player.back{
    border: 3px solid transparent;
}

.pick-player.picked .pick-player-photo-wrap{
    background: linear-gradient(#24060D, #6C0820, #D60D3D);
}

.pick-player.disabled{
    filter: grayscale(1) opacity(0.5);
    cursor: default;
}

.pick-player-photo-wrap{
    width: 125px;
    height: 116px;

    background: linear-gradient(#490441, #BC2BA1);
    border-radius: 10px;

    flex-shrink: 0;
}

.pick-player-photo{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 5px;

    display: flex;
}

.pick-player-role{
    background-color: #222222;
    border-radius: 5px;
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;

    width: 29px;
    height: 29px;

    display: flex;
    align-self: end;
}

.pick-player-name{
    width: 105px;
    height: 100%;

    text-transform: uppercase;
    font-size: 12px;

    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.pick-player-rank{
    height: 76px;
    width: 95px;

    margin-top: 8px;

    align-self: center;
}

.pick-player-back-name{
    height: 30px;
    width: 95px;

    text-transform: uppercase;
    font-size: 12px;

    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
}

.pick-player-links{
    display: flex;
    flex-direction: row;
    gap: 13px;

    align-self: center;
}

.pick-player-link{
    width: 34px;
    height: 34px;
    border-radius: 5px;
}

.link-opgg{
    background-image: url("./assets/opgg.png");
}

.link-pros{
    background-image: url("./assets/pros.png");
}

.link-pros.disabled{
    background-image: url("./assets/pros-disabled.png");
}

.promo{
    margin-top: 20px;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
}

.promo-center{
    display: flex;
    gap: 80px;

    align-items: center;
}

.promo-riftmasters{
    width: 75px;
    height: 65px;
    background-size: contain;

    background-image: url("./assets/riftmasters.svg");
}

.promo-funpay{
    width: 140px;
    height: 53px;
    background-size: contain;

    background-image: url("./assets/funpay.svg");
}

