/* 輸入 ID 選擇區域 */
h1 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin: 1rem 0;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    color: #666666;
}

.playerInfomation {
    width: 42.5%;
    height: 200px;
    min-width: 525px;
    margin: auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: auto;
}

.playerInfomationBlock {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin: 1rem 0 0 1.75rem;
}

.playerPicture img {
    width: 75px;
    height: 75px;
}

.playerDetail {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    align-self: center;
}

.playerDetail a {
    color: #666666;
    text-decoration: none;
}

.enter {
    width: 37.5%;
    display: flex;
    margin: 2.5rem auto;
    gap: 20px;
}

.enterSummoner {
    margin: auto;
}

.search {
    margin: auto;
}

/* ID 基本資料 */
.information {
    display: none;
}

.informationBlock {
    width: fit-content;
    display: flex;
    margin: 1rem auto 2.5rem;
    padding: 0 1rem;
    gap: 2.5rem;
}

.summonerProfilePicure {
    align-self: center;
}

.summonerProfilePicure img {
    width: 100px;
    height: 100px;
}

.summonerInformation {
    font-weight: 700;
    line-height: 1.5;
    align-self: center;
}

/* 統計紀錄 */
h3 {
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    margin: 1rem 0;
    color: #999999;
}

.total {
    display: none;
    margin: 0 0.5rem;
}

.statistics {
    max-width: 885px;
    height: 540px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    overflow: auto;
}

.statisticsBlock {
    width: fit-content;
    height: fit-content;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border: 1px #000 solid;
}

.statisticsBlockPicture {
    margin: 0.5rem 0;
}

.statisticsBlockPicture img {
    width: 75px;
    height: 75px;
}


/* 對戰紀錄 */
.record {
    margin: 0 1rem;
}

.recordBlock {
    max-width: 768px;
    display: flex;
    justify-content: space-between;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border: 1px #000 solid;
}

.recordResult {
    font-size: 28px;
    font-weight: 900;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
}

.recordMainTop {
    display: flex;
}

.recordMainLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.recordChampionPicture {
    margin: auto;
}

.recordChampionPicture img {
    width: 75px;
    height: 75px;
}

.recordDuration {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin: 1rem 0 0;
}

.recordMainMid {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0rem 0.75rem;
}

.recordSpells {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.recordSpells img {
    width: 40px;
    height: 40px;
}

.recordRunes {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 1rem 0;
}

.recordRunes img:nth-child(1) {
    width: 40px;
    height: 40px;
}

.recordRunes img:nth-child(2) {
    width: 25px;
    height: 25px;
    align-self: center;
}

.recordMainRight {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
    margin: 0 0.5rem;
}

.recordMainDown {
    margin: 2.5rem 0 1rem;
    text-align: center;
}

.recordItems img {
    width: 40px;
    height: 40px;
}

.recordDetail {
    width: 42.5%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.recordDetail img {
    width: 30px;
    height: 30px;
}

.recordDetail span {
    font-size: 12px;
}

.recordBlueTeam,
.recordRedTeam {
    width: 50%;
}

.recordBlueTeamBlock,
.recordRedTeamBlock {
    display: flex;
    align-items: center;
    margin: 1.6rem 0;
}

.recordBlueTeamBlock span,
.recordRedTeamBlock span {
    font-weight: 700;
    margin: 0 0.5rem;
}

@media screen and (max-width: 768px) {
    .statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .recordBlock {
        display: block;
    }

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

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

    .recordBlueTeam,
    .recordRedTeam {
        width: 150px;
    }
}

@media screen and (max-width: 575px) {
    .statistics {
        grid-template-columns: repeat(1, 1fr);
    }


    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    .summonerInformation {
        font-size: 14px;
    }

    .playerInfomation {
        width: 85%;
        min-width: 85%;
        grid-template-columns: repeat(1, 1fr);
    }

    .playerInfomationBlock {
        justify-content: center;
    }

    .enter {
        width: 70%;
    }

    .recordResult {
        font-size: 20px;
    }

    .recordDuration {
        font-size: 12px;
    }

    .recordMainRight {
        font-size: 16px;
    }

    .recordBlueTeamBlock span,
    .recordRedTeamBlock span {
        font-size: 12px;
    }
}

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

    .recordBlock {
        padding: 1rem 0.5rem;
    }

    .recordChampionPicture img {
        width: 50px;
        height: 50px;
    }

    .recordMainMid {
        margin: 1rem 0;
    }

    .recordSpells {
        justify-content: center;
    }

    .recordSpells img {
        width: 30px;
        height: 30px;
    }

    .recordMainRight {
        font-size: 14px;
    }

    .recordItems img {
        width: 35px;
        height: 35px;
    }

    .recordRunes img:nth-child(1) {
        width: 30px;
        height: 30px;
    }

    .recordRunes img:nth-child(2) {
        width: 20px;
        height: 20px;
        align-self: center;
    }

    .recordRunes {
        justify-content: center;
    }

    .recordDetail {
        padding: 0;
    }
}