* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jura", sans-serif;

}

body {
    background: url('../images/img/main-bg.svg');
    background-size: cover;
    overflow: hidden;
}

/* header css */
header {
    position: relative;
    padding: 0.8rem;
    align-items: center;

    /* height: 90px; */
    height: 8vh;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgb(255 255 255 / 33%), rgb(50 50 50 / 83%));
        top: 0;
        filter: blur(2px);
        left: 0;
    }

    .sidebar-toggle {
        i {
            /* font-size: 2em; */
            font-size: 100%;
        }
    }
}

.img-logo {
    width: 4%;
    /* width: 20%; */
    left: 48vw;
    position: relative;
    z-index: 1;
}

/* display content  */

/* btn styling */
.link-page .orange-border {
    clip-path: polygon(10% 0%, 100% 0, 100% 50%, 90% 100%, 0 100%, 0% 50%);
    border: 1px solid #FF9300;
    background: #FF9300;
}

.btn-style {
    /* clip-path: polygon(10% 0%, 100% 0, 100% 50%, 90% 100%, 0 100%, 0% 50%); */
    display: inline-block;
    cursor: pointer;

    .btn.disabled,
    .btn:disabled,
    fieldset:disabled .btn {
        background: rgba(81, 81, 81, 1);
    }

    /* &.orange-border {
        border: 1px solid #FF9300;
        background: #FF9300;
    } */

    &.white-border {
        border: 1px solid #fff;
        position: relative;
        overflow: visible;
        background: #fff;
        clip-path: polygon(5% 0%, 100% 0, 100% 50%, 95% 100%, 0 100%, 0% 50%);

        .main-btn {
            background-color: #000;
            clip-path: polygon(5% 0%, 100% 0, 100% 50%, 95% 100%, 0 100%, 0% 50%);
        }

    }

    &.green-border {
        border: 1px solid #3D9F00;
        background: #3D9F00;
        clip-path: polygon(5% 0%, 100% 0, 100% 50%, 95% 100%, 0 100%, 0% 50%);

        .main-btn {
            background-color: #3D9F00;
        }

    }

    .main-btn {
        background-color: #FF9300;
        min-width: 199px;
        padding: 10px;
        border: 0;
        color: #fff;
        clip-path: polygon(10% 0%, 100% 0, 100% 50%, 90% 100%, 0 100%, 0% 50%);
        border-radius: 3px;
    }
}

/* text color */

.text-blue {
    color: #0094EE;
}

.text-red {
    color: #E91D3C;
}

.text-yellow {
    color: rgba(255, 147, 0, 1) !important;
}

.header-main-div {
    font-size: 1.5vh;
}

.sidebar-toggle {
    font-size: 2em !important;
}

.border-yellow {
    border-color: rgba(255, 147, 0, 1) !important;
}

.bg-dark-color {
    background: #010A13;
}

/* home */
.main-bg {
    min-height: calc(100vh - 90px);

    .top-header-strip {
        height: 6vh;
        font-size: 1.5vh;
    }

    .mid-select-player {
        height: 70vh;
    }

    &.enter-teams .container {
        background: url('../images/img/bg-game.png');
        background-size: cover;
        padding: 3rem;
        position: relative;
        display: flex;
        height: 80vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        form,
        .top-position {
            z-index: 1;
            position: relative;
        }




    }

    .input-box {
        clip-path: polygon(5% 0%, 100% 0, 100% 50%, 95% 100%, 0 100%, 0% 50%);
    }

    .blue-team {
        .input-box {
            border: 1px solid #0087D9;
            background: #0087D9;
        }
    }

    .red-team {
        .input-box {
            border: 1px solid #E91D3C;
            background: #E91D3C;
        }
    }

    input {
        background-color: #000;
        padding: 12px 30px;
        border: 0;
        color: #fff;
        clip-path: polygon(5% 0%, 100% 0, 100% 50%, 95% 100%, 0 100%, 0% 50%);

        &::placeholder {
            color: #fff;
            font-size: 12px;
        }
    }


    .left-graphic-img {
        width: 575px;
        object-fit: cover;
    }
}

/* create link page */
.icon-box {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    cursor: pointer;
    font-size: 14px;
}

