header {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #f2f6fc;
    margin-bottom: 1.5rem;
}
header a {
    width: 10rem;
}
header a img {
    width: 100%;
}
header #prevBtn {
    width: 3rem;
    position: absolute;
    left: 1.5rem;
}
header #prevBtn img {
    width: 100%;
}

main {
    padding: 0 1.5rem 5rem;
}

.btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

main#home .btn-wrap .homeA {
    padding: 3rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
main#home .btn-wrap .homeA span {
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
}

.one {
    width: 100%;
    height: 17rem;
}
.two {
    width: calc(100% / 2 - 0.7rem);
    height: 25rem;
    margin-bottom: 1.5rem;
}

.blue {
    background-color: #176bff;
    background-image: url(../img2/sub-img-1.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: bottom 3rem right 50%;
}
.sky {
    background-color: #00acef;
    background-image: url(../img2/sub-img-2.png);
    background-repeat: no-repeat;
    background-size: 13rem;
    background-position: bottom 3rem right 50%;
}
.purple {
    background-color: #7b36ff;
    background-image: url(../img2/sub-img-3.png);
    background-repeat: no-repeat;
    background-size: 30rem;
    background-position: bottom 0 right 50%;
}

.contents {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 3rem;
}
.contents.mb .team {
    margin-bottom: 3rem;
}
.contents .team {
    width: 100%;
    border-radius: 1rem;
    height: 18rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contents .team1 {
    background-color: #ff624a;
}
.contents .team2 {
    background-color: #2775ff;
}
.contents .team3 {
    background-color: #51ce38;
}
.contents .team4 {
    background-color: #c2b615;
}
.contents .team5 {
    background-color: #4cc2bc;
}
.contents .team6 {
    background-color: #a249dd;
}
.contents .team7 {
    background-color: #ce3872;
}
.contents .team8 {
    background-color: #fc8618;
}
.contents .team input[type=text] {
    width: 100%;
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    padding: 1.5rem 0;
    background: none;
    text-align: center;
}
.image.vs {
    padding: 2rem 0;
}
.image.vs img {
    width: 4rem;
}

.Next-wrap a,
.gameBtn a {
    display: block;
    width: 100%;
    border-radius: 1rem;
    background-color: #2775ff;
    text-align: center;
    padding: 1.8rem;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    margin-top: 7rem;
}
.contents.final,
.contents.type {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.contents .type {
    width: calc(100% / 2 - 0.7rem);
    height: 30rem;
    border-radius: 1rem;
    background-color: #d1d1d1;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.contents .type:nth-of-type(1) {
    background-image: url(../img2/sub-img-off-1.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: bottom 3rem right 50%;
}
.contents .type:nth-of-type(2) {
    background-image: url(../img2/sub-img-off-2.png);
    background-repeat: no-repeat;
    background-size: 13rem;
    background-position: bottom 3rem right 50%;
}
.contents .type span {
    font-size: 2.2rem;
    font-weight: 500;
    color: #555555;
}
.contents .type.selected:nth-of-type(1) {
    background-color: #176bff;
    background-image: url(../img2/sub-img-on-1.png);
}
.contents .type.selected:nth-of-type(2) {
    background-color: #00acef;
    background-image: url(../img2/sub-img-on-2.png);
}
.contents .type.selected span {
    color: #fff;
}

.contents .team-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 3rem;
}
.contents .team-wrapper .team {
    height: auto;
    padding: 2rem 0;
    border-radius: 0;
}
.contents .team span {
    font-size: 2rem;
    color: #fff;
    font-weight: 500;
}
.contents .team-wrapper .playerWrap {
    background-color: #fff;
}
.contents .team-wrapper .playerWrap input {
    width: 100%;
    padding: 2rem;
    background: none;
    font-family: Pretendard;
    font-size: 1.6rem;
}

.contents.final .type {
    margin-bottom: 2rem;
}
.contents.final .type:nth-of-type(1) {
    background-image: url(../img2/sub-img-off-3.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: bottom 3rem right 50%;
}
.contents.final .type:nth-of-type(2) {
    background-image: url(../img2/sub-img-off-4.png);
    background-repeat: no-repeat;
    background-size: 11rem;
    background-position: bottom 3rem right 50%;
}
.contents.final .type.one {
    width: 100%;
    height: 18rem;
    background-image: url(../img2/sub-img-off-5.png);
    background-repeat: no-repeat;
    background-size: 28rem;
    background-position: bottom 0 right 50%;
}
.contents.final .type span {
    font-size: 2.2rem;
    font-weight: 500;
    color: #555555;
}
.contents.final .type.selected:nth-of-type(1) {
    background-color: #176bff;
    background-image: url(../img2/sub-img-on-3.png);
}
.contents.final .type.selected:nth-of-type(2) {
    background-color: #00acef;
    background-image: url(../img2/sub-img-on-4.png);
}
.contents.final .type.one.selected {
    background-color: #7b36ff;
    background-image: url(../img2/sub-img-on-5.png);
}
.contents.final .type.selected span {
    color: #fff;
}

main#game {
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.scoreBtn {
    width: 100%;
    height: 50%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}
.scoreBtn.red {
    background-color: #ff624a;
}
.scoreBtn.bluee {
    background-color: #2775ff;
}

.scoreBtn .rotate {
    transform: rotate(90deg);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.scoreBtn .rotate #team1Name,
.scoreBtn .rotate #team2Name {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
}
.scoreBtn .rotate #team1Score,
.scoreBtn .rotate #team2Score {
    font-size: 10rem;
    font-family: RiaSans-ExtraBold;
    color: #fff;
    padding: 2rem 0 4rem;
}
.scoreBtn .rotate .playerWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: Pretendard;
    font-size: 2rem;
    color: #fff;
}
.scoreBtn .rotate .playerWrap div {
    font-family: Pretendard;
    font-size: 2rem;
    color: #fff;
}
.restartBtn {
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 1.8rem;
    color: #2875ff;
    transform: translate(-50%, -50%) rotate(90deg);
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.restartBtn img {
    width: 2rem;
    margin-left: 1rem;
}
.nextGameBtn,
#deuceMessage {
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 1.8rem;
    color: #2875ff;
    transform: translate(-50%, -50%) rotate(90deg);
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.matchPoint {
    width: 20rem;
    font-size: 2rem;
    color: #fff;
    border-radius: 5rem;
    background-color: #0c3dba;
    padding: 1rem 0;
    position: absolute;
    top: 105%;
}
.matchPoint img {
    width: 5rem;
    margin-right: 0.5rem;
}
.winnerMessage {
    width: 20rem;
    font-size: 2rem;
    color: #072961;
    border-radius: 5rem;
    background-color: #ffe74b;
    padding: 1rem 0;
    position: absolute;
    top: 105%;
}
.winnerMessage img {
    width: 2rem;
    margin-right: 0.5rem;
}
img.crown {
    position: absolute;
    bottom: 103%;
    width: 5rem;
}
button#plusBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
button#plusBtn img {
    width: 5rem;
}

#gameContainer {
    width: 100%;
    height: 100%;
}
/* .scoreBtn .playerWrap div.player2::before {
    content: '|';
    position: absolute;
    left: -10px;
    color: #000;
} */
/* main {
    width: 100%;
    min-height: 100vh;
    background: #fbd0ff;
    padding: 8rem 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
#home {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 5rem;
}
#home a {
    width: 100%;
    position: relative;
}
#home a img {
    width: 100%;
}
#home a span {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
#game {
    height: 100%;
    padding: 0;
    background-image: url(../img/background-11.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
#game > p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
}
#game > a {
    font-size: 2rem;
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: 0.5s;
    z-index: 222;
    color: #fff;
}
#game .scoreBtn {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
}
#game .scoreBtn img {
    width: 3.5rem;
    margin-bottom: 1rem;
}
#game .scoreBtn span {
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
#game .scoreBtn em {
    font-size: 2.6rem;
    color: #fff;
    padding: 1rem 0;
    opacity: 0;
    transition: opacity 0.5s;
    font-weight: 900;
}
#game .scoreBtn em:nth-of-type(2) {
    opacity: 1;
    position: absolute;
    top: 10rem;
    color: #fff !important;
    text-shadow: 3px 3px 2px #806900 !important;
}
#game .scoreBtn:nth-of-type(1) em {
    color: #078a1d;
    text-shadow: 3px 3px 2px #fff;
}
#game .scoreBtn:nth-of-type(2) em {
    color: #e2df18;
    text-shadow: 3px 3px 2px #fff;
}
#game .scoreBtn strong {
    font-size: 10rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 2rem;
    font-family: AsiaNGL4R;
}
#game .scoreBtn:nth-of-type(1) strong {
    text-shadow: 4px 4px 2px #078a1d;
}
#game .scoreBtn:nth-of-type(2) strong {
    text-shadow: 4px 4px 2px #e2df18;
}
#game .scoreBtn .playerWrap {
    width: 100%;
    display: flex;
    justify-content: center;
}
#game .scoreBtn .playerWrap div {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0 1rem;
}
.matchPoint {
    font-size: 2.6rem;
    color: #fff;
    padding: 1rem 0;
    font-weight: 900;
    position: absolute;
    top: 10rem;
    color: #fff !important;
    text-shadow: 3px 3px 2px #806900 !important;
}
main .contents {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
main .contents .teamFrm {
    width: 100%;
    position: relative;
    margin-bottom: 1rem;
}
main .contents .teamFrm img {
    width: 100%;
}
main .contents .teamFrm input {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    position: absolute;
    width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    padding: 0 1.5rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
main #plusBtn {
    width: 4rem;
    margin: 0 auto;
}
main #plusBtn img {
    width: 100%;
}
main .contents .type {
    margin-bottom: 6rem;
}
main .contents .type img:nth-of-type(1) {
    width: 100%;
}
main .contents .type img:nth-of-type(2) {
    height: 6rem;
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
}
main .contents .type {
    width: 100%;
    position: relative;
}
main .contents .type a {
    width: 100%;
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
}
main .contents .type a img {
    width: 100%;
}
main .contents .type .editBtn {
    background: #fff;
    border-radius: 2rem;
    border: 1px solid #899f91;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    float: right;
}
main .contents .type .editBtn img {
    width: 2rem;
}
main .contents .type span {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
.selected {
    filter: brightness(150%);
}
main .contents .team {
    width: 100%;
    position: relative;
    margin-bottom: 0.5rem;
}
main .contents .team img {
    width: 100%;
}
main .contents .team span {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    position: absolute;
    width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    padding: 0 1.5rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
main .contents .playerWrap {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 4rem;
    padding: 1rem 0;
}
main .contents .playerWrap:last-child {
    margin: 0;
}
main .contents .playerWrap form {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}
main .contents .playerWrap form input {
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #b5c8bd;
}
main .contents .playerWrap form input:last-child {
    border-bottom: none;
}
main .contents .playerWrap form button {
    width: 2rem;
    height: 100%;
}
main .contents .playerWrap form button img {
    width: 100%;
}
main .image {
    width: 8rem;
    margin: 0 auto;
}
main .image img {
    width: 100%;
    margin: 4rem 0 6rem;
}
main .prevNext {
    display: flex;
    justify-content: space-between;
    margin-top: 10rem;
}
main .prevNext a {
    width: calc(50% - 0.75rem);
    padding: 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 5rem;
    color: #fff;
    text-align: center;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}
main .prevNext a:nth-of-type(1) {
    background: #b5b1b5;
}
main .prevNext a:nth-of-type(2) {
    background: #ff57e3;
}
main .gameBtn {
    display: flex;
    justify-content: space-between;
}
main .gameBtn a {
    width: 100%;
    padding: 2rem 0;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 5rem;
    color: #fff;
    background: #ff57e3;
    text-align: center;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
} */