* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

html {
    overflow: hidden;
}

body {
    background: url(bg.jpg) center center/cover no-repeat;
    height: 100vh;
    overflow: hidden;
}

.bg {
    background-color: rgba(0, 0, 0, 0.2);
    height: 100vh;
    width: 100%;
    padding: 20px;
}

.up {
        color: rgba(14, 173, 32, 1);
    border-radius: 10px;
        width: 50px;
        margin: auto;
}

.n2 {
    padding: 0;
}

.down {
    padding: 0;
        color: rgb(173 14 43);
    border-radius: 10px;
    width: 50px;
        margin: auto;
}

.bg-tr {
    padding: 0;
}

.container {
    height: 50%;
    width: 80%;
    margin: -50px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transform: translate(+0%, +50%);
}

.container-tr {
    max-width: 75%;
    height: 100vh;
    margin: 0 auto;
    padding: 0px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.modal {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 13px;
    padding: 22px;
    position: relative;
    width: 300px;
    margin: 0 auto;
    color: #fff;
}

.modal-tr {
    width: 50%;
    border-radius: 0px;
    background-color: transparent;
    padding: 0;
    position: absolute;
    transform: translate(+50%, -1%);
    bottom: 0px;
}

.bn-tr .close {
    top: -15px;
    left: 15px;
    position: relative;
}

.modal .close img {
    width: 14px;
    position: absolute;
    right: 2px;
    top: 2px;
    cursor: pointer;
    background: #0009;
    border-radius: 4px;
}

.modal .closex img {
    width: 20px;
    position: absolute;
    right: 2px;
    top: 2px;
    cursor: pointer;
    border-radius: 4px;
}

.modal h3 {
    text-align: center;
    font-size: 17px;
    margin-bottom: 10px;
}

.modal .st {
    display: flex;
    width: 100%;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 11px;
}

.modal .st .block {
    width: 100%;
    text-align: center;
}

.modal .st .block img {
    width: 42px;
}

.modal .st .block h4 {
    font-size: 14px;
margin-top: 5px;
    
}

.modal .st-1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 12px;
    background: black;
    border-radius: 7px;
    padding: 5px;
}

.modal .st-1 .block {
    width: 100%;
    text-align: center;
}

.modal .st-1 .block p {
    padding: 2px;
}



.modal .st-1 p {
    font-size: 15px;
}

.block-border {
    border-left: 1px solid rgb(60, 60, 60);
    border-right: 1px solid rgb(60, 60, 60);
}

.modal .btn {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    background: #1d9549;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    display: block;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.modal .crt {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    height: 20px;
}

.modal .crt h2 {
    font-size: 20px;
}

.modal .crt span {
    font-size: 20px;
    margin: 8px;
}

.modal .live {
    background-color: rgba(14, 173, 32, 0.3);
    border: 1px solid rgba(14, 173, 32, 1);
    border-radius: 9px;
    display: inline-block;
    padding: 0px 7px;
    font-size: 10px;
}

.modal .prematch {
    font-size: 13px;
    color: #888888;
    font-weight: normal;
}

.modal h6 {
    color: #888888;
    margin-top: 2px;
}

.bn {
    position: absolute;
    right: -141px;
    bottom: 8px;
    transform: translate3d(0, - 15%, 0);
    animation: spin 3s infinite linear;
    display: block;
}

.bn::after {
    content: "";
    position: absolute;
    top: 42%;
    left: -4%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    display: block;
    border-color: #fff transparent transparent transparent;
    transform: rotate(90deg);
}

@keyframes spin {
    0% {
        transform: translate3d(0, -15%, 0);
    }

    50% {
        transform: translate3d(0, 15%, 0);
    }

    100% {
        transform: translate3d(0, -15%, 0);
    }
}

.modal-tr .st-1 {
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 3px 0;
    margin: -20px auto;
}

.btn-bg {
    padding: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn-bg .btn {
    max-width: 200px;
}

.bn-tr {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translate3d(0, - 15%, 0);
    animation: spin 3s infinite linear;
    display: inline-table;
    text-align: center;
}

.bn-tr::after {
    content: "";
    position: absolute;
    top: 99%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    display: block;
    border-color: #fff transparent transparent transparent;
    transform: rotate(0deg);
}

@keyframes spin {
    0% {
        transform: translate3d(0, -15%, 0);
    }

    50% {
        transform: translate3d(0, 15%, 0);
    }

    100% {
        transform: translate3d(0, -15%, 0);
    }
}

@media (max-width: 800px) {
    .bn {
        right: 0;
        left: 0;
        margin: 0 auto;
        bottom: -76px;
        text-align: center;
    }

    .bn::after {
        content: "";
        position: absolute;
        top: -17%;
        left: 50%;
        margin-left: -6px;
        border-width: 6px;
        border-style: solid;
        display: block;
        border-color: #fff transparent transparent transparent;
        transform: rotate(180deg);
    }

    .bn-tr {
        position: relative;
        left: auto;
        right: auto;
        bottom: 45px;
        top: auto;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .modal .close-m img {
        width: 14px;
    position: absolute;
    right: 0s;
    top: 0;
    cursor: pointer;
    background: #0009;
    border-radius: 4px;
    }    
    
    .bn-tr .close-m {
           top: -30px;
    left: 185px;
    position: relative;
    }

    .bn-tr::after {
        content: "";
        position: absolute;
        top: 99%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        display: block;
        border-color: #fff transparent transparent transparent;
        transform: rotate(0deg);
    }

    .bn-ds {
        display: none;
    }
}

@media (max-width: 400px) {
    .modal-tr .st-1 {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .bn-td {
        display: none;
    }
}

@media (min-width: 1300px) {
    .modal-top {
        width: 450px;
    }
}