:root {
    --header-bg1: rgb(197, 197, 197);
    --header-bg2: rgb(255, 255, 255);
    --whole-bg: rgb(153, 153, 153);
    --tooltip-out: rgb(92, 92, 92);
    --tooltip-bg1: rgb(145, 145, 145);
    --tooltip-bg2: rgb(238, 238, 238);
    --tooltip-text: rgb(65, 65, 65);
    --outline-gray: #474747;
    --hd-name: rgb(255, 255, 255);
    --header-bottom: rgb(187, 187, 187);
}

[data-theme="dark"] {
    --header-bg1: rgb(20, 20, 20);
    --header-bg2: rgb(20, 20, 20);
    --whole-bg: rgb(29, 29, 29);
    --tooltip-out: rgb(110, 110, 110);
    --tooltip-bg1: rgb(66, 66, 66);
    --tooltip-bg2: rgb(41, 41, 41);
    --tooltip-text: rgb(235, 235, 235);
    --outline-gray: #4e4e4e;
    --hd-name: rgb(211, 211, 211);
    --header-bottom: rgb(56, 56, 56);
}

@font-face {
    font-family: 'omyu_pretty';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-01@1.0/omyu_pretty.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.whole-screen {
    width: 1280px;
    height: 720px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    font-family: 'omyu_pretty';
    position: relative;
    background-color: var(--whole-bg);
    z-index:0;
}

.screen-shake {
    animation: screen-shake-anime 0.4s;
}

.screen-shake-2 {
    animation: screen-shake-anime-2 0.3s;
}

@keyframes screen-shake-anime {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(-5px, 0px); }
    20% { transform: translate(4px, 0px); }
    30% { transform: translate(-4px, 0px); }
    40% { transform: translate(3px, 0px); }
    50% { transform: translate(-3px, 0px); }
    60% { transform: translate(2px, 0px); }
    70% { transform: translate(-2px, 0px); }
    80% { transform: translate(1px, 0px); }
    90% { transform: translate(-1px, 0px); }
    100% { transform: translate(0px, 0px); }
}

@keyframes screen-shake-anime-2 {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(-4px, -4px); }
    20% { transform: translate(4px, 4px); }
    30% { transform: translate(2px, -3px); }
    40% { transform: translate(-3px, 2px); }
    50% { transform: translate(-3px, 1px); }
    60% { transform: translate(2px, 0px); }
    70% { transform: translate(0px, -2px); }
    80% { transform: translate(1px, 0px); }
    90% { transform: translate(-1px, -1px); }
    100% { transform: translate(0px, 0px); }
}


.header {
    position: absolute;
    top:0%;
    left:0%;
    width: 100%;
    height: 7%;
    background: linear-gradient(var(--header-bg1), var(--header-bg2)) ;
    border-bottom: 2px solid var(--header-bottom);
    display: flex;
    flex-direction: row;
}

.hd-room-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px;
    color: var(--hd-name);
    z-index: 0;
}

.pointer{
    cursor: pointer;
}

.tooltip-box {
    position: absolute;
    transform: translate(-50%,0%);
    border: 2px solid var(--tooltip-out);
    background: linear-gradient(var(--tooltip-bg1), var(--tooltip-bg2));
    color: var(--tooltip-text);
    width: fit-content;
    height: 20px;
    padding: 3px;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    white-space: nowrap; 
}

.outline-gray-5::before {
    z-index: -1;
    content: attr(data-content);
    position: absolute;
    left: 1;
    /* 글자 바깥쪽으로 나갔으면 하는 테두리 크기의 두 배 */
    -webkit-text-stroke: var(--stroke-width, 5px) var(--stroke-color, var(--outline-gray));
}

.dark {
    background-color: rgb(51, 51, 51);
}

/*

@font-face {
    font-family: 'omyu_pretty';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-01@1.0/omyu_pretty.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.whole-screen {
    width: 1280px;
    height: 720px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    font-family: 'omyu_pretty';
    position: relative;
    background-color: rgb(153, 153, 153);
    z-index:0;
}

.screen-shake {
    animation: screen-shake-anime 0.4s;
}
.screen-shake-2 {
    animation: screen-shake-anime-2 0.3s;
}

@keyframes screen-shake-anime {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(-5px, 0px); }
    20% { transform: translate(4px, 0px); }
    30% { transform: translate(-4px, 0px); }
    40% { transform: translate(3px, 0px); }
    50% { transform: translate(-3px, 0px); }
    60% { transform: translate(2px, 0px); }
    70% { transform: translate(-2px, 0px); }
    80% { transform: translate(1px, 0px); }
    90% { transform: translate(-1px, 0px); }
    100% { transform: translate(0px, 0px); }
}

@keyframes screen-shake-anime-2 {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(-4px, -4px); }
    20% { transform: translate(4px, 4px); }
    30% { transform: translate(2px, -3px); }
    40% { transform: translate(-3px, 2px); }
    50% { transform: translate(-3px, 1px); }
    60% { transform: translate(2px, 0px); }
    70% { transform: translate(0px, -2px); }
    80% { transform: translate(1px, 0px); }
    90% { transform: translate(-1px, -1px); }
    100% { transform: translate(0px, 0px); }
}


.header {
    position: absolute;
    top:0%;
    left:0%;
    width: 100%;
    height: 7%;
    background: linear-gradient(rgb(197, 197, 197), rgb(255, 255, 255)) ;
    border-bottom: 2px solid rgb(187, 187, 187);
    display: flex;
    flex-direction: row;
}

.hd-room-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px;
    color: rgb(255, 255, 255);
    z-index: 0;
}

.pointer{
    cursor: pointer;
}

.tooltip-box {
    position: absolute;
    transform: translate(-50%,0%);
    border: 2px solid rgb(92, 92, 92);
    background: linear-gradient(rgb(145, 145, 145), rgb(238, 238, 238));
    color: rgb(65, 65, 65);
    width: fit-content;
    height: 20px;
    padding: 3px;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    white-space: nowrap; 
}

.outline-gray-5::before {
    z-index: -1;
    content: attr(data-content);
    position: absolute;
    left: 1;
    -webkit-text-stroke: var(--stroke-width, 5px) var(--stroke-color, #838383);
}

*/