@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* general */
body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: rgba(54, 56, 61, 0.05);
    font-size: 18px;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

a { 
    color: #183345;
    text-decoration: none;
}

    a:hover {
        color: #1b7ea6;
    }

    a.anchor {
        display: block;
        position: relative;
        top: -50px;
        visibility: hidden;
    }

h2,
h3,
h4 {
    text-align: center;
}

h4 {
    margin-bottom: 10px;
}

.region-name {
    border-radius: 8px;
    background-color: #183345;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border: 1px solid rgba(54, 56, 61, 0.15);
}

    .region-name h3 {
        color: white;
        margin: 0;
    }

.content {
    margin: 8px;
}

/* Region Menu */
.region-select {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    align-items: center;
    color: grey;
}

    .region-select button {
        background-color: white;
        padding: 10px;
        border-radius: 8px;
        box-sizing: border-box;
        border: 1px solid rgba(54, 56, 61, 0.15);
        font-weight: bold;
        cursor: pointer;
    }

        .region-select button a {
            text-decoration: none;
            color: black;
            font-weight: 800;
        }

        .region-select button::before {
            content: 'Region ';
        }

    .region-select span {
        font-size: 0.8em;
    }

    .region-select form {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

/* Standings Display */
td,
th {
    padding: 10px 5px;
}

thead tr {
    position: sticky;
    top: 0;
    background-color: white;
}

.standings {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid rgba(54, 56, 61, 0.15);
}

    .standings table {
        width: 100%;
        text-align: center;
    }

    .standings table th {
        border-bottom: 3px solid rgba(54, 56, 61, 0.15);
    }

    .standings table td {
        border-bottom: 1px solid rgba(54, 56, 61, 0.15);
    }

    .standings table tr:last-child td {
        border-bottom: none;
    }

.champion {
    display: flex;
    justify-content: center;
}

.champion .team1 {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid rgba(54, 56, 61, 0.15);
}

th.teams {
    text-align: left;
}

.team1 {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 5px;
}

.seed {
    font-size: 0.8em;
    color: grey;
    width: 20px;
}

.name {
    font-weight: bold;
}

.bracket-notes {
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border: 1px solid rgba(54, 56, 61, 0.15);
}

    .bracket-notes .note-head {
        font-weight: bold;
        display: block;
    }

/* Matchups */
.location {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.schedule ul {
    padding: 0;
    margin: 0;
}

.schedule ul li {
    list-style-type: none;
}

.item {
    padding: 0 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.game {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid rgba(54, 56, 61, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

    .game a {
        text-decoration: none;
        color: #183345;
    }

    .game a:hover {
        color: #1b7ea6;
    }

.info,
.more {
    font-size: 0.7em;
    padding: 10px;
    align-self: flex-start;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
}

.info {
    color: #a0a0a0;
}

.more {
    font-size: 0.9em;
}

.info .status {
    color: #202020;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team {
    box-sizing: border-box;
    color: #000;
    padding: 5px 10px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .team .seed {
        font-size: 0.7em;
        width: 15px;
        color: grey;
    }

    .team .logo {
        width: 20px;
        height: 20px;
    }

    .team .score {
        width: 25px;
        margin-left: auto;
    }

    .team.winner .school,
    .team.winner .score {
        font-weight: bold;
    }

    .team .school {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.info .status.Live {
    color: red;
}

.region-champs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.class-link {
    display: flex;
    justify-content: center;
}

.indiv-region {
    display: flex;
    gap: 20px;
    align-items: center;
}

.reg-num {
    padding: 10px;
    border-radius: 8px;
    background: #e8e8e8;
}

.reg-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-seed {
    font-size: 0.9em;
    color: #003f5c;
    font-weight: bold;
}

@media screen and (max-width: 800px) {

    .region-select button::before {
            content: 'Reg. ';
        }
    
    .region-select button {
        flex-grow: 1;
        flex-basis: 12%;
    }
}


@media screen and (max-width: 700px) {
    .setWL,
    .setPct {
        display: none;
    }

    .region-select {
        flex-direction: column;
    }

        .region-select button {
            width: 35px;
        }

            .region-select button::before {
                content: none;
            }

    .champion .team1 {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 400px) {

    .standings .seed {
        display: none;
    }

    .pct {
        display: none;
    }

    .more {
        flex-direction: column;
        gap: 5px;
    }
}