/* select player css */
.padding-y-axis{
    padding: 3% 0;
}
.select-player {
    height: calc(100vh - 8vh);

    .default-img {
        /* width: 50px; */
        width: 20%;
    }

    .selected-players-box {
        height: calc(100% / 5.33);

        &.margin-bottom {
            margin-bottom: 10%;
        }
    }

    .selected-players-box.small {
        width: 50%;
        align-self: center;
    }

    .active-img {
        width: 100% !important;
        /* height: 100%; */
        height: 13vh;
        object-fit: cover;
        display: block;
        /*        object-position: center;*/
        object-position: top;
    }

    .left-player-side,
    .right-player-side {
        /* width: 300px; */
        width: 15%;
        /* height: calc(100vh - 286.33px); */
        position: relative;

        .left-side-player-container,.right-side-player-container {
            padding: 5%;
        }

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgb(86 86 88 / 79%);
            top: 0;
            left: 0;
            filter: blur(1px);
        }
    }

    .all-players-container {
        width: calc(100% - 30%);
        /* height: calc(100vh - 286.33px); */
        background: rgba(0, 0, 0, 0.5);
        position: relative;

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            /* height: 34px; */
            height: 7%;
            left: 0;
            background: #000;
            bottom: 100%;
            clip-path: polygon(3% 0%, 97% 0%, 100% 100%, 0% 100%);
        }
    }

    .bottom-player-side {
        position: relative;
        /* height: 150.33px; */
        height: calc(100% - 76vh);

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgb(86 86 88 / 79%);
            top: 0;
            left: 0;
            filter: blur(1px);
        }

        .player-box {
            width: calc(100% / 5);
            /* max-height: 118.33px; */
            /* height: 100%; */
            height: 13vh;
            overflow: hidden;

            &.margin-left {
                margin-left: 10%;
            }
            &.margin-right {
                margin-right: 10%;
            }
        }

        .left-bar {
            padding: 1% 1.2%;

            .player-box {
                transform: skewX(348deg);

                .default-img {
                    width: 35%;
                }
            }
        }

        .right-bar {
            padding: 1% 1.2%;

            .player-box {
                transform: skewX(12deg);

                .default-img {
                    width: 35%;
                }
            }
        }
    }
}

.blue-side,
.red-side {
    width: 50%;
    height: 100%;
    padding: 0% 2%;
    display: flex;
    align-items: center;
}

.blue-side {
    background: rgba(0, 148, 238, 1);
}

.red-side {
    background: rgba(190, 32, 56, 1);
}

.filter-img {
    width: 15%;
    cursor: pointer;
}

.center-selector-player {
    /*    height: calc(100% - 74px);*/
    /* height: calc(100% - 84px); */
    min-height: calc(100% - 85.94px);
    max-height: calc(100% - 51.59px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* height: 54vh; */
}

.all-players-box {
    /* min-height: 250px;
    max-height: calc(100% - 40px); */
    height: 46vh;

    overflow-y: auto;

    &::-webkit-scrollbar {
        width: 5px;
        position: absolute;
        right: 0;
    }



    &::-webkit-scrollbar-thumb {
        background: #888;
        position: absolute;
        right: 0;
    }

    .players-img {
        width: 110px;
        height: 110px;
        cursor: pointer;

        &.active {

            img {
                filter: grayscale(1);
            }

        }

        &.lock {

            img {
                filter: grayscale(1);
            }

        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
}

.highlighter {
    position: relative;
}
.team-name {
    font-size: 2em;
    height: fit-content;
}
.team-name-blue {
    margin-left: unset !important;
}
.team-name-red {
    margin-right: unset !important;
}
.highlighter::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10%;
    top: 0;
    left: 0;
}

.left-player-side .highlighter::before,
.left-bar .highlighter::before {
    background-color: #0094ee;
}

.right-player-side .highlighter::before,
.right-bar .highlighter::before {
    background-color: #be2038;
}

.form-control:focus {
    background: #000;
    color: #fff;
}

/* responsive */
@media screen and (max-width:1100px) {
    .players-img {
        width: 70px !important;
        height: 70px !important;
    }

    /* .left-player-side,
    .right-player-side {
        width: 200px !important;
    } */

    /* .all-players-container {
        width: calc(100vw - 400px) !important;
    } */
}

@media screen and (max-width:576px) {
    .left-graphic-img {
        width: 70% !important;
    }
}

.wrap-text {
    word-wrap: break-word;
    word-break: break-all;
}

/* waiting modal */
/*#waitingModal {*/
.modal {
    .modal-content {
        background: none;
        clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0% 70%);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(126 126 126 / 36%);
            backdrop-filter: blur(9px);

        }
    }
}

#newDraftModal .modal-dialog {
    max-width: 535px !important;
}
#exportModal .modal-dialog {
    max-width: 600px !important;
}

