.user_container{
    margin-top: 64px;
    height: calc(100vh - 100px - 64px) ;
    display: flex;
    align-items: center;
}

.info_contents{
    height: 75%;
    background-color: white;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--sub_border);
    padding: 20px;
    display: grid;
    grid-template-rows: 10% auto 20%;
}

.contents{
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

.sub_contents{
    width: 100%;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-content: center;
}

.info_wrap{
    height: 100%;
    width: 100%;
    background-color: white;
    border: 1px solid var(--background_border);
    border-radius: 16px;
    padding: 20px;
}
.info_wrap > h2{
    margin: 20px 0;
}

.info_wrap > h2:nth-child(1){
    margin-top: 0;
}

.info_wrap > p{
    margin-bottom: 10px;
}

.info_txt{
    font-size: 1.5rem;
    color: var(--button);
}

.icon_layout{
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon_layout > i{
    font-size: 3rem;
    color: #DDD;
}

.icon_card{
    border: 1px solid var(--sub_border);
    border-radius: 16px;
    padding: 10px;
    display: grid;
    justify-items: center;
    grid-template-rows: 20% auto 10% auto;
    align-items: center;
    height: 100%;
    width: 15%;
}

.icon_card > i{
    font-size: 5rem;
}

.sub_bottom_line{
    border-bottom: 1px solid var(--sub_border);
    width: 100%;
    margin-bottom: 10px;
}

.card_title {
    text-align: center;
}

.card_title > p{
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card_detail{
    text-align: center;
}

.card_detail > p {
    font-size: 0.8rem;
}

.btn_group{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn_group > button,
.btn_group > .guide-action{
    background-color: var(--button);
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.5rem;
}

.btn_group > .guide-action{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.btn_group > .guide-action:focus-visible{
    outline: 3px solid #1c2331;
    outline-offset: 3px;
}

.agree_main {
    margin-top: 100px;
}

.sub_header {
    border-bottom: 1px solid var(--background_border);
}

.sub_header_text {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.sub_header_text > .left{
    font-size: 3rem;
    font-weight: 600;
}

.detail_info{
    margin-top: 10px;
    border-bottom: 1px solid var(--background_border);
}

.detail_info > p{
    margin-bottom: 10px;
}

.terms_box{
    background-color: white;
    border: 1px solid var(--background_border);
    height: 30vh;
    padding: 10px;
    margin-top: 20px;
    overflow: scroll;
    scrollbar-width: none;
}

.terms2{
    height: auto;
}

.agree_box{
    margin-top: 40px;
}

.agree_box > .title{
    font-size: 2rem;
}

.terms_box > h2{
    margin-bottom: 10px;
    margin-top: 30px;
}

.terms_box > .sub_text{
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 10px;
}

.terms_box > .text_list{
    margin-left: 40px;
}

.terms_box > p{
    margin-top: 5px;
}

.list_class > li{
    margin-left: 40px;
}

.agreements{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

table{
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

table, th, td{
    border: 1px solid var(--background_border);
    border-collapse: collapse;
}

td{
    padding: 20px;
}

.half_table{
    width: 50%;
}

.submit_group{
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 40px 0 40px 0;
}

.submit_group > button{
    background-color: var(--button);
    padding: 10px 60px;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
}

.hidden{
    display: none;
}

.id_certi_detail{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--background_border);
}

.certi_text {
    color: var(--button);
    font-size: 3rem;
}

.bold_text {
    font-weight: 600;
}

.id_certi_detail > i {
    font-size: 10rem;
}

.text_box > p{
    line-height: 1;
}

.id_certi_btn_group{
    text-align: center;
    height: 40vh;
    align-content: center;
}

.id_certi_btn_group > button{
    color: white;
    background-color: var(--button);
    padding: 10px 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.join_contents{
    display: grid;
    grid-template-columns: 30% 70%;
    margin-top: 20px;
    height: 50vh;
}

.user_info_box{
    border-right: 1px solid var(--background_border);
    padding-right: 10px;
}

.user_info_box > .info_box{
    display: block;
    text-align: left;
}

.info_box{
    border-bottom: 1px solid var(--background_border);
    margin-bottom: 20px;
}

.wrap {
    position: relative;
}

.floating-tip {
    position: absolute;
    top: -350%;
    left: 0%;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    border: 1px solid red;
    box-shadow: 1px 1px 1px;
    border-radius: 8px;
    padding: 5px;
}

.user_info {
    font-size: 2rem;
}

.user_input_box{
    padding: 0 20px;
    max-width: 40%;
}

.user_input_box > form{
    width: 100%;
    text-align: center;
}

.input_box_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input_box_title > label{
    color: red;
}

.input_box_info{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.input_box_info > input{
    flex: 1;
    min-width: 0;
    height: 2rem;
}

.input_box_info > button{
    padding: 0 20px;
    background-color: var(--button);
    color: white;
}

.input_box_info > select{
    padding: 0 10px;
}

.text_input_box {
    margin-bottom: 20px;
}

#join_submit {
    background-color: var(--button);
    color: white;
    padding: 10px 20px;
    border: none;
}

video {
    max-width: 100%;
}

#quiz_form{
    background-color: white;
    border: 1px solid var(--background_border);
    padding: 20px;
    border-radius: 16px;
    min-height: 30vh;
}

.quiz{
    padding: 10px;
    border: none;
    margin-bottom: 40px;
}

.quiz > legend{
    font-size: 1.5rem;
    font-weight: 500;
}

.quiz > label{
    display: block;
    margin: 10px 0 0 20px;
    display: flex;
    gap: 10px;
}

.visit_form{
    background-color: white;
    border: 1px solid var(--background_border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
}

.visit_input_box{
    border-right: 1px solid var(--background_border);
    margin-left: 10px;
    padding-right: 10px;
}

.visit_input_box > .info_box{
    border: none;
    display: block;
    text-align: left;
}

.info_box > input{
    border: none;
    border-bottom: 1px solid var(--background_border);
    width: 100%;
    font-size: 1.3rem;
}

.info_box > .wrap > input{
    border: none;
    border-bottom: 1px solid var(--background_border);
    width: 100%;
    font-size: 1.3rem;
}

.info_box > select{
    border: none;
    border-bottom: 1px solid var(--background_border);
    width: 100%;
    font-size: 1.3rem;
}

.submit_box{
    flex: 1;
}

.submit_text{
    display: grid;
    grid-template-rows: max-content max-content;
    height: 100%;
}

.submit_text > .title{
    text-align: center;
    color: red;
    margin-bottom: 20px;
}

.submit_text > .text{
    margin-left: 20px;
}

.submit_text > .btn_group{
    align-content: end;
}

.detail_body{
    background-color: #FFF;
    border: 1px solid var(--background_border);
    padding: 10px;
    margin-top: 10px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cert-div {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

#cert-time{
    color: red;
}

#cert-btn{
    margin: 5px 0;
    padding: 5px 10px;
    background-color: rgb(65, 169, 255);
    color: white;
    border-radius: 4px;
}

#cert-check-btn{
    padding: 5px 10px;
    background-color: rgb(65, 169, 255);
    color: white;
    border-radius: 4px;
    justify-self:center;
    flex: 1;
    margin-bottom: 5px;
}

@media (max-width: 768px){
    .sub_header_text {
        display: flex;
        justify-content:center;
        align-items: baseline;
        margin-bottom: 10px;
    }

    .btn_group{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 10vh;
    }

    .err_message {
        text-align: center;
    }

    .agreements{
        display: block;
        justify-content: space-between;
        margin-top: 10px;
    }

    .agree_main{
        margin: 0;
    }

    .sub_header_text{
        display: grid;
        justify-content: center;
        text-align: center;
    }

    .detail_info{
        text-align: center;
    }

    .visit_form{
        display: grid;
    }

    .user_info{
        font-size: 1rem;
    }

    .user_info_box{
        border-right: none;
        padding-right: 0;
    }

    .visit_input_box{
        border-right: none;
        margin-left: 0;
        padding-right: 10px;
    }

    .submit_text > .text{
        margin-left: 0;
    }

    .user_input_box{
        padding: 0;
        max-width: 100%;
    }

    .join_contents{
        display: grid;
        grid-template-columns: none;
        margin-top: 20px;
        height: auto;
    }

}
