/*--common--*/

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img{
    width: 100%;
    height: auto;
}

li{list-style: none;}

a{text-decoration: none;}

button{cursor: pointer;}


/*--header--*/

header{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #125270;
}

header h1{
    display: flex;
    align-items: center;
    height: 60px;
}

.header_logo a{
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-left: 24px;
    color: white;
}

.header_login a{
    color: white;
    margin-right: 16px;
    font-weight: bold;
    border: solid 2px white;
    font-size: 0.9em;
    padding: 0.5em 1em;
    transition: 0.3s;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.header_login a:hover{
	background-color: white;
	font-weight: bold;
    color: #125270;
}

.header_login i{
    font-size: 32px;
    color: #fff;
    margin-right: 24px;
    cursor: pointer;
}

/*--main--*/

main{
    background-color: #F5EC11;
    color: #125270;
}

main form{
    padding: 32px 0;
}

main .League{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

main .League div{
    width: 48%;
}

main .League h2{
    border-bottom: 5px solid #125270;
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 8px;
}

main .League label{
    display: block;
    width: 90%;
    margin: 0 auto 24px;
    font-size: 20px;
    font-weight: bold;
}

.League span{
    padding-left: 8px;
}

.League label p{
    padding-left: 8px;
}

main form button{
    display: block;
    position: relative;
    top: 0;
    margin: 48px auto 0;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 0.1em;
    background-color: #125270;
    color: #F5EC11;
    box-shadow: 0 5px #000;
    transition: .3s;
}

main form button:hover{
    top: 5px; 
    box-shadow: 0 0 #000; 
}

input{
    transform: scale(1.2);
}



/*--footer--*/

footer{
    display: flex;
    gap: 0 24px;
    height: 40px;
    font-weight: bold;
    align-items: center;
    background-color: #125270;
    color: white;
    justify-content: center;
}

footer a{
    color: white;
}

body, html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  display: block;  
  flex: 1 0 auto;
}

/*---pop_up---*/

.pop_up{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,50%);
    display: none;
}

.account_box,
.score_box{
    position: absolute;
    background-color: #efefef;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 8px;
    display: none;
}

.pop_up_box{
    position: absolute;
    background-color: #efefef;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 8px;
}

.pop_up_close{
    text-align: right;
}

.pop_up_box h2,
.account_box h2,
.score_box h2{
    text-align: center;
}

.pop_up ul{
    display: flex;
    align-items: center;
    gap: 0px 32px;
    margin-top: 38px;
    justify-content: center;
}

.pop_up_box h2{
    font-size: 28px;
}

.pop_up_box p{
    font-size: 14px;
}

.pop_up li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

.bi-person-vcard,
.bi-clipboard-data{
    font-size: 40px;
}

.bi-x{
    font-size: 28px;
    cursor: pointer;
    margin-right: 10px; 
}

.pop_up_box button,
.account_box button{
    display: block;
    position: relative;
    margin: 18px auto 0;
    border-radius: 4px;
    padding: 10px 12px;
    letter-spacing: 0.05em;
    background-color: #eb0a1e;
    color: #fff;
    font-weight: bold;
    border: 1px solid #eb0a1e;
    transition-duration: .3s;
    width: 240px;
    box-shadow: 0 5px #000;
    transition: .3s;
    top: 0;
}

.pop_up_box button:hover,
.account_box button:hover{
	background-color: white;
	font-weight: bold;
    color: #eb0a1e;
    top: 5px; 
    box-shadow: 0 0 #000; 
    
}


main form button:hover{
    top: 5px; 
    box-shadow: 0 0 #000; 
}

input{
    transform: scale(1.2);
}

.account_box h2{
    font-size: 28px;
    margin-bottom: 16px;
}

.account_box dl{
    display: flex;
    width: 85%;
    margin: 0 auto;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 24px;
    padding: 12px 0;
    font-size: 16px;
}

.account_box button{
    margin-top: 24px;
    font-size: 18px;
}

.account_box dt{
    width: 140px;
    text-align: center;
    font-weight: bold;
}

.graph{
    width: 250px;
    height: 250px;
    margin: 8px auto 0;
}


/*---sp---*/

@media screen and (max-width:780px){


    main .League{
        flex-flow: column;
        width: 95%;
        gap: 24px 0;
    }

    main .League div{
        width: 100%;
    }

    main .League label{
        margin: 0 auto 12px;
        font-size: 20px;
    }

    header{
        height: 50px;
    }

    header h1{
        height: 50px;
    }


    .header_logo a{
        font-size: 20px;
        margin-left: 20px;
    }

}