@import "wc26.css";

:root {
    --light-yellow: #e5ec9e;
}

.use-offset {
    scroll-margin-top: 8.5vw;
}

#group-toc {
    font-size: 1.2vw;
}

.qual {
    font-weight: bold;
}

.ad-score {
    font-size: 0.8vw;
    text-align: center;
}

.empty {
    border: 0.15vw solid var(--usa-lighter-blue);
    margin: 0.5vw 0;
}

.group {
    display: grid;
    width: 90%;
    margin: 0 auto;
    padding: 5px;
    border: 0.15vw solid var(--usa-off-white);
    /*margin-bottom: 15px;*/
    background: var(--usa-off-white);
}

#thirds-div {
    display: grid;
    width: 75%;
    margin: auto;
    padding: 5px;
    border: 0.15vw solid var(--usa-off-white);
    /*margin-bottom: 15px;*/
    background: var(--usa-off-white);
}
.group-toc {
    display: grid;
    width: 90%;
    grid-template-columns: 1fr;
    text-align: center;
    margin: auto;
    border: 0.15vw solid var(--usa-lighter-blue);
    background: var(--sky-blue);
}

#thirds-href {
    text-decoration: none;
    font-style: none;
    width: 33%;
    display: block;
    margin: auto;
}

#third-places {
    display: block;
    width: 100%;
    text-align: center;
    margin: auto;
    border: 0.15vw solid var(--usa-lighter-blue);
    background: var(--sky-blue);
    color: var(--usa-darkest-blue);
    font-weight: bold;
    padding: 0.25vw 0;
    margin: 0.7vw auto 0;
    font-size: 1.35vw;
}

#third-places:hover {
    transition: 0.2s;
    transform: scale(1.1);
}

.out {
    filter: grayscale(100%);
    opacity: 0.5;
}

#all-groups-toc {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    margin: 0.5vw auto 1vw;
}

.group-flags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0.1vw;
}

.group-label {
    color: var(--usa-blue);
    text-decoration: none;
    text-align: center;
    font-size: 1.1vw;
    font-weight: bold;
}

.group-toc:hover {
    transform: scale(1.1);
    transition-duration: 0.2s;
}

#all-groups-toc > a {
    text-decoration: none;
}

.little-icon {
    width: 2.3vw;
    height: 2.3vw;
    /*max-height: 90%;*/
    padding: 0.15vw 0;
    margin: auto;
}

#navigation-warning {
    color: var(--usa-off-white);
    margin: auto;
    text-align: center;
    padding-top: 0.2vw;
    font-weight: bold;
}

.infographic {
    margin: auto;
    display: block;
    width: 90%;
    margin-bottom: 1vw;
    margin-top: 1vw;
}

#warning-home {
    font-size: 0.8vw;
    font-style: italic;
    text-align: center;
    color: var(--usa-off-white);
    padding-bottom: 0.5vw;
    padding-top: 0.3vw;
}

.interior-link {
    font-size: 1vw;
    line-height: 1.25;
}

/*#games {*/
    /*width: 70%;*/
    /*margin: auto;*/
/*}*/

#empty {
    margin-top: 0.75vw;
    border-bottom: 0.25vw solid var(--usa-sky-blue);
}

#group-toc {
    text-align: center;
    color: var(--usa-off-white);
}

#usa-flag {
    width: 50%;
    margin: auto;
    padding-bottom: 0vw;
    padding-top: 0.5vw;
    row-gap: 0.15vw;
    margin-bottom: 0.5vw;
    /*border-bottom: 0.25vw solid var(--usa-sky-blue);*/
}

#upcoming-group-games {
    height: calc(100% - 0.18vw);
    background: var(--usa-lighter-blue);
    border: 0.12vw solid var(--usa-sky-blue);
    margin-top: -0.05vw;
}

#finished-group-games, #upcoming-knockout-games, #knockout-bracket {
    background: var(--usa-red);
    border: 0.12vw solid var(--usa-sky-red);
}

#group-stats, #finished-knockout-games {
    background: var(--usa-mid-white);
    color: var(--usa-blue);
    border: 0.12vw solid var(--usa-off-white);
}

#knockout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80%;
    margin: 0.8vw auto;
}

svg {
    touch-action: none;
    user-select: none;
    cursor: default;
    width: min(87vh, 60vw);
    height: min(87vh, 60vw);
    display: block;
    margin: auto;
  }
svg.on-wheel { cursor: grab; }
svg.dragging  { cursor: grabbing; }