#exportModal .main-btn {
    min-width: 220px !important;
}

#ban_div .main-btn {
    min-width: 90px !important;
    align-items: center;
}

#importBtn .main-btn {
    min-width: 100px !important;
    align-items: center;
}

#filterImportCharacterButton {
    min-width: 120px !important;
}

/* setting sidebar */
.sidebar-setting {
    position: fixed;
    width: 400px;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
    transform: translateX(-100%);
    transition: all .5s ease-in-out;

    &.show {
        transform: translateX(0%);
    }

    .close-sidebar {
        cursor: pointer;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(58 58 58 / 36%);
        backdrop-filter: blur(9px);
    }

    .sidebar-top-header {
        border-bottom: 2px solid #fff;
    }
}

.filter-img.highlight {
    filter: drop-shadow(0px 0px 5px white);
}

/* Spactator Waiting screen Start  */
/*.waiting-page {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
}*/

.vs {
    color: white;
    position: relative;
    width: 400px;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
}

.waiting-container::before {
    content: '';
    background: url(../images/img/vsbg.png), linear-gradient(292deg, #240c1f, #0e0d1d00);
    position: absolute;
    opacity: 1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    top: 0%;
    left: 0;
    background-size: 40%;
    background-position: 49% 29%;
}

.vs img {
    z-index: 2;
    position: relative;
}

.player.red {
    color: #dc3545;
    z-index: 2;
}

.player.red .btn {
    background-color: #dc3545;
}

.player.blue {
    color: #007bff;
    z-index: 2;
}

.player.blue .btn {
    background-color: #007bff;
}

.player-name-div {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 130px;
    margin-top: -15px;
}

.waiting-container {
    background: url('../images/img/vs-bg.png') !important;
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width:1024px) {
    .waiting-container::before {
        background-position: 49% 24vh;
    }

    .vs {
        width: 30vh;
    }
}

@media screen and (max-width:768px) {
    .waiting-container::before {
        background-position: 49% 21vh;
    }

}

.green-btn {
    background-color: #3D9F00 !important;
}

/* Spactator Waiting screen End  */

.timer-section {
    line-height: 2.5em;
    font-size: 1.5vh;
}

.timer-section #countdown {
    /* font-size: 30px; */
    font-size: 3em;
}

.timer-section #countdown_title {
    /* font-size: 20px; */
    font-size: 2em;
}

/* Upload Container Start */
.upload-container {
    text-align: center;
}

.upload-box {
    border: 2px dashed #ff9500;
    padding: 50px;
    border-radius: 10px;
    position: relative;
    /* width: 400px;
    height: 300px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 25px;
    cursor: pointer;
}

.upload-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.upload-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.browse {
    color: #ff9500;
    cursor: pointer;
    text-decoration: underline;
}

/* Upload Container End */

/* Player Name CSS Start */
/* .selected-player-name-div {
    position: absolute;
    width: 100%;
    bottom: 5px;
    right: 5px;
    color: #fff;
    font-size: 13px;
    text-shadow: 0 0 2px #000;
}

.selected-players-box {
    position: relative;
} */
/* Player Name CSS End */

.red_import {
    border: 2px solid #ff000075;
}

.blue_import {
    border: 2px solid #0000ff8c;
}

.red_import.blue_import {
    border-image: linear-gradient(to right, #0000ff8c, #ff000075) 1;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #ff9300;
    color: #fff;
}

.dropdown-menu.show {
    background: #000;
}

.dropdown-item {
    color: #fff;
}

.loader {
    height: 19px;
}

.red_import,
.blue_import {
    position: relative;

    .cross {
        /* &::after,&::before {
            content: '';
            position: absolute;
            width: 153px;
            height: 2px;
            top: 53px;
        }
        &::after {
            transform: rotate(45deg);
            left: -23px;
        }
        &::before {
            transform: rotate(135deg);
            right: -23px;
        } */
        /* width: 30px; */
        /* height: 23px; */
        position: absolute;
        /* background: #787878; */
        color: #787878;
        /* border-radius: 50%; */
        top: 5px;
        right: 5px;
        font-size: 20px;
    }
}

.blue_import.baned-active .cross,
.blue_import.baned .cross {
    color: #0000ff8c;
}

.red_import.baned-active .cross,
.red_import.baned .cross {
    color: #ff000075;
}

.red_import.blue_import .cross {
    display: none;
}

.buttons-section .main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-section {
    font-size: 1.5vh;
}

.buttons-section Button {
    font-size: 1.3em;
    min-width: 11vw !important;
    height: 4.5vh;
}