.heading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-lookup {
    display: grid;
    grid-template-columns: 25% 75%;
    height: 325px;
}

.player-inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em;
    border: 1px solid black;
    border-radius: 10px;
    background-color: lightblue;
    padding-inline: 2vw;
}

.input-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-block: 0.25em;
    /* padding-inline: 2vw; */
}

.input-container > label {
    padding-inline-end: 0.5em;
}

.lookup-results {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: lightcoral;
    border: 1px solid black;
    border-radius: 10px;
}

.lookup-results > h2 {
    margin-inline: 1.65vw;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    padding-inline: 1vw;
}

.results-table > thead > tr > th,
.results-table > tbody > tr > td,
.teams-table > thead > tr > th,
.teams-table > tbody > tr > td {
    text-align: center;
}

/* Player ID */
.results-table > thead > tr > th:first-child,
.results-table > tbody > tr > td:first-child {
    width: 10%;
}
/* Player Name */
.results-table > thead > tr > th:nth-child(2),
.results-table > tbody > tr > td:nth-child(2) {
    width: 40%;
}
/* Position */
.results-table > thead > tr > th:nth-child(3),
.results-table > tbody > tr > td:nth-child(3) {
    width: 10%;
}
/* Start Year */
.results-table > thead > tr > th:nth-child(4),
.results-table > tbody > tr > td:nth-child(4) {
    width: 10%;
}
/* Current Team */
.results-table > thead > tr > th:nth-child(5),
.results-table > tbody > tr > td:nth-child(5) {
    width: 30%;
}

.player-lookup {
    margin-inline: 5vw;
}

.row-container {
    /* display: flex;
    align-items: flex-start; */
    display: grid;
    grid-template-columns: 35% 65%;
}

.teams-section,
.stat-categories {
    margin-inline: 3vw;
}

.teams-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.endpoints-section {
    margin-inline: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-header-row,
.stat-cat-row {
    list-style: none;
    display: flex;
}

.stat-header-row > li:nth-child(1),
.stat-cat-row > li:nth-child(1) {
    width: 20%;
}

.stat-header-row > li:nth-child(2),
.stat-cat-row > li:nth-child(2) {
    width: 20%;
}

.stat-header-row > li:nth-child(3),
.stat-cat-row > li:nth-child(3) {
    width: 60%;
}

.stat-item-label {
    display: none;
}

.endpoints-table > body > tr > td > label.cell-label {
    display: none;
}

/* 
    Start media queries at 1200px
    Need to have the player lookup section go to 
    display: flex, flex-direction: column, no wrap
*/

@media screen and (max-width: 1700px) {
    .player-lookup {
        grid-template-columns: 40% 60%;
    }
}

@media screen and (max-width: 1500px) {
    .row-container {
        grid-template-columns: 40% 60%;
    }

    .stat-header-row {
        display: none;
    }

    .stat-item-label {
        display: block;
    }

    .stat-cat-row {
        flex-direction: column;
    }

    .stat-cat-row > li:nth-child(1),
    .stat-cat-row > li:nth-child(2),
    .stat-cat-row > li:nth-child(3) {
        width: 100%;
    }

    .stat-cat-field {
        display: grid;
        grid-template-columns: 25% 75%;
    }

    .stat-item-label {
        margin-inline-end: 7.5vw;
    }
}

@media screen and (max-width: 1300px) {
    .row-container {
        grid-template-columns: 50% 50%;
    }
}

@media screen and (max-width: 1000px) {
    .row-container {
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .player-lookup {
        display: flex;
        flex-direction: column;
        height: 650px;
    }
}

@media screen and (max-width: 800px) {
    .endpoints-table > tbody > tr {
        display: flex;
        flex-direction: column;
    }

    .endpoints-table > thead {
        display: none;
    }

    .endpoints-table > tbody > tr > td > label.cell-label {
        display: block;
    }

    .endpoints-table > tbody > tr {
        margin-block: 5vh;
    }
}

/* These are the things for v2 of index */

.param-list {
    list-style: none;
}

.params-label,
.endpoint-label,
.description-label {
    font-size: 1.3em;
}

.player-lookup-input > div > form {
    padding-block: 20px;
}

.teams-container,
.categories-container,
.endpoints-container {
    padding-inline: 30px;
}

@media screen and (max-width: 1000px) {
    .player-lookup-container {
        flex-direction: column;
    }
}