.knockout-choice {
    margin: auto;
    text-align: center;
    text-decoration: none;
    font-style: none;
    padding: 0.5vw 0;
    font-size: 1.8vw;
    width: 80%;
    color: var(--usa-darkest-blue);
    border: 0.2vw solid var(--usa-lighter-blue);
    background: var(--usa-lightest-blue);
    font-weight: bold;
}

.knockout-choice:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.knockout-link {
    font-style: none;
    text-decoration: none;
}

#usa-flag-top-half {
    display:grid;
    grid-template-columns: 35% 65%;
    width: 80%;
    margin: auto;
    row-gap: 0.15vw;
    column-gap: 0.2vw;
}

#knockout-options

#big-square-text {
    margin-top: 0.35vw;
}

#usa-flag-bottom-half {
    display:grid;
    /*grid-template-columns: 35% 65%;*/
    width: 80%;
    margin: auto;
    row-gap: 0.15vw;
}

#usa-flag-right-top {
    display: grid;
    row-gap: 0.15vw;
    width: calc(100% - 0.2vw);
}

#navbar {
    border-bottom: 0.25vw solid var(--usa-sky-blue);
    margin-bottom: 0;
    padding-bottom: 0;
}

#big-title, .big-title {
    font-size: 2vw;
    color: var(--usa-off-white);
    text-align: center;
    margin: auto;
    padding: 0.5vw 0 0;
    font-weight: bold;

}

.group-announce {
    margin: 0;
    text-align: center;
    color: var(--usa-off-white);
    font-size: 1.8vw;
    margin-top: 1vw;
}

.adams-score {
    margin: 0.3vw auto;
    font-weight: normal;
    color: var(--usa-off-white);
    text-align: center;
    font-size: 1.2vw;
}

.descriptor-row {
    display: grid;
    grid-template-columns: 10% 7% 7% 7% 7% 3% 5% 5% 5% 1% 3% 3% 4% 6% 6% 21%;
    align-items: center;
    justify-items: center;
    padding-bottom: 2px;
    border-bottom: 0.8px solid var(--turf-blue);
    font-size: 1.1vw;
}

.descriptor-row > span:last-child {
    width: 95%;
    margin: auto;
}

.descriptor-row > * {
    display: grid;
    width: 100%;
    justify-self: center;
    justify-items: center;
    font-size: 1.1vw;
}

.descriptor-row * {
    font-size: 1.1vw;
    overflow: hidden;
}

.thirds-descriptor-row {
    display: grid;
    grid-template-columns: 14% 8% 8% 8% 5% 5% 5% 5% 10% 10% 20%;
    align-items: center;
    justify-items: center;
    padding-bottom: 2px;
    border-bottom: 0.8px solid var(--turf-blue);
    font-size: 1.1vw;
    /*width: 80%;*/
    /*margin: auto;*/
}

.emphasis-row {
    border-bottom: 1.7px solid var(--turf-blue);
}

.align-down {
    align-items: end;
}

/*#team-span {
    color: var(--usa-off-white);
}*/

.team-icon {
    width: 2.2vw;
    align-self: center;
    justify-self: center;
}

.team-full {
    display: flex;
    align-items: center;
    justify-items: start;
    justify-content: start;
    justify-self: start;
}

.team-name {
    padding-left: 4px;
}

.back-green {
    background-color: var(--grass-green);
}

.back-yellow {
    background-color: var(--light-yellow);
}

.back-red {
    background-color: rgb(242, 205, 205);
}

.summary {
    text-align: center;
    width: 90%;
    margin: auto;
    padding-bottom: 0.5vw;
    /*padding-top: 0.25vw;*/
    font-size: 1.2vw;
    color:var(--usa-off-white);
}

.finished {
    margin-bottom: 5px;
}

.advancer {
    background: var(--grass-green);
}

.two-wide-span {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    margin: auto;
    text-align: center;;
    /*border: 0.5vw solid var(--usa-sky-blue);*/
    /*color: var(--usa-off-white);*/
}

.four-wide-span {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 99%;
    margin: auto;
    text-align: center;
}

.inst32to8 {
    display: grid;
    margin: 0.5vw auto;
    border: 0.3vw solid var(--usa-sky-blue);
    background: var(--usa-off-white);
    width: 95%;
}

/*.right-inst {
    grid-template-columns: 45% 55%;
}*/

.d32to16 {
    border: 0.2vw solid var(--usa-sky-blue);
    width: 90%;
    margin: 0.25vw auto;
    display: grid;
    grid-template-columns: 55% 45%;
    margin: 0.5vw auto;
    border: 0.3vw solid var(--usa-sky-blue);
    background: var(--usa-off-white);
    width: 95%;
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
}

