
.room_text_wrap{
    display: flex;
    align-items: center;
    margin: 30px auto 32px 30px;
    gap: 16px;
    cursor: pointer;
    .returm_btn{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--grayColor);
        span{
            margin-left: 5px;
            font-size: 1.6rem;
        }
    }
    h1{
        color: var(--whiteColor);
        font-size: 1.6rem;
    }
}

.room_id_box{
    background-color: var(--textboxColor);
    border-radius: 8px;
    margin: auto 30px;
    padding: 20px;
    .room_id_wrap{
        gap: 16px;
        display: flex;
        flex-direction: column;
        .room_id_text{
            display: flex;
            justify-content: space-between;
            color: var(--whiteColor);
            h2{
                font-size: 1.6rem;
            }
        }
        input[type=text]{
            width: 50px;
            height: 70px;
            background-color: var(--grayColor);
            border-radius: 8px;
            font-size: 4rem;
            text-align: center;
        }
        .id_number_wrap{
            display: flex;
            gap: 8px;
        }
    }
}

.rink_btn{
    margin: 16px 30px 30px;
    height: 42px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--grayColor);
    background-color: var(--bgColor);
    color: var(--grayColor);
    transition: 0.2s;
    cursor: pointer;
    h3{
        font-size: 1.4rem;
        letter-spacing: 0.2rem;
    }
    &:hover{
        background-color: var(--whiteColor);
        color: var(--textboxColor);
    }
}

.pt_box{
    background-color: var(--textboxColor);
    margin: auto 30px;
    border-radius: 16px;
    padding: 20px;
    .pt_wrap{
        display: flex;
        flex-direction: column;
        gap: 16px;
        h3{
            color: var(--whiteColor);
            font-size: 1.6rem;
        }
        p{
            font-size: 1.4rem;
            color: var(--whiteColor);
            opacity: 0.6;
        }
        .pt_btn_wrap{
            display: flex;
            justify-content: space-between;
            input[type="radio"]{
                display: none;
            }
            label{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                width: 90px;
                height: 70px;
                background-color: var(--grayColor);
                border-radius: 16px;
                cursor: pointer;
                text-align: center;
                box-shadow: 4px 6px 0 var(--blockColor);
                border:  1px solid var(--blockColor);
                transition: 0.2s;
                &:hover{
                    background-color: var(--textboxColor);
                }
                .num{
                    font-size: 2.4rem;
                    font-weight: bold;
                }
                .unit{
                    font-size: 1.6rem;
                }
            }
            input[type="radio"]:checked + label{
                transform: translateY(6px);
                background-color: var(--whiteColor);
                box-shadow: 0 2px 0 var(--blockColor);
            }
        }
        
    }
}

.people_box{
    background-color: var(--textboxColor);
    margin: 32px 30px 0;
    height: 80px;
    border-radius: 32px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    .people_wrap{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        .icon_wrap{
            width: 180px;
            /* border:  1px solid skyblue; */
            display: flex;
            gap: 8px;
            img{
                object-fit: cover;
                width: 40px;
                height: 40px;
                border-radius: 50%;
            }
        }
        h3{
            font-size: 1.6rem;
            color: var(--whiteColor);
        }
    }
}

.start_btn{
    margin: 40px 30px 0;
    height: 60px;
    background-color: var(--modeBtnColor);
    border-radius: 16px;
    transition: 0,2s;
    a{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--blockColor);
        border-radius: 16px;
        font-size: 2.4rem;
        text-decoration: none;
        &:hover{
            background-color: var(--modeBtnHoverColor);
        }
    }
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0 ,0.5);
    z-index: 100;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    &.active{
        opacity: 1;
        visibility: visible;
        .stamp_text{
            animation: stamp 0.2s cubic-bezier(0.2, 1, 0.3, 1.3) forwards;
        }
    }
    .stamp_text{
        font-size: 4rem;
        color: var(--modeBtnColor);
        border: 7px solid var(--modeBtnColor);
        border-radius: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 50px 80px;
        height: 100px;
        margin-top: 250px;
        transform: scale(1)rotate(-15deg) skewX(-10deg);
        opacity: 0;
    }
}

/* .fade_out{
    opacity: 0 !important;
    transition: opacity 0.2s ;
} */

@keyframes stamp{
    0%{
        transform: scale(5) rotate(-20deg) skewX(-10deg);
        opacity: 0;
    }
    100%{
        transform: scale(1) rotate(-10deg) skewX(-10deg);
        opacity: 1;
    }
}