body { 
    padding: 0; 
    margin: 0 
}
/* #unity-container { position: absolute } */
/* #unity-container.unity-desktop { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) } */


.display-flex{
    display: flex !important;
}

.display-none{
    display: none !important;
}

.align-center{
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}

.unity-full-screen{
    width: 100% !important;
    flex-grow: 1;
}

.canvas-full{
    width: 100% !important;
    height: 1 !important;
    object-fit: cover !important;
}

.video-section-with-share-width{
    width: 70%;
}

.screen-section-with-chat-width{
    width: 30%;
}
.full-width{
    width: 100% !important;
}
/* .btn-default-size{
    width: 40px;
    height: 40px;
} */

.full-btn-size{
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
}

.btn-default-size{
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
}

.btn-img-default-size{
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.video-overlay{
    display: flex;
    justify-content: start;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 5px;
}
.overlay-muted{
    width: 14px;
    height: 19px;
    margin: 0 10px 0 10px;
}
.screen-overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 20px;
    background-color: black;
    opacity: 20%;
    text-align: center;

}
.page-btn img{
    width: 24px;
    height: 24px;
}

#total-wrapper{
    width: 100vw; 
    height: 100vh; 
}
#video-screen-wrapper{
    width: 100%;
    /* height: 18.2%; */
    height: 176px;
    display: none;
    align-items: center;
    background-color: #171717;

}

#video-section {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 99.1%;
    border-right: 1px solid #424242;
    border-bottom: 1px solid #424242;
    background-color: black;
}

#video-wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
  /*  overflow-x: auto; */

}

.video-container{
    width: 242px;
    height: 136px;
    background-color: gray;
    margin: 0 2px 0 2px;
    border-radius: 5px;
    position: relative;
    aspect-ratio: 16 / 9;
}

#screen-section {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: black;
}

#screen-container{
    width: 314px;
    height: 100%;
    background-color: white;
}

#screen-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#screen-control-btn{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin: 0 0 6px 10px;
}

.screen-border{
    border: 2px solid #DBDBDB;
}

.full-video-wrapper[data-video-count="1"] { grid-template-columns: repeat(1, 1fr); }
.full-video-wrapper[data-video-count="2"] { grid-template-columns: repeat(2, 1fr); }
.full-video-wrapper[data-video-count="3"] { grid-template-columns: repeat(2, 1fr); }
.full-video-wrapper[data-video-count="4"] { grid-template-columns: repeat(2, 1fr); }
.full-video-wrapper[data-video-count="5"] { grid-template-columns: repeat(3, 1fr); }
.full-video-wrapper[data-video-count="6"] { grid-template-columns: repeat(3, 1fr); }
.full-video-wrapper[data-video-count="7"] { grid-template-columns: repeat(3, 1fr); }
.full-video-wrapper[data-video-count="8"] { grid-template-columns: repeat(3, 1fr); }
.full-video-wrapper[data-video-count="9"] { grid-template-columns: repeat(3, 1fr); }
.full-video-wrapper[data-video-count="10"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="11"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="12"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="13"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="14"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="15"] { grid-template-columns: repeat(4, 1fr); }
.full-video-wrapper[data-video-count="16"] { grid-template-columns: repeat(4, 1fr); }

.full-video-wrapper{
    display: grid !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 10px; /* 비디오 간 간격 */
    width: 100% !important;
    height: 100% !important;
    padding: 20px;
}

.full-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: white;
    border-radius: 5px;
}

.full-videochat{
    width: 100% !important;
    height: 95% !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

.full-sharescreen-single{
    width: 100% !important;
    height: 100% !important;
}

.full-sharescreen-together{
    width: 100% !important;
    height: 75% !important;
    border:none;
}

.full-sharescreen-btn{
    position: fixed;
    bottom: 60px;
    right: 20px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.unity-reduction-single{
    position: fixed;
    top: 0;
    right: 0px;
    width: 480px !important;
    height: 270px !important;
}

.unity-canvas-reduction{
   width: 100% !important;
   height: 100% !important;
   object-fit: cover !important;

}

.unity-reduction-together{
    width: 30% !important;
    height: 97.5% !important;
    border: 2px solid #DBDBDB;
}
#previous-btn{
    border-radius: 50%;
}
#previous-btn button, #next-btn button{
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

#previous-btn button img{
    width: 100%; 
    height: 100%;
    object-fit: cover; 
}
#next-btn button img{
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
#full-videochat-control-wrapper{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#full-videochat-control-wrapper div{
    display: flex;
    /* justify-content: space-between; */
}

#unity-container {
    /* width: 100%;
    height:95%;
    flex-grow: 1; */
}

/* #unity-canvas { 
    background: #231F20;
    width: 100%;
    height:100%;
} */


#temporary-view {
    
    width: 242px;
    height: 136px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: #4F4F4F;
    font-size: 20px;
    font-weight: 400;
    color: white;
    text-align: center;
    
}

#temporary-view span {
    display: flex;
    align-items: center; /* 이미지와 텍스트 세로 정렬 */
    gap: 4px;
}
#temporary-view div {
    margin-top: 5px;
}
#temporary-view img{
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.videochat-max-btn{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    
}
.videochat-max-btn img{
    max-width: 100%;
    height: auto;
    object-fit: cover; 
    background-image: url('./images/videochat_start_btn.png');
}
.control-btn-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 136px;
    margin: 0 10px 0 10px;
    /* align-items: center; */

}

.device-control-wrapper{
    display: none;
}

.chat-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* 뷰포트 전체 너비 */
    height: 100vh; /* 뷰포트 전체 높이 */
    background-color: black;
    z-index: 9999; /* 다른 요소들 위로 */
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    cursor: pointer;
}

#unity-container.unity-mobile { 
    position: fixed; 
    width: 100%; 
    height: 100% 
}
/* #unity-canvas { 
    background: #231F20; 
    width:1920px; 
    height: 1080px;
} */
.unity-canvas-default{
    background: #231F20; 
    width:1920px; 
    height: 1080px;
}
.unity-mobile #unity-canvas { 
    width: 100%; 
    height: 100% 
}
#unity-loading-bar { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    display: none 
}
#unity-logo { 
    width: 154px; 
    height: 130px; 
    background: url('unity-logo-dark.png') no-repeat center 
}
#unity-progress-bar-empty { 
    width: 141px; 
    height: 18px; 
    margin-top: 10px;
    margin-left: 6.5px; 
    background: url('progress-bar-empty-dark.png') no-repeat center 
}
#unity-progress-bar-full { 
    width: 0%; 
    height: 18px; 
    margin-top: 10px; 
    background: url('progress-bar-full-dark.png') no-repeat center 
}
#unity-footer { 
    position: relative 
}
.unity-mobile #unity-footer { 
    display: none 
}
#unity-webgl-logo { 
    float:left; 
    width: 204px; 
    height: 38px; 
    background: url('webgl-logo.png') no-repeat center 
}
#unity-build-title { 
    float: right; 
    margin-right: 10px; 
    line-height: 38px; 
    font-family: arial; 
    font-size: 18px 
}
#unity-fullscreen-button { 
    cursor:pointer; 
    float: right; 
    width: 38px; 
    height: 38px; 
    background: url('fullscreen-button.png') no-repeat center 
}
#unity-warning { 
    position: absolute; 
    left: 50%; top: 5%; 
    transform: translate(-50%); 
    background: white;
    padding: 10px;
    display: none 
}




