body#bracket {
    --background-color: #2b2b2b;
    --foreground-color: #cbcbcb;
    --season-color: #f1ea8a;
    background-color: #2b2b2b !important;
    color: #cbcbcb !important;
    font-family: Arial;
    font-size: 14px;
    background-blend-mode: overlay;
    overflow-y: scroll;
    overflow-x: auto;
}

body#bracket {
    background-image: none !important;
}


p.text-nav a {
    color: white;
}
p.text-nav a:hover {
    color: red;
    text-decoration: underline;
}

.container {
    margin-bottom: 30px;
}

.bracket {
    margin-top: 40px;
}

.bracket h1,
.bracket h2,
.bracket h3,
.bracket h4 {
    margin: auto;
    font-family: Arial;
    font-weight: 700;
}

.bracket h2 {
    font-size: 21px;
}

.bracket h3 {
    font-size: 17px;
}

main {
    width: 1350px;
}

.loser-bracket {
    clear: both;
    padding-top: 20px;
}

.col {
    float: left;
    width: 230px;
}

.col h3 {
    margin: 15px 0;
    text-align: center;
}


@media (max-width: 1400px) {
    .container {
        padding-left: 10px;
        margin-left: 0;
    }
    .hamburger-btn {
        right: 3rem !important;
    }
}
@media (min-width: 1400px) {
    .container h4 {
        margin-bottom: 30px;
    }
    .container {
        position: relative;
    }
    button.reset {
        position: absolute;
        top: 30px;
        left: 45px;
    }
}

.match,
.match label,
.matchNumber {
    line-height: 17px;
}

.match {
    margin-bottom: 20px;
}

/*
.match label {
    border-bottom: var(--foreground-color) 1px dashed;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
}
*/

.match input {
    width: 35px;
}

#matchNine {
    padding-top: 40px;
}
#matchTen {
    padding-top: 70px;
}
#matchEleven {
    padding-top: 60px;
}
#matchTwelve {
    padding-top: 66px;
}
#matchSixteen {
    padding-top: 0px;
}
#matchTwenty {
    padding-top: 0px;
}
#matchTwentyone {
    padding-top:  120px;
}
#matchTwentytwo {
    padding-top:  190px;
}
#matchTwentythree {
    padding-top:  64px;
}
#matchTwentyfour {
    padding-top:  40px;
}
#matchTwentyfive {
    padding-top:  78px;
}
#matchTwentyseven {
    padding-top:  220px;
}



.match label {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
    padding: 1px 0 1px 5px;
    /*border-bottom: var(--foreground-color) 1px dashed;
    border-radius: 5px 5px 0 0;*/
    border-radius: 5px;
    margin-bottom: 1px;
    background-color: rgba(0, 0, 0, 0.75);
}

.match div {
    height: 22.5px;
}

.match input {
    width: 35px;
}
.match input[type="radio"] {
    width: auto;
    margin: 2px;
    vertical-align: top;
}

.match .winner label {
    color: var(--background-color);
    background-color: var(--season-color);
    border-color: transparent;
    border-radius:  5px;
}

body.dark-mode .match .winner label {
    color: white;
}

#finale {
    padding-top: 123px;
}

#bronzeGame {
}

img#trophy {
    position: relative;
    top: 123px;
    left: 95px;
}

.connections-wrapper {
    float: left;
    width: 40px;
}
.connections {
    display: flex;
}

/* winner AF */
.connections-winner-af .connections:first-child {
    margin-top: 68px;
}
.connections-winner-af .connections:nth-child(2) {
    margin-top: 44px;
}
.connections-winner-af .connections:nth-child(3) {
    margin-top: 44px;
}
.connections-winner-af .connections:nth-child(4) {
    margin-top: 44px;
}

.connections-winner-af .left-connection {
    height: 82px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-af .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* winner VF */
.connections-winner-vf .connections:first-child {
    margin-top: 108px;
}
.connections-winner-vf .connections:nth-child(2) {
    margin-top: 102px;
}
.connections-winner-vf .left-connection {
    height: 152px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-vf .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* winner HF */
.connections-winner-hf .connections:first-child {
    margin-top: 188px;
}
.connections-winner-hf .connections:nth-child(2) {
    margin-top: 78px;
}
.connections-winner-hf .connections:first-child .left-connection {
    height: 96px;
    width: 16px;
    border-width: 2px 2px 0 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-hf .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: end;
}
.connections-winner-hf .connections:nth-child(2) .left-connection {
    height: 96px;
    width: 16px;
    border-width: 0 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-hf .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: start;
}

/* winner F */
.connections-winner-f .connections:first-child {
    margin-top: 290px;
}
.connections-winner-f .connections:nth-child(2) {
    margin-top: 78px;
}
.connections-winner-f .connections .connection {
    height: 0;
    width: 32px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* loser R1 */
.connections-loser-r1 .connections:first-child {
    margin-top: 90px;
}
.connections-loser-r1 .connections:nth-child(2) {
    margin-top: 64px;
}
.connections-loser-r1 .connections:nth-child(3) {
    margin-top: 64px;
}
.connections-loser-r1 .connections:nth-child(4) {
    margin-top: 64px;
}
.connections-loser-r1 .connections .connection {
    height: 0;
    width: 32px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* loser R2 */
.connections-loser-r2 .connections:first-child {
    margin-top: 84px;
}
.connections-loser-r2 .connections:nth-child(2) {
    margin-top: 42px;
}
.connections-loser-r2 .connections:first-child .left-connection {
    height: 84px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-r2 .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}
.connections-loser-r2 .connections:nth-child(2) .left-connection {
    height: 84px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
}
.connections-loser-r2 .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
} 

/* loser AF */
.connections-loser-af .connections:first-child {
    margin-top: 124px;
}
.connections-loser-af .connections:nth-child(2) {
    margin-top: 65px;
}
.connections-loser-af .connections:first-child .left-connection {
    height: 42px;
    width: 16px;
    border-width: 2px 2px 0 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-af .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: end;
}
.connections-loser-af .connections:nth-child(2) .left-connection {
    height: 42px;
    width: 16px;
    border-width: 0 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-af .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: start;
}

/* loser VF */
.col.loser-qf {
    margin-left: 0px;
}
