.start-scoreboard {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    z-index: 99;
    cursor: pointer;
}
 
@media (min-width: 660px) {
    .start-scoreboard {
        bottom: calc(100% - 200px);
    }
}

.start-scoreboard span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 28px;
}

:root {
    --temA-color: #6BA6FF;
    --temB-color: #C12728;
}

.scoreboard {
    display: none;
    height: 100%;
    position: fixed;
    font-family: 'Open Sans';
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999999;
}

.scoreboard-conteiner{
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
}

.scoreboard.reverse .scoreboard-conteiner{
    flex-direction: row-reverse;
}


.close-scoreboard {
    display: inline-flex;
    position: absolute;
    z-index: 9;
    right: 20px;
    top: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Open Sans";
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    gap: 8px;
}

.close-scoreboard span {
    display: block;
    width: 40px;
    color: #fff;
    text-align: center;
}

.scoreboard img {
    display: block;
}

.scoreboard .team {
    width: 50%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.team-name {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.team-icon img {
    height: 108px;
    width: 108px;
    border-radius: 50%;
    object-fit: cover;
}

.team-score {

}

.team-score p {
    color: #fff;
    text-align: center;
    font-size: 200px;
    font-style: normal;
    font-weight: 700;
    line-height: 1; /* 100% */
}

.team-first {
    background-color: var(--temA-color);
}

.team-second {
    background-color: var(--temB-color);
}

.team-edit {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 114px;
    height: 114px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: translate(-25%, 25%);
    cursor: pointer;
    padding: 0px 0px 20px 10px;
    color: #fff;
    transition: all 0.3s;
    z-index: 2;
    text-decoration: none;
}

.team-edit svg {
    transition: all 0.3s;
}

.scoreboard.reverse .team-first .team-edit,
.scoreboard:not(.reverse) .team-second .team-edit {
    right: 0;
    left: inherit;
    transform: translate(25%, 25%);
    padding: 0px 15px 20px 0px;
}

.team-edit:hover,
.team-edit.open {
    background: #FFF;
    color: #000;
    z-index: 9999;
}

.team-edit:hover svg path,
.team-edit.open svg path {
    stroke: #000
}

.informer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}

.informer-logo {
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    color: #fff;
    text-align: center;
}

.informer-champions {
    border-radius: 8px;
    background: #2F3235;
    box-shadow: 0px 8px 28px 0px rgba(44, 44, 44, 0.10);
    padding: 12px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    text-align: center;
}

.informer-champions .result {
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-size: 60px;
    width: 142px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.scoreboard.reverse  .informer-champions .result{
    flex-direction: row-reverse;
}


.informer-champions .result i {
    height: 60px;
    width: 1px;
    background: #7C828A;
    display: block;
}

.informer-champions .result span:first-child {
    color: var(--temA-color);
}

.informer-champions .result span:last-child {
    color: var(--temB-color);
}

.informer-reset {
    border-radius: 8px;
    background: #2F3235;
    box-shadow: 0px 8px 28px 0px rgba(44, 44, 44, 0.10);
    width: 90px;
    height: 90px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
}

.informer-reset img {
    transition: all 2s;
}

.informer-reset:hover img {
    transform: rotate(360deg);
}

.informer-navigation {
    border-radius: 8px 8px 0px 0px;
    background: #2F3235;
    box-shadow: 0px 8px 28px 0px rgba(44, 44, 44, 0.10);
    padding: 16px 25px;
    display: flex;
    gap: 20px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.switch, .sahre, .undo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.bModal {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(22, 22, 22, 0.60);
    display: none;
    z-index: 99;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
}

.bModal-content {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bModal form {
    border-radius: 8px;
    box-shadow: 0px 8px 28px 0px rgba(44, 44, 44, 0.10);
    width: 100%;
    max-width: 320px;
    border: 10px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
}

.bModal form .color {
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}

.bModal form .color .choose {
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.bModal form .color .list {
    position: absolute;
    top: 100%;
    border-radius: 4.591px;
    width: 140px;
    background: #fff;
    padding: 10px;
    flex-wrap: wrap;
    gap: 10px;
    right: 0;
    box-shadow: 0px 0px 32.139px 0px rgba(44, 44, 44, 0.47);
    margin-top: 5px;
    display: none;
}

.bModal form .color .list.open {
    display: flex;
}

.bModal form .color .list i {
    border-radius: 2.296px;
    width: 33.287px;
    height: 22.957px;
    font-size: 0;
}

.bModal form .color .list i.active {
    outline: 2px solid #000;
}

.bModal form .form-main {
    height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px 0;
}

.bModal form .name {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bModal form .buttons {
	display: flex;
	gap: 10px;
    margin: 10px 0 10px;
}
.bModal form .buttons .button {
	display:flex;
	align-items: center;
	justify-content:center;
	width: 50px;
    height: 50px;
    background-color: black;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    padding: 0 !important;
}
.bModal form .buttons .button input {
	border: 0;
	background-color: transparent;
	font-size: 18px;
    font-weight: bold;
	color: #fff;
	width: 35px;
	text-align: center;
}

.bModal form .icon {
    position: relative;
}

.bModal form .icon  img.preview {
    height: 108px;
    width: 108px;
    border-radius: 50%;
    object-fit: cover;
}

.bModal form .icon .upload {
    position: absolute;
    right: 0;
    bottom: 0;
}

.bModal form .icon .upload label {
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    cursor: pointer;
}

.bModal form .name input {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 150px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
}

.bModal form .form-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
    background: #fff;
    width: 100%;
    border-radius: 30px 30px 0 0px;
    padding: 13px 0 0 0;
}

.form-nav button {
    border-radius: 900px;
    border: 1px solid var(--lght_blu, #6BA6FF);
    height: 44px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 136px;
    padding: 0 15px;
    background: #fff;
    cursor: pointer;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


.bModal form .icon .upload label:hover,
.form-nav button:hover {
    background: #f5f5f5;
}

.edit-team-first form {
    background: var(--temA-color);
}

.edit-team-second form {
    background: var(--temB-color);
}


@media (max-width: 1024px) {
    .team-score,
    .team-name,
    .team-icon,
    .informer-champions,
    .informer-reset { 
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .informer-champions .result{
        height: 60px;
        font-size: 50px;
    }

    .informer-champions  p{
        margin: 0;
    }

    .informer-logo img {
        height: 60px;
        width: auto !important;
        max-width: none;
    }

    .informer-reset{
        height: 70px;
    }

    .informer-navigation{
        padding: 8px 16px;
        align-items: start;
        width: 215px;
    }

    .informer-navigation img{
        height: 24px;
        width: auto;
    }

    .team-icon img{
        height: 80px;
        width: 80px;
    }

    .team-score p{
        font-size: 120px;
    }

    .team-edit svg{
        height: 24px;
    }
    .informer-logo {
        transform: translateY(20px);
    }
}

@media (max-width: 660px) { 
    .bModal form .color .list{
        left: 0;
        right: inherit;
        z-index: 5;
    }

    .informer-champions{
        position: absolute;
        left: 50%;
        top: 120px;
        transform: translateX(-50%) scale(0.75);
    }
    .informer{
        width: 50px;
    }
    .start-scoreboard{
        bottom: 55px;
    }

}


@media (orientation: portrait) {
    .scoreboard{}    
}