/*--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;
    background-color: #125270;
    color: #F5EC11;
}

header h1{
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-left: 16px;
    color: #F5EC11;
}

/*--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: #F5EC11;
    justify-content: center;
}

footer a{
    color: #F5EC11;
}

body, html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  display: block;  
  flex: 1 0 auto;
}

/*---sp---*/

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

    header h1{
        font-size: 20px;
    }



    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;
    }
}