.team32 {
    display: block;
    padding: 0.2vw 0;
    width: 95%;
    margin: 0.25vw auto;
    border: 0.15vw solid var(--usa-sky-blue);
}

.team16 {
    display: block;
    padding: 0.2vw 0;
    border: 0.15vw solid var(--usa-sky-blue);
    /*width: 80%;*/
}

.r16 {
    display: grid;
    /*border: 0.15vw solid var(--usa-sky-blue);*/
    width: 82.5%;
    margin: 0.0vw auto;
    row-gap: 0.05vw;
}

.r32 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    width: 82.5%;
    /*border: 0.2vw solid var(--usa-sky-blue);*/
}

.img32, .img8 {
    width: 60%;
    margin: auto;
    display: block;
}
.img16 {
    width: 35%;
    margin: auto; display: block;
}
.img4 {
    width: 6.8vw;
    height: 6.8vw;
    margin: 0.25vw auto;
    display: block;
    border: 0.25vw solid var(--usa-off-white);
    /*padding: 0.25vw;*/
}

.img8, .img16, .img32 {
    border: 0.15vw solid var(--usa-off-white);
}
.img8 {
    width: 4.8vw;
    height: 4.8vw;
    padding: 0;
    margin-top: 0.25vw;
    margin-bottom: 0.25vw;
}

#knockout-8to1 {
    display: grid;
    grid-template-columns: 26% 48% 26%;
}

.teamof8 {
    border: 0.25vw solid var(--usa-lighter-blue);
    background: var(--usa-off-white);
}

.qual4 {
    display: flexbox;
    padding: 0.25vw;
    border: 0.25vw solid var(--usa-lighter-blue);
    background: var(--usa-off-white);
}
.top-qual4 {
    padding-top: 5.5vw;
}
.team4-desc {
    display: block;
    font-size: 2vw;
    text-align: center;
}
.team8-desc {
    font-size: 1.5vw;
    text-align: center;
}

.left-8to4 {
    display: grid;
    grid-template-columns: 45% 55%;
    /*border: 0.25vw solid var(--usa-lighter-blue);*/
    padding: 0.25vw;
    text-align: center;
}
.right-8to4 {
    display: grid;
    grid-template-columns: 55% 45%;
    padding: 0.25vw;
}
.win > * {
    font-weight: bold;
}



.lose > * {
    opacity: 0.6;
    filter: grayscale(100%);
}

.team32-desc {
    font-size: 1.3vw;
}
.team16-desc {
    font-size: 1.6vw;
}

.team8 {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    font-size: 2vw;
    padding: 0.25vw;
    border: 0.25vw solid var(--usa-lighter-blue);
}

.final-team-desc {
    font-size: 2.5vw;
}

.third-team-desc {
    font-size: 2.05vw;
}

#final-teams > div, #third-teams > div {
    border: 0.25vw solid var(--usa-lighter-blue);
    width: 90%;
    margin: auto;
    display: block;
    margin-bottom: 0.5vw;
}

#usa-description {
    font-size: 1.5vw;
    color: var(--usa-off-white);
    width: 80%;
    display: block;
    margin: 1vw auto;
    text-align: justify;
}
#final {
    margin-bottom: 0.5vw;
}

.final-img {
    width: 9.9vw;
    height: 9.9vw;
    border: 0.25vw solid var(--usa-off-white);
    margin-top: 0.5vw;
}
.third-img {
    margin-top: 0.7vw;
    width: 7.3vw;
    height: 7.3vw;
    border: 0.25vw solid var(--usa-off-white);
}

#final, #third-place {
    text-align: center;
    font-size: 2vw;
    background: var(--usa-off-white);
    font-weight: bold;
}

#final-teams, #third-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.team8-wrapper {
    display: block;
}

.back-deep-red {
    background: var(--dark-red);
    color: var(--usa-off-white);
}
.back-deep-blue {
    background: var(--dark-blue);
    color: var(--usa-off-white);
}
.back-deep-green {
    background: var(--dark-green);
    color: var(--usa-off-white);
}
.back-deep-black {
    background: #050505;
    color: var(--usa-off-white);
}
.back-deep-yellow {
    background: var(--dark-yellow);
    color: var(--usa-off-white);
}

#center-piece {
    display: block;
    margin: auto;
    width: 99%;
    /*border: 0.25vw solid var(--usa-lighter-blue);*/
    /*background: var(--usa-off-white);*/
}

#final, #third-place {
    border: 0.25vw solid var(--usa-lighter-blue);
